Raw File
idlharness.https.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/ambient-light/

'use strict';

idl_test(
  ['ambient-light'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      AmbientLightSensor: ['new AmbientLightSensor()']
    });
  },
  'Test IDL implementation of Ambient Light Sensor'
);
back to top