Closed
Bug 494705
Opened 15 years ago
Closed 14 years ago
Deprecate DOM3 Load (XMLDocument.load)
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: timeless, Assigned: timeless)
References
Details
Attachments
(1 file, 1 obsolete file)
2.16 KB,
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
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....
Attachment #379476 -
Flags: review?(jst)
Comment 2•15 years ago
|
||
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()
Comment 4•15 years ago
|
||
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.
Comment 7•15 years ago
|
||
Ok, perhaps the once-per-doc-warning isn't needed.
Attachment #379476 -
Attachment is obsolete: true
Attachment #438644 -
Flags: review+
Attachment #379476 -
Flags: review?(jst)
Thanks timeless!
Comment 10•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9607c536d21a
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•