[whatwg] Fallback behavior

Jo?o Eiras wrote:
> On , Jonas Sicking <jonas at sicking.cc> wrote:
> (...)
>>
>> Here is the list of elements that we *don't* execute scripts inside of 
>> in firefox:
>>
>> http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsScriptElement.cpp#148 
>>
>>
>> i.e. <iframe>, <noframes>, <noembed>
>>
>> Everywhere else we do execute the script.
>>
>> The reason these elements ended up at the list is in bugs
>> https://bugzilla.mozilla.org/show_bug.cgi?id=5847
>> https://bugzilla.mozilla.org/show_bug.cgi?id=26669
>>
>> / Jonas
> 
> 
> I kind of agree with iframe and noembed, but noframes ?
> noframes, IMO, it fairly legitimate, because you can have scripts 
> providing fallback, or redirecting to another page.

Yes, we would presumably run scripts in <noframes> if we didn't have 
frame support. There is even a comment in the code that says that we 
should not check for noscript if we ever add the ability to turn off 
frame support.

/ Jonas

Received on Thursday, 21 August 2008 17:06:19 UTC