Closed
Bug 1141160
Opened 10 years ago
Closed 10 years ago
[e10s] "Reload Image" in remote browser causes unsafe CPOW usage warning
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
RESOLVED
FIXED
Firefox 40
People
(Reporter: Kwan, Assigned: Kwan)
References
Details
Attachments
(1 file, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #1133577 +++
STR:
1) Visit a site with some images that take a while to load on it in an e10s window
2) Right-click on one of the long-loading images, and choose "Reload Image"
This causes some "unsafe CPOW usage" warnings in the Browser Console.
In browser/base/content/nsContextMenu.js:
reloadImage: function(e) {
urlSecurityCheck(this.mediaURL,
this.browser.contentPrincipal,
Ci.nsIScriptSecurityManager.DISALLOW_SCRIPT);
if (this.target instanceof Ci.nsIImageLoadingContent) <- Causes CPOW warning
this.target.forceReload(); <- Causes CPOW warning
},
Updated•10 years ago
|
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → moz-ian
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•10 years ago
|
||
/r/5829 - Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings
Pull down this commit:
hg pull review -r 8d156d77e1b0c50415eeb304bbd5290bd47b9663
Attachment #8581672 -
Flags: review?(mconley)
Comment 2•10 years ago
|
||
Comment on attachment 8581672 [details]
MozReview Request: bz://1141160/Kwan
gabor says his review queue is empty.
Attachment #8581672 -
Flags: review?(mconley) → review?(gkrizsanits)
Comment 3•10 years ago
|
||
Comment on attachment 8581672 [details]
MozReview Request: bz://1141160/Kwan
https://reviewboard.mozilla.org/r/5827/#review5205
Ship It!
Attachment #8581672 -
Flags: review?(gkrizsanits) → review+
| Assignee | ||
Updated•10 years ago
|
Attachment #8581672 -
Flags: review+ → review?(mconley)
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8581672 [details]
MozReview Request: bz://1141160/Kwan
/r/5829 - Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings
Pull down this commit:
hg pull -r abefce0712bf8f2a551680747e4adcd91931c658 https://reviewboard-hg.mozilla.org/gecko/
| Assignee | ||
Updated•10 years ago
|
Attachment #8581672 -
Flags: review?(mconley) → review+
| Assignee | ||
Comment 5•10 years ago
|
||
Right, now that I've managed to remove the try syntax from the patch description this can be checked-in. Apologies for the bugspam caused.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d156d77e1b0
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 40
| Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8581672 -
Attachment is obsolete: true
Attachment #8619706 -
Flags: review+
| Assignee | ||
Comment 9•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•