Bug 1320704 - Disable IntersectionObserver, r=bkelly

This commit is contained in:
Olli Pettay 2016-11-28 21:11:35 +02:00
Родитель 5e9387e149
Коммит 79719d0e36
3 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -673,6 +673,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
[test_ipc_messagemanager_blob.html]
[test_link_prefetch.html]
skip-if = !e10s # Track Bug 1281415

Просмотреть файл

@ -615,9 +615,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!
"IntersectionObserver",
{name: "IntersectionObserver", disabled: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
"IntersectionObserverEntry",
{name: "IntersectionObserverEntry", disabled: true},
// 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!

Просмотреть файл

@ -7,7 +7,7 @@
* https://wicg.github.io/IntersectionObserver/
*/
[ProbablyShortLivingObject]
[ProbablyShortLivingObject, Pref="dom.IntersectionObserver.enabled"]
interface IntersectionObserverEntry {
[Constant]
readonly attribute DOMHighResTimeStamp time;
@ -24,7 +24,8 @@ interface IntersectionObserverEntry {
};
[Constructor(IntersectionCallback intersectionCallback,
optional IntersectionObserverInit options)]
optional IntersectionObserverInit options),
Pref="dom.IntersectionObserver.enabled"]
interface IntersectionObserver {
[Constant]
readonly attribute Element? root;