| Index: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| index 867b15349ad851a20f5b3bb0867db55ccab44a87..357ba474da70e49c671879a54e55a948b46dac21 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| @@ -395,7 +395,7 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
|
| */
|
| addCookieDocument(frame) {
|
| var parsedURL = frame.url.asParsedURL();
|
| - if (!parsedURL)
|
| + if (!parsedURL || (parsedURL.scheme !== 'http' && parsedURL.scheme !== 'https' && parsedURL.scheme !== 'file'))
|
| return;
|
|
|
| var domain = parsedURL.securityOrigin();
|
|
|