Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: chrome/test/data/extensions/api_test/webrequest_public_session/framework.js

Issue 2455393002: PS - Adjusting webRequest API for use in Public Sessions (Closed)
Patch Set: Fixed unittest error Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var getURL = chrome.extension.getURL; 5 var getURL = chrome.extension.getURL;
6 var deepEq = chrome.test.checkDeepEq; 6 var deepEq = chrome.test.checkDeepEq;
7 var expectedEventData; 7 var expectedEventData;
8 var capturedEventData; 8 var capturedEventData;
9 var capturedUnexpectedData; 9 var capturedUnexpectedData;
10 var expectedEventOrder; 10 var expectedEventOrder;
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 helper('onHeadersReceived'); 413 helper('onHeadersReceived');
414 helper('onResponseStarted'); 414 helper('onResponseStarted');
415 helper('onBeforeRedirect'); 415 helper('onBeforeRedirect');
416 helper('onCompleted'); 416 helper('onCompleted');
417 helper('onErrorOccurred'); 417 helper('onErrorOccurred');
418 } 418 }
419 419
420 function resetDeclarativeRules() { 420 function resetDeclarativeRules() {
421 chrome.declarativeWebRequest.onRequest.removeRules(); 421 chrome.declarativeWebRequest.onRequest.removeRules();
422 } 422 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698