Index: chrome/test/data/extensions/platform_apps/restrictions/test.js |
diff --git a/chrome/test/data/extensions/platform_apps/restrictions/test.js b/chrome/test/data/extensions/platform_apps/restrictions/test.js |
index 94fcfd1cad864bb13e04fc678ed244b493b8557f..c179adb3936862992f515b590d6f721b8bb1625d 100644 |
--- a/chrome/test/data/extensions/platform_apps/restrictions/test.js |
+++ b/chrome/test/data/extensions/platform_apps/restrictions/test.js |
@@ -13,7 +13,7 @@ function assertThrowsError(method, opt_expectedError) { |
method(); |
fail("error not thrown"); |
} catch (e) { |
- assertEq(e.message || e, opt_expectedError || DEFAULT_EXPECTED_ERROR); |
+ assertEq(opt_expectedError || DEFAULT_EXPECTED_ERROR, e.message || e); |
} |
} |