| Index: third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| index f33cd976b68d649647d2420d978db7c24c6578ac..ac604a7705180aa798410af82aafd6c1d1a7ac30 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| @@ -406,7 +406,7 @@ WebInspector.Cookies.getCookiesAsync = function(callback)
|
| }
|
|
|
| var barrier = new CallbackBarrier();
|
| - for (var target of WebInspector.targetManager.targets(WebInspector.Target.Type.Page))
|
| + for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Network))
|
| target.networkAgent().getCookies(barrier.createCallback(mycallback.bind(null, target)));
|
| barrier.callWhenDone(callback.bind(null, allCookies));
|
| }
|
|
|