mirror of
https://github.com/servo/servo.git
synced 2025-08-29 17:18:23 +01:00
Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623
This commit is contained in:
parent
ec408e9a57
commit
5a5336aaf0
1981 changed files with 64719 additions and 2377 deletions
|
@ -30,6 +30,7 @@ def query(session, name):
|
|||
[ { "descriptor": { "name": "geolocation" }, "state": "granted" } ],
|
||||
{ "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 }
|
||||
])
|
||||
@pytest.mark.capabilities({"acceptInsecureCerts": True})
|
||||
def test_invalid_parameters(session, url, parameters):
|
||||
session.url = url("/common/blank.html", protocol="https")
|
||||
response = session.transport.send(
|
||||
|
@ -58,6 +59,7 @@ def test_non_secure_context(session, url, state):
|
|||
{ "oneRealm": False },
|
||||
{}
|
||||
])
|
||||
@pytest.mark.capabilities({"acceptInsecureCerts": True})
|
||||
def test_set_to_state(session, url, state, realmSetting):
|
||||
session.url = url("/common/blank.html", protocol="https")
|
||||
parameters = { "descriptor": { "name": "geolocation" }, "state": state }
|
||||
|
@ -97,6 +99,7 @@ def test_set_to_state(session, url, state, realmSetting):
|
|||
{ "oneRealm": False },
|
||||
{}
|
||||
])
|
||||
@pytest.mark.capabilities({"acceptInsecureCerts": True})
|
||||
def test_set_to_state_cross_realm(session, create_window, url, state, realmSetting):
|
||||
session.url = url("/common/blank.html", protocol="https")
|
||||
original_window = session.window_handle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue