Simon Wanner
06f7c393b2
LibTextCodec: Add ISO-2022-JP decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
45f0ae52be
LibTextCodec: Add EUC-JP decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
9943bb1d8e
LibTextCodec: Add Big5 decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
2ce61fe6ea
LibTextCodec: Add GBK/GB18030 decoder
...
Includes changes from GB-18030-2022, which are not yet included in the
Encoding Specification, but WebKit, Blink and WPT are already updated.
2024-05-31 07:56:26 +02:00
Simon Wanner
9ed52504ab
LibTextCodec: Delegate to process() in default validate() implementation
2024-05-31 07:56:26 +02:00
Simon Wanner
88c2586f25
LibTextCodec: Remove unused decoder classes
2024-05-31 07:56:26 +02:00
Andrew Kaster
c4f2ff44a5
Ladybird: Respect window.open() features in Qt chrome
2024-05-30 16:16:33 -04:00
Andrew Kaster
46e00a8f5e
LibWeb: Parse TokenizedFeatures from window.open
2024-05-30 16:16:33 -04:00
Andrew Kaster
e2d50dc5dd
LibWeb: Move window.open TokenizedFeature parsing into its own file
2024-05-30 16:16:33 -04:00
Tim Ledbetter
79143833b6
LibWeb/WebDriver: Ensure error responses are serialized correctly
2024-05-30 13:53:24 -04:00
Tim Ledbetter
4f0d6559f6
WPT: Update test expectations to match current test results
2024-05-30 11:03:56 -06:00
Tim Ledbetter
d7ea308664
WPT: Update to latest master
...
Previously, it was not possible to run `wpt` locally with a python
version >= 3.12.
2024-05-30 11:03:56 -06:00
stelar7
a4e97c1598
WebDriver: Dont assume the pageLoad is an i64
2024-05-30 11:46:02 -04:00
stelar7
fa9c234976
WebDriver: Parse webSocketUrl capability
2024-05-30 11:46:02 -04:00
Matthew Olsson
5740f93ef4
ClangPlugins: Check for strong root fields in GC allocated objects
...
GC-allocated objects should never have JS::SafeFunction/JS::Handle
fields.
For now the plugin only emits warnings here, as there are many cases
of this occurring in the codebase that aren't trivial to fix. It is also
behind a CMake flag since it is a _very_ loud warning.
2024-05-30 09:29:20 -06:00
Matthew Olsson
9ea6ab0ad4
LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues
2024-05-30 09:29:20 -06:00
Matthew Olsson
f860763c77
Tests: Add tests for ClangPlugin's macro validation
2024-05-30 09:29:20 -06:00
Matthew Olsson
36d032b208
ClangPlugin: Emit diagnostics for incorrect usage of JS_CELL-like macros
2024-05-30 09:29:20 -06:00
Matthew Olsson
54fffef902
ClangPlugin: Add a PPCallbacks instance to collect JS_CELL-like macros
2024-05-30 09:29:20 -06:00
Matthew Olsson
d74838f44d
ClangPlugins: Use underscores instead of dashes in plugin names
...
This allows arguments to be passed to them from the command line
2024-05-30 09:29:20 -06:00
Matthew Olsson
c739ae3e02
ClangPlugins: Change name of variable used for test compile options
...
This makes it more clear what it is used for
2024-05-30 09:29:20 -06:00
Timothy Flynn
d9a277c139
Meta: Allow building Ladybird without QtMultimedia if Pulse is found
2024-05-30 11:07:08 -04:00
Timothy Flynn
31cd3124cc
Meta: Do not link QtSvg in the GN build
...
We haven't used QtSvg in some time, we now use TVG files for icons.
2024-05-30 11:07:08 -04:00
Timothy Flynn
1d81cfe168
Meta: Port recent changes to the GN build
...
1fa7235fec
b9db9013f5
2024-05-30 11:07:08 -04:00
Tim Ledbetter
389a55fe36
Ladybird/Qt: Add a find in page widget
2024-05-30 16:30:11 +02:00
Tim Ledbetter
7aea87c9df
LibWeb+LibWebView+WebContent: Add basic find in page functionality
...
This allows the browser to send a query to the WebContent process,
which will search the page for the given string and highlight any
occurrences of that string.
2024-05-30 16:30:11 +02:00
Jamie Mansfield
b08d43a5d3
Ladybird/Qt: Calculate the 'physical pixels' for screens
...
This fixes a regression introduced by GH-23855 in [1], and re-applies
a previous change I made [2].
[1] https://github.com/SerenityOS/serenity/commit/dfc7534
[2] https://github.com/SerenityOS/serenity/commit/b7bd3fd
2024-05-30 07:09:03 +01:00
Diego
4eaabdad34
LibWasm: Properly read blocktypes
...
This works for now, but is technically still not spec compliant. Right
now, we're (potentially) missing one bit when reading function indices.
See the relevant issue: #24462 .
2024-05-29 22:33:15 +02:00
Daniel Bertalan
637ccacce5
AK: Enable format string checking in Clang builds
...
Format string checking was disabled in Clang-based builds due to a
compiler bug: https://github.com/llvm/llvm-project/issues/51182 . Now
that the requirement has been raised to Clang 17, that is no longer
necessary.
This has been tested to work correctly with Apple Clang 15.0.0 (which is
the *least modern* supported compiler), as well as CLion 2024.1's
bundled Clangd.
2024-05-29 13:34:15 -06:00
Daniel Bertalan
9d3b73743e
sql: Work around Clang 17/18 run-time call to consteval
function
...
There was an issue with Clang that causes `consteval` function calls
from default initializers of fields to be made at run-time. This
manifested itself in the case of `ByteString::formatted` as an undefined
reference to `check_format_parameter_consistency` once format string
checking was enabled for Clang builds. The workaround is simple (just
move it to the member initializer list), and unblocks a useful change.
2024-05-29 13:34:15 -06:00
Andrew Kaster
ca806a3e18
WebDriver+WebContent: Add /session/ 🆔 /window/consume-user-activation
...
This extension to the WebDriver spec is defined in the HTML spec, how
fun.
2024-05-29 21:30:15 +02:00
Andrew Kaster
9bc1318a78
LibWeb: Consume user activation when showing a picker dialog
2024-05-29 21:30:15 +02:00
Andrew Kaster
a3a74245d6
LibWeb: Implement consume user activation AO
2024-05-29 21:30:15 +02:00
Andrew Kaster
45860e3878
LibWeb: Move consume history-action user activation to Window
2024-05-29 21:30:15 +02:00
Andrew Kaster
9c6ebe21d2
LibWeb: Remove get prefix from activation timestamp getters
2024-05-29 21:30:15 +02:00
Andrew Kaster
2fde20993b
LibWeb: Update show the picker if applicable to latest spec text
2024-05-29 21:30:15 +02:00
Jamie Mansfield
7da449ce01
LibWeb: Check correct activation (spec fix)
...
See:
- https://github.com/whatwg/html/commit/d28284f
2024-05-29 09:32:59 -06:00
Jamie Mansfield
34b2a4f7ca
LibWeb: Add getter for history-action activation
2024-05-29 09:32:59 -06:00
Jamie Mansfield
a741f68eb9
LibWeb: Implement "consume history-action user activation"
2024-05-29 09:32:59 -06:00
Jamie Mansfield
30539db2fc
LibWeb: Use Infinity<double> for infinity
...
Co-authored-by: Matthew Olsson <matthewcolsson@gmail.com>
2024-05-29 09:32:59 -06:00
Jamie Mansfield
01bd179eef
LibWeb: Implement UserActivation
2024-05-29 09:32:59 -06:00
Jamie Mansfield
227151b881
LibWeb: Add getter for sticky activation
2024-05-29 09:32:59 -06:00
koenditor
71631c8d21
Meta: Use ``find_package
`` for configuring backtraces
2024-05-29 08:25:52 -06:00
Matthew Olsson
1965943026
LibWeb: Reject invalid AnimationEffect duration string values
2024-05-29 08:18:24 +02:00
Matthew Olsson
3e221fbb2d
IDLGenerators: Handle restricted/unrestricted floating point types
2024-05-29 08:18:24 +02:00
Matthew Olsson
2bd8093449
LibWeb: Detect explicit null timeline given in KeyframeAnimationOptions
...
We already do this for the timeline argument in the KeyframeEffect
constructor
2024-05-29 08:18:24 +02:00
Matthew Olsson
7bd62809a9
LibWeb: Include leading colons in KeyframeEffect::pseudo_element()
2024-05-29 08:18:24 +02:00
Matthew Olsson
854d02fe10
LibWeb: Reject more invalid pseudo-element selectors in KeyframeEffect
...
The old way this was written wouldn't actually check for the presence of
the two initial colons in the pseudo-element string.
2024-05-29 08:18:24 +02:00
Matthew Olsson
e188ab1493
LibWeb: Add missing spec links to KeyframeEffect
2024-05-29 08:18:24 +02:00
Tim Ledbetter
d0f88d4958
LibProtocol: Retry reading if read errors with EAGAIN
...
This fixes an issue where fetch requests to HTTP(s) addresses would
fail inside workers.
2024-05-29 08:17:18 +02:00