| Index: chrome/test/data/extensions/api_test/executescript/frame_id/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/executescript/frame_id/test.js b/chrome/test/data/extensions/api_test/executescript/frame_id/test.js
|
| index cfd38c71bbfab4ae8d8b8e24e27cd8800440bef8..6fa3f36ce8f0abde9a9b3527e90384f0bd02293b 100644
|
| --- a/chrome/test/data/extensions/api_test/executescript/frame_id/test.js
|
| +++ b/chrome/test/data/extensions/api_test/executescript/frame_id/test.js
|
| @@ -147,12 +147,10 @@ function runTests(config) {
|
| },
|
|
|
| function executeScriptInSrcdocFrameWithoutMatchAboutBlank() {
|
| - // TODO(robwu): Why is the origin serialized as "about:blank" instead of
|
| - // "about:srcdoc"?
|
| chrome.tabs.executeScript(
|
| tabId, {frameId: ID_FRAME_SRCDOC, code: 'document.URL'},
|
| fail(
|
| - 'Cannot access "about:blank" at origin "' + testOrigin + '". ' +
|
| + 'Cannot access "about:srcdoc" at origin "' + testOrigin + '". ' +
|
| 'Extension must have permission to access the frame\'s origin, ' +
|
| 'and matchAboutBlank must be true.'));
|
| },
|
| @@ -283,12 +281,10 @@ function runTests(config) {
|
| },
|
|
|
| function insertCSSInSrcdocFrameWithoutMatchAboutBlank() {
|
| - // TODO(robwu): Why is the origin serialized as "about:blank" instead of
|
| - // "about:srcdoc"?
|
| chrome.tabs.insertCSS(
|
| tabId, {frameId: ID_FRAME_SRCDOC, code: 'body{color:red;}'},
|
| fail(
|
| - 'Cannot access "about:blank" at origin "' + testOrigin + '". ' +
|
| + 'Cannot access "about:srcdoc" at origin "' + testOrigin + '". ' +
|
| 'Extension must have permission to access the frame\'s origin, ' +
|
| 'and matchAboutBlank must be true.'));
|
| },
|
|
|