[CRX] Recognize blob and data-URLs in the router

When a blob or data-URL is opened with the extension, viewer.html
rewrites the URL. But when the viewer is refreshed (e.g. F5), Chrome
would fail to display the viewer because the extension router was not
set up to recognize such URLs.

Now it is.
This commit is contained in:
Rob Wu 2017-02-04 01:20:17 +01:00
parent 5fdc908f02
commit d9f90d595d
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ limitations under the License.
'ftp',
'file',
'chrome-extension',
'blob',
'data',
// Chromium OS
'filesystem',
// Chromium OS, shorthand for filesystem:<origin>/external/

View File

@ -63,6 +63,8 @@
"ftp:/*",
"file:/*",
"chrome-extension:/*",
"blob:*",
"data:*",
"filesystem:/*",
"drive:*"
]