1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:20:59 +00:00
serenity/Userland
Timothy Flynn b6093ae2e3 LibJS: Implement String.prototype.substr according to the spec
Fixes #6325

The JavaScript on the HTML Spec site that caused the crash is:
    window.location.hash.substr(1)

Of course, window.location.hash can be the empty string. The spec allows
for calling substr(1) on an empty string, but our partial implementation
wasn't handling it properly.
2021-04-15 08:38:19 +02:00
..
Applets FontEditor+ClipboardHistory: Use system-wide Clipboard 2021-04-07 19:27:01 +02:00
Applications Browser+LibWeb: Add support for spoofing the browser user agent 2021-04-14 23:06:32 +02:00
Demos Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00
DevTools Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00
DynamicLoader LibC: Add x86_64 Registers 2021-03-21 09:35:23 +01:00
Games Chess: Alt shortcuts and book title capitalization in menus 2021-04-14 21:32:37 +02:00
Libraries LibJS: Implement String.prototype.substr according to the spec 2021-04-15 08:38:19 +02:00
Services Browser+LibWeb: Add support for spoofing the browser user agent 2021-04-14 23:06:32 +02:00
Shell Shell: flush stderr and stdout when using builtins 2021-04-13 00:02:46 +02:00
Tests Tests: Merge duplicate TestFormat test into AK directory 2021-04-08 20:30:56 +02:00
Utilities Utilities: Remove the "html" program 2021-04-13 18:24:47 +02:00
CMakeLists.txt Userland: Rename *.MenuApplet => *.Applet 2021-04-04 16:29:55 +02:00