WebKit Bugzilla
Attachment 361166 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), 2.35 KB, created by
Nikita Vasilyev
on 2019-02-05 00:15:41 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Nikita Vasilyev
Created:
2019-02-05 00:15:41 PST
Size:
2.35 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.html b/LayoutTests/inspector/css/modify-css-property-race.html >index 83c691d0183..9d838dabb63 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 42."); > } else if (updateCount === 1) { > let valueNumber = parseInt(getProperty("height").rawValue); >- InspectorTest.expectGreaterThan(valueNumber, 42); >+ InspectorTest.expectGreaterThan(valueNumber, 42, "Height should be greater than 42."); > 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 10."); > > 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
Flags:
nvasilyev
:
commit-queue-
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 194282
:
361166
|
361167
|
361168
|
361169
|
361208
|
361209