forked from mirrors/gecko-dev
Automatic update from web-platform-tests [GitHub Actions] Pin the version of Ubuntu and checkout action (#18792) This is mostly to bring consistency to the checkout action, but it's just as well to pin the version of Ubuntu used to control when we upgrade instead of having sudden breakage to deal with. -- wpt-commits: 1afb9ed57e193983fcb467742241f44460f3f759 wpt-pr: 18792 --HG-- rename : testing/web-platform/tests/geolocation-API/idlharness.window.js => testing/web-platform/tests/geolocation-API/idlharness.https.window.js
17 lines
411 B
JavaScript
17 lines
411 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// https://www.w3.org/TR/geolocation-API/
|
|
|
|
idl_test(
|
|
['geolocation-API'],
|
|
['html'],
|
|
idl_array => {
|
|
self.audio = document.createElement('audio');
|
|
self.video = document.createElement('video');
|
|
idl_array.add_objects({
|
|
Navigator: ['navigator'],
|
|
Geolocation: ['navigator.geolocation'],
|
|
});
|
|
}
|
|
);
|