RESOLVED DUPLICATE of bug 258647248154
browser.runtime.getManifest() returns 1/0 instead true/false for background.persistent
https://bugs.webkit.org/show_bug.cgi?id=248154
Summary browser.runtime.getManifest() returns 1/0 instead true/false for background.p...
Timothy Hatcher
Reported 2022-11-20 12:28:13 PST
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.
Attachments
Timothy Hatcher
Comment 1 2022-11-20 13:21:26 PST
Radar WebKit Bug Importer
Comment 2 2022-11-27 12:29:16 PST
Alex Christensen
Comment 3 2023-06-28 16:03:32 PDT
Alex Christensen
Comment 4 2023-06-28 16:04:01 PDT
*** This bug has been marked as a duplicate of bug 258647 ***
Note You need to log in before you can comment on or make changes to this bug.