CacheStorage.requestCacheNames aw-snaps the current tab if invoked with 'https://*' or 'file://*'
Reported by
cyrus....@gmail.com,
Nov 1 2016
|
|||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Steps to reproduce the problem:
1. Start Chrome with the `--remote-debugging-port=9222` option;
2. Issue the said method. I used `chrome-remote-interface inspect`[1] but any WebSocket client will do, for example `wscat`[2]:
$ wscat -c ws://localhost:9222/devtools/page/7076eb2d-eace-4637-b982-6d34984eb69b
connected (press CTRL+C to quit)
> { "id": 42, "method": "CacheStorage.requestCacheNames", "params": {"securityOrigin": "https://*"}}
< {"method":"Inspector.targetCrashed","params":{}}
The same happens at least with `file://*` too.
[1]: https://github.com/cyrus-and/chrome-remote-interface
[2]: https://github.com/websockets/wscat
What is the expected behavior?
Not "Aw, Snap!".
What went wrong?
"Aw, Snap!".
Did this work before? N/A
Chrome version: 56.0.2902.0 dev (64-bit) Channel: dev
OS Version: Debian GNU/Linux 8
Flash Version:
As a bonus, I was wondering what is the proper syntax of the `securityOrigin` method.
I read [4] and tried several things without luck, i.e., the method always returns an empty array:
http://*
*://*:*
https://github.com
https://github.com:443
*
Thanks!
[4]: https://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features
,
Nov 1 2016
Blaise, could you please take a look at this crash?
,
Dec 2 2016
,
Dec 1 2017
,
Dec 13 2017
Looks like this was fixed:
$ wscat -c ws://localhost:9222/devtools/page/\(2D0F3E40FB4C70A3720B1A79CCB6F2D2\)
connected (press CTRL+C to quit)
> { "id": 42, "method": "CacheStorage.requestCacheNames", "params": {"securityOrigin": "https://*"}}
< {"id":42,"result":{"caches":[]}}
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by eostroukhov@chromium.org
, Nov 1 2016