[Webkit-unassigned] [Bug 242502] New: [Web share] canShare() validation returns incorrect result when sharing valid files but invalid URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 02:54:46 PDT 2022


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

            Bug ID: 242502
           Summary: [Web share] canShare() validation returns incorrect
                    result when sharing valid files but invalid URL
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcosc at apple.com

As shown in /LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/web-share/canShare.https-expected.txt, we are failing a test:

FAIL canShare() files member assert_false: invalid URL invalidates the share expected false got true

In WebKit, canShare() assumes that if any of the things passed are valid, then canShare() returns true. 

However, the spec says that, if something can't be shared, then canShare() should return false.

-- 
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/20220708/593ef2de/attachment.htm>


More information about the webkit-unassigned mailing list