Closed Bug 1549529 Opened 5 years ago Closed 4 months ago

[meta] Runtime.executionContextCreated

Categories

(Remote Protocol :: CDP, task)

task

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ato, Unassigned)

References

()

Details

(Keywords: meta, Whiteboard: [event=Runtime.executionContextCreated])

No description provided.
Depends on: 1543099
Keywords: meta
Whiteboard: [event=Runtime.executionContextCreated]

Basic support was actually implemented in bug 1543098. It only misses the origin and name properties. name is actually used by Puppeteer

     } else if (contextPayload.name === UTILITY_WORLD_NAME && !frame._secondaryWorld._hasContext()) {
        // In case of multiple sessions to the same target, there's a race between
        // connections so we might end up creating multiple isolated worlds.
        // We can use either.
        world = frame._secondaryWorld;

With having name as undefined we would never reach this code, which seems like we could trap into a race condition. As long as we don't know if this really affects Gutenberg, I wouldn't call it a blocker of the alpha release.

Depends on: 1543098
Component: CDP: Runtime → CDP
Severity: normal → S3

Everything that we were able to do for this API is done.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.