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

Side by Side Diff: chrome/test/data/extensions/api_test/stubs/background.html

Issue 8762014: Move another set of extension tests to manifest_version 2 (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 <script> 1 <!--
2 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
3 chrome.extension.onRequest.addListener(function(msg, sender, responseFunc) { 3 * source code is governed by a BSD-style license that can be found in the
4 if (msg == "getApi") { 4 * LICENSE file.
5 responseFunc(chrome.test.getApiDefinitions()); 5 -->
6 } else if (msg == "pass") { 6 <script src="background.js"></script>
7 chrome.test.notifyPass();
8 } else if (msg.substr(0, 3) == "log") {
9 chrome.test.log(msg);
10 } else {
11 chrome.test.notifyFail("failed");
12 }
13 });
14
15 // On first install, send a success message so the test can continue.
16 chrome.test.notifyPass();
17
18 </script>
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/storage/tab.js ('k') | chrome/test/data/extensions/api_test/stubs/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698