Commit 83b84428 authored by Arthur Sonzogni's avatar Arthur Sonzogni Committed by Commit Bot

Fix flaky xssAuditor test.

The layout test: object-src-inject.html is flaky.
Sometimes, this line is printed:
```
   CONSOLE MESSAGE: Blink Test Plugin: initializing
```

It is fired from BlinkTestInstance::Init(...);

It is racing with the end of the layout test.
This CL disables console error dump to avoid this issue.

Bug: 862959, 831155
Change-Id: I912e71b9ff8b7b5ccd7a4716f111f2017493e37a
Reviewed-on: https://chromium-review.googlesource.com/1135003Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578994}
parent 62649b86
...@@ -7,6 +7,7 @@ if (window.testRunner) { ...@@ -7,6 +7,7 @@ if (window.testRunner) {
testRunner.dumpAsText(); testRunner.dumpAsText();
testRunner.setXSSAuditorEnabled(true); testRunner.setXSSAuditorEnabled(true);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
testRunner.setDumpConsoleMessages(false); // See https://crbug.com/862959
notifyDoneAfterReceivingLoaded(); notifyDoneAfterReceivingLoaded();
} }
</script> </script>
......
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