Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
881 commits
Select commit Hold shift + click to select a range
b39809c
font-style: oblique angle clamped against the @font-face weight range…
Ahmad-S792 Jun 1, 2026
387b2d3
[GStreamer][WebRTC] webrtc/getDisplayMedia-pc-resolution.html is flak…
philn Jun 1, 2026
0a0d762
ANGLE: Metal: Add ability to skip tests for simulator, debug layers
kkinnunen-apple Jun 1, 2026
1961e19
[GStreamer][WebRTC] Reported video source stats have incorrect frames…
philn Jun 1, 2026
30cef11
REGRESSION(313830@main): [GStreamer] imported/w3c/web-platform-tests/…
philn Jun 1, 2026
cf5066c
[GStreamer][WebRTC] webrtc/getDisplayMedia-pc-resolution.html almost …
philn Jun 1, 2026
c2d31e8
[GTK][WPE] Skia Compositor: avoid SkCanvas::clipPath when possible
carlosgcampos Jun 1, 2026
4ae996a
Support SVG <a> as argument to Origin.from()
annevk Jun 1, 2026
8e16639
webgpu.github.io/webgpu-samples/?sample=primitivePicking fails to ope…
mwyrzykowski Jun 1, 2026
4c0d424
[WPE] Fix typos in the WPE Platform API documentation
csaavedra Jun 1, 2026
1682be9
WebPageProxy crash in dispatchSetObscuredContentInsets() and clearTex…
Jun 1, 2026
ea0c784
Support setting _extensibleSSOEnabled after a WebView is loaded
pascoej Jun 1, 2026
a7a679e
Serialize explicit font-variant longhands set after a system font
vitorroriz Jun 1, 2026
722ca34
[Gardening][Tahoe Release arm64] imported/w3c/web-platform-tests/svg/…
diegodelatoba Jun 1, 2026
b9019a0
[JSC] Remove no-longer-used cell-types
Constellation Jun 1, 2026
dd8dcc1
createHTMLDocument() should not leave body in parsing state
annevk Jun 1, 2026
ca8a932
[Gardening]NEW-TEST(314268@main): [macOS] imported/w3c/web-platform-t…
diegodelatoba Jun 1, 2026
a3471db
font-style: oblique angle clamped against the @font-face weight range…
vitorroriz Jun 1, 2026
634e33a
REGRESSION(314244@main): visionOS modern media controls icons are mis…
aprotyas Jun 1, 2026
4da58c8
[Gardening][macOS iOS] fast/dom/move-embedded-during-update.html is a…
diegodelatoba Jun 1, 2026
ead8c91
Use protect() instead of RefPtr { } in MediaRecorderPrivateEncoder, P…
jelee53 Jun 1, 2026
760052b
[Gardening][macOS Debug] fast/mediastream/image-capture-take-photo.ht…
diegodelatoba Jun 1, 2026
46269d2
Apply vector-effect transform to path geometry - not stroke geometry
Ahmad-S792 Jun 1, 2026
c3ed6a5
[WPE] Consistency fixes to the WPE Platform API documentation
csaavedra Jun 1, 2026
b0f3b04
[WPE] missing-field-initializers warnings in WPEInputMethodContextWay…
philn Jun 1, 2026
bd24d55
[Yarr] Change Yarr m_matches / m_ranges / m_matchesUnicode / m_ranges…
Constellation Jun 1, 2026
906178a
Unreviewed, reverting 314080@main (7d4b9ad5fc39)
ryanhaddad Jun 1, 2026
a84e97b
[Gardening]: IMPORT(314164@main): [iOS] imported/w3c/web-platform-tes…
martadarbinyan Jun 1, 2026
6a4564a
[iOS] fast/forms/ios/drag-range-track.html is failing
lilyspiniolas Jun 1, 2026
b5e32a9
[AppKit Gestures] Scrolling sometimes removes text selection
rr-codes Jun 1, 2026
4334c04
Fix internal build
achristensen07 Jun 1, 2026
b3491d4
Enhanced <select>: hovering an option does not apply :hover descendan…
alanbaradlay Jun 1, 2026
395ba7a
Non-unified build fixes
geoffreygaren Jun 1, 2026
8aa310e
Commit message generator creates "Test" entries for non-test files un…
aprotyas Jun 1, 2026
9682d18
[iOS] WebKit process extensions should have separate temp directories…
pvollan Jun 1, 2026
2757278
[intersection-observer] IntersectionObserver::updateObservations coul…
tuankiet65 Jun 1, 2026
b1cd52d
[JSC] DFG::Graph virtually inherits Scannable unnecessarily
heimskr Jun 1, 2026
3abbfb9
imported/w3c/web-platform-tests/gpc/sec-gpc.https.html is flaky
Jun 1, 2026
f76cc7f
[iOS] Modal JavaScript dialog hangs WebContent after overlapping asyn…
pascoej Jun 1, 2026
40beaab
[Gardening]NEW-TEST(314200@main): [Tahoe] media/modern-media-controls…
diegodelatoba Jun 1, 2026
651d5a6
[Gardening][macOS Debug] inspector/timeline/timeline-event-TimerFire.…
diegodelatoba Jun 1, 2026
d04ed66
Resync `html/rendering` from WPT Upstream
Ahmad-S792 Jun 1, 2026
9584faf
REGRESSION(314042@main): Intermittent build failures on CMake+Gtk/Swi…
nikolaszimmermann Jun 1, 2026
208745c
Text fragment can match a prefix that isn't word-bounded on left near…
richwaters Jun 1, 2026
c58c818
[Cocoa] Video disappears from fullscreen when video element is not vi…
jernoble Jun 1, 2026
baee515
AudioVideoRendererRemote: synchronize m_lastSeekTime and recover the …
jyavenard Jun 1, 2026
650624b
Reduce cost of framework-headers rule invocations
brentfulgham Jun 1, 2026
62f91e9
[Color] Longer hue interpolation incorrect when one input is none
weinig Jun 2, 2026
ea7de1b
GraphicsContext::strokeLine missing call to strokePath
djg Jun 2, 2026
483d0e8
[iOS] Consider visibility endowments when determining if the applicat…
aestes Jun 2, 2026
40a1acb
[JSC] Iterator.prototype.inclues should throw RangeError if skippedEl…
tetsuharuohzeki Jun 2, 2026
b9f7208
AX: [WebAccessibilityObjectWrapper _collectAccessibilityElements:] ne…
minorninth Jun 2, 2026
4697505
Re-import MediaSession WPT
danae404 Jun 2, 2026
6cfe538
WebVTT cues that do not fit inside the video rendering area should be…
danae404 Jun 2, 2026
3d1bebd
[JSC] Add foundation of handling builtin iterators in fast-iteration-…
Constellation Jun 2, 2026
e118db0
Bad IPC from WebProcess could cause UIProcess to crash in WebPermissi…
cdumez Jun 2, 2026
2d46ec1
REGRESSION(314309@main): [AppKit Gestures] Cannot scroll over hero im…
rr-codes Jun 2, 2026
677d4bf
REGRESSION(314335@main) Fails to build in Linux
csaavedra Jun 2, 2026
918b43f
[macOS] Page colors & content should not be visible in horizontal obs…
lilyspiniolas Jun 2, 2026
169d4eb
Add RuleSet support for the :heading pseudo-class
annevk Jun 2, 2026
aae7c82
Add CSS JIT support for the :heading pseudo-class
annevk Jun 2, 2026
6739cf4
REGRESSION(314310@main): UI process crashes on launch in some interna…
aprotyas Jun 2, 2026
8fb33b5
REGRESSION (309010@main): observablehq.com: Cannot scroll-to-zoom ove…
lilyspiniolas Jun 2, 2026
54515a6
Resync imported/w3c/web-platform-tests/urlpattern/urlpattern.any*.htm…
cdumez Jun 2, 2026
d06ccb1
SkiaCompositingLayer: opacity animation doesn't damage correctly
fujii Jun 2, 2026
f1dfb34
[visionOS][Quirk] Duplicate YouTube captions after undocking from sys…
Jun 2, 2026
b4c4069
Implement the Origin-Agent-Cluster header
annevk Jun 2, 2026
4f393fd
ASSERTION FAILED: it != m_querySelectorAllResults.end() - clearQueryS…
spenap Jun 2, 2026
fbd06f9
[WebXR Layers] Refactor startFrame/endFrame/recomputePose in composit…
svillar Jun 2, 2026
a174c61
[visionOS] interaction-region/paused-video-regions.html is a constant…
aprotyas Jun 2, 2026
eb9354a
[EME] Protect MediaKeySession::sessionClosed from concurrent calls
spenap Jun 2, 2026
6414ef6
REGRESSION(314348@main): Broke WebCore module verification in some vi…
aprotyas Jun 2, 2026
b099298
[EME] Crash pruning a back/forward-cached page that owns an open Medi…
spenap Jun 2, 2026
8faff77
Non-unified build fixes for June 2nd, 2026
csaavedra Jun 2, 2026
aaacdb9
Resync `css/cssom` from WPT Upstream
Ahmad-S792 Jun 2, 2026
66b6132
[JSC] `matchAll` fast path should not skip `SpeciesConstructor` when …
sosukesuzuki Jun 2, 2026
3825a1a
[JSC] Fix undefined behavior in double-to-int conversions
sosukesuzuki Jun 2, 2026
7fd188f
Adopt :heading in html.css
annevk Jun 2, 2026
44c7f42
Support locale changes for ::first-letter & text-transform
annevk Jun 2, 2026
af9a72a
reserveCapacity() call in canonicalizeIPv6Hostname() is a no-op
cdumez Jun 2, 2026
c6cc7c6
URLPattern fails to accept non-BMP code points in named groups
cdumez Jun 2, 2026
73689f5
[JSC] `GetByStatus::computeFor` should not constant-fold prototype lo…
sosukesuzuki Jun 2, 2026
17c5feb
[Gardening]: REGRESSION(314215@main): [Sequoia Release] inspector/css…
karlrackler Jun 2, 2026
fec133e
[Site Isolation] Cross-origin popup navigating to about:blank crashes
roberto-apple Jun 2, 2026
5de06e3
REGRESSION(313606@main): Fails to build with system malloc
bertogg Jun 2, 2026
ed16a75
AX iOS: Accessibility search should surface out-of-process iframes as…
twilco Jun 2, 2026
9dde5e6
[GTK][WPE] Skia Compositor: do not clip when it can be avoided
carlosgcampos Jun 2, 2026
79ae077
[Swift GTK] Revert "Generate IPC modulemap"
adetaylor Jun 2, 2026
66f8c85
AX: Add mechanism to dispatch to the accessibility thread, and use it…
twilco Jun 2, 2026
afa9356
REGRESSION(314285@main): [GStreamer] imported/w3c/web-platform-tests/…
philn Jun 2, 2026
fb321d1
Resync `css/css-sizing` from WPT Upstream
Ahmad-S792 Jun 2, 2026
ec7e3b4
Quip comments panel can be blank when opened sometimes
smfr Jun 2, 2026
d991109
Unreviewed, reverting 314364@main.
revert-bot Jun 2, 2026
cc1b001
[Swift GTK] Include Foundation+Extras on non-Apple platforms
adetaylor Jun 2, 2026
e1d8d54
[WTF][glib] Fix build with -DENABLE_JOURNALD_LOG=FALSE
ntrrgc Jun 2, 2026
dc1f9b0
EWS should skip building if a pull request contains conflict markers
ryanhaddad Jun 2, 2026
21ab50e
[JSC] Data race in WaiterListManager::unregister
heimskr Jun 2, 2026
5906b4e
Fix the build after 314338@main
pxlcoder Jun 2, 2026
9ffb13b
Sort TestWebKitAPI Xcode project file
aprotyas Jun 2, 2026
1ea8fe7
[CMake] Disable fdebug-prefix-map etc. by default, offering option RE…
Constellation Jun 2, 2026
0fa2869
[intersection-observer] Reference cycle between IntersectionObserver …
tuankiet65 Jun 2, 2026
1cdc540
Fix baseline write barrier handling in OpDelBy{Id,Val}
asworkjsc Jun 2, 2026
300fd8c
[JSC] MapIterator / SetIterator should be handled in DFG
Constellation Jun 2, 2026
6646c49
[JSC] Implement Variable Count Parentheses in YarrJIT
Constellation Jun 2, 2026
d1eb42e
moveBefore() should run node iterator and live range pre-remove steps
lukewarlow Jun 2, 2026
3d78c65
Mark WeakPtrFactory::initializeIfNeeded as NODELETE
rniwa Jun 2, 2026
474e681
Mark lazyInitialize as NODELETE
rniwa Jun 2, 2026
b66e484
Unreviewed, reverting 311986@main.
revert-bot Jun 2, 2026
367a1e3
ANGLE: Metal: Crash when clearing too many large pixels on iOS
kkinnunen-apple Jun 2, 2026
3706fb4
[Gardening][Tahoe Debug] fast/dom/gc-dom-tree-lifetime-shadow-tree.ht…
diegodelatoba Jun 2, 2026
85f096e
[GARDENING]REGRESSION(iOS 26.5): [ iOS ] imported/w3c/web-platform-te…
robert-jenner Jun 2, 2026
63a848e
Line-through is too thin over a descendant inline box
alanbaradlay Jun 2, 2026
62e5561
Fix /css/css-sizing/margin-collapse-with-indefinite-block-size-001.ht…
alanbaradlay Jun 2, 2026
db1b430
[iOS] fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-…
lilyspiniolas Jun 2, 2026
a0246b3
[AutoFill Debugging] Scroll interaction summary string sometimes "Scr…
whsieh Jun 2, 2026
a0f5d8e
WK2 stress-test EWS builds should be skipped when no new or modified …
ryanhaddad Jun 2, 2026
093f346
Initiator-omitted samesite classification can lead to SameSite=Strict…
charliewolfe Jun 2, 2026
f50ff1b
[Color] Add support for the alpha() relative color function
weinig Jun 2, 2026
51e4207
[Swift GTK] WebCore modulemap on non-Apple platforms
adetaylor Jun 2, 2026
81a0be6
font-style: oblique angle applied to the variable font 'slnt' axis wi…
Ahmad-S792 Jun 2, 2026
4ac8cc7
Popover light dismiss doesn't account for disabled command buttons
lukewarlow Jun 2, 2026
c9282a5
Invalid messages are only logged with message ID
pvollan Jun 2, 2026
b1c46d3
Fix confusing `String&&` parameter to URLPatternConstructorStringPars…
cdumez Jun 2, 2026
e879109
[CMake] Resolve ninja path via xcrun at configure time
geoffreygaren Jun 2, 2026
a8c1d27
Web Locks: request() with already-aborted signal rejects with synthet…
cdumez Jun 2, 2026
a029a39
REGRESSION (313727@main): Video renders incorrect aspect ratio within…
alanbaradlay Jun 2, 2026
5027808
Import navigation-state-reset-sameorigin WPT test
kate-k-lee Jun 2, 2026
5ee2a41
[macOS Tahoe] imported/w3c/web-platform-tests/url/IdnaTestV2.any.html…
achristensen07 Jun 2, 2026
6871d45
Fix the internal build after 314341@main
charliewolfe Jun 2, 2026
5f208e1
Fix the build after 314338@main and 314377@main
pxlcoder Jun 2, 2026
7ff2120
webaudio/AudioBufferSource/audiobuffersource-playbackrate.html is a f…
csaavedra Jun 2, 2026
b6da848
[WPE][GTK] Release-Packaging-Nightly bots are failing the test step w…
clopez Jun 2, 2026
482ed64
[CMake] Emit the Swift C++ interop header temp beside its swiftmodule…
nikolaszimmermann Jun 2, 2026
0f2ce21
REGRESSION(313207@main): [macOS] http/tests/site-isolation/inspector/…
the-chenergy Jun 2, 2026
471b695
[Tools] linux_get_crash_log: avoid python crashes when the coredumps …
clopez Jun 3, 2026
1e11f2a
Use-after-free of Node in Range::createContextualFragment
rniwa Jun 3, 2026
faf717c
[YARR] `putRange()` misses Unicode canonical equivalents U+017F and U…
sosukesuzuki Jun 3, 2026
0047d96
[JSC] Restore JS builtins for next() functions
Constellation Jun 3, 2026
9e7ce6e
[MotionMark] Skip redundant transform update in simplified layout
djg Jun 3, 2026
5a6e75b
[Gardening] Remove outdated test expectation after 314387@main
iidmsa Jun 3, 2026
9161e71
[JSC] Add a test of WebAssembly IPInt stack check
ast-hugger Jun 3, 2026
83f2f2a
REGRESSION(314308@main): fast/events/touch/ios/slider-touch-drag-smal…
aprotyas Jun 3, 2026
dea6c34
[GLIB] fullscreen/full-screen-enter-while-exiting-mid-completion-hand…
lauromoura Jun 3, 2026
cf1b05e
REGRESSION(314097@main): fast/events/touch/ios/click-event-after-poin…
aprotyas Jun 3, 2026
7eb4e14
[CMake] Use xcrun ninja instead of caching a path
geoffreygaren Jun 3, 2026
702323d
REGRESSION(299621@main): [MacOS Debug] ASSERTION FAILED: m_gamepads[p…
lauromoura Jun 3, 2026
9d60567
Fix use-after-free in ~WebProcessProxy() when replying to pending IPC…
zakariaridouh Jun 3, 2026
98bf8a2
[WPE][ARM64] workers/bomb.html is timing out
lauromoura Jun 3, 2026
c173f7a
[GTK] Garden recent css-related ImageOnlyFailures
lauromoura Jun 3, 2026
1695e39
[Cleanup] Remove redundant ScrollbarUpdateScope::scrollbarChange enum.
sammygill Jun 3, 2026
9923753
[JSC] Use in-place JSBigInt for BigInt increment and decrement
sosukesuzuki Jun 3, 2026
7dc7c1f
Introduce --site-isolation-enabled-by-default to run-webkit-tests to …
szewai Jun 3, 2026
676e85a
Update ANGLE to 2026-06-02 (7f06a944d91a5afd3c5c3f3f18558459fb843cf7)
kkinnunen-apple Jun 3, 2026
d2e1ba9
Web Locks: AbortSignal abort algorithm is never removed after a lock …
cdumez Jun 3, 2026
4506a67
ANGLE: Support running ANGLEEnd2EndTests on iOS devices
kkinnunen-apple Jun 3, 2026
846badc
Add missing null checks when calling internal stream functions
youennf Jun 3, 2026
4a9bb81
Add AcceleratedEffectClipPath
rwlbuis Jun 3, 2026
02ccba9
SkiaCompositingLayer: incorrect damage regions for overlap regions
fujii Jun 3, 2026
25e4e19
REGRESSION(314352@main): [EME] Deferring MediaKeySession teardown lea…
spenap Jun 3, 2026
bbf11e9
Test gardening
aoikonomopoulos Jun 3, 2026
14b4b51
REGRESSION(314026@main): [JSCOnly] JSC tests no longer running on ARM…
philn Jun 3, 2026
a503375
[WebXR Layers] Lots of flickering rendering https://threejs.org/examp…
svillar Jun 3, 2026
5d8c7f0
FetchBody::clone() leaves m_data and m_readableStream desynchronized
cdumez Jun 3, 2026
349e1d8
Fix potential null deference under globalObjectFromBodyOwner()
cdumez Jun 3, 2026
a3f3cda
Crash in FetchRequest::initializeWith() when LocalNetworkAccess is en…
cdumez Jun 3, 2026
09650e2
Fix undefined behavior in CacheStorageConnection::computeRecordBodySi…
cdumez Jun 3, 2026
2a8ad89
Fix ignored `isKindOfClass` check in TextRecognitionResult::extractAt…
cdumez Jun 3, 2026
01b7f91
[WPE][GTK] `imported/w3c/web-platform-tests/webaudio/the-audio-api/th…
obyknovenius Jun 3, 2026
170d265
[LBSE] Fix svg/W3C-SVG-1.1/filters-conv-01-f.svg
rwlbuis Jun 3, 2026
18e88f0
[WPE]`imported/w3c/web-platform-tests/webrtc/simulcast/vp8.https.html…
obyknovenius Jun 3, 2026
275bfeb
SkiaCompositingLayer: Content layers are always damaged
fujii Jun 3, 2026
1e4a60e
AudioData.copyTo accepts frameOffset == numberOfFrames instead of thr…
cdumez Jun 3, 2026
3a27cfc
[GStreamer] ASSERTION FAILED: track->streamId() == streamId
obyknovenius Jun 3, 2026
6301205
[EME][GStreamer] Avoid sending encrypted event without initialization…
ybandou Jun 3, 2026
8c863f2
[GStreamer][WebRTC] `imported/w3c/web-platform-tests/webrtc/simulcast…
obyknovenius Jun 3, 2026
67bbaf2
[GStreamer] `isMainThread()` assertion failed in `TrackDataHolder::di…
obyknovenius Jun 3, 2026
0e65622
Fix potential leak in FragmentedSharedBuffer::createCMBlockBuffer()
cdumez Jun 3, 2026
8e58a7d
Fix potential null deference under systemHasBattery()
cdumez Jun 3, 2026
ec9eb9f
[LBSE] Defer per-element SVG transform-attribute work without style r…
nikolaszimmermann Jun 3, 2026
a37caf2
Use-after-move in PlaybackSessionModelMediaElement::maybeUpdateVideoM…
cdumez Jun 3, 2026
f7dd925
Web Inspector: Show a Node associated with layout and rendering event…
obyknovenius Jun 3, 2026
34045e1
[MSE] TrackBuffer::reenqueueMediaForTime should not enqueue content b…
jyavenard Jun 3, 2026
615a7b1
Regression(309140@main): [Spotify] I can’t see my Spotify 20 year sum…
jyavenard Jun 3, 2026
d919344
[IndexedDB] IDBKeyData operator== and operator<=> define different eq…
szewai Jun 3, 2026
917854a
[IndexedDB] Use-After-Free caused by use of `-0.0` for HashMap Key
szewai Jun 3, 2026
ab9ad6c
Non-unified build fixes for June 3rd, 2026
csaavedra Jun 3, 2026
24c7fd8
[build.webkit.org][GTK][WPE] Remove all Debug bots except the ones th…
clopez Jun 3, 2026
05e8b33
Web Inspector: Properties added to the Style Attribute of an element …
rcaliman-apple Jun 3, 2026
675c62d
App Badge origin spoofing from `window` contexts
beidson Jun 3, 2026
cd61a31
<input type=date> text color is partially stale after changing the va…
hortont424 Jun 3, 2026
fa846a7
[Swift GTK] Include InputMethodState
adetaylor Jun 3, 2026
9ad3dec
[Swift GTK] Name parameters for Vector
adetaylor Jun 3, 2026
11673bb
[EvaluationTimeZoom] Add way to access device scale factor cheaply du…
sammygill Jun 3, 2026
9059591
Log ProcessTerminationReason as a string when WebProcess is terminated
RupinMittal Jun 3, 2026
97f9aa6
reland and fix 314080@main for iOS tests
Smackteo Jun 3, 2026
8c7a3b2
Unreviewed build fix 6/3
mwyrzykowski Jun 3, 2026
c6316d2
Use a cached "initial style" on Document for all non-element context …
weinig Jun 3, 2026
07e272b
[Site Isolation] authentication-after-redirect-stores-wrong-credentia…
roberto-apple Jun 3, 2026
ec66ce0
[Gardening]REGRESSION(iOS 18): [iOS] imported/w3c/web-platform-tests/…
diegodelatoba Jun 3, 2026
9238bab
[CMake] Tune prefix headers
geoffreygaren Jun 3, 2026
36a5d20
Unreviewed build fix, June 3rd 2026
mwyrzykowski Jun 3, 2026
55a3530
[Gardening]New Test (261136@main): [ iOS macOS wk2 ] http/wpt/backgro…
diegodelatoba Jun 3, 2026
2e8fef9
Disable modeless input on Google Docs
rniwa Jun 3, 2026
b3a4b5b
[Gardening]NEW-TEST(312558@main) [iOS] fast/scrolling/ios/scroll-into…
diegodelatoba Jun 3, 2026
c44add6
[WPE] Add class descriptions to the WPE Platform main classes
csaavedra Jun 3, 2026
ab43363
[Swift in WebKit] Set `NoUseUnstructuredThrowingTask` as an error ins…
rr-codes Jun 3, 2026
9b487fb
Serialize @font-face descriptor ranges with equal bounds as a single …
vitorroriz Jun 3, 2026
0169866
Memory pressure on certain devices loading model
mwyrzykowski Jun 3, 2026
3e82af8
[Site Isolation] Make RemoteFrameLayoutInfo ref-counted
tuankiet65 Jun 3, 2026
32f5d40
[AutoFill Debugging] Add WKWebView method to apply debug text extract…
xeenon Jun 3, 2026
f42af83
[Gardening]REGRESSION(314191@main): [iOS] fast/dom/Orientation/no-ori…
diegodelatoba Jun 3, 2026
d6b004a
The WebContent Development XPC service crashed on startup
pvollan Jun 3, 2026
6bb1620
Layout test archive download 400s with "Query too broad"
Smackteo Jun 3, 2026
3fb0210
Enable FUSE_BUILD_SCRIPT_PHASES=YES in build script phases
brentfulgham Jun 3, 2026
a7db3c9
Web Inspector: Avoid using `alwaysOutOfDate = 1` to force execution o…
the-chenergy Jun 3, 2026
da44cdb
Compromised web content process unauthorized access to pending Messag…
beidson Jun 3, 2026
efa8667
Bring up Tahoe Debug Site-Isolation testers
robert-jenner Jun 3, 2026
9816b14
[CMake][Mac] Jumbo unified builds with @cost weighting
geoffreygaren Jun 3, 2026
1c9e3e8
Out-of-bounds read in WebM MIME sniffer when iter reaches length()
cdumez Jun 3, 2026
aac4f9e
MIDI and AVI MIME signatures are never matched due to typo in MIMESni…
cdumez Jun 3, 2026
fd1fbad
rdar://172395438
beidson Jun 3, 2026
a8c7730
GitHub.com: emoji reaction touches code box in comment.
sammygill Jun 3, 2026
40f72ef
Text decoration is too thin over a descendant block
alanbaradlay Jun 3, 2026
3a096e9
calendar.google.com: Safari: Print job fails to start when attempting…
J0pan Jun 3, 2026
25d42ad
[CMake] TestWebKit missing Helpers include directories causes build f…
pascoej Jun 3, 2026
c02af6e
[macOS] Certain build configurations failing due to NSViewCornerConfi…
lilyspiniolas Jun 3, 2026
95d8076
[YARR] Fix NonGreedy backtracking
Constellation Jun 3, 2026
5b5081a
[Site Isolation] Evicting a cross-site page from the back/forward cac…
basuke Jun 3, 2026
50984dc
<animateMotion> non-path animations should apply the 'rotate' attribute
Ahmad-S792 Jun 3, 2026
281e578
REGRESSION(311870@main): [macOS Release x86_64] imported/w3c/web-plat…
anttijk Jun 4, 2026
8d28762
[CMake] Enable -Wunused-parameter on Cocoa to match Xcode
zakariaridouh Jun 4, 2026
79b5865
Implement UIScriptController.insertAutofillSuggestion helper for iOS
zakariaridouh Jun 4, 2026
6558e80
[CMake] Build fix after 314495@main
zakariaridouh Jun 4, 2026
de82270
[JSC] Optimize the layout of InlineCacheHandler
ast-hugger Jun 4, 2026
c69c485
[Site Isolation] Enable MultiProcessBackForwardCache automatically wh…
basuke Jun 4, 2026
d176a27
[Site Isolation] Remove unnecessary frameID and WebFrame changes from…
roberto-apple Jun 4, 2026
23a2f28
[iOS] Propagate visibility during fullscreen video layer hosting
aestes Jun 4, 2026
c50efa2
REGRESSION: Can't use 2-Set Korean in Mail
rniwa Jun 4, 2026
ceb4d81
[Site Isolation] Approve file URLs from the back-forward target item …
basuke Jun 4, 2026
5f56351
media/modern-media-controls/icon-service/icon-service-bundle-load.htm…
aprotyas Jun 4, 2026
564c069
[MotionMark 1.3] Batch canvas line stroke IPC messages to reduce per-…
djg Jun 4, 2026
b681959
[GLib] Unreviewed layout test gardening
fujii Jun 4, 2026
bbf3da0
Canvas fillText with textAlign=center misplaces complex-shaped text
alanbaradlay Jun 4, 2026
c1ab79e
[Site Isolation] CSP upgrade-insecure-requests misses cross-origin if…
roberto-apple Jun 4, 2026
e1d15f6
Simplify the proofreading underlines in some cases.
megangardner Jun 4, 2026
32bfeb7
Unreviewed, reverting 314513@main (de8227087714)
JonWBedard Jun 4, 2026
3902d9f
REGRESSION (313513@main): Web content is clipped out of right obscure…
tuankiet65 Jun 4, 2026
8c249e4
[Swift GTK] Preprocess Platform*.h to make Swift -D flags
adetaylor Jun 4, 2026
51cc3fe
[JSC] Promise jobs must not run with the realm of a cross-realm settl…
sosukesuzuki Jun 4, 2026
cf78490
Merge remote-tracking branch 'upstream/main' into bun/upgrade-to-51cc…
sosukesuzuki Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ objc/*.h diff=objcppheader
/Source/JavaScriptCore/b3/testb3*.cpp test=1
/Source/JavaScriptCore/b3/air/testair.cpp test=1
/Source/JavaScriptCore/dfg/testdfg.cpp test=1
/Tools/TestWebKitAPI/**/* test=1
/Tools/TestWebKitAPI/Tests/**/* test=1
15 changes: 5 additions & 10 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,14 @@ AllowedSPI*.toml @emw-apple
/Source/WebCore/editing @rniwa
/LayoutTests/editing @rniwa

/Source/WebCore/Modules/applepay @aprotyas
/Source/WebCore/Modules/applepay-ams-ui @aprotyas
/Source/WebCore/Modules/applicationmanifest/ @marcoscaceres
/Source/WebCore/Modules/beacon @cdumez
/Source/WebCore/Modules/contact-picker @marcoscaceres
/Source/WebCore/Modules/entriesapi @cdumez
/Source/WebCore/Modules/geolocation @cdumez @marcoscaceres
/Source/WebCore/Modules/model-element @mwyrzykowski @etiennesegonzac
/Source/WebCore/Modules/notifications @cdumez
/Source/WebCore/Modules/paymentrequest @aprotyas @marcoscaceres
/Source/WebCore/Modules/paymentrequest @marcoscaceres
/Source/WebCore/Modules/permissions @marcoscaceres
/Source/WebCore/Modules/credentialmanagement @marcoscaceres
/Source/WebCore/Modules/gamepad @marcoscaceres
Expand All @@ -129,21 +127,21 @@ AllowedSPI*.toml @emw-apple
/Source/WebCore/worklets @cdumez
/Source/WebCore/xml @cdumez
/Source/WebCore/page @cdumez
/Source/WebCore/page/PointerCaptureController.cpp @lilyspiniolas
/Source/WebCore/page/PointerCaptureController.h @lilyspiniolas
./Source/WebCore/page/Navigator.* @marcoscaceres

/Source/WebCore/animation @graouts

/LayoutTests/http/tests/paymentrequest @aprotyas @marcoscaceres
/LayoutTests/http/tests/paymentrequest @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/badging @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/contenteditable @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/digital-credentials @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/gamepad @marcoscaceres
/LayoutTests/http/tests/ssl/applepay @aprotyas
/LayoutTests/http/tests/ssl/applepay-ams-ui @aprotyas
/LayoutTests/imported/w3c/web-platform-tests/geolocation @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/html/user-activation @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/merchant-validation @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/payment-request @aprotyas @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/payment-request @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/permissions @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/resources @gsnedders
/LayoutTests/imported/w3c/web-platform-tests/screen-orientation @marcoscaceres
Expand All @@ -163,9 +161,7 @@ AllowedSPI*.toml @emw-apple
/Source/WebKit/NetworkProcess @cdumez
/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in @brentfulgham @pvollan
/Source/WebKit/Platform @cdumez
/Source/WebKit/Platform/*/Payment* @aprotyas
/Source/WebKit/Resources/SandboxProfiles @brentfulgham @pvollan
/Source/WebKit/Shared/ApplePay @aprotyas
/Source/WebKit/Shared/Sandbox @brentfulgham @pvollan
/Source/WebKit/UIProcess @cdumez
/Source/WebKit/UIProcess/Extensions @b-weinstein @xeenon
Expand All @@ -175,7 +171,6 @@ AllowedSPI*.toml @emw-apple
/Source/WebKit/WebProcess @cdumez
/Source/WebKit/WebProcess/DigitalCredentials @marcoscaceres
/Source/WebKit/WebKitSwift/IdentityDocumentServices @marcoscaceres
/Source/WebKit/WebProcess/ApplePay @aprotyas
/Source/WebKit/WebProcess/Extensions @b-weinstein @xeenon
/Source/WebKit/WebProcess/Inspector @dcrousso @patrickangle @burg
/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in @brentfulgham @pvollan
Expand Down
2 changes: 1 addition & 1 deletion .wkdev-sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.53-v5-3bdf4b8
2.53-v6-d535e88
86 changes: 35 additions & 51 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,38 @@ cmake_minimum_required(VERSION 3.20)

if (PORT STREQUAL "IOS")
set(CMAKE_SYSTEM_NAME iOS)
if (NOT CMAKE_OSX_SYSROOT)
if (DEFINED ENV{SDKROOT} AND EXISTS "$ENV{SDKROOT}")
set(CMAKE_OSX_SYSROOT "$ENV{SDKROOT}" CACHE PATH "iOS SDK path" FORCE)
if (CMAKE_IOS_SIMULATOR)
set(_sdk_name "iphonesimulator.internal")
set(_sdk_name_fallback "iphonesimulator")
else ()
set(_sdk_name "iphoneos.internal")
set(_sdk_name_fallback "iphoneos")
endif ()
execute_process(COMMAND xcrun --sdk ${_sdk_name} --show-sdk-path
OUTPUT_VARIABLE _ios_sysroot
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE _internal_sdk_result
ERROR_QUIET)
if (NOT _internal_sdk_result EQUAL 0 OR NOT _ios_sysroot)
set(_ios_sysroot "")
if (CMAKE_OSX_SYSROOT AND EXISTS "${CMAKE_OSX_SYSROOT}")
set(_ios_sysroot "${CMAKE_OSX_SYSROOT}")
elseif (DEFINED ENV{SDKROOT} AND EXISTS "$ENV{SDKROOT}" AND "$ENV{SDKROOT}" MATCHES "iPhone")
set(_ios_sysroot "$ENV{SDKROOT}")
else ()
if (CMAKE_IOS_SIMULATOR)
set(_sdk_name "iphonesimulator.internal")
set(_sdk_name_fallback "iphonesimulator")
else ()
set(_sdk_name "iphoneos.internal")
set(_sdk_name_fallback "iphoneos")
endif ()
execute_process(COMMAND xcrun --sdk ${_sdk_name} --show-sdk-path
execute_process(COMMAND xcrun --sdk ${_sdk_name_fallback} --show-sdk-path
OUTPUT_VARIABLE _ios_sysroot
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE _internal_sdk_result
ERROR_QUIET)
if (NOT _internal_sdk_result EQUAL 0 OR NOT _ios_sysroot)
execute_process(COMMAND xcrun --sdk ${_sdk_name_fallback} --show-sdk-path
OUTPUT_VARIABLE _ios_sysroot
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET)
endif ()
if (_ios_sysroot)
set(CMAKE_OSX_SYSROOT "${_ios_sysroot}" CACHE PATH "iOS SDK path" FORCE)
endif ()
endif ()
endif ()
if (_ios_sysroot)
set(CMAKE_OSX_SYSROOT "${_ios_sysroot}" CACHE PATH "iOS SDK path" FORCE)
endif ()
unset(_sdk_name)
unset(_sdk_name_fallback)
unset(_internal_sdk_result)
unset(_ios_sysroot)

if (NOT CMAKE_OSX_ARCHITECTURES)
if (CMAKE_OSX_SYSROOT MATCHES "\\.Internal\\.sdk$" AND NOT CMAKE_OSX_SYSROOT MATCHES "[Ss]imulator")
Expand Down Expand Up @@ -95,60 +100,39 @@ include(WebKitCommon)
# "project()" line
#------------------------------------------------------------------------------
if (SWIFT_REQUIRED)
cmake_policy(SET CMP0157 NEW)
if (POLICY CMP0157)
cmake_policy(SET CMP0157 NEW)
endif ()

# CMake omits -target for swiftc during iOS cross-compilation.
if (PORT STREQUAL "IOS" AND NOT CMAKE_Swift_COMPILER_TARGET)
if (CMAKE_OSX_SYSROOT MATCHES "[Ss]imulator")
if (PORT STREQUAL "IOS")
if (CMAKE_IOS_SIMULATOR OR CMAKE_OSX_SYSROOT MATCHES "[Ss]imulator")
set(CMAKE_Swift_COMPILER_TARGET "${CMAKE_OSX_ARCHITECTURES}-apple-ios${CMAKE_OSX_DEPLOYMENT_TARGET}-simulator" CACHE STRING "Swift target triple" FORCE)
else ()
set(CMAKE_Swift_COMPILER_TARGET "${CMAKE_OSX_ARCHITECTURES}-apple-ios${CMAKE_OSX_DEPLOYMENT_TARGET}" CACHE STRING "Swift target triple" FORCE)
endif ()
endif ()

if (PORT STREQUAL "IOS")
execute_process(COMMAND xcrun --show-sdk-platform-path
OUTPUT_VARIABLE _ios_platform_path
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET)
if (_ios_platform_path)
execute_process(COMMAND find "${_ios_platform_path}" -name swiftc -path "*/xctoolchain/*" -type f -print -quit
OUTPUT_VARIABLE _ios_swiftc
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET)
if (_ios_swiftc AND NOT _ios_swiftc STREQUAL CMAKE_Swift_COMPILER)
set(CMAKE_Swift_COMPILER "${_ios_swiftc}" CACHE FILEPATH "Swift compiler" FORCE)
message(STATUS "iOS: using platform-specific Swift compiler: ${_ios_swiftc}")
endif ()
endif ()
endif ()

enable_language(Swift)

# -F causes Swift to find C++23 framework headers in implicit module builds.
if (PORT STREQUAL "IOS")
set(CMAKE_Swift_FRAMEWORK_SEARCH_FLAG "-Xcc -iquote")
endif ()

# Override Swift compiler to a wrapper script to work around the
# fact CMake feeds incorrect flags to swiftc.
set(_swift_wrapper "${CMAKE_SOURCE_DIR}/Tools/Scripts/swift/swiftc-wrapper.sh")
if (CMAKE_Swift_COMPILER STREQUAL _swift_wrapper)
if (NOT ORIGINAL_Swift_COMPILER)
find_program(ORIGINAL_Swift_COMPILER NAMES swiftc REQUIRED)
endif ()
if (APPLE)
WEBKIT_XCRUN(ORIGINAL_Swift_COMPILER --find swiftc)
else ()
set(ORIGINAL_Swift_COMPILER "${CMAKE_Swift_COMPILER}" CACHE FILEPATH "Original Swift compiler" FORCE)
set(ORIGINAL_Swift_COMPILER "${CMAKE_Swift_COMPILER}")
endif ()
set(CMAKE_Swift_COMPILER "${_swift_wrapper}")
set(CMAKE_Swift_COMPILER "${CMAKE_SOURCE_DIR}/Tools/Scripts/swift/swiftc-wrapper.sh")
add_compile_options($<$<COMPILE_LANGUAGE:Swift>:--original-swift-compiler=${ORIGINAL_Swift_COMPILER}>)
add_link_options($<$<LINK_LANGUAGE:Swift>:--original-swift-compiler=${ORIGINAL_Swift_COMPILER}>)
# The static archive rule (<CMAKE_Swift_CREATE_STATIC_LIBRARY>) uses neither
# <FLAGS> nor link options, so inject the flag directly into the template.
string(REPLACE "<CMAKE_Swift_COMPILER>"
"<CMAKE_Swift_COMPILER> --original-swift-compiler=${ORIGINAL_Swift_COMPILER}"
CMAKE_Swift_CREATE_STATIC_LIBRARY "${CMAKE_Swift_CREATE_STATIC_LIBRARY}")
unset(_swift_wrapper)
endif ()

# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"CMAKE_MAKE_PROGRAM": {
"type": "FILEPATH",
"value": "${sourceDir}/Tools/Scripts/caffeinate-ninja"
"value": "${sourceDir}/Source/cmake/ninja-wrapper"
}
},
"environment": {
Expand Down
6 changes: 4 additions & 2 deletions Configurations/CommonBase.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ _EXPERIMENTAL_SWIFT_EXPLICIT_MODULES = YES;
WK_DEFAULT_COMPILATION_CACHE_ENABLE_CACHING = YES;
COMPILATION_CACHE_ENABLE_CACHING = $(WK_DEFAULT_COMPILATION_CACHE_ENABLE_CACHING);

FUSE_BUILD_SCRIPT_PHASES = YES;

WK_COMMON_OTHER_LDFLAGS = $(WK_SANITIZER_OTHER_LDFLAGS) $(WK_COMMON_OTHER_LDFLAGS_INSTRUMENTATION_$(ENABLE_LLVM_PROFILE_GENERATION));
// Work around rdar://151083138 by moving the section the profiling runtime
// mmaps to its own segment.
Expand All @@ -83,7 +85,7 @@ OTHER_LDFLAGS = $(inherited) $(WK_COMMON_OTHER_LDFLAGS);
WK_COMMON_OTHER_TAPI_FLAGS = -x objective-c++ -std=c++2b -fno-rtti $(WK_SANITIZER_OTHER_TAPI_FLAGS);
OTHER_TAPI_FLAGS = $(inherited) $(WK_COMMON_OTHER_TAPI_FLAGS);

WK_DEFAULT_WK_AUDIT_SPI[sdk=iphoneos*] = $(WK_NOT_$(WK_OR_$(WK_ANY_SANITIZER_ENABLED)_$(OVERRIDE_SUPPORTS_TEXT_BASED_API)));
WK_DEFAULT_WK_AUDIT_SPI[sdk=iphoneos*] = $(WK_AND_$(WK_NOT_$(WK_ANY_SANITIZER_ENABLED))_$(OVERRIDE_SUPPORTS_TEXT_BASED_API:default=YES));
// Explicitly disable auditing on other embedded platforms, because some SDKs
// fall back to reading settings for iOS.
WK_DEFAULT_WK_AUDIT_SPI[sdk=appletvos*] = ;
Expand Down Expand Up @@ -127,7 +129,7 @@ WK_SWIFT_CLANG_DEPLOYMENT_TARGET = $(WK_SWIFT_CLANG_DEPLOYMENT_TARGET_$(WK_PLATF
WK_SWIFT_CLANG_DEPLOYMENT_TARGET_macosx = -clang-target $(CURRENT_ARCH)-apple-macos$(MACOSX_DEPLOYMENT_TARGET);

// rdar://170129992: remove -track-system-dependencies when resolved
OTHER_SWIFT_FLAGS = $(inherited) -Xcc -fvisibility=hidden -Werror ExistentialAny -enable-upcoming-feature ExistentialAny $(WK_SWIFT_MEMORY_SAFETY_FLAGS) $(WK_SWIFT_MEMORY_SAFETY_ERROR_FLAGS) $(WK_SWIFT_CLANG_DEPLOYMENT_TARGET) $(WK_SANITIZER_OTHER_SWIFT_FLAGS) -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -track-system-dependencies -enable-experimental-feature ImportCxxMembersLazily;
OTHER_SWIFT_FLAGS = $(inherited) -Xcc -fvisibility=hidden -Werror ExistentialAny -Werror NoUseUnstructuredThrowingTask -enable-upcoming-feature ExistentialAny $(WK_SWIFT_MEMORY_SAFETY_FLAGS) $(WK_SWIFT_MEMORY_SAFETY_ERROR_FLAGS) $(WK_SWIFT_CLANG_DEPLOYMENT_TARGET) $(WK_SANITIZER_OTHER_SWIFT_FLAGS) -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -track-system-dependencies -enable-experimental-feature ImportCxxMembersLazily;
// Work around rdar://157581667 on affected toolchains.
OTHER_SWIFT_FLAGS[sdk=*26.2*] = $(inherited) -Xcc -fno-modulemap-allow-subdirectory-search;
OTHER_SWIFT_FLAGS[sdk=*26.3*] = $(inherited) -Xcc -fno-modulemap-allow-subdirectory-search;
Expand Down
17 changes: 17 additions & 0 deletions JSTests/microbenchmarks/array-iterator-fast-entries.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Microbenchmark: fast iteration over array.entries() (allocates [index, element] per step).

function arrayEntriesSum(arr) {
var sum = 0;
for (var [k, v] of arr.entries())
sum += k + v;
return sum;
}
noInline(arrayEntriesSum);

var arr = [];
for (var i = 0; i < 1024; ++i)
arr.push(i);

var iters = 2e4;
for (var i = 0; i < iters; ++i)
arrayEntriesSum(arr);
17 changes: 17 additions & 0 deletions JSTests/microbenchmarks/array-iterator-fast-keys.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Microbenchmark: fast iteration over array.keys() (no element load needed).

function arrayKeysSum(arr) {
var sum = 0;
for (var k of arr.keys())
sum += k;
return sum;
}
noInline(arrayKeysSum);

var arr = [];
for (var i = 0; i < 1024; ++i)
arr.push(i);

var iters = 4e4;
for (var i = 0; i < iters; ++i)
arrayKeysSum(arr);
36 changes: 36 additions & 0 deletions JSTests/microbenchmarks/array-iterator-fast-values.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Microbenchmark: fast iteration over array.keys()/values()/entries().

function arrayValues(arr) {
var sum = 0;
for (var v of arr.values())
sum += v;
return sum;
}
noInline(arrayValues);

function arrayKeys(arr) {
var sum = 0;
for (var k of arr.keys())
sum += k;
return sum;
}
noInline(arrayKeys);

function arrayEntries(arr) {
var sum = 0;
for (var [k, v] of arr.entries())
sum += k + v;
return sum;
}
noInline(arrayEntries);

var arr = [];
for (var i = 0; i < 1024; ++i)
arr.push(i);

var iters = 1e4;
for (var i = 0; i < iters; ++i) {
arrayValues(arr);
arrayKeys(arr);
arrayEntries(arr);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
function test(array, searchElement) {
return array.lastIndexOf(searchElement);
}
noInline(test);

var array = new Array(1024);
for (var i = 0; i < array.length; i++)
array[i] = i + 0.5;

var result = 0;
for (var i = 0; i < 1e6; ++i)
result += test(array, -1.0); // absent: forces a full backward scan, returns -1

if (result !== -1e6)
throw new Error("bad result: " + result);
14 changes: 14 additions & 0 deletions JSTests/microbenchmarks/bigint-heap-dec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
function test(start, count) {
let n = start;
for (let i = 0; i < count; i++)
n--;
return n;
}
noInline(test);

const start = 0x123456789abcdef0123456789abcdefn;
let result = 0n;
for (let i = 0; i < 2000; i++)
result = test(start, 2000);
if (result !== start - 2000n)
throw new Error("bad result: " + result);
14 changes: 14 additions & 0 deletions JSTests/microbenchmarks/bigint-heap-inc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
function test(start, count) {
let n = start;
for (let i = 0; i < count; i++)
n++;
return n;
}
noInline(test);

const start = 0x123456789abcdef0123456789abcdefn;
let result = 0n;
for (let i = 0; i < 2000; i++)
result = test(start, 2000);
if (result !== start + 2000n)
throw new Error("bad result: " + result);
14 changes: 14 additions & 0 deletions JSTests/microbenchmarks/intl-string-tolocalelowercase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
function test() {
let count = 0;
for (let i = 0; i < 1e5; ++i) {
if ("Hello World".toLocaleLowerCase() === "hello world")
++count;
if ("HELLO WORLD".toLocaleLowerCase("en") === "hello world")
++count;
}
return count;
}

const result = test();
if (result !== 2e5)
throw new Error("Bad result: " + result);
14 changes: 14 additions & 0 deletions JSTests/microbenchmarks/intl-string-tolocaleuppercase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
function test() {
let count = 0;
for (let i = 0; i < 1e5; ++i) {
if ("Hello World".toLocaleUpperCase() === "HELLO WORLD")
++count;
if ("hello world".toLocaleUpperCase("en") === "HELLO WORLD")
++count;
}
return count;
}

const result = test();
if (result !== 2e5)
throw new Error("Bad result: " + result);
11 changes: 11 additions & 0 deletions JSTests/microbenchmarks/map-clone-large.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function test(map) {
return new Map(map);
}
noInline(test);

var map = new Map();
for (var j = 0; j < 1000; ++j)
map.set(j, j);

for (var i = 0; i < testLoopCount; ++i)
test(map);
Loading
Loading