Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky
This commit is contained in:
@@ -22,7 +22,7 @@ function runTest() {
|
||||
browserElementTestHelpers.addPermission();
|
||||
|
||||
iframe = document.createElement('iframe');
|
||||
iframe.mozbrowser = true;
|
||||
SpecialPowers.wrap(iframe).mozbrowser = true;
|
||||
|
||||
iframe.addEventListener('mozbrowserloadend', mozbrowserLoaded);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user