Title: [257439] releases/WebKitGTK/webkit-2.28/Source/WebKit
- Revision
- 257439
- Author
- [email protected]
- Date
- 2020-02-26 02:56:41 -0800 (Wed, 26 Feb 2020)
Log Message
Merge r257042 - Web Automation: Automation.setWindowFrameOfBrowsingContext should accept negative x and y-origin values
https://bugs.webkit.org/show_bug.cgi?id=207974
<rdar://problem/59606705>
Reviewed by Darin Adler.
According to the spec, negative origin values are supported:
https://w3c.github.io/webdriver/#set-window-rect
* UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::setWindowFrameOfBrowsingContext):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (257438 => 257439)
--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog 2020-02-26 10:56:37 UTC (rev 257438)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog 2020-02-26 10:56:41 UTC (rev 257439)
@@ -1,3 +1,18 @@
+2020-02-19 Brian Burg <[email protected]>
+
+ Web Automation: Automation.setWindowFrameOfBrowsingContext should accept negative x and y-origin values
+ https://bugs.webkit.org/show_bug.cgi?id=207974
+ <rdar://problem/59606705>
+
+ Reviewed by Darin Adler.
+
+ According to the spec, negative origin values are supported:
+
+ https://w3c.github.io/webdriver/#set-window-rect
+
+ * UIProcess/Automation/WebAutomationSession.cpp:
+ (WebKit::WebAutomationSession::setWindowFrameOfBrowsingContext):
+
2020-02-19 Ryosuke Niwa <[email protected]>
Crash in WebPageProxy::didStartProvisionalLoadForFrameShared
Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp (257438 => 257439)
--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp 2020-02-26 10:56:37 UTC (rev 257438)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp 2020-02-26 10:56:41 UTC (rev 257439)
@@ -389,12 +389,6 @@
if (!(y = optionalOriginObject->getNumber<float>("y"_s)))
ASYNC_FAIL_WITH_PREDEFINED_ERROR_AND_DETAILS(MissingParameter, "The 'y' parameter was not found or invalid.");
-
- if (x.value() < 0)
- ASYNC_FAIL_WITH_PREDEFINED_ERROR_AND_DETAILS(InvalidParameter, "The 'x' parameter had an invalid value.");
-
- if (y.value() < 0)
- ASYNC_FAIL_WITH_PREDEFINED_ERROR_AND_DETAILS(InvalidParameter, "The 'y' parameter had an invalid value.");
}
Optional<float> width;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes