WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
153172
Content blocker console messages randomly show line numbers for content not loaded from a script or other location
https://bugs.webkit.org/show_bug.cgi?id=153172
Summary
Content blocker console messages randomly show line numbers for content not l...
Zach Li
Reported
2016-01-15 18:24:34 PST
After submitting the patch for EWS analysis for
https://bugs.webkit.org/show_bug.cgi?id=153116
, build bot allegedly said the patch caused some tests to fail, for example, the http/tests/contentextensions/font-display-none-repeated-layout.html test. However, the change in the patch should not affect content extensions at all and I ran the layout tests locally and they passed. So the layout tests can produce false positive results
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2016-01-18 14:30:18 PST
The way EWS works is that when there are failures, it runs the tests again, and if failures are the same, it rolls out the patch, and runs the tests once again to check whether the failure(s) are a regression. This is what happened here - a flaky test failed twice in a row, and didn't fail on the third try. I don't think that there is anything actionable here for EWS - we probably shouldn't make it slower by trying even more times. http/tests/contentextensions/font-display-none-repeated-layout.html flakily fails with this diff: -CONSOLE MESSAGE: Content blocker prevented frame displaying
http://127.0.0.1:8000/contentextensions/font-display-none-repeated-layout.html
from loading a resource from
http://127.0.0.1:8000/resources/Ahem.woff
+CONSOLE MESSAGE: line 13: Content blocker prevented frame displaying
http://127.0.0.1:8000/contentextensions/font-display-none-repeated-layout.html
from loading a resource from
http://127.0.0.1:8000/resources/Ahem.woff
It's a bug in console support code that content blocker messages flakily depend on other state.
Radar WebKit Bug Importer
Comment 2
2016-01-18 14:30:29 PST
<
rdar://problem/24231374
>
Myles C. Maxfield
Comment 3
2016-01-19 01:32:22 PST
I tried to fix this in
http://trac.webkit.org/changeset/195161
but it looks like it didn't work :(
Myles C. Maxfield
Comment 4
2016-01-21 14:24:16 PST
Is this still occurring?
Alexey Proskuryakov
Comment 5
2016-01-21 17:34:54 PST
Unsure, it's hard to tell which tests are flaky on EWS. Could be fixed indeed. This test is still flaky on GuardMalloc bots, but that's a separate issue.
Zach Li
Comment 6
2016-01-21 17:42:17 PST
FWIW, with the second patch I submitted for
https://bugs.webkit.org/show_bug.cgi?id=153116
, the tests did not fail. We should reduce/eliminate the flakiness of these tests. Flaky tests are not necessarily better than no tests at all since it takes engineering time to debug whether these test failures are false positive.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug