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

Unified Diff: chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js

Issue 2775953002: Some cleanup of app and extension CSP tests.
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js
diff --git a/chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js b/chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js
index 4b4f45fbd113df20976fa1f2ca099679ba31d849..e7eef5c9da3d6691ccbd0b5561ead7aee6a032fb 100644
--- a/chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js
+++ b/chrome/test/data/extensions/api_test/sandboxed_pages_csp/main.js
@@ -6,7 +6,7 @@ var LOCAL_FILE_NAME = 'local_frame.html';
var REMOTE_FILE_NAME = 'remote_frame.html';
onmessage = function(e) {
- chrome.test.assertEq(e.data, 'succeeded');
+ chrome.test.assertEq('succeeded', e.data);
chrome.test.succeed();
};
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/test/data/extensions/api_test/sandboxed_pages_csp/remote_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698