[Webkit-unassigned] [Bug 248154] New: browser.runtime.getManifest() returns 1/0 instead true/false for background.persistent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 20 12:28:13 PST 2022


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

            Bug ID: 248154
           Summary: browser.runtime.getManifest() returns 1/0 instead
                    true/false for background.persistent
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Extensions
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timothy at apple.com
                CC: timothy at apple.com

Input:
{ manifest_version: 3, background: { persistent: false, scripts: ['background.js'] } }

Output:
{ manifest_version: 3, background: { persistent: 0, scripts: ['background.js'] } }

The boolean should not be converted to a number. I suspected this is a bug in NSJSONSerialization or JSValue type ObjC conversion.

-- 
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/20221120/490bb168/attachment.htm>


More information about the webkit-unassigned mailing list