Closed
Bug 1431774
Opened 8 years ago
Closed 8 years ago
Simplify some nsIImageLoadingContent bits
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(7 files)
19.26 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
7.07 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
2.32 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
8.84 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
2.72 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
6.39 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
2.33 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
I ran into this while resurrecting my patches for bug 1132934.
![]() |
Assignee | |
Comment 1•8 years ago
|
||
These are all no-ops because the objects involved are already implementing one of the WebIDL interfaces that pulls in MozImageLoadingContent, and that's all script gets to see.
MozReview-Commit-ID: Io2mLHbv7qM
Attachment #8944002 -
Flags: review?(nika)
![]() |
Assignee | |
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 2•8 years ago
|
||
MozReview-Commit-ID: 5LqkMJP32J8
Attachment #8944003 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 3•8 years ago
|
||
MozReview-Commit-ID: 3JpN3ZZVNg3
Attachment #8944004 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 4•8 years ago
|
||
MozReview-Commit-ID: KwWBFXNzWVx
Attachment #8944005 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 5•8 years ago
|
||
MozReview-Commit-ID: 1hm4WzQK93U
Attachment #8944010 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 6•8 years ago
|
||
MozReview-Commit-ID: 4n5BFQcHopU
Attachment #8944011 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 7•8 years ago
|
||
MozReview-Commit-ID: LKlo36VHKP5
Attachment #8944012 -
Flags: review?(nika)
Updated•8 years ago
|
Attachment #8944002 -
Flags: review?(nika) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8944003 [details] [diff] [review]
part 2. Make all attributes and methods on nsIImageLoadingContent noscript, since they're not used from JS
Review of attachment 8944003 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsIImageLoadingContent.idl
@@ +107,1 @@
>
nit: While you are in here, perhaps remove this trailing whitespace :-)?
Attachment #8944003 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8944004 -
Flags: review?(nika) → review+
Comment 9•8 years ago
|
||
Comment on attachment 8944005 [details] [diff] [review]
part 4. de-COM the image loading content observer APIs
Review of attachment 8944005 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsIImageLoadingContent.idl
@@ -103,5 @@
> - * Same as removeNativeObserver but intended for scripted observers or
> - * observers from another or without a document.
> - */
> - [noscript] void removeObserver(in imgINotificationObserver aObserver);
> -
nevermind, looks like you get around to it :-P
Attachment #8944005 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8944010 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8944011 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8944012 -
Flags: review?(nika) → review+
Comment 10•8 years ago
|
||
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b32abc70b73c
part 1. Remove a bunch of unnecessary QIs to nsIImageLoadingContent in JS. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/dc6b4a679a55
part 2. Make all attributes and methods on nsIImageLoadingContent noscript, since they're not used from JS. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/36ecbfa0db66
part 3. de-COM the image loading content loadingEnabled API. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/a414dcbea9c9
part 4. de-COM the image loading content observer APIs. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f9b914468dc
part 5. de-COM the image loading content setBlockedRequest API. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/04e629ae62cd
part 6. de-COM the image loading content forceReload API. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/b94aa180ac8b
part 7. de-COM the image loading content forceImageState API. r=mystor
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b32abc70b73c
https://hg.mozilla.org/mozilla-central/rev/dc6b4a679a55
https://hg.mozilla.org/mozilla-central/rev/36ecbfa0db66
https://hg.mozilla.org/mozilla-central/rev/a414dcbea9c9
https://hg.mozilla.org/mozilla-central/rev/2f9b914468dc
https://hg.mozilla.org/mozilla-central/rev/04e629ae62cd
https://hg.mozilla.org/mozilla-central/rev/b94aa180ac8b
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•