WebKit Bugzilla
Attachment 361168 Details for
Bug 194282
: Web Inspector: Fix modify-css-property-race.html test failures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 3.16 KB, created by
Nikita Vasilyev
on 2019-02-05 00:31:50 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Nikita Vasilyev
Created:
2019-02-05 00:31:50 PST
Size:
3.16 KB
patch
obsolete
>diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index dd06b004fc3..6adac2ceea2 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,12 @@ >+2019-02-05 Nikita Vasilyev <nvasilyev@apple.com> >+ >+ Web Inspector: Fix modify-css-property-race.html test failures >+ https://bugs.webkit.org/show_bug.cgi?id=194282 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * inspector/css/modify-css-property-race.html: >+ > 2019-02-04 Jonathan Bedard <jbedard@apple.com> > > [iPad] Initial test gardening (Part 1) >diff --git a/LayoutTests/inspector/css/modify-css-property-race-expected.txt b/LayoutTests/inspector/css/modify-css-property-race-expected.txt >index b4e857d54d5..aaa10151237 100644 >--- a/LayoutTests/inspector/css/modify-css-property-race-expected.txt >+++ b/LayoutTests/inspector/css/modify-css-property-race-expected.txt >@@ -3,9 +3,9 @@ Testing that changes to "style" attribute made from page's JavaScript are ignore > > == Running test suite: ModifyCSSProperty > -- Running test case: ModifyCSSPropertyRace.ChangeInlineStyle >-PASS: expectGreaterThan(43, 42) >-PASS: expectGreaterThan(43, 42) >+PASS: Height should be greater than 42px. >+PASS: Height should be greater than 42px. > PASS: Value updated to "10px". > PASS: CSSStyleDeclaration text should update. >-PASS: expectGreaterThanOrEqual(10, 10) >+PASS: Height should be 10px. > >diff --git a/LayoutTests/inspector/css/modify-css-property-race.html b/LayoutTests/inspector/css/modify-css-property-race.html >index 83c691d0183..04e3f8d17b5 100644 >--- a/LayoutTests/inspector/css/modify-css-property-race.html >+++ b/LayoutTests/inspector/css/modify-css-property-race.html >@@ -66,17 +66,17 @@ function test() { > function styleDecorationUpdated(event) { > if (!updateCount) { > let valueNumber = parseInt(getProperty("height").rawValue); >- InspectorTest.expectGreaterThan(valueNumber, 42); >+ InspectorTest.expectGreaterThan(valueNumber, 42, "Height should be greater than 42px."); > } else if (updateCount === 1) { > let valueNumber = parseInt(getProperty("height").rawValue); >- InspectorTest.expectGreaterThan(valueNumber, 42); >+ InspectorTest.expectGreaterThan(valueNumber, 42, "Height should be greater than 42px."); > getProperty("height").rawValue = "10px"; > } else if (updateCount === 2) { > InspectorTest.expectEqual(getProperty("height").rawValue, "10px", `Value updated to "10px".`); > InspectorTest.expectEqual(getInlineStyleDeclaration().text, "height: 10px;", "CSSStyleDeclaration text should update."); > } else { > let valueNumber = parseInt(getProperty("height").rawValue); >- InspectorTest.expectGreaterThanOrEqual(valueNumber, 10); >+ InspectorTest.expectGreaterThanOrEqual(valueNumber, 10, "Height should be 10px."); > > InspectorTest.evaluateInPage("stopExpanding()"); > WI.CSSStyleDeclaration.removeEventListener(WI.CSSStyleDeclaration.Event.PropertiesChanged, styleDecorationUpdated);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 194282
:
361166
|
361167
|
361168
|
361169
|
361208
|
361209