Closed
Bug 1806413
Opened 2 years ago
Closed 2 years ago
Schedule pre-loaded scripts for execution
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Remote Protocol
WebDriver BiDi
Tracking
(firefox111 fixed)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [webdriver:m6])
Attachments
(1 file)
Before we can add basic support for pre-loaded scripts our BiDi implementation needs the ability to schedule custom scripts for evaluation while the page is loading.
How the execution needs to happen will be added by the following PR for the html spec:
https://github.com/whatwg/html/pull/8300
The document parser can be blocked by calling document.blockParsing
, which would allow us to evaluate all the registered scripts. Requirement here is that this needs to happen as early as the document has been created. Therefore we need to observe "document-element-inserted".
An example can be found at:
Reporter | ||
Updated•2 years ago
|
Points: --- → 8
Reporter | ||
Updated•2 years ago
|
Type: enhancement → task
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Assignee | ||
Updated•2 years ago
|
Assignee: aborovova → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/992f37d790a4
[bidi] Add scheduling of preloaded scripts for execution. r=webdriver-reviewers,whimboo,jdescottes
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•