Bug 1090759 - Part 5. Use setAttribute to set mozbrowser instead of using SpecialPowers. r=smaug

This commit is contained in:
Kan-Ru Chen (陳侃如)
2014-10-31 10:39:15 +08:00
parent c3e90f9dee
commit 12a92005da
68 changed files with 78 additions and 78 deletions

View File

@@ -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);