[Noisebridge-discuss] [[object JavaScript]] Global Scope Polluter

Garrett Smith dhtmlkitchen at gmail.com
Sat Dec 21 08:02:04 UTC 2013


Tonight, we got bit by the Global Scope Polluter.

https://www.google.com/search?q=global+scope+polluter&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=googlebot

This is how element ids are resolved, starting from a bad idea that
came from MSIE.

In HTML5, it is spec'd as a name getter:
http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-window-nameditem

Whereas in previous browser versions, it was quirks-mode only in some,
and the behavior was divergent:
http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/0390.html
-- 
Garrett
@xkit
ChordCycles.com
garretts.github.io


More information about the Noisebridge-discuss mailing list