зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
be6bc3a575
Коммит
83f4ef2e22
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче