fune/testing/web-platform/tests/geolocation-API/idlharness.https.window.js
Marcos Cáceres d2c3d705e0 Bug 1802976 [wpt PR 37130] - Geolocation: simplify test, a=testonly
Automatic update from web-platform-tests
Geolocation: simplify test (#37130)

--

wpt-commits: 9b64e100aaeff5bf140436198a5a51f6eb5e8fdf
wpt-pr: 37130
2022-12-11 12:07:48 +00:00

14 lines
404 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// https://www.w3.org/TR/geolocation-API/
window.onload = async () => {
idl_test(["geolocation"], ["hr-time", "html"], (idl_array) => {
idl_array.add_objects({
Geolocation: ["navigator.geolocation"],
});
});
};