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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 40
Tracking Status
e10s m8+ ---
firefox40 --- fixed

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 },
Assignee: nobody → moz-ian
Status: NEW → ASSIGNED
Attached file MozReview Request: bz://1141160/Kwan (obsolete) —
/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 on attachment 8581672 [details] MozReview Request: bz://1141160/Kwan gabor says his review queue is empty.
Attachment #8581672 - Flags: review?(mconley) → review?(gkrizsanits)
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+
Attachment #8581672 - Flags: review+ → review?(mconley)
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/
Attachment #8581672 - Flags: review?(mconley) → review+
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
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 40
Attachment #8581672 - Attachment is obsolete: true
Attachment #8619706 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: