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

Side by Side Diff: chrome/renderer/resources/extensions/apitest.js

Issue 9657026: Revert 125801 - Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months 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
Property Changes:
Deleted: svn:mime-type
- text/javascript
OLDNEW
1 // Copyright (c) 2012 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 // extension_apitest.js 5 // extension_apitest.js
6 // mini-framework for ExtensionApiTest browser tests 6 // mini-framework for ExtensionApiTest browser tests
7 7
8 var chrome = chrome || {};
9 (function() {
8 chrome.test = chrome.test || {}; 10 chrome.test = chrome.test || {};
9 11
10 chrome.test.tests = chrome.test.tests || []; 12 chrome.test.tests = chrome.test.tests || [];
11 13
12 var completed = false; 14 var completed = false;
13 var currentTest = null; 15 var currentTest = null;
14 var lastTest = null; 16 var lastTest = null;
15 17
16 function complete() { 18 function complete() {
17 completed = true; 19 completed = true;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 }; 268 };
267 269
268 chrome.test.callbackFail = function(expectedError, func) { 270 chrome.test.callbackFail = function(expectedError, func) {
269 return chrome.test.callback(func, expectedError); 271 return chrome.test.callback(func, expectedError);
270 }; 272 };
271 273
272 chrome.test.runTests = function(tests) { 274 chrome.test.runTests = function(tests) {
273 chrome.test.tests = tests; 275 chrome.test.tests = tests;
274 chrome.test.runNextTest(); 276 chrome.test.runNextTest();
275 }; 277 };
278 })();
OLDNEW
« no previous file with comments | « chrome/renderer/resource_bundle_source_map.cc ('k') | chrome/renderer/resources/extensions/app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698