Bug 1937188: Set geo.prompt.open_system_prefs=false in wpt tests r=saschanaz,jgraham

geo.prompt.open_system_prefs keeps the tests from opening system preferences
for the user and waiting for them to turn on location services (which obviously
will never happen).  This is currently only relevant on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D232771
This commit is contained in:
David P
2025-01-17 17:59:42 +00:00
parent fbd820d82e
commit c97706cc9a
9 changed files with 4 additions and 31 deletions

View File

@@ -94,3 +94,7 @@ user_pref("network.http.http2.websockets", true);
user_pref("app.update.disabledForTesting", true);
// Use dummy server for geolocation
user_pref("geo.provider.network.url", "https://web-platform.test:8444/_mozilla/geolocation-API/dummy.py");
// If we are on a platform where we can detect that we don't have OS
// geolocation permission, and we can open it and wait for the user to give
// permission, then don't do that.
user_pref("geo.prompt.open_system_prefs", false);

View File

@@ -1,8 +1,4 @@
[PositionOptions.https.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397
[Set timeout and maximumAge to 0, check that timeout error raised (watchPosition)]
expected: FAIL

View File

@@ -1,8 +1,4 @@
[enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1903271
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397
[Permissions-Policy allow="geolocation" allows cross-origin redirection]
expected: FAIL

View File

@@ -1,4 +0,0 @@
[enabled-by-permission-policy-attribute.https.sub.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397

View File

@@ -1,4 +0,0 @@
[enabled-by-permissions-policy.https.sub.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397

View File

@@ -1,7 +1,4 @@
[enabled-on-self-origin-by-permissions-policy.https.sub.html]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1903271
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397
[Permissions-Policy header geolocation=(self) disallows cross-origin iframes.]
expected: FAIL

View File

@@ -1,4 +0,0 @@
[getCurrentPosition_permission_allow.https.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397

View File

@@ -1,4 +0,0 @@
[non-fully-active.https.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397

View File

@@ -1,8 +1,4 @@
[tojson.https.window.html]
disabled:
if os == 'win' and os_version == '11.26100' and processor == 'x86': bug 1936397
if os == 'win' and os_version == '11.26100' and processor == 'x86_64': bug 1936397
[Test toJSON() in GeolocationPosition and GeolocationCoordinates.]
expected:
if (os == "mac") and not debug: [PASS, FAIL]