Emit Runtime.executionContextCreated and executionContextDestroyed events
Categories
(Remote Protocol :: CDP, enhancement, P1)
Tracking
(Not tracked)
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(4 files)
https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-executionContextCreated
Runtime.executionContextCreated:
Issued when new execution context is created.
This is a preliminary work in supporting JS evaluation via puppeteer's Page.evaluate.
This depends on bug 1543095 as on te puppeteer's side, we have to receive the Page.frameNavigated event first before this Runtime.executionContextCreated event.
Runtime.executionContextCreated is fired every time there is a new JS context into which we can execute code. Here we are going to only target tab documents, but later this can expose workers, addons,...
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0a13ac4fa9d7
https://hg.mozilla.org/mozilla-central/rev/142fc2db9173
https://hg.mozilla.org/mozilla-central/rev/f5645934c8ec
https://hg.mozilla.org/mozilla-central/rev/a414e99fbbc8
Comment 8•6 years ago
|
||
Backed out 4 changesets (bug 1543098) for high frequency browser_runtime_executionContext.js failures
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=a414e99fbbc856d82d5cf2561e2df3dd9638b6f2&selectedJob=243601513
backout: https://hg.mozilla.org/integration/autoland/rev/6843d141c496ade289d5d162532d9fc6d479e78c
| Assignee | ||
Comment 9•6 years ago
|
||
Note for the sheriffs:
I relanded this patch queue with the intermittent test disable on mac and windows+verify.
If there is other configurations where this test appears to be intermittent I would prefer disabling the patch rather than backing out the changes.
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7bee2c531149
https://hg.mozilla.org/mozilla-central/rev/d2402ee68ab2
https://hg.mozilla.org/mozilla-central/rev/3673c2b20d7f
https://hg.mozilla.org/mozilla-central/rev/e104355e0f27
Updated•6 years ago
|
Updated•4 years ago
|
Description
•