OLD | NEW |
(Empty) | |
| 1 // Some people actually switch off browser.frames.enabled and are surprised |
| 2 // that things stop working... |
| 3 window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) |
| 4 .getInterface(Components.interfaces.nsIWebNavigation) |
| 5 .QueryInterface(Components.interfaces.nsIDocShell) |
| 6 .allowSubframes = true; |
| 7 |
| 8 window.addEventListener("load", startTests, false); |
| 9 |
| 10 function startTests() |
| 11 { |
| 12 document.getElementById("tests").setAttribute("src", "index.html" + location.s
earch); |
| 13 } |
OLD | NEW |