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

Unified Diff: LayoutTests/fast/frames/detach-frame-during-focus.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 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: LayoutTests/fast/frames/detach-frame-during-focus.html
diff --git a/LayoutTests/fast/frames/detach-frame-during-focus.html b/LayoutTests/fast/frames/detach-frame-during-focus.html
index 880ae7dd2daffbdc841fb7317009bb60395576fd..f1c614cf925dd8bc41a09ffc5323a479914128a4 100644
--- a/LayoutTests/fast/frames/detach-frame-during-focus.html
+++ b/LayoutTests/fast/frames/detach-frame-during-focus.html
@@ -12,11 +12,12 @@ var didStartTest = false;
function startTest() {
if (didStartTest)
return;
- didStartTest = true;;
- frame1.innerInput.focus();
+ didStartTest = true;
+ var frameWindow = document.getElementById('frame1').contentWindow;
+ frameWindow.innerInput.focus();
outerInput.focus();
document.execCommand('inserttext', false, 'abc');
- frame1.innerInput.focus();
+ frameWindow.innerInput.focus();
document.body.appendChild(document.createTextNode('PASS'));
testRunner.notifyDone();
}

Powered by Google App Engine
This is Rietveld 408576698