forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1524074 - Enable "marionette.setpermission.enabled" preference fo…
…r wpt tests. r=webdriver-reviewers,whimboo Differential Revision: https://phabricator.services.mozilla.com/D210608
- Loading branch information
Showing
26 changed files
with
26 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
prefs: [dom.events.asyncClipboard.clipboardItem: true, dom.events.asyncClipboard.readText: true, marionette.setpermission.enabled:true] | ||
prefs: [dom.events.asyncClipboard.clipboardItem: true, dom.events.asyncClipboard.readText: true] |
17 changes: 2 additions & 15 deletions
17
testing/web-platform/meta/geolocation-API/PositionOptions.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
[PositionOptions.https.html] | ||
expected: ERROR | ||
[Call getCurrentPosition with wrong type for enableHighAccuracy. No exception expected.] | ||
expected: FAIL | ||
|
||
[Call watchPosition with wrong type for enableHighAccuracy. No exception expected.] | ||
expected: NOTRUN | ||
|
||
[Set timeout and maximumAge to 0, check that timeout error raised (getCurrentPosition)] | ||
expected: NOTRUN | ||
|
||
[Set timeout and maximumAge to 0, check that timeout error raised (watchPosition)] | ||
expected: NOTRUN | ||
|
||
[Check that a negative timeout and maxAge values are clamped to 0 (getCurrentPosition)] | ||
expected: NOTRUN | ||
expected: FAIL | ||
|
||
[Check that a negative timeout and maxAge values are clamped to 0 (watchPosition)] | ||
expected: NOTRUN | ||
expected: FAIL |
9 changes: 1 addition & 8 deletions
9
testing/web-platform/meta/geolocation-API/disabled-by-permissions-policy.https.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
[disabled-by-permissions-policy.https.sub.html] | ||
expected: ERROR | ||
[Permissions-Policy header geolocation=() disallows the top-level document.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=() disallows same-origin iframes.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=() disallows cross-origin iframes.] | ||
expected: NOTRUN | ||
expected: FAIL |
9 changes: 1 addition & 8 deletions
9
testing/web-platform/meta/geolocation-API/enabled-by-permissions-policy.https.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
[enabled-by-permissions-policy.https.sub.html] | ||
expected: ERROR | ||
[Permissions-Policy header geolocation=* allows the top-level document.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=* allows same-origin iframes.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=* allows cross-origin iframes.] | ||
expected: NOTRUN | ||
expected: FAIL |
9 changes: 1 addition & 8 deletions
9
...form/meta/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
[enabled-on-self-origin-by-permissions-policy.https.sub.html] | ||
expected: ERROR | ||
[Permissions-Policy header geolocation=(self) allows the top-level document.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=(self) allows same-origin iframes.] | ||
expected: NOTRUN | ||
|
||
[Permissions-Policy header geolocation=(self) disallows cross-origin iframes.] | ||
expected: NOTRUN | ||
expected: FAIL |
4 changes: 2 additions & 2 deletions
4
testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_allow.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[getCurrentPosition_permission_allow.https.html] | ||
expected: ERROR | ||
expected: TIMEOUT | ||
[User allows access, check that success callback is called.] | ||
expected: FAIL | ||
|
||
[Error callback is nullable for getCurrentPosition().] | ||
expected: NOTRUN | ||
expected: TIMEOUT |
3 changes: 0 additions & 3 deletions
3
testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_deny.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[getCurrentPosition_permission_deny.https.html] | ||
expected: | ||
if (os == "android") and fission: [ERROR, TIMEOUT] | ||
ERROR | ||
[User denies access, check that error callback is called with correct code] | ||
expected: FAIL |
3 changes: 0 additions & 3 deletions
3
testing/web-platform/meta/geolocation-API/non-fully-active.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[non-fully-active.https.html] | ||
expected: | ||
if (os == "android") and fission: [ERROR, TIMEOUT] | ||
ERROR | ||
[non-fully active document behavior] | ||
expected: FAIL |
9 changes: 0 additions & 9 deletions
9
testing/web-platform/meta/geolocation-API/watchPosition_permission_deny.https.html.ini
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
testing/web-platform/meta/infrastructure/testdriver/set_permission.https.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
testing/web-platform/meta/notifications/event-onclose.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
testing/web-platform/meta/notifications/event-onshow.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ing/web-platform/meta/notifications/getnotifications-across-processes.https.window.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
testing/web-platform/meta/notifications/instance.https.window.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
testing/web-platform/meta/notifications/shownotification-window.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
prefs: [notification.prompt.testing:true, marionette.setpermission.enabled:true] | ||
prefs: [notification.prompt.testing:true] |
1 change: 0 additions & 1 deletion
1
...g/web-platform/meta/notifications/shownotification-without-permission.https.window.js.ini
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
testing/web-platform/meta/notifications/shownotification.https.window.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
testing/web-platform/meta/permissions/permissions-cg.https.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
testing/web-platform/meta/permissions/permissions-garbage-collect.https.html.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1497427 | ||
implementation-status: backlog | ||
lsan-allowed: [Alloc, Create, Malloc, Realloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::dom::DocGroup::Create, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator] | ||
prefs: [notification.prompt.testing:true, dom.push.testing.ignorePermission:true, marionette.setpermission.enabled:true] | ||
prefs: [notification.prompt.testing:true, dom.push.testing.ignorePermission:true] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
prefs: [marionette.setpermission.enabled:true, dom.screenwakelock.enabled:true] | ||
prefs: [dom.screenwakelock.enabled:true] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
prefs: | ||
if os == "android": [marionette.setpermission.enabled:true, dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false, network.cookie.cookieBehavior:5] | ||
[marionette.setpermission.enabled:true, dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false] | ||
if os == "android": [dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false, network.cookie.cookieBehavior:5] | ||
[dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...orm/tests/infrastructure/metadata/infrastructure/testdriver/set_permission.https.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[set_permission.https.html] | ||
[Grant Permission] | ||
expected: | ||
if product != "chrome": FAIL | ||
if product != "safari": FAIL | ||
|
||
[Deny Permission] | ||
expected: | ||
if product != "chrome": FAIL | ||
if product != "safari": FAIL |