ladybird/Userland
Luke Wilde da25ac0d48 AK: Treat empty string as invalid JSON
Previously we would treat the empty string as `null`. This caused
JavaScript like this to fail:
```js
var object = {};
try {
    object = JSON.parse("");
} catch {}
var array = object.array || [];
```
Since `JSON.parse("")` returned null instead of throwing, it would set
`object` to null and then try and use it instead of using the default
backup value.
2022-07-10 23:31:48 +02:00
..
Applets Applets: Use spawn_or_show_error() for common spawn pattern 2022-06-03 12:29:56 +01:00
Applications FileManager: Change PGID of spawned processes 2022-07-09 11:41:07 +01:00
Demos WidgetGallery: Repair GML layout on BasicsTab 2022-07-04 11:15:40 +02:00
DevTools HackStudio: Add the "Copy Full Path" TreeView context menu option 2022-07-08 11:20:05 +01:00
DynamicLoader LibC+Kernel: Prevent string functions from calling themselves 2022-05-12 13:12:37 +02:00
Games Applications+Games+LibGUI: Fix layout problems 2022-06-30 11:51:25 +02:00
Libraries AK: Treat empty string as invalid JSON 2022-07-10 23:31:48 +02:00
Services Kernel+SystemServer: Make KCOVDevice a character device 2022-07-10 14:57:55 +02:00
Shell Userland: Add /usr/local/sbin to PATH by default 2022-07-08 12:04:01 +02:00
Utilities js: Add missing built-in functions to help() output 2022-07-10 01:11:52 +02:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00