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

Unified Diff: chrome/test/data/extensions/api_test/permissions/host_subsets/background.js

Issue 2360073002: [Extensions] Isolate ExtensionFunction results_ and error_ (Closed)
Patch Set: errorwithargs Created 4 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/permissions/host_subsets/background.js
diff --git a/chrome/test/data/extensions/api_test/permissions/host_subsets/background.js b/chrome/test/data/extensions/api_test/permissions/host_subsets/background.js
index 3957bface9ed4840f140331ae64bf3693df19d59..d140496011258a1457fb1900f58c9304e3f68025 100644
--- a/chrome/test/data/extensions/api_test/permissions/host_subsets/background.js
+++ b/chrome/test/data/extensions/api_test/permissions/host_subsets/background.js
@@ -65,7 +65,7 @@ function requestHost(host, expectedGranted, expectedError) {
"Access to " + host + " was not granted, but should have been");
} else {
test.assertFalse(
- granted,
+ !!granted,
"Access to " + host + " was granted, but should not have been");
}
checkGrantedHosts(callback);

Powered by Google App Engine
This is Rietveld 408576698