| Summary: | browser.runtime.getManifest() returns 1/0 instead true/false for background.persistent | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
| Component: | WebKit Extensions | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | achristensen, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
*** This bug has been marked as a duplicate of bug 258647 *** |
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.