mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1321865 - Enable IntersectionObserver tests. r=jet
MozReview-Commit-ID: 19WgYHRGCat
This commit is contained in:
parent
d4416f2b25
commit
e88372532f
@ -653,7 +653,7 @@ skip-if = (toolkit == 'android') # Android: Bug 775227
|
||||
[test_innersize_scrollport.html]
|
||||
[test_integer_attr_with_leading_zero.html]
|
||||
[test_intersectionobservers.html]
|
||||
skip-if = true # Track Bug 1320704
|
||||
skip-if = (os == "android") # bug 1313927
|
||||
[test_link_prefetch.html]
|
||||
skip-if = !e10s # Track Bug 1281415
|
||||
[test_link_stylesheet.html]
|
||||
|
@ -24,14 +24,11 @@ limitations under the License.
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body onload="next()">
|
||||
<body onload="onLoad()">
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1243846">Mozilla Bug 1243846</a>
|
||||
<p id="display"></p>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
||||
SpecialPowers.setIntPref("layout.visibility.min-notify-intersection-observers-interval-ms", 0);
|
||||
|
||||
var tests = [];
|
||||
var curDescribeMsg = '';
|
||||
var curItMsg = '';
|
||||
@ -1242,6 +1239,10 @@ limitations under the License.
|
||||
targetEl4 = null;
|
||||
}
|
||||
|
||||
function onLoad() {
|
||||
SpecialPowers.pushPrefEnv({"set": [["dom.IntersectionObserver.enabled", true]]}, next);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
</script>
|
||||
</pre>
|
||||
|
@ -596,9 +596,9 @@ var interfaceNamesInGlobalScope =
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"InstallTrigger",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "IntersectionObserver", disabled: true},
|
||||
"IntersectionObserver",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "IntersectionObserverEntry", disabled: true},
|
||||
"IntersectionObserverEntry",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"KeyEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
Loading…
Reference in New Issue
Block a user