WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 194282
Web Inspector: Fix modify-css-property-race.html test failures
https://bugs.webkit.org/show_bug.cgi?id=194282
Summary
Web Inspector: Fix modify-css-property-race.html test failures
Nikita Vasilyev
Reported
2019-02-05 00:09:11 PST
Introduced by
Bug 192739
: Web Inspector: Styles: fix race conditions when editing.
Attachments
Patch
(2.35 KB, patch)
2019-02-05 00:15 PST
,
Nikita Vasilyev
nvasilyev
: commit-queue-
Details
Formatted Diff
Diff
Patch
(2.35 KB, patch)
2019-02-05 00:21 PST
,
Nikita Vasilyev
nvasilyev
: commit-queue-
Details
Formatted Diff
Diff
Patch
(3.16 KB, patch)
2019-02-05 00:31 PST
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
Patch
(3.40 KB, patch)
2019-02-05 00:45 PST
,
Nikita Vasilyev
mattbaker
: review+
mattbaker
: commit-queue-
Details
Formatted Diff
Diff
Patch
(3.52 KB, patch)
2019-02-05 12:13 PST
,
Nikita Vasilyev
nvasilyev
: commit-queue+
Details
Formatted Diff
Diff
Patch
(3.54 KB, patch)
2019-02-05 12:19 PST
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Nikita Vasilyev
Comment 1
2019-02-05 00:15:41 PST
Comment hidden (obsolete)
Created
attachment 361166
[details]
Patch Run tests on EWS.
Nikita Vasilyev
Comment 2
2019-02-05 00:21:21 PST
Comment hidden (obsolete)
Created
attachment 361167
[details]
Patch Don't review. This is for EWS.
Nikita Vasilyev
Comment 3
2019-02-05 00:31:50 PST
Comment hidden (obsolete)
Created
attachment 361168
[details]
Patch
Nikita Vasilyev
Comment 4
2019-02-05 00:45:44 PST
Created
attachment 361169
[details]
Patch
Joseph Pecoraro
Comment 5
2019-02-05 10:38:47 PST
Comment on
attachment 361169
[details]
Patch This patch hasn't changed anything yet, right?
Nikita Vasilyev
Comment 6
2019-02-05 11:27:56 PST
(In reply to Joseph Pecoraro from
comment #5
)
> Comment on
attachment 361169
[details]
> Patch > > This patch hasn't changed anything yet, right?
It did! expectGreaterThan(43, 42) logs "PASS: expectGreaterThan(43, 42)". Imagine, the actual value would be 44 or 45. It would still pass the assertion, but it would log "PASS: expectGreaterThan(45, 42)", causing the test to fail.
Matt Baker
Comment 7
2019-02-05 12:05:42 PST
Comment on
attachment 361169
[details]
Patch rs=me
Matt Baker
Comment 8
2019-02-05 12:07:20 PST
Let's put a comment in the change log that this fixing a test failure introduced in
https://trac.webkit.org/changeset/240946
.
Nikita Vasilyev
Comment 9
2019-02-05 12:13:02 PST
Comment hidden (obsolete)
Created
attachment 361208
[details]
Patch
Nikita Vasilyev
Comment 10
2019-02-05 12:19:09 PST
Created
attachment 361209
[details]
Patch
WebKit Commit Bot
Comment 11
2019-02-05 12:35:16 PST
Comment on
attachment 361209
[details]
Patch Clearing flags on attachment: 361209 Committed
r240989
: <
https://trac.webkit.org/changeset/240989
>
WebKit Commit Bot
Comment 12
2019-02-05 12:35:18 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 13
2019-02-05 12:36:29 PST
<
rdar://problem/47827420
>
Shawn Roberts
Comment 14
2019-02-05 18:12:53 PST
test is still a flaky failure on Mac WK2, WK1 Debug Reproduced with: run-webkit-tests t240999 inspector/css/modify-css-property-race.html --iterations 500 -f --debug -1 run-webkit-tests t240999 inspector/css/modify-css-property-race.html --iterations 500 -f --debug run-webkit-tests t240999 inspector/css/modify-css-property-race.html --iterations 500 -f Flakiness dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=inspector%2Fcss%2Fmodify-css-property-race.html
Diff: --- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/inspector/css/modify-css-property-race-expected.txt +++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/inspector/css/modify-css-property-race-actual.txt @@ -3,9 +3,15 @@ == Running test suite: ModifyCSSProperty -- Running test case: ModifyCSSPropertyRace.ChangeInlineStyle -PASS: expectGreaterThan(43, 42) -PASS: expectGreaterThan(43, 42) -PASS: Value updated to "10px". +FAIL: expectGreaterThan(42, 42) + Expected: greater than 42 + Actual: 42 +FAIL: expectGreaterThan(42, 42) + Expected: greater than 42 + Actual: 42 +FAIL: Value updated to "10px". + Expected: "10px" + Actual: "44px" PASS: CSSStyleDeclaration text should update. -PASS: expectGreaterThanOrEqual(10, 10) +PASS: expectGreaterThanOrEqual(44, 10)
Nikita Vasilyev
Comment 15
2019-02-05 18:20:14 PST
Thanks, I'm working on the fix in
https://bugs.webkit.org/show_bug.cgi?id=194318
.
Nikita Vasilyev
Comment 16
2019-02-05 23:25:35 PST
modify-css-property-race.html shouldn't be flaky after
https://trac.webkit.org/changeset/241011
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