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

Unified Diff: chrome/test/data/extensions/api_test/dns/api/background.js

Issue 23867002: Move dns API to dev channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding missing dns.idl file Created 7 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/dns/api/background.js
diff --git a/chrome/test/data/extensions/api_test/dns/api/background.js b/chrome/test/data/extensions/api_test/dns/api/background.js
index 68a44245bad90331773a374015cf4e8508b0897b..6614579f848d87f408f88cdb5b4580631a42ab4c 100644
--- a/chrome/test/data/extensions/api_test/dns/api/background.js
+++ b/chrome/test/data/extensions/api_test/dns/api/background.js
@@ -8,7 +8,7 @@ var testIPLiteralResolution = function() {
chrome.test.assertEq("127.0.0.1", resolveInfo.address);
chrome.test.succeed("IP literal resolved");
};
- chrome.experimental.dns.resolve("127.0.0.1", callback);
+ chrome.dns.resolve("127.0.0.1", callback);
};
var testHostnameResolution = function() {
@@ -17,7 +17,7 @@ var testHostnameResolution = function() {
chrome.test.assertEq("9.8.7.6", resolveInfo.address);
chrome.test.succeed("hostname resolved");
};
- chrome.experimental.dns.resolve("www.sowbug.com", callback);
+ chrome.dns.resolve("www.sowbug.com", callback);
};
var testNonexistentHostnameResolution = function() {
@@ -26,7 +26,7 @@ var testNonexistentHostnameResolution = function() {
chrome.test.assertEq(-105, resolveInfo.resultCode);
chrome.test.succeed("hostname correctly failed to resolve");
};
- chrome.experimental.dns.resolve("this.hostname.is.bogus", callback);
+ chrome.dns.resolve("this.hostname.is.bogus", callback);
};
chrome.test.runTests([testIPLiteralResolution,

Powered by Google App Engine
This is Rietveld 408576698