tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 2633fd83c25fe178b19aac2cd7649d3745ffd54a
parent 99ebb5f0a440928e193ef327ba4e7eedf730a572
Author: Henrik Skupin <mail@hskupin.info>
Date:   Mon,  1 Dec 2025 20:43:58 +0000

Bug 2000801 - [webdriver-client] Assert for valid id when creating WebReference instances. r=jgraham,jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D273537

Diffstat:
Mtesting/web-platform/tests/tools/webdriver/webdriver/client.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/client.py b/testing/web-platform/tests/tools/webdriver/webdriver/client.py @@ -820,6 +820,7 @@ class ShadowRoot: @classmethod def from_json(cls, json, session): uuid = json[ShadowRoot.identifier] + assert isinstance(uuid, str) return cls(session, uuid) @@ -875,6 +876,7 @@ class WebElement: @classmethod def from_json(cls, json, session): uuid = json[WebElement.identifier] + assert isinstance(uuid, str) return cls(session, uuid) @@ -992,6 +994,7 @@ class WebFrame: @classmethod def from_json(cls, json, session): uuid = json[WebFrame.identifier] + assert isinstance(uuid, str) return cls(session, uuid) @@ -1016,5 +1019,6 @@ class WebWindow: @classmethod def from_json(cls, json, session): uuid = json[WebWindow.identifier] + assert isinstance(uuid, str) return cls(session, uuid)