Subj : Re: duplicate strict warnings To : netscape.public.mozilla.jseng,netscape.public.mozilla.dom From : Brendan Eich Date : Mon Jun 30 2003 09:52 am Jens wrote: > Any idea why the following code produces 12 warnings in the javascript > console if I switch strict warnings on (edit -> prefs -> debug -> show > strict warns) ? This doesn't happen in the JS shell, so it may be a DOM bug. Using the right newsgroup. > > (Build-Id 2003060609) > > > > > > If you replace the "document.write" by an "alert", you get only 1 > alert of course. You get only one write, too. I'm not sure what you mean. But in any event, please test in the xpcshell or js shell too (use the -s and -w options) in order to decide whether this is a core JS engine (m.jseng) or DOM (m.dom) bug, then use the right newsgroup. /be > > Jens > .