WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 258647
248154
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
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2022-11-20 13:21:26 PST
See:
https://github.com/w3c/webextensions/issues/281
Radar WebKit Bug Importer
Comment 2
2022-11-27 12:29:16 PST
<
rdar://problem/102694631
>
Alex Christensen
Comment 3
2023-06-28 16:03:32 PDT
Fixing in
https://github.com/WebKit/WebKit/pull/15385
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.
Top of Page
Format For Printing
XML
Clone This Bug