dom: Stub out the IntersectionObserver interface (#33989)

This is the first step toward implementing the IntersectionObserver
interface. It adds stubs which are exposed when a preference is turned
on. This is enough to get some sites with `IntersectionObserver` to
start working.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-10-25 02:26:47 -07:00 committed by GitHub
parent 1624530ffe
commit 3b5dc069ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 354 additions and 0 deletions

View file

@ -15,6 +15,7 @@
"dom.fullscreen.test": false,
"dom.gamepad.enabled": true,
"dom.imagebitmap.enabled": false,
"dom.intersection_observer.enabled": false,
"dom.microdata.enabled": false,
"dom.microdata.testing.enabled": false,
"dom.mouseevent.which.enabled": false,