https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d474c2a0587f5ff6ae05fde66ac6f43a106d0d05 authored by Anne van Kesteren on 16 November 2018, 12:38:42 UTC
EventSource: test U+0000 in ID better
Tip revision: d474c2a
idlharness.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://w3c.github.io/IntersectionObserver/

idl_test(
  ['intersection-observer'],
  ['dom'],
  idl_array => {
    idl_array.add_objects({
      IntersectionObserver: ['observer'],
    });
    var options = {
      root: document.body,
      rootMargin: '0px',
      threshold: 1.0
    }
    self.observer = new IntersectionObserver(() => {}, options);
  }
);
back to top