Re: Document.createElement: null or HTML namespace?

On 10/8/14, 8:10 AM, Boris Zbarsky wrote:
> Probably at least 3-4 years ago when we last checked.

Ah, to be precise as of 2011-09-06 there was a library in use on the web 
(e.g. on virginamerica.com, which has since done a site redesign, so we 
could _hope_ it's not using it anymore) with the following behavior:

1)  Sniff the UA string for "applewebkit" and if present use sync XHR.
2)  Otherwise create a document (via either createDocument or MSCOM
     stuff) and use document.load().

See the discussion in https://www.w3.org/Bugs/Public/show_bug.cgi?id=14037

So at least as of then, to be web-compatible you had to either have a UA 
string claiming to be webkit or implement load() in one of its incarnations.

We could try adding telemetry in Gecko to see whether we're still 
hitting pages that use this, I guess...

-Boris

Received on Wednesday, 8 October 2014 15:17:01 UTC