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.
See: https://github.com/w3c/webextensions/issues/281
<rdar://problem/102694631>
Fixing in https://github.com/WebKit/WebKit/pull/15385
*** This bug has been marked as a duplicate of bug 258647 ***