Open Bug 1632507 Opened 3 years ago Updated 2 years ago

Page.navigate should report an error for unknown url scheme

Categories

(Remote Protocol :: CDP, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: impossibus, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [puppeteer-beta2-mvp])

Example:

            Page.navigate({"url":"xyz://www"})
Network.requestWillBeSent({"documentURL":"xyz://www","frameId":"19C30D1276FFFB4C2A916970BB8D937A","hasUserGesture":false,"initiator":{"type":"other"},"loaderId":"BA681418EDCCE4E6C6ED397220894C1F","request":{"headers":{},"initialPriority":"VeryHigh","method":"GET","mixedContentType":"none","referrerPolicy":"no-referrer-when-downgrade","url":"xyz://www"},"requestId":"BA681418EDCCE4E6C6ED397220894C1F","timestamp":126001.773439,"type":"Document","wallTime":1587651523.233826})
    Network.loadingFailed({"canceled":true,"errorText":"net::ERR_ABORTED","requestId":"BA681418EDCCE4E6C6ED397220894C1F","timestamp":126001.774092,"type":"Document"})
            Page.navigate({"url":"xyz://www"}) = {"errorText":"net::ERR_ABORTED","frameId":"19C30D1276FFFB4C2A916970BB8D937A","loaderId":"BA681418EDCCE4E6C6ED397220894C1F"}

Priority: -- → P2
Whiteboard: [puppeteer-beta-reserve]

We actually miss to handle the Network.loadingFailed event here. But that's not existent yet until bug 1589784 has been fixed.

Depends on: 1589784
No longer depends on: 1646293
Severity: -- → S3
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Component: CDP: Page → CDP
You need to log in before you can comment on or make changes to this bug.