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

Side by Side Diff: chrome/test/data/extensions/api_test/webrequest/test_complex.js

Issue 8879011: Make URL filter for web request API mandatory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 function getURLHttpXHR() { 5 function getURLHttpXHR() {
6 return getServerURL('files/extensions/api_test/webrequest/xhr/a.html'); 6 return getServerURL('files/extensions/api_test/webrequest/xhr/a.html');
7 } 7 }
8 function getURLHttpXHRJavaScript() { 8 function getURLHttpXHRJavaScript() {
9 return getServerURL('files/extensions/api_test/webrequest/xhr/a.js'); 9 return getServerURL('files/extensions/api_test/webrequest/xhr/a.js');
10 } 10 }
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 ip: "127.0.0.1", 379 ip: "127.0.0.1",
380 fromCache: false, 380 fromCache: false,
381 statusLine: "HTTP/1.0 200 OK", 381 statusLine: "HTTP/1.0 200 OK",
382 } 382 }
383 } 383 }
384 ], 384 ],
385 [ // event order 385 [ // event order
386 ["onBeforeRequest-1", "onBeforeSendHeaders-1", "onSendHeaders-1", 386 ["onBeforeRequest-1", "onBeforeSendHeaders-1", "onSendHeaders-1",
387 "onHeadersReceived-1", "onResponseStarted-1", "onCompleted-1", 387 "onHeadersReceived-1", "onResponseStarted-1", "onCompleted-1",
388 "onBeforeRequest-2", "onBeforeSendHeaders-2", "onSendHeaders-2", 388 "onBeforeRequest-2", "onBeforeSendHeaders-2", "onSendHeaders-2",
389 "onHeadersReceived-2", "onResponseStarted-2", "onCompleted-2"] ], 389 "onHeadersReceived-2", "onResponseStarted-2", "onCompleted-2"] ]);
390 {}, []);
391 navigateAndWait(getURLHttpXHR()); 390 navigateAndWait(getURLHttpXHR());
392 }, 391 },
393 ]); 392 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698