Closed Bug 946764 Opened 11 years ago Closed 11 years ago

document.loadOverlay fails to callback if it is remote XUL

Categories

(Core :: XPConnect, defect)

24 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 932906
Tracking Status
firefox25 --- affected
firefox26 --- affected
firefox27 --- affected
firefox28 --- verified
firefox-esr17 --- unaffected
firefox-esr24 --- fixed

People

(Reporter: alice0775, Unassigned)

Details

(Keywords: regression, Whiteboard: [qa-])

Attachments

(2 files)

176 bytes, application/vnd.mozilla.xul+xml
Details
645 bytes, application/vnd.mozilla.xul+xml
Details
Attached file overlay.xul
      No description provided.
Attached file main.xul
The problem happens since Firefox24

Steps to Reproduce:
1. allow remote XUL bugzilla.mozilla.org domain
2. Open main.xul attachment 8343133 [details]
3. Click second button

Actual Results:
overlay.xul is successfully loaded.
However, callback fails with the following error

Error: Error: Permission denied for <https://bug946764.bugzilla.mozilla.org> to create wrapper for object of class UnnamedClass

Expected Results:
callback is also successfully performed.
An alert box "done" should pop up
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/8f9ba85eb61c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130605 Firefox/24.0 ID:20130605001414
Bad:
http://hg.mozilla.org/mozilla-central/rev/b925d7cdd09a
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130605 Firefox/24.0 ID:20130605034215
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8f9ba85eb61c&tochange=b925d7cdd09a


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/3378602c5b0c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130604 Firefox/24.0 ID:20130604195414
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/888bbc708061
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130604 Firefox/24.0 ID:20130604195816
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=3378602c5b0c&tochange=888bbc708061


In local build,
Last Good: f6eb97809d91
First Bad: 2a2ad2ce8a4c
Regressed by:
	2a2ad2ce8a4c	Bobby Holley — Bug 877478 - Move all consumers of GetAppropriateSecurityManager to GetDefaultSecurityManager and rm the former. r=mrbkap
Component: XUL → XPConnect
Alice, can you see whether the fix for bug 932906 fixed this?
Flags: needinfo?(alice0775)
Yes. it works
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(alice0775)
Resolution: --- → DUPLICATE
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: