bindings: Allow Guard to take multiple conditions, check for SecureContext in ConstructorEnabled (#33508)

* Update condition handling for exposing values

- Let Guard take a list of conditions
- Check for secure context condition when exposing constructor

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update WPT expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Python tidy

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Make interfaces test run in secure context

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-09-21 09:50:05 +00:00 committed by GitHub
parent 24ad2a0526
commit 4e4b137eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 45 additions and 32 deletions

View file

@ -1,7 +0,0 @@
[webxr_availability.http.sub.html]
[Test webxr not available in secure context in insecure context]
expected: FAIL
[Test webxr not available in insecure context]
expected: FAIL

View file

@ -1,6 +0,0 @@
[webxr_availability.http.sub.html]
[Test webxr not available in insecure context]
expected: FAIL
[Test webxr not available in secure context in insecure context]
expected: FAIL

View file

@ -13494,7 +13494,7 @@
{}
]
],
"interfaces.html": [
"interfaces.https.html": [
"94f1102da478919d2948ebb96f81450f5d545635",
[
null,