Re: Issue 466876 in chromium: Fetch API cannot load URL scheme "chrome-extension"

965 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 13, 2015, 7:46:10 AM3/13/15
to chromi...@chromium.org
Updates:
Cc: yhi...@chromium.org
Labels: Cr-Blink-Fetch

Comment #1 on issue 466876 by hirosh...@chromium.org: Fetch API cannot load
URL scheme "chrome-extension"
https://code.google.com/p/chromium/issues/detail?id=466876

(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Mar 21, 2015, 9:20:37 PM3/21/15
to chromi...@chromium.org

Comment #2 on issue 466876 by RetroModular: Fetch API cannot load URL
scheme "chrome-extension"
https://code.google.com/p/chromium/issues/detail?id=466876

I would also like to see the `chrome-extension` protocol supported if
possible. I posted a comment in issue #436770 before I was aware of this
one.

chro...@googlecode.com

unread,
Mar 22, 2015, 10:06:11 PM3/22/15
to chromi...@chromium.org
Updates:
Cc: ho...@chromium.org

Comment #3 on issue 466876 by yhi...@chromium.org: Fetch API cannot load
(No comment was entered for this change.)

chro...@googlecode.com

unread,
Mar 22, 2015, 10:07:11 PM3/22/15
to chromi...@chromium.org
Updates:
Labels: -Cr-Blink-JavaScript

Comment #4 on issue 466876 by yhi...@chromium.org: Fetch API cannot load

chro...@googlecode.com

unread,
Aug 5, 2015, 6:36:27 AM8/5/15
to chromi...@chromium.org

Comment #8 on issue 466876 by Kurtextrem: Fetch API cannot load URL
scheme "chrome-extension"
https://code.google.com/p/chromium/issues/detail?id=466876

How is this unconfirmed? I can confirm that.
Was working before the latest dev channel update (4th of aug)

chro...@googlecode.com

unread,
Aug 5, 2015, 6:43:26 AM8/5/15
to chromi...@chromium.org

Comment #9 on issue 466876 by Kurtextrem: Fetch API cannot load URL
scheme "chrome-extension"
https://code.google.com/p/chromium/issues/detail?id=466876

This is about the Fetch API, but now the XHR is broken.
Was working before the dev channel update on the 4th.

chro...@googlecode.com

unread,
Aug 5, 2015, 9:32:28 AM8/5/15
to chromi...@chromium.org

Comment #10 on issue 466876 by j...@decodingideas.com: Fetch API cannot
@Kurtextrem same error? Error: Url scheme "chrome-extension" is not
supported.

chro...@googlecode.com

unread,
Aug 5, 2015, 9:38:29 AM8/5/15
to chromi...@chromium.org

Comment #11 on issue 466876 by Kurtextrem: Fetch API cannot load URL
scheme "chrome-extension"
https://code.google.com/p/chromium/issues/detail?id=466876

Yep. It even mentions "Fetch API" although my code uses XHR.

chro...@googlecode.com

unread,
Aug 5, 2015, 11:03:39 AM8/5/15
to chromi...@chromium.org
Updates:
Status: Untriaged

Comment #12 on issue 466876 by hirosh...@chromium.org: Fetch API cannot
Thanks for reporting.
As for Fetch API, chrome-extension scheme is not yet implemented. Changing
this issue to Untriaged.

Steps to reproduce:
1. Save attached script.js and manifest.json, and load them from
chrome://extensions/ with develper mode.
2. Open https://code.google.com/ with DevTools open.

Expected:
Both "Fetch API success" and "XHR success" are output to DevTools console.

Actual:
Fetch API cannot load
chrome-extension://gfpollbbodigmjjlioifaikpkilkknjn/manifest.json. URL
scheme "chrome-extension" is not supported.
Fetch API error:
TypeError: Failed to fetch
at TypeError (native)
at chrome-extension://gfpollbbodigmjjlioifaikpkilkknjn/script.js:1:24
XHR success:
(content of manifest.json follows)

Tested on:
Linux:
44.0.2403.130 (stable)
45.0.2454.15 (beta)
46.0.2474.0 (Developer build, Revision 341879)

Windows:
44.0.2403.125 (stable)
46.0.2471.2 (dev)
46.0.2473.0 (canary)

Attachments:
manifest.json 346 bytes
script.js 649 bytes

chro...@googlecode.com

unread,
Aug 5, 2015, 11:07:39 AM8/5/15
to chromi...@chromium.org

Comment #13 on issue 466876 by hirosh...@chromium.org: Fetch API cannot
> #9
And as for XHR, I tested with the code in #12 but I couldn't reproduced (I
got "XHR success" on Chrome dev 46.0.2471.2 on Windows released on Aug 4th).

Kurtextrem@, could you provide us more info such as the script/manifest you
used?
I'll investigate.

chro...@googlecode.com

unread,
Aug 5, 2015, 11:58:11 AM8/5/15
to chromi...@chromium.org

chro...@googlecode.com

unread,
Aug 5, 2015, 1:08:14 PM8/5/15
to chromi...@chromium.org

Comment #15 on issue 466876 by hirosh...@chromium.org: Fetch API cannot
> #14
Thanks!
This is an issue of capturing requests to chrome-extension scheme by
service workers and thus to be handled by Issue 494930.
I added description why it "mentions "Fetch API" although my code uses
XHR." there.
Reply all
Reply to author
Forward
0 new messages