зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1269209 - Port test_bug635636.html from chrome to plain; r=masayuki
MozReview-Commit-ID: KoJbPZ85emj
This commit is contained in:
Родитель
9a19c4aba3
Коммит
2283c45d92
|
@ -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]
|
||||
|
|
|
@ -116,6 +116,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 || os == 'android'
|
||||
[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
|
||||
|
|
Загрузка…
Ссылка в новой задаче