-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit PDFFetchStream to http(s) in the Chrome extension #9363
Conversation
The `fetch` API is only supported for http(s), even in Chrome extensions. Because of this limitation, we should use the XMLHttpRequest API when the requested URL is not a http(s) URL. Fixes mozilla#9361
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/1ae3dd8260e8f95/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/d766e33b9b7373a/output.txt |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/1ae3dd8260e8f95/output.txt Total script time: 23.36 mins
Image differences available at: http://54.215.176.217:8877/1ae3dd8260e8f95/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/d766e33b9b7373a/output.txt Total script time: 38.70 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for the patch!
…examples This patch fixes a regression from mozilla#9363, causing the examples not to load anymore.
…examples This patch fixes a regression from mozilla#9363, causing the examples not to load anymore. (cherry picked from commit 1f9878e)
…examples This patch fixes a regression from mozilla#9363, causing the examples not to load anymore.
Limit PDFFetchStream to http(s) in the Chrome extension
…examples This patch fixes a regression from mozilla#9363, causing the examples not to load anymore.
The
fetch
API is only supported for http(s), even in Chrome extensions. Because of this limitation, we should use theXMLHttpRequest
API when the requested URL is not a http(s) URL.Fixes #9361