Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: lib/compat.js

Issue 10214006: Added JS-based XMLHttpRequest implementation (Closed)
Left Patch Set: Created April 15, 2013, 11:36 a.m.
Right Patch Set: Unbitrotted patch Created April 16, 2013, 3:31 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | test/WebRequest.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of the Adblock Plus extension, 2 * This file is part of the Adblock Plus extension,
3 * Copyright (C) 2006-2012 Eyeo GmbH 3 * Copyright (C) 2006-2012 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 // TODO: These need to be defined properly 18 // TODO: These need to be defined properly
19 var window = this; 19 var window = this;
20 function requestFileSystem() {};
21 20
22 // 21 //
23 // Module framework stuff 22 // Module framework stuff
24 // 23 //
25 24
26 function require(module) 25 function require(module)
27 { 26 {
28 return require.scopes[module]; 27 return require.scopes[module];
29 } 28 }
30 require.scopes = {__proto__: null}; 29 require.scopes = {__proto__: null};
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 notificationCallbacks: {}, 399 notificationCallbacks: {},
401 loadFlags: 0, 400 loadFlags: 0,
402 INHIBIT_CACHING: 0, 401 INHIBIT_CACHING: 0,
403 VALIDATE_ALWAYS: 0, 402 VALIDATE_ALWAYS: 0,
404 QueryInterface: function() 403 QueryInterface: function()
405 { 404 {
406 return this; 405 return this;
407 } 406 }
408 } 407 }
409 }; 408 };
LEFTRIGHT

Powered by Google App Engine
This is Rietveld