| Index: chrome/test/data/extensions/api_test/executescript/navigation_race/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js b/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js
|
| index 02bd14b9d9d0ab7bc296a6e8916026037124c284..fb4f7e0166bdccbad7ae3da6f47b1c021a195d20 100644
|
| --- a/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js
|
| +++ b/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js
|
| @@ -17,9 +17,10 @@ chrome.test.getConfig(function(config) {
|
| // the script, so it's still showing a.com, where we don't have
|
| // permission to run it.
|
| if (chrome.runtime.lastError) {
|
| - chrome.test.assertTrue(
|
| - chrome.runtime.lastError.message.indexOf(
|
| - 'Cannot access contents of the page.') == 0);
|
| + chrome.test.assertLastError(
|
| + 'Cannot access contents of url "' + urlA +
|
| + '". Extension manifest must request permission to access this ' +
|
| + 'host.');
|
| chrome.test.notifyPass();
|
| } else {
|
| // If there were no errors, then the script did run, but it should
|
|
|