Commit 043ebf7f authored by Paul Meyer's avatar Paul Meyer Committed by Commit Bot

Clean up ReportingObserver Intervention test.

This patch removes a few debugging artifacts that were left in the
reporting-observer/intervention.html layout test.

Change-Id: I132a73b87c32d9a2fdb83a241ef733cb61f727e9
Reviewed-on: https://chromium-review.googlesource.com/677976Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Paul Meyer <paulmeyer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504455}
parent 332db484
async_test(function(test) { async_test(function(test) {
var observer = new ReportingObserver(function(reports, observer) { var observer = new ReportingObserver(function(reports, observer) {
test.done();
window.console.log("************************************** IN OBSERVER");
test.step(function() { test.step(function() {
assert_equals(reports.length, 1); assert_equals(reports.length, 1);
...@@ -26,7 +24,6 @@ async_test(function(test) { ...@@ -26,7 +24,6 @@ async_test(function(test) {
var targetX = rect.left + rect.width / 2; var targetX = rect.left + rect.width / 2;
var targetY = rect.top + rect.height / 2; var targetY = rect.top + rect.height / 2;
document.body.addEventListener('touchstart', function(e) { document.body.addEventListener('touchstart', function(e) {
window.console.log("************************************** TOUCH " + e.type);
e.preventDefault(); e.preventDefault();
test.done(); test.done();
}); });
......
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