Closed Bug 1599260 Opened 6 years ago Closed 5 years ago

Add support for "loaderId" to "Page.lifecycleEvent"

Categories

(Remote Protocol :: CDP, enhancement, P1)

enhancement

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: whimboo, Assigned: impossibus)

References

Details

(Whiteboard: [puppeteer-beta-mvp])

Attachments

(2 files)

The Page.lifecycleEvent needs the loaderId property set. But as long as we don't have that value from the Page.navigate command, there is nothing we can do here.

Bug 1599257 adds the plumbing for loaderId but does not return it. This is because client navigation methods (e.g. Page.goto in Puppeteer) break unless the loader id returned by Page.navigate matches the one in life cycle events.

Maja, do you want to work on that next once bug 1599257 has been fixed? I feel this should have been on the reserved list for the next milestone. I assume it affects a lot of tests?

Flags: needinfo?(mjzffr)
Priority: P3 → P2
Whiteboard: [puppeteer-beta-reserve]
Assignee: nobody → mjzffr
Status: NEW → ASSIGNED
Priority: P2 → P1
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta-mvp]
Flags: needinfo?(mjzffr)
Attachment #9147148 - Attachment description: Bug 1599260 - Include loader id in Page lifecycle events → Bug 1599260 - Include loader id in Page.lifecycleEvent
Pushed by mjzffr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d4f9dcd527b9 Include loader id in Page.lifecycleEvent r=remote-protocol-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/12e3a7252e68 [puppeteer] Check for favicon in request/response test r=remote-protocol-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
Component: CDP: Page → CDP
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: