Closed Bug 1371545 Opened 7 years ago Closed 7 years ago

Remove NS_ERROR_IMAGE_SRC_CHANGED and NS_ERROR_IMAGE_BLOCKED

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

Attachments

(1 file)

In Bug 1267075 I removed the caller that using NS_ERROR_IMAGE_BLOCKED, and we found out that although we post SRC_CHANGED to mCurrentRequest/mPendingRequest in http://searchfox.org/mozilla-central/rev/a798ee4fc323f9387b7576dbed177859d29d09b7/dom/base/nsImageLoadingContent.cpp#1256 In the end, the status code is ignored and post NS_BINDING_ABORTED. http://searchfox.org/mozilla-central/rev/1a054419976437d0778a2b89be1b00207a744e94/image/imgRequest.cpp#284 So Bz suggested that we could remove these two error code in https://bugzilla.mozilla.org/show_bug.cgi?id=1267075#c75 However I found I also need to update servo as well, so file this as a seperate bug.
For what it's worth, you can just land the Gecko removal (and this bug is fine for that). The servo part doesn't depend on these being present in Gecko in any way, so can be done as an independent PR after the Gecko landing or will happen automatically when someone next reruns bindgen.
Assignee: nobody → allstars.chh
Attached patch Patch. (deleted) — Splinter Review
Hi Timothy I originally plan to flag r? to bz, but he's on PTO. Since this is an error code for image status, could you review this for me? Thanks
Attachment #8899723 - Flags: review?(tnikkel)
Comment on attachment 8899723 [details] [diff] [review] Patch. This seems reasonable to me but I don't know anything about this file or what depends on it, so I'd rather someone else review. Sorry.
Attachment #8899723 - Flags: review?(tnikkel)
Comment on attachment 8899723 [details] [diff] [review] Patch. Review of attachment 8899723 [details] [diff] [review]: ----------------------------------------------------------------- Hi smaug The status code was there since Mozilla is released, since bz and tnikkel cannot review now, could you help to review this? Thanks
Attachment #8899723 - Flags: review?(bugs)
Pushed by yhuang@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9667dcce1a84 Remove NS_ERROR_IMAGE_SRC_CHANGED and NS_ERROR_IMAGE_BLOCKED. r=smaug
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: