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

Unified Diff: chrome/test/data/extensions/api_test/README.txt

Issue 199074: Don't allow updating tabs to javascript URLs without host (Closed)
Patch Set: Remove unchanged file Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/README.txt
diff --git a/chrome/test/data/extensions/api_test/README.txt b/chrome/test/data/extensions/api_test/README.txt
index 7e1bc05e47185d68af577b816b6cd9c6ae104809..7f43d07941205e2589b6ddda0622695feac97ef5 100755
--- a/chrome/test/data/extensions/api_test/README.txt
+++ b/chrome/test/data/extensions/api_test/README.txt
@@ -43,7 +43,7 @@ chrome.test.runTests([
chrome.bookmarks.get("1", chrome.test.callbackPass(function(results) {
chrome.test.assertTrue(compareNode(results[0], expected[0].children[0]));
}));
- chrome.bookmarks.get("42", chrome.test.callbackFail(function(){}, "Can't find bookmark for id."));
+ chrome.bookmarks.get("42", chrome.test.callbackFail("Can't find bookmark for id."));
},
function getArray() {
@@ -59,8 +59,9 @@ chrome.test.runTests([
// compareNode and compareTrees are helper functions that the bookmarks test
// uses for convenience. They're not really relevant to the framework itself.
-Note that chrome.test.callbackFail takes a second argument which is the error
-message that it expects to get when the callback fails (chrome.extension.lastError.message).
+Note that chrome.test.callbackFail takes an argument which is the error message
+that it expects to get when the callback fails
+(chrome.extension.lastError.message).
Here's what the output of this test might look like:
[==========] Running 1 test from 1 test case.

Powered by Google App Engine
This is Rietveld 408576698