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

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

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

Powered by Google App Engine
This is Rietveld 408576698