https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d6ebd711521b88acf00f3f1bbd5c4560500e92ea authored by Brandon Jones on 20 November 2018, 17:24:18 UTC
Remove the multiview attribute from XRWebGLLayer
Tip revision: d6ebd71
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