Closed Bug 494705 Opened 11 years ago Closed 10 years ago
Deprecate DOM3 Load (XMLDocument
https://bugs.webkit.org/show_bug.cgi?id=9063 indicates web sites are suffering because of an old dom3 api proposal that we implemented. Given that the web has chosen to use XMLHttpRequest instead, I'd like to start the deprecation process for this function....
Not sure what to do with this. https://bugs.webkit.org/show_bug.cgi?id=9063#c9 Though, I think I'd prefer deprecating this.
Note that this was something we inherited from IE, not an effort to implement DOM3 L&S. However I'm all for trying to deprecate this, though I'm not convinced we'll be successful. So r+=me on the patch if you change the error to mention Document.load() rather than just load()
Also, we may want to give the warning message only once per doc or something. Otherwise error console may be full of warnings. We do something similar with boxobjects.
I suspect getting box-objects happened a lot more than loading things off the network though, so probably not as important here. In fact, I almost like people getting spammed if it makes people notice that the API is deprecated :)
Put it another way, grabbing 100 box-objects in rapid succession doesn't seem strange. Making 100 networks request seems much less likely.
Ok, perhaps the once-per-doc-warning isn't needed.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.