Bug 1803435 - Enable scrollend for content by default. r=hiro,botond,emilio

Enable firing the scrollend event to content by default.

Differential Revision: https://phabricator.services.mozilla.com/D163801
This commit is contained in:
Dan Robertson 2022-12-07 18:49:16 +00:00
Родитель be6bc3a575
Коммит 83f4ef2e22
8 изменённых файлов: 3 добавлений и 76 удалений

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

@ -1684,6 +1684,8 @@ let interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "onscroll", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "onscrollend", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "onsecuritypolicyviolation", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "onseeked", insecureContext: true },

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

@ -298,7 +298,7 @@
- name: apz.scrollend-event.content.enabled
type: RelaxedAtomicBool
value: false
value: true
mirror: always
# After a user has executed a pan gesture, we may receive momentum phase pan

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

@ -443,9 +443,6 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[Navigator interface: window.navigator must inherit property "userActivation" with the proper type]
expected: FAIL
[SVGElement interface: attribute onscrollend]
expected: FAIL
[idlharness.https.html?include=(Document|Window)]
expected:
@ -536,24 +533,6 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[Document interface: documentWithHandlers must inherit property "onbeforematch" with the proper type]
expected: FAIL
[Window interface: attribute onscrollend]
expected: FAIL
[Window interface: window must inherit property "onscrollend" with the proper type]
expected: FAIL
[Document interface: attribute onscrollend]
expected: FAIL
[Document interface: iframe.contentDocument must inherit property "onscrollend" with the proper type]
expected: FAIL
[Document interface: new Document() must inherit property "onscrollend" with the proper type]
expected: FAIL
[Document interface: documentWithHandlers must inherit property "onscrollend" with the proper type]
expected: FAIL
[idlharness.https.html?include=HTML.*]
prefs: [dom.dialog_element.enabled:true]
@ -750,9 +729,3 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[HTMLElement interface: document.createElement("noscript") must inherit property "onbeforematch" with the proper type]
expected: FAIL
[HTMLElement interface: attribute onscrollend]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "onscrollend" with the proper type]
expected: FAIL

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

@ -48,12 +48,3 @@
[onbeforematch: the content attribute must execute when an event is dispatched]
expected: FAIL
[onscrollend: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onscrollend: the default value must be null]
expected: FAIL
[onscrollend: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL

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

@ -73,12 +73,3 @@
[not shadowed beforematch (document.body)]
expected: FAIL
[not shadowed scrollend (window)]
expected: FAIL
[not shadowed scrollend (document.createElement("body"))]
expected: FAIL
[not shadowed scrollend (document.body)]
expected: FAIL

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

@ -61,12 +61,3 @@
[not shadowed beforematch (document.body)]
expected: FAIL
[not shadowed scrollend (document.createElement("frameset"))]
expected: FAIL
[not shadowed scrollend (window)]
expected: FAIL
[not shadowed scrollend (document.body)]
expected: FAIL

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

@ -22,9 +22,3 @@
[beforematch is unaffected on a windowless frameset]
expected: FAIL
[scrollend is unaffected on a windowless body]
expected: FAIL
[scrollend is unaffected on a windowless frameset]
expected: FAIL

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

@ -58,18 +58,3 @@
[onbeforematch: dispatching an Event at a <math> element must trigger element.onbeforematch]
expected: FAIL
[onscrollend: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onscrollend: the default value must be null]
expected: FAIL
[onscrollend: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onscrollend: dynamic changes on the attribute]
expected: FAIL
[onscrollend: dispatching an Event at a <math> element must trigger element.onscrollend]
expected: FAIL