stelar7
1656d8fe07
LibWeb: Implement most of upgrade_a_database for IndexedDB
2024-11-26 14:50:27 +01:00
stelar7
ca25f76ccc
LibWeb: Remove old FIXMEs
2024-11-26 14:50:27 +01:00
stelar7
9aebe5f2eb
LibWeb: Dont take a reference to the request in IDBFactory::open()
2024-11-26 14:50:27 +01:00
stelar7
bb31b682a5
LibWeb: Implement IDBDatabase::close()
2024-11-26 14:50:27 +01:00
stelar7
49ad27816b
LibWeb: Properly implement IDBRequest::result()
2024-11-26 14:50:27 +01:00
stelar7
204d776cdb
LibWeb: Properly implement IDBRequest::error()
2024-11-26 14:50:27 +01:00
stelar7
29ddaa76e7
LibWeb: Implement IDBRequest::ready_state()
2024-11-26 14:50:27 +01:00
stelar7
a4b876b43e
LibWeb: Implement IDBRequest::source()
2024-11-26 14:50:27 +01:00
stelar7
48fae7b64f
LibWeb: Add IDBKeyRange
2024-11-26 14:50:27 +01:00
stelar7
20a92a81c4
LibWeb: Add IDBTransaction
2024-11-26 14:50:27 +01:00
stelar7
16ce2b975a
LibWeb: Add IDBObjectStore
2024-11-26 14:50:27 +01:00
stelar7
297c775b34
LibWeb: Add IDBIndex
2024-11-26 14:50:27 +01:00
stelar7
71772d97dc
LibWeb: Add IDBCursor
2024-11-26 14:50:27 +01:00
Jelle Raaijmakers
614b93beca
Meta: Set constructor prototype in IDLGenerators
...
Without this, retrieving `__proto__` from any interface will always
yield an instance of `FunctionPrototype`.
2024-11-26 12:44:05 +00:00
Jelle Raaijmakers
db43ed03a8
Meta: Use namespaced JS::call
invocations in IDLGenerators
...
When experimenting with different inheritance structures, I ended up
seeing compilation failures whenever a parent class defined a `call`
method. This seems more in line with the rest of the code.
2024-11-26 12:44:05 +00:00
Jelle Raaijmakers
872a214f80
LibJS: Make FunctionPrototype's name empty per the spec
2024-11-26 12:44:05 +00:00
Jelle Raaijmakers
74614a10d1
LibJS: Correct spec table number for FunctionObject
2024-11-26 12:44:05 +00:00
Glenn Skrzypczak
74645facae
LibWeb/HTML: Implement cite attribute according to spec
...
Implements the cite attribute of `q`, `blockqoute`, `ins` and `del`
elements according to spec by returning a valid URL.
2024-11-26 11:40:42 +00:00
Khaled Lakehal
2f51e9a98e
LibWeb/HTML: Use default input size (20) when value is 0
...
According to the HTML specification, the `size` attribute of an input
element must be a valid non-negative integer greater than zero. If the
value is invalid or set to `0`, the default size of `20` should be used.
This small change fixes one issue identified in
https://wpt.live/html/rendering/widgets/input-text-size.html
The WPT test suite was also automatically imported.
2024-11-26 10:01:57 +00:00
Timothy Flynn
58828ffd62
LibJS: Implement Temporal.ZonedDateTime.prototype.to*
...
Includes:
Temporal.ZonedDateTime.prototype.toInstant
Temporal.ZonedDateTime.prototype.toPlainDate
Temporal.ZonedDateTime.prototype.toPlainTime
Temporal.ZonedDateTime.prototype.toPlainDateTime
2024-11-26 11:00:56 +01:00
Timothy Flynn
b95528d7b5
LibJS: Stub out Temporal.ZonedDateTime.prototype.getTimeZoneTransition
...
We will have to add facilities to determine next/previous time zone
transitions. Ideally, ICU can provide this.
2024-11-26 11:00:56 +01:00
Timothy Flynn
6d78f1327e
LibJS: Implement Temporal.ZonedDateTime.prototype.startOfDay
2024-11-26 11:00:56 +01:00
Timothy Flynn
3d0f384e01
LibJS: Implement Temporal.ZonedDateTime.prototype.with*
...
Includes:
Temporal.ZonedDateTime.prototype.with
Temporal.ZonedDateTime.prototype.withPlainTime
Temporal.ZonedDateTime.prototype.withCalendar
Temporal.ZonedDateTime.prototype.withTimeZone
2024-11-26 11:00:56 +01:00
Timothy Flynn
f2ab9e1aa9
LibJS: Implement Temporal.ZonedDateTime.prototype.round
2024-11-26 11:00:56 +01:00
Timothy Flynn
eadd0c40c9
LibJS: Implement Temporal.ZonedDateTime.prototype.since/until
2024-11-26 11:00:56 +01:00
Timothy Flynn
336efa5e3f
LibJS: Implement Temporal.ZonedDateTime.prototype.add/subtract/equals
2024-11-26 11:00:56 +01:00
Timothy Flynn
4ef21614e9
LibJS: Implement stringification Temporal.ZonedDateTime prototypes
2024-11-26 11:00:56 +01:00
Timothy Flynn
c0150acc5e
LibJS: Implement Temporal.*.prototype.toZonedDateTimeISO and friends
2024-11-26 11:00:56 +01:00
Timothy Flynn
18f95434bc
LibJS: Implement the Temporal.Duration relative-to ZonedDateTime options
2024-11-26 11:00:56 +01:00
Timothy Flynn
3e6133cc09
LibJS: Handle ZonedDateTime in the various Temporal factories
2024-11-26 11:00:56 +01:00
Timothy Flynn
8c73cae2b8
LibJS: Implement the Temporal.ZonedDateTime constructor
...
And the simple Temporal.ZonedDateTime.prototype getters, so that the
constructed Temporal.ZonedDateTime may actually be validated.
2024-11-26 11:00:56 +01:00
Timothy Flynn
8ab765a3eb
LibJS: Invoke CalendarDateToISO recursively correctly
...
Copy-paste mistake that becomes apparent in Temporal.ZonedDateTime
tests.
2024-11-26 11:00:56 +01:00
Andrew Kaster
fc3ebd7efd
AK: Add workaround for older Xcode versions in Swift.h
2024-11-26 11:00:48 +01:00
Andrew Kaster
d953c6b451
Tests: Annotate configurationJSON in SwiftTestMain with noisolate
...
This was causing some warnings, so annotate this argument we aren't
even using with noisolate(unsafe) to make the compiler stop.
2024-11-26 11:00:48 +01:00
Andrew Kaster
0075048206
LibCore: Remove SessionManagement utilities
...
We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
2024-11-26 11:00:48 +01:00
Andrew Kaster
1549d393b9
LibIPC: Remove socket path from IPC Client connections
...
We don't need these for Ladybird, and they are the only users of
some LibCore functions we can remove as well.
2024-11-26 11:00:48 +01:00
Sam Atkins
310cdc35f0
LibWeb: Fill-in some fixmes around sandboxing flag sets
...
...Including a couple of steps in
obtain_a_browsing_context_to_use_for_a_navigation_response() which
didn't have FIXMEs.
No apparent changes on WPT.
2024-11-26 10:59:50 +01:00
Sam Atkins
2c7e730726
LibWeb/HTML: Consume user activation when choosing a Navigable
...
Corresponds to https://github.com/whatwg/html/pull/10547
2024-11-26 10:59:50 +01:00
stasoid
b3464d0645
LibCore: Port MappedFile to Windows
2024-11-26 10:00:11 +01:00
stasoid
153dc6686c
LibCore/MappedFile: Remove unnecessary fcntl call
2024-11-26 10:00:11 +01:00
stasoid
3f7affa825
LibCore/System: Add mmap, munmap for Windows
2024-11-26 10:00:11 +01:00
Pavel Shliak
4ae3a0dcba
LibJS: Make a __JS_ENUMERATE comment more informative
2024-11-25 13:17:03 -07:00
Pavel Shliak
af9d855b70
LibGfx: Delete DeprecatedPath
2024-11-25 21:13:53 +01:00
Pavel Shliak
dbfe5be9ff
LibGfx: Delete DeprecatedPainter
2024-11-25 21:13:53 +01:00
Glenn Skrzypczak
1e67b85571
LibWeb/Animation: Support progress values outside of [0,1]
...
If the progress is not in [0,1], the first two or the last two
keyframes are now used for interpolation outside the interval.
2024-11-25 18:10:24 +01:00
Glenn Skrzypczak
0d15cc4672
LibWeb/Animation: Fall back to discrete animation in more cases
...
Use discrete animation when the number of components or the types
of corresponding components do not match. This commit does not cover
all cases, but adds FIXME comments in the appropriate places.
2024-11-25 18:10:24 +01:00
Glenn Skrzypczak
4bec023b7b
LibWeb/Animation: Cancel pending play task on pause
...
This fixes a bug in `pause()` that canceled the pause task instead
of the play task. This issue prevented the animation from being paused
while a play task is scheduled.
2024-11-25 18:10:24 +01:00
Andreas Kling
d625e12082
LibWeb: Implement the deriveBits algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
96ddccd961
LibWeb: Implement the importKey algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
4a734226aa
LibWeb: Implement the exportKey algorithm for X448
2024-11-25 17:16:51 +01:00