The implementation of browsers is already difficult enough! It's great to see the lengths Servo is going to to be compatible, but on this one I say warn developers and deprecate this feature that no-one in 2017 should ever use.
The implementation of browsers is already difficult enough! It's great to see the lengths Servo is going to to be compatible, but on this one I say warn developers and deprecate this feature that no-one in 2017 should ever use.
[1] https://discuss.httparchive.org/t/how-and-where-is-document-...
Maybe there are other APIs that should be deprecated first but I cannot think of any.
Finally I am pretty certain you could write a document.write polyfill, I’ll have a crack at some point I think.
I've seen developers advocate for document.write to inject locally-hosted JavaScript as a fallback for when CDNs are down: https://www.hanselman.com/blog/CDNsFailButYourScriptsDontHav...
I definitely don't agree with this method, but there you go. Apparently ASP.NET 4.5 will even insert this pattern automatically.
Clearly. I would go further and say that we should move all parsing and rendering into the browser's "user space". That way, browser vendors can concentrate on a simple set of primitives, and improve security, robustness, and compatibility, while users get more freedom and flexibility.
though I don't know what has became of that project