mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1269209 - Port test_bug635636.html from chrome to plain; r=masayuki
MozReview-Commit-ID: KoJbPZ85emj --HG-- extra : rebase_source : df1f1d5dd8c02d6d00821ba0171d8e7697d3d789
This commit is contained in:
parent
4c585dd3d0
commit
57d3061a3c
@ -11,7 +11,6 @@ skip-if = buildapp == 'mulet'
|
||||
skip-if = buildapp == 'mulet'
|
||||
[test_bug607584.xul]
|
||||
[test_bug616590.xul]
|
||||
[test_bug635636.html]
|
||||
[test_bug636465.xul]
|
||||
[test_bug646194.xul]
|
||||
[test_bug780908.xul]
|
||||
|
@ -115,6 +115,8 @@ skip-if = toolkit == 'android' #TIMED_OUT
|
||||
skip-if = toolkit == 'android' #bug 957797
|
||||
[test_bug625452.html]
|
||||
[test_bug629845.html]
|
||||
[test_bug635636.html]
|
||||
skip-if = e10s
|
||||
[test_bug638596.html]
|
||||
[test_bug640321.html]
|
||||
skip-if = android_version == '18' # bug 1147989
|
||||
|
@ -5,9 +5,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=635636
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 635636</title>
|
||||
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=635636">Mozilla Bug 635636</a>
|
||||
@ -33,8 +33,9 @@ addLoadEvent(function() {
|
||||
w.document.designMode = 'on';
|
||||
w.location = "data:text/plain,2";
|
||||
d = w.document.getElementsByTagName("div")[0];
|
||||
const Ci = Components.interfaces;
|
||||
var mainWindow = w.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
const Ci = SpecialPowers.Ci;
|
||||
var mainWindow = SpecialPowers.wrap(w)
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIWebNavigation)
|
||||
.QueryInterface(Ci.nsIDocShellTreeItem)
|
||||
.rootTreeItem
|
||||
|
Loading…
Reference in New Issue
Block a user