mirror of
https://github.com/servo/servo
synced 2026-05-12 09:56:50 +02:00
18 lines
411 B
JavaScript
18 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'],
|
|
});
|
|
}
|
|
);
|