Blob URLs broken on Chrome 71 in headless mode
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 1.9.0
- Platform / OS version: Ubuntu x64
- Node.js version: v10.12.0
- Chrome version: 71.0.3578.20 (beta)
What steps will reproduce the problem?
The smallest example I was able to make:
await page.evaluate(() => {
const url = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=='
return window.fetch(url)
.then(res => res.blob())
.then(blob => URL.createObjectURL(blob))
.then(url => window.fetch(url)) // crashes here
.then(res => res.blob())
})
What is the expected result? On Chrome 70 or Chrome 71 headfull it works fine
What happens instead?
On Chrome 71 in headless mode I get: Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME
Issue Analytics
- State:
- Created 5 years ago
- Reactions:23
- Comments:30 (6 by maintainers)
Top Results From Across the Web
902918 - Regression: blob URLs do not work in Headless
It's impossible to fetch blob URL in headless. ... Description was changed. ... Any workaround on this? ... Just tried and it works...
Read more >Unable to locate elements on webpage with headless chrome
I have a script that's accessing printers, and my code works totally fine when chrome is run normally, but when ...
Read more >Chrome Enterprise and Education release notes
The ChromeOS rollback feature enables managed devices to download and run an earlier version of ChromeOS than the one currently installed.
Read more >Getting Started with Headless Chrome - Chrome Developers
The easiest way to get started with headless mode is to open the Chrome binary from the ... https://www.chromestatus.com # URL to open....
Read more >Chrome 72+ seems to no longer accept --proxy-pac-url
It seems that the 'Network Service' option has been removed from chrome://flags (see the code commit). You can still run Chrome with --disable- ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a regression in our network stack in headless; filed upstream - https://crbug.com/902918
Thanks for reporting this!
I am also having problems with this - No problems after updating to Chrome 72 beta though