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

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

Issue 184633004: Revert 168553 "id of iframe incorrectly sets window name" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 10 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: trunk/LayoutTests/fast/frames/detach-frame-during-focus.html
===================================================================
--- trunk/LayoutTests/fast/frames/detach-frame-during-focus.html (revision 168578)
+++ trunk/LayoutTests/fast/frames/detach-frame-during-focus.html (working copy)
@@ -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