diff --git a/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.html.ini b/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.html.ini index 7c3127d167a740c..1a5ac47c67d942a 100644 --- a/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.html.ini +++ b/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.html.ini @@ -1 +1,2 @@ -disabled: https://github.com/web-platform-tests/wpt/issues/47544 +disabled: + if product != "chrome": @True diff --git a/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.window.js.ini b/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.window.js.ini new file mode 100644 index 000000000000000..1a5ac47c67d942a --- /dev/null +++ b/infrastructure/metadata/infrastructure/webdriver/bidi/subscription.window.js.ini @@ -0,0 +1,2 @@ +disabled: + if product != "chrome": @True diff --git a/infrastructure/webdriver/bidi/subscription.html b/infrastructure/webdriver/bidi/subscription.html index 056c2e5f77fb959..f1144b72fd56352 100644 --- a/infrastructure/webdriver/bidi/subscription.html +++ b/infrastructure/webdriver/bidi/subscription.html @@ -3,7 +3,7 @@ Test console log are present - + + + """.encode("utf-8") + + s = create("html/test.html", contents=contents) + s.testdriver_features == None + + +@pytest.mark.parametrize("features", + [[], ['feature_1'], ['feature_1', 'feature_2']]) +def test_html_testdriver_features(features): + contents = f""" +