| Index: chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/end.js
|
| diff --git a/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/end.js b/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/end.js
|
| index acef81491f0c03f29880c778e67256cc27a7ac84..de461537df4fe1b84c4f220e674202956f5aac42 100644
|
| --- a/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/end.js
|
| +++ b/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/end.js
|
| @@ -6,5 +6,7 @@ if (typeof hasRunContentScriptAtDocumentStart == 'undefined') {
|
| chrome.extension.sendRequest('document_start script has not run!');
|
| } else if (window.parent !== window) {
|
| // Assume iframe
|
| - chrome.extension.sendRequest('jsresult/' + document.body.textContent.trim());
|
| + var bodyText = document.body.textContent.trim();
|
| + if (bodyText)
|
| + chrome.extension.sendRequest('jsresult/' + bodyText);
|
| }
|
|
|