Closed Bug 615507 Opened 14 years ago Closed 13 years ago

Kill DOM L&S with fire

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

Attachments

(1 file, 1 obsolete file)

We've never implemented any of L&S, except for, unfortunately, LSProgressEvent. Keeping the idls around could only cause confusion.
I filed <http://www.w3.org/Bugs/Public/show_bug.cgi?id=11439> to get the properties on LSProgressEvent specified. Once that's done, we can kill LSProgressEvent too.
Attached patch Patch v1 (obsolete) — Splinter Review
Attachment #494666 - Flags: review?(jonas)
This is for after Firefox 4, right?
Yeah.
Target Milestone: --- → Future
The one thing we could do for FF4 is to add warnings to progress events when accessing the LSProgressEvent properties. Then maybe we can deprecate them in the future.
We could, but should we? I've skimmed over the code, and it doesn't seem like we expose the contents in another way. I'm not a big fan of telling people they can't use a feature if there's nothing they can migrate to. Happy to be proved wrong, though.
(In reply to comment #6)
> We could, but should we? I've skimmed over the code, and it doesn't seem like
> we expose the contents in another way. I'm not a big fan of telling people they
> can't use a feature if there's nothing they can migrate to. Happy to be proved
> wrong, though.
We have progress events for XHR, and also for XHR.upload.
Currently during upload the properties of LSProgressEvent report also the header size, but that and the difference in multipart XHR handling are the only differences, IIRC.
IMO the implementation of LSProgressEvent properties is a bit strange,
and should be removed eventually. So we could start to warn about using
them.
Depends on: 616672
Depends on: post2.0
Whiteboard: [needs landing]
Attachment #494666 - Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: [needs landing]
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/286a6d0c1f40
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: Future → mozilla2.2
Component: DOM: Other → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: