Commit a524ccc7 authored by Mustaq Ahmed's avatar Mustaq Ahmed Committed by Commit Bot

Tweaked two layout tests that had UAv2 specific conditions.

Bug: 802291
Change-Id: Ie754a7a47ffb2c45ddee3d504fc8159a7a6ec783
Reviewed-on: https://chromium-review.googlesource.com/c/1347509Reviewed-by: default avatarNavid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610420}
parent 82da0acd
......@@ -12,12 +12,6 @@
}
function clickHandler() {
if (internals.runtimeFlags.userActivationV2Enabled) {
if (window.testRunner)
testRunner.notifyDone();
return;
}
setTimeout(function() {
newWindow = window.open("about:blank");
self.focus();
......
......@@ -21,10 +21,12 @@
closeWin(newWin);
}
} else {
if (!newWin) {
parent.log("Window was not opened! Test succeeded!");
if (window.testRunner)
testRunner.notifyDone();
}
}
event.preventDefault();
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment