Closed
Bug 1823464
Opened 2 years ago
Closed 2 years ago
Handle DOMTokenList instances as collection
Categories
(Remote Protocol :: Marionette, enhancement, P1)
Remote Protocol
Marionette
Tracking
(firefox113 fixed)
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [webdriver:m6], [wptsync upstream] [webdriver:relnote])
Attachments
(2 files)
Upstream PR: https://github.com/w3c/webdriver/pull/1728
Right now the DOMTokenList is not handled as collection and as such falls back to an arbitrary object.
The serialization results in an empty object to be returned because there are no enumerable properties. To actually allow Get Element Property to return the classList it needs to be handled as a collection.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D173068
Assignee | ||
Updated•2 years ago
|
Points: --- → 1
Priority: -- → P1
Whiteboard: [webdriver:m6]
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43f518df2e7f
[marionette] Handle DOMTokenList instances as collection. r=webdriver-reviewers,jdescottes
https://hg.mozilla.org/integration/autoland/rev/77479cf002be
[wdspec] Improve serialization tests for DOMTokenList. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39128 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m6] → [webdriver:m6], [wptsync upstream]
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/43f518df2e7f
https://hg.mozilla.org/mozilla-central/rev/77479cf002be
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Upstream PR merged by moz-wptsync-bot
Updated•2 years ago
|
Whiteboard: [webdriver:m6], [wptsync upstream] → [webdriver:m6], [wptsync upstream] [webdriver:relnote]
You need to log in
before you can comment on or make changes to this bug.
Description
•