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•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0a13ac4fa9d7 Implement Runtime.executionContextCreated. r=ato https://hg.mozilla.org/integration/autoland/rev/142fc2db9173 Emit executionContextCreated for existing context when calling Runtime.enable. r=ato https://hg.mozilla.org/integration/autoland/rev/f5645934c8ec Implement Runtime.executionContextDestroyed. r=ato https://hg.mozilla.org/integration/autoland/rev/a414e99fbbc8 Emit executionContextDestroyed and executionContextCreated when the page goes into/out of the BF Cache. r=ato
Comment 7•5 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•5 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•5 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•5 years ago
|
||
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7bee2c531149 Implement Runtime.executionContextCreated. r=ato https://hg.mozilla.org/integration/autoland/rev/d2402ee68ab2 Emit executionContextCreated for existing context when calling Runtime.enable. r=ato https://hg.mozilla.org/integration/autoland/rev/3673c2b20d7f Implement Runtime.executionContextDestroyed. r=ato https://hg.mozilla.org/integration/autoland/rev/e104355e0f27 Emit executionContextDestroyed and executionContextCreated when the page goes into/out of the BF Cache. r=ato
Comment 11•5 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•5 years ago
|
Updated•3 years ago
|
Description
•