Bug 1090759 - Part 5. Use setAttribute to set mozbrowser instead of using SpecialPowers. r=smaug
This commit is contained in:
@@ -21,7 +21,7 @@ var countAcc;
|
||||
|
||||
function runTest() {
|
||||
iframe = document.createElement('iframe');
|
||||
SpecialPowers.wrap(iframe).mozbrowser = true;
|
||||
iframe.setAttribute('mozbrowser', 'true');
|
||||
|
||||
iframe.addEventListener('mozbrowserloadend', mozbrowserLoaded);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user