[Webkit-unassigned] [Bug 216477] New: REGRESSION(r266885): WebDriver is broken since r266885

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 14 05:23:33 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216477

            Bug ID: 216477
           Summary: REGRESSION(r266885): WebDriver is broken since r266885
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com, drousso at apple.com

There are several issues introduced in r266885, most of them related to JSValue::get methods now returning an optional. In some cases of boolean values, the optional is checked instead of the contained bool or the logic is inverted. JSONValue::getString() is problematic too because it doesn't use optional, when you call getString() and null is returned it could be because the property is not present in the object or because the property is not a string. In several cases we need to know that so we need to first get the value and then call asString(9 instead of calling getString() directly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200914/1c302266/attachment.htm>


More information about the webkit-unassigned mailing list