Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream 2023 11 11 #18

Merged
merged 4,543 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4543 commits
Select commit Hold shift + click to select a range
803b163
Fix compilation failures on ARM64 linux
jyavenard Nov 8, 2023
107abc1
Don't sweep when opportunistic sweeping is keeping up
rniwa Nov 8, 2023
233fd83
Use CompactContextMenuPresenter to show context menus for focused ele…
whsieh Nov 8, 2023
5d7be1e
Remove dead code protected by !HAVE(NSURLSESSION_WEBSOCKET)
achristensen07 Nov 8, 2023
28e56ac
[git-webkit] `git revert` does not produce a meaningful commit message
briannafan Nov 8, 2023
62aafa9
Cache complex CSS variable values
anttijk Nov 8, 2023
011cc9a
Generate IPC serialization for WebKit::PrintInfo
zdobersek Nov 8, 2023
ce17928
Deploy further smart pointers in Source/WebKit/UIProcess
rniwa Nov 8, 2023
d288ffa
[JSC] Refine SyntaxError message for generator method parsing failure
Nov 8, 2023
5a25d74
Remove remaining WebGL diagnostic logging
annevk Nov 8, 2023
cb49367
[GTK] Move the drawing monitor implementation from drawing area to th…
carlosgcampos Nov 8, 2023
7320934
Move approved WebGL extensions out of draft
lexaknyazev Nov 8, 2023
b493ecb
[WebGPU] GPUCommandEncoder does not update the state of the encoder
mwyrzykowski Nov 8, 2023
88ae21e
Skip intl-data-time-format-string-overflow.js if $memoryLimited
aoikonomopoulos Nov 8, 2023
f0deb3d
Create script to compile sandboxes
pvollan Nov 8, 2023
2f6ac9f
Remove EnumTraits<WebCore::Cookie::SameSitePolicy> from Cookie.h
mikhailramalho Nov 8, 2023
266eebe
Skip failing fold-multi-get-by-offset-to-get-by-offset.js on 32-bit arm
aoikonomopoulos Nov 8, 2023
5b23936
[ThreadedCompositor] The compositing thread should not wait for paint…
carlosgcampos Nov 8, 2023
c7ba823
[LBSE] Update some test results after 270302@main
rwlbuis Nov 8, 2023
2c48f5c
[MSE] MediaSource::isEnded is unnecessarily passed to all methods
jyavenard Nov 8, 2023
8ce1efb
Deploy smart pointers in UserTypingGestureIndicator.cpp, VisitedLinkS…
rniwa Nov 8, 2023
ed08212
Deploy smart pointers in TreeScope.cpp, TreeScopeOrderedMap.cpp, and …
rniwa Nov 8, 2023
d726711
Crash under ContentSecurityPolicy::reportViolation()
cdumez Nov 8, 2023
dfd700b
Unreviewed, reverting 270385@main.
webkit-commit-queue Nov 8, 2023
a915169
[git-webkit] update method name
briannafan Nov 8, 2023
66c8339
Unify the naming of the RenderObject type checking functions
cdumez Nov 8, 2023
a7908ad
WebKit process extensions do not have the same entitlement requirements
pvollan Nov 8, 2023
14080ff
Skip http/tests/site-isolation/double-iframe.html on iOS
achristensen07 Nov 8, 2023
9e86f8a
Multiple iframes in same isolated process results in one of them not …
mattwoodrow Nov 8, 2023
2ed9781
[Gardening]: REGRESSION (269641@main): [ Ventura+ arm64 ] inspector/u…
martadarbinyan Nov 8, 2023
55a18a1
Simplify PDFPlugin* access to Page
hortont424 Nov 8, 2023
5af218d
[web-animations] move shared timing data between AnimationEffect and …
graouts Nov 8, 2023
ebb1718
[iOS] [UIAsyncTextInput] Support text context requests for autocorrec…
whsieh Nov 8, 2023
8ffb577
RemoteDisplayListRecorder should lazily allocate a SharedVideoFrameRe…
smfr Nov 8, 2023
d64a61a
[WinCairo] Unreviewed test gardening
fujii Nov 8, 2023
aea08c9
Support searching by commit for results.webkit.org
facetothefate Nov 8, 2023
e82c2c8
Unreviewed, reverting 269832@main.
webkit-commit-queue Nov 8, 2023
d1f7df8
Allowlist tests run in test-webkitpy-python2
gsnedders Nov 8, 2023
85ed263
Security hardening for SincResampler
cdumez Nov 8, 2023
4c80ecf
Enable management of WebKit process as extensions by default
pvollan Nov 8, 2023
20868da
Adopt a smart pointer for ContentSecurityPolicy::m_scriptExecutionCon…
cdumez Nov 9, 2023
a86f94a
Move the selfNeedsLayout() check out of RenderElement::repaintAfterLa…
smfr Nov 9, 2023
2287cc7
Make RenderLayer's RepaintStatus a enum class
smfr Nov 9, 2023
875cc9f
REGRESSION(268354@main): Text gets shadow if its container has a filt…
shallawa Nov 9, 2023
392f7b6
[macOS] Fix input[type=search] rendering in vertical writing mode
pxlcoder Nov 9, 2023
9a01f5b
Stop doing a synchronous DecidePolicyForNavigationAction IPC for frag…
cdumez Nov 9, 2023
2054ea4
Convert ContentSecurityPolicyResponseHeaders to the new IPC serializa…
cdumez Nov 9, 2023
2286c00
REGRESSION (269641@main): [ Ventura+ arm64 ] inspector/unit-tests/ite…
cdumez Nov 9, 2023
22125e5
[Gardening]: REGRESSION(Sonoma 14.1): Multiple tests are constantly f…
bls1999 Nov 9, 2023
4ac0354
REGRESSION (268484@main): Dynamic Content Scaling is disabled
hortont424 Nov 9, 2023
5651a91
Compilation failure using gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)
jyavenard Nov 9, 2023
dabc124
Cookies from AppSSO extension are getting stored in iframe even when …
pascoej Nov 9, 2023
dee2368
AVVideoCaptureSource::cameraCaptureDeviceTypes() should return a Reta…
youennf Nov 9, 2023
417da4a
[iOS] Non-fullscreen content peeks into top safe area in element full…
jernoble Nov 9, 2023
a84abf1
[cssom-view] Enable element.checkVisibility() API by default
nt1m Nov 9, 2023
c5ff8e3
LocalSampleBufferDisplayLayer does not need to recreate its AVSampleB…
youennf Nov 9, 2023
4d49455
[WGSL] countLeadingZeros, countOneBits, countTrailingZeros, reverseBi…
tadeuzagallo Nov 9, 2023
305bced
[WGSL] Add support for matrix subtraction
tadeuzagallo Nov 9, 2023
333dba7
Enable WASM on Windows
iangrunert Nov 9, 2023
2bc922d
[WGSL] textureSampleGrad is not implemented
tadeuzagallo Nov 9, 2023
93c225f
[WGSL] MSL compilation error opening https://webllm.mlc.ai/ - 'global…
tadeuzagallo Nov 9, 2023
e1267b6
Align with Chrome on SpeechRecognition policy handling
youennf Nov 9, 2023
c446f02
AirPods removed from ears should not disturb and ongoing video call
youennf Nov 9, 2023
ca34fa2
[WGSL] Bit shift operators are missing abstract overloads
tadeuzagallo Nov 9, 2023
0c57937
[WGSL] Add constant support for primitive structs
tadeuzagallo Nov 9, 2023
e794f0b
[WGSL] Add support for constant indexing of vectors, arrays and matrices
tadeuzagallo Nov 9, 2023
78709d1
[WGSL] Do not convert constant where there was a type error
tadeuzagallo Nov 9, 2023
71eedce
[WGSL] Packed struct should not assume every nested struct is also pa…
tadeuzagallo Nov 9, 2023
f014a86
[WGSL] Add support for accessing field of primitive structs at consta…
tadeuzagallo Nov 9, 2023
0f4a85f
[Buildstream SDK] Update to FDO 23.08 release
philn Nov 9, 2023
5ce9e6a
[WPE] Skip Qt API tests if the system doesn't have a GPU available
clopez Nov 9, 2023
14a98ff
[IFC] inline-block child preceded by an inline child has incorrect po…
alanbaradlay Nov 9, 2023
2357896
Create script to compile sandboxes
pvollan Nov 9, 2023
d558cd5
Unreviewed, reverting 270443@main.
webkit-commit-queue Nov 9, 2023
4e6e5b0
Port ControlPart related controls to the new IPC serialization format
gavin-apple Nov 9, 2023
db75348
CSSVariableReferenceValue.h: error: member access into incomplete typ…
graouts Nov 9, 2023
8018f2e
REGRESSION(270409@main): Broke linux clang-16 builds
philn Nov 9, 2023
ebe159b
Remove unused "mapAttributeToCSSProperty" from 'SVGElement.h'
Ahmad-S792 Nov 9, 2023
3edab07
Build error: reference to 'MediaQueryList' is ambiguous
graouts Nov 9, 2023
5cb42b3
MediaSourcePrivate::notifyActiveSourceBuffersChanged only implemented…
jyavenard Nov 9, 2023
5cf41f0
[scroll-timeline] add the ScrollTimeline interface
graouts Nov 9, 2023
94ae7ec
Generate IPC serialization for WebCore::UserStyleLevel enumeration
zdobersek Nov 9, 2023
2e985d8
[iOS] Fix rendering of <select> in vertical writing mode
pxlcoder Nov 9, 2023
d019b1f
Simplify repainting logic in RenderLayer::recursiveUpdateLayerPositio…
smfr Nov 9, 2023
8377bc0
[scroll-anchoring] Implement suppression triggers
nmoucht Nov 9, 2023
501889e
visionOS: Enable GPU Process for WebGL (and WebXR, indirectly)
hortont424 Nov 9, 2023
d3c60a0
Remove AspectRatioOfImgFromWidthAndHeightEnabled preference
annevk Nov 9, 2023
321c49e
[macOS] Fix rendering of <select> in vertical writing mode
pxlcoder Nov 9, 2023
c049334
Do not promote WebRTC video conference web pages to NowPlaying
youennf Nov 9, 2023
5158edf
[Wasm-GC] Implement casts at Wasm-JS function call boundaries
takikawa Nov 9, 2023
a662e7f
Refactor some fundamentals in ArgumentCodersCocoa.h
beidson Nov 9, 2023
d3f213a
[Xcode] Support building into a WebKit-specific products directory fo…
emw-apple Nov 9, 2023
58eefa5
Add tests for browser.tabs script APIs
kiaraarose Nov 9, 2023
69522e0
[UIAsyncTextInputClient] Adopt delegate methods to provide text conte…
whsieh Nov 9, 2023
1cc5e76
[web-animations] rename AnimatableProperty to AnimatableCSSProperty
graouts Nov 9, 2023
8065484
[Cocoa] Adopt -[AVContentKey externalContentProtectionStatus]
aestes Nov 9, 2023
0b4888b
AX: Caption and figure caption elements are ignored.
AndresGonzalezApple Nov 9, 2023
3d37218
[WPE] Gardening of API tests on the EWS
clopez Nov 9, 2023
084425a
[WebGPU] Pipeline needs to pass zNear and zFar to fragment shader for…
mwyrzykowski Nov 9, 2023
e5c2362
Add test function for WebCore::SincResampler
Nov 9, 2023
9f6ac89
Add support for os_signpost for WebContent on iOS
bnham Nov 9, 2023
48df3c8
Move DragItem to the new IPC serialization format
cdumez Nov 9, 2023
37cebe1
[WinCairo] Unreviewed test gardening
fujii Nov 9, 2023
afb855d
[iOS] Stop using `-_presentMenuAtLocation:` when `-[UIButton performP…
whsieh Nov 9, 2023
60aae49
[JSC] Enable wasm extended constant expressions
Constellation Nov 9, 2023
4c22ac0
Avoid computing containerForRepaint() for non-self-painting layers
smfr Nov 9, 2023
207ec7c
Unreviewed, reverting 270410@main.
webkit-commit-queue Nov 9, 2023
a82c327
AX: Heap-use-after-free in WebCore::AXObjectCache::get(WebCore::Node*…
AndresGonzalezApple Nov 9, 2023
4e31906
Unreviewed, reverting 270462@main.
webkit-commit-queue Nov 9, 2023
149e23f
[macOS] Fix keyboard selection/editing of date/time inputs in vertica…
pxlcoder Nov 9, 2023
8e39ed4
[JSC] Fix addImmediateShouldSpeculateInt32 for case int32 + constant …
hyjorc1 Nov 9, 2023
d172eca
Add clear cursor feature for search commit and regress point in resu…
facetothefate Nov 9, 2023
fc79f0a
[scroll-anchoring] Contract owning scroller rect for scroll padding
nmoucht Nov 9, 2023
7f48824
jsc shell and testapi process should also have CaptivePortal entitlement
hyjorc1 Nov 9, 2023
36c3ad5
[Gardening]: REGRESSION (270319@main): [Ventura+ iOS17 ]imported/w3c/…
martadarbinyan Nov 9, 2023
34957db
markAllBackingStoreVolatileFromTimer can stop the volatility timer to…
mattwoodrow Nov 9, 2023
e30d0b5
rdar://117803684 ([5d1fa25f3fa41fc3] ASAN_SEGV | WebCore::RenderBox::…
mscottapple Nov 9, 2023
4c5dc84
Sync 'TouchList' with WebIDL Specification
Ahmad-S792 Nov 9, 2023
5a41b5a
Unreviewed, reverting 269859@main.
webkit-commit-queue Nov 10, 2023
77425a5
Unreviewed, reverting 270445@main.
webkit-commit-queue Nov 10, 2023
0fde73f
Port GPUProcessPreferences to the new IPC serialization format
cdumez Nov 10, 2023
0b55ffb
RE-BASELINE (Sonoma): 12 layout tests that are constantly failing fol…
bls1999 Nov 10, 2023
b1fb95e
[WPE] frameDisplayed may be called after View has been deleted
yury-s Nov 10, 2023
3e1e97a
Add support for parsing Web Extension commands.
xeenon Nov 10, 2023
84d170d
[Gardening]: [ iOS ] compositing/video/video-border-radius-clipping.h…
bls1999 Nov 10, 2023
f07710c
[Gardening]: REGRESSION(Sonoma 14.1+): [ Sonoma ] css3/filters/effect…
bls1999 Nov 10, 2023
f809bfb
Assert that several private protocol methods are never called when as…
whsieh Nov 10, 2023
5aed7dd
Fix bad cases of refcounted objects being stored in std::unique_ptr
cdumez Nov 10, 2023
93b31fa
Port ScrollingAccelerationCurve to the new IPC serialization format
cdumez Nov 10, 2023
e0d7f25
Port BufferAndBackendInfo to new IPC serialization format
cdumez Nov 10, 2023
edb2263
[UnifiedPDF] Use a tiled layer for rendering
hortont424 Nov 10, 2023
6de9a1d
[JSC] Prefer full GC on opportunistic GC when navigation happens
Constellation Nov 10, 2023
114ec66
Check for webNavigation permission before dispatching events
b-weinstein Nov 10, 2023
981103d
Fix the build after 270501@main
smfr Nov 10, 2023
ea4cfa8
Port WebCompiledContentRuleListData to the new IPC serialization format
cdumez Nov 10, 2023
23f999b
Port RemoteScrollingUIState to the new IPC serialization format
cdumez Nov 10, 2023
e9405dc
Build fix for "[Xcode] Support building into a WebKit-specific produc…
emw-apple Nov 10, 2023
588563f
[scroll-animations] add the ViewTimeline interface
graouts Nov 10, 2023
d9dc5b6
Assign generic role to aside tag within the sectioning content elements
Nov 10, 2023
c5ca376
REGRESSION (270237@main): ASSERTION FAILED: !m_deletionHasBegun in Re…
aestes Nov 10, 2023
43948b8
[WPT] Sync css/css-nesting
mdubet Nov 10, 2023
1e8517b
Build fix when SERVICE_WORKER is disabled
tKnmori Nov 10, 2023
3734115
[pdf] 270501@main broke the build
graouts Nov 10, 2023
545fbb0
Generate IPC serialization for WebCore::WheelEventTestMonitor::DeferR…
zdobersek Nov 10, 2023
6f0012f
REGRESSION(265098@main): [DEBUG] build fails
pgorszkowski-igalia Nov 10, 2023
785eab2
[iOS] `svh`/`dvh` units are unexpectedly equal when Safari tab bar is…
aprotyas Nov 10, 2023
89b868a
[GTK][WPE] Release tarballs contain unused bundled libavif and dav1d
carlosgcampos Nov 10, 2023
2454816
Unreviewed. [GTK][WPE] Fix make-dist after 270273@main
carlosgcampos Nov 10, 2023
4484b1b
Throw exception if querying SVGAnimationElement with unresolved interval
Ahmad-S792 Nov 10, 2023
5954fba
[Wasm-GC] Implement packed types in struct fields
takikawa Nov 10, 2023
57bd8e8
[WGSL] Add missing tests for 270436@main
tadeuzagallo Nov 10, 2023
923ce50
[WGSL] Organize type declarations and respective tests
tadeuzagallo Nov 10, 2023
408af4c
Add support for the Web Extension commands API and events.
xeenon Nov 10, 2023
0656d41
[WPE][Debug] Gardening scroll-related assertion crashes
csaavedra Nov 10, 2023
409bcfe
When no clearance applies to an element with `clear` set, place the e…
Ahmad-S792 Nov 10, 2023
ef29d2b
[GCC] Fix build for Debian Stable after 270351@main
dpino Nov 10, 2023
5920b7a
[WebGPU] Reimplement device lost callback after https://bugs.webkit.o…
mwyrzykowski Nov 10, 2023
1b7680b
Stop using Vector::unsafeAppendWithoutCapacityCheck() in JSC::intlAva…
cdumez Nov 10, 2023
e6f2908
Avoid using Vector::unsafeAppendWithoutCapacityCheck() in ThreadSafeW…
cdumez Nov 10, 2023
15a1fe6
stop using Vector::unsafeAppendWithoutCapacityCheck() in ArrayPattern…
cdumez Nov 10, 2023
d0960aa
[WPT] Fix import of css/css-cascade
mdubet Nov 10, 2023
c6cd5fa
Stop using Vector::unsafeAppendWithoutCapacityCheck() in DFGByteCodeP…
cdumez Nov 10, 2023
2c4a9dc
SharedVideoFrameReader does not need to create a default IPC::Semaphore
youennf Nov 10, 2023
cce9c4e
Make ExceptionCode an enum class
mikhailramalho Nov 10, 2023
d674705
[WebGPU] Implement GPUSampleMask support
mwyrzykowski Nov 10, 2023
3b7210d
Correct <input type=checkbox switch> macOS RTL thumb placement
annevk Nov 10, 2023
674a831
Run oxipng on the resources/ images
gsnedders Nov 10, 2023
cbfee20
Clean up EnumTraits specializations under WebCore/loader
zdobersek Nov 10, 2023
255dd40
[macOS] Fix positioning of datalist dropdown indicator in vertical wr…
pxlcoder Nov 10, 2023
e5937b9
Sync 'identifier' in Touch.idl with Web Specification
Ahmad-S792 Nov 10, 2023
d5d3518
LocalFrameView: Use a weak reference for embedded objects during update
csaavedra Nov 10, 2023
fdf8c79
AX: VoiceOver does not announce button in text if button is in shadow…
hoffmanjoshua Nov 10, 2023
1dc3c3b
NetworkRTCProvider::doSocketTaskOnRTCNetworkThread should protect iself
youennf Nov 10, 2023
de0346f
Conform to new selectionClipRect method in UIAsyncTextInput
megangardner Nov 10, 2023
d07c8b0
Support `<select>` in vertical writing mode
pxlcoder Nov 10, 2023
243ee67
AX ITM Test Gardening: accessibility/aria-combobox-no-owns.html is ti…
twilco Nov 10, 2023
7f0c120
Remove IntersectionObserverEnabled preference
annevk Nov 10, 2023
1efbd8f
REGRESSION (iOS 17 Beta): The camera preview is with a wrong resoluti…
youennf Nov 10, 2023
73a3d56
Remove ResizeObserverEnabled preference
annevk Nov 10, 2023
7880134
Make LayerRepaintRects internal to RenderLayer
smfr Nov 10, 2023
1423c75
[scroll-anchoring] Exclude absolutely positioned elements with contai…
nmoucht Nov 10, 2023
95c90ee
Add missing 'optional' in constructor of 'RTCIceCandidate.idl' as per…
Ahmad-S792 Nov 10, 2023
8a87f79
[WGSL] Add tests and code generation for all texture functions
tadeuzagallo Nov 10, 2023
7a8132d
[Cocoa] AVContentKey -revoke and -externalContentProtectionStatus hav…
aestes Nov 10, 2023
d179734
[GTK][WPE] Don't create compositing layers for small canvases
obyknovenius Nov 10, 2023
3fc68b3
Stop using Vector::unsafeAppendWithoutCapacityCheck() in TinyLRUCache
cdumez Nov 10, 2023
88fb0db
Add 2d-transform-inline-js.html for WPT test
Nov 10, 2023
d8c95b5
Use serialization for WebCore::ExceptionCode
mikhailramalho Nov 10, 2023
c726e47
Port PlatformCAAnimationRemote::Properties to the new IPC serializati…
cdumez Nov 10, 2023
892a1f8
[UnifiedPDF] Re-enable the PDF HUD
hortont424 Nov 10, 2023
b170485
Unreviewed, reverting 270516@main.
webkit-commit-queue Nov 10, 2023
33ac4cf
Save style sheet resources with same URL in different files
szewai Nov 10, 2023
e752234
[UIAsyncTextInput] Adopt `-[UIAsyncTextInteractionDelegate selection(…
whsieh Nov 10, 2023
901d0dd
Hook up IPC for webNavigation APIs
b-weinstein Nov 10, 2023
a27d84a
[Cocoa] Baseline alignment of checkboxes and radio buttons is incorre…
pxlcoder Nov 10, 2023
436d451
[Gardening]: REGRESSION (270167@main): [ Sonoma wk2 Release x86_64 ] …
martadarbinyan Nov 10, 2023
a2af79b
Try to fix the build after 270554@main
aestes Nov 10, 2023
28e9f57
[Gardening]: [ Sonoma ] css1/box_properties/acid_test.html is a flaky…
bls1999 Nov 10, 2023
3a67920
RELEASE_ASSERT() under GPUProcessConnection::create(IPC::Connection&)
cdumez Nov 10, 2023
5a7acbb
Remove enums from ColorInterpolationMethod.h in favor of the serializer
mikhailramalho Nov 10, 2023
d3e5ed2
[Win] ~CompletionHandler's assertion "Completion handler should alway…
fujii Nov 10, 2023
c0e366c
[UnifiedPDF] Move back to PDFKit/PDFPage rendering (instead of CGPDF)
hortont424 Nov 10, 2023
481a7be
[UnifiedPDF] PDFs in <embed> and <object> do not clip
hortont424 Nov 10, 2023
453f050
[iOS] Fix appearance of date inputs in vertical writing mode
pxlcoder Nov 11, 2023
1195d47
Port RemoteVideoFrameProxy::Properties to the new IPC serialization f…
cdumez Nov 11, 2023
ee0d50f
Add remaining support for the browser.scripting API.
kiaraarose Nov 11, 2023
64620cb
[WebGPU] webgpu:api,operation,reflection:* does not pass
mwyrzykowski Nov 11, 2023
6fe67b3
Deploy more smart pointers in AbortSignal.cpp, BroadcastChannel.cpp, …
rniwa Nov 11, 2023
2e2f994
Missing build dependency when linking jsc to libJavaScriptCore.a
Nov 11, 2023
743e468
[Site Isolation] Add a test verifying mouse event handlers are only c…
charliewolfe Nov 11, 2023
2bcab44
Stop using Vector::unsafeAppendWithoutCapacityCheck() in SamplingProf…
cdumez Nov 11, 2023
788c4ac
Stop using Vector::unsafeAppendWithoutCapacityCheck() in WasmFunction…
cdumez Nov 11, 2023
b328ed0
Enable management of WebKit process as extensions by default
pvollan Nov 11, 2023
8edef33
Port WebPreferencesStore to the new IPC serialization format
cdumez Nov 11, 2023
a1b4967
Add committer status for myself in contributors.json
Nov 11, 2023
280771c
[Cairo] Use CAIRO_FILTER_BILINEAR for low interpolation quality
carlosgcampos Nov 11, 2023
940c340
Rework ArgumentCodersCocoa to get us much closer to generated seriali…
beidson Nov 11, 2023
560e5e0
[WPE][GTK] Gardening of various layout test failures and rebaselines
philn Nov 11, 2023
0fbea54
Add hasUAVisualTransition attribute to popState event
rwlbuis Nov 11, 2023
e8bb053
[CSS] @scope parsing
mdubet Nov 11, 2023
7606b1e
Remove some unused code in UnlinkedCodeBlockGenerator.
Nov 11, 2023
b7ae777
Make some JSC stress tests less chatty.
Nov 11, 2023
e8b00c2
[GStreamer] Ignore early EOS only when not looping
Nov 11, 2023
b60126c
[GStreamer] Media tests gardening
philn Nov 11, 2023
3e4e266
Generate IPC serialization for enumerations under WebCore/workers
zdobersek Nov 11, 2023
2668282
Merge branch 'upstream' into merge-upstream-2023-11-11
mnutt Nov 11, 2023
f2eb815
resurrect GL-less TextureMapper, just for qt
mnutt Nov 15, 2023
be78c47
fix some various preprocessor issues
mnutt Nov 15, 2023
0cf37e4
copy LegacyHistoryItemClient from WK1 mac
mnutt Nov 15, 2023
b646cf0
video useragent controls
mnutt Nov 15, 2023
bf28995
Frame/LocalFrame fixes
mnutt Nov 15, 2023
5b5a53e
need to add LegacyHistoryItem to sources list
mnutt Nov 15, 2023
a8e5fec
events api changes
mnutt Nov 15, 2023
dade0f1
various API fixes
mnutt Nov 15, 2023
d684bd3
graphics fixes
mnutt Nov 15, 2023
06baecc
fontcache system fallback API changes
mnutt Nov 15, 2023
3e33178
better checking for emoji fonts
mnutt Nov 15, 2023
f7d90e6
add some new localized strings (not implemented)
mnutt Nov 15, 2023
ba59519
rendering api updates
mnutt Nov 15, 2023
bc87702
support js origins
mnutt Nov 15, 2023
1db2633
more rendering API changes
mnutt Nov 15, 2023
91a9a5e
blob security
mnutt Nov 15, 2023
b93cc38
frame loader client API
mnutt Nov 15, 2023
a1adda7
removed frame flattening setting
mnutt Nov 15, 2023
2df6d78
remove some unused conditionals now that GL-less texturemapper is qt-…
mnutt Nov 16, 2023
ca55086
Merge remote-tracking branch 'public/master' into merge-upstream-2023…
mnutt Nov 16, 2023
a8caccd
move method definition to make patch applying easier
mnutt Nov 16, 2023
febd5b4
try fixing qt workqueue
mnutt Nov 16, 2023
956006a
fixes for linux
mnutt Nov 16, 2023
a3f87ca
re-add (now non-functional) plugin APIs, to keep compatibility with q…
mnutt Dec 17, 2023
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.
10 changes: 10 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ If:
PathMatch: [.*\.cpp]
CompileFlags:
Add: [--include=config.h]
---
If:
PathMatch: [.*\.mm]
CompileFlags:
Add: [-xobjective-c++, --include=config.h, -std=c++2a]
---
If:
PathMatch: [.*\.m]
CompileFlags:
Add: [-xobjective-c, --include=config.h]
26 changes: 16 additions & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,16 @@
/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 @graouts @marcoscaceres
/Source/WebCore/Modules/notifications @cdumez
/Source/WebCore/Modules/paymentrequest @marcoscaceres
/Source/WebCore/Modules/paymentrequest @aprotyas @marcoscaceres
/Source/WebCore/Modules/permissions @marcoscaceres
/Source/WebCore/Modules/screen-wake-lock @marcoscaceres
/Source/WebCore/Modules/web-locks @cdumez
Expand All @@ -123,9 +125,11 @@

/Source/WebCore/crypto/ @zdobersek

/LayoutTests/http/tests/paymentrequest @marcoscaceres
/LayoutTests/http/tests/paymentrequest @aprotyas @marcoscaceres
/LayoutTests/http/tests/ssl/applepay @aprotyas
/LayoutTests/http/tests/ssl/applepay-ams-ui @aprotyas
/LayoutTests/imported/w3c/web-platform-tests/geolocation-API @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/payment-request @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/payment-request @aprotyas @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/permissions @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/screen-orientation @marcoscaceres
/LayoutTests/imported/w3c/web-platform-tests/web-share @marcoscaceres
Expand All @@ -140,11 +144,14 @@
/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
/Source/WebKit/WebProcess @cdumez
/Source/WebKit/WebProcess/ApplePay @aprotyas
/Source/WebKit/WebProcess/Extensions @b-weinstein @xeenon
/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in @brentfulgham @pvollan

Expand Down Expand Up @@ -208,11 +215,10 @@ wpe/ @WebKit/glib-reviewers @zdobersek
# ================================================================================
# WebGPU

/Source/WebCore/Modules/webgpu @litherum @mwyrzykowski
/Source/WebCore/PAL/pal/graphics/WebGPU @litherum @mwyrzykowski
/Source/WebGPU @litherum @mwyrzykowski
/Source/WebKit/Shared/WebGPU @litherum @mwyrzykowski
/Source/WebKit/WebProcess/GPU/graphics/WebGPU @litherum @mwyrzykowski
/Source/WebKit/GPUProcess/graphics/WebGPU @litherum @mwyrzykowski
/Source/WebCore/Modules/webgpu @tadeuzagallo @mwyrzykowski
/Source/WebGPU @tadeuzagallo @mwyrzykowski
/Source/WebKit/Shared/WebGPU @tadeuzagallo @mwyrzykowski
/Source/WebKit/WebProcess/GPU/graphics/WebGPU @tadeuzagallo @mwyrzykowski
/Source/WebKit/GPUProcess/graphics/WebGPU @tadeuzagallo @mwyrzykowski

/Source/WebGPU/WGSL @litherum @djg @tadeuzagallo
/Source/WebGPU/WGSL @mwyrzykowski @djg @tadeuzagallo
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ project.xcworkspace
xcuserdata
DerivedData
.mailmap
results

# Ignore Buildstream local files
/Tools/buildstream/.bst
/Tools/buildstream/.venv
/Tools/buildstream/.bst2
/Tools/buildstream/cache
/Tools/buildstream/flatpak-version.yml
/Tools/buildstream/repo
Expand Down Expand Up @@ -71,3 +71,6 @@ Source/ThirdParty/ANGLE/parsetab.py

# Ignore user CMake presets
CMakeUserPresets.json

# Ignore BenchmarkTemp folder generated by run-jsc-benchmarks
BenchmarkTemp
5 changes: 5 additions & 0 deletions .submitproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[submitproject "filter"]
includedSubdirectoryPatterns = Configurations/
includedSubdirectoryPatterns = Source/
excludedSubdirectoryPatterns = Source/third_party/boringssl/src/util
excludedSubdirectoryPatterns = Source/webrtc/examples
16 changes: 8 additions & 8 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
{
"name": "release",
"hidden": true,
"binaryDir": "WebKitBuild/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": {
"type": "STRING",
Expand All @@ -20,7 +19,6 @@
{
"name": "debug",
"hidden": true,
"binaryDir": "WebKitBuild/Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": {
"type": "STRING",
Expand Down Expand Up @@ -60,22 +58,24 @@
{
"name": "gtk-release",
"displayName": "GTK Release",
"inherits": ["gtk", "release"]
"inherits": ["gtk", "release"],
"binaryDir": "WebKitBuild/GTK/Release"
},
{
"name": "gtk-debug",
"displayName": "GTK Debug",
"inherits": ["gtk", "debug"]
"inherits": ["gtk", "debug"],
"binaryDir": "WebKitBuild/GTK/Debug"
},
{
"name": "gtk-dev-release",
"displayName": "GTK Development Release",
"inherits": ["gtk", "dev", "release"]
"inherits": ["gtk-release", "dev"]
},
{
"name": "gtk-dev-debug",
"displayName": "GTK Development Debug",
"inherits": ["gtk", "dev", "debug"]
"inherits": ["gtk-debug", "dev"]
}
],
"buildPresets": [
Expand All @@ -91,12 +91,12 @@
},
{
"name": "gtk-dev-release",
"displayName": "GTK Dev Release",
"displayName": "GTK Development Release",
"configurePreset": "gtk-dev-release"
},
{
"name": "gtk-dev-debug",
"displayName": "GTK Dev Debug",
"displayName": "GTK Development Debug",
"configurePreset": "gtk-dev-debug"
}
]
Expand Down
3 changes: 3 additions & 0 deletions Configurations/CommonBase.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ OTHER_CPLUSPLUSFLAGS = $(inherited) $(WK_COMMON_OTHER_CPLUSPLUSFLAGS);
WK_COMMON_OTHER_LDFLAGS = $(WK_SANITIZER_OTHER_LDFLAGS);
OTHER_LDFLAGS = $(inherited) $(WK_COMMON_OTHER_LDFLAGS);

WK_COMMON_OTHER_TAPI_FLAGS = -x objective-c++ -std=c++2a -fno-rtti $(WK_SANITIZER_OTHER_TAPI_FLAGS);
OTHER_TAPI_FLAGS = $(inherited) $(WK_COMMON_OTHER_TAPI_FLAGS);

WK_COMMON_WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wextra -Wformat=2 -Wundef;
WARNING_CFLAGS = $(inherited) $(WK_COMMON_WARNING_CFLAGS);

Expand Down
16 changes: 12 additions & 4 deletions Configurations/SDKAdditions.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,21 @@
// FIXME: Add unversioned sparse SDKs for headers and framework stubs that we can share between OS versions.
//WK_HAS_UNVERSIONED_SDK_ADDITIONS = ;

WK_HAS_VERSIONED_SDK_ADDITIONS = YES;
WK_HAS_VERSIONED_SDK_ADDITIONS[sdk=macos*] = $(WK_HAS_VERSIONED_SDK_ADDITIONS_$(USE_INTERNAL_SDK);
WK_HAS_VERSIONED_SDK_ADDITIONS_ = $(WK_HAS_VERSIONED_SDK_ADDITIONS$(WK_MACOS_1400));
WK_HAS_VERSIONED_SDK_ADDITIONS_MACOS_SINCE_1400 = YES;
WK_HAS_VERSIONED_SDK_ADDITIONS = $(WK_NOT_$(USE_INTERNAL_SDK));
// Prior to Sonoma, downlevel macOS and STP builds link against AppleJPEGXL.framework.
WK_HAS_VERSIONED_SDK_ADDITIONS[sdk=macos*] = $(WK_HAS_VERSIONED_SDK_ADDITIONS$(WK_MACOS_1400));
WK_HAS_VERSIONED_SDK_ADDITIONS_MACOS_BEFORE_1400 = YES;
WK_HAS_VERSIONED_SDK_ADDITIONS_MACOS_SINCE_1400 = $(WK_NOT_$(USE_INTERNAL_SDK));

WK_ADDITIONAL_SDKS = $(WK_ADDITIONAL_SDKS_UNVERSIONED_$(WK_HAS_UNVERSIONED_SDK_ADDITIONS)_VERSIONED_$(WK_HAS_VERSIONED_SDK_ADDITIONS));
WK_ADDITIONAL_SDKS_UNVERSIONED__VERSIONED_ = ;
WK_ADDITIONAL_SDKS_UNVERSIONED__VERSIONED_YES = $(WK_VERSIONED_SDK_ADDITIONS_PATH);
WK_ADDITIONAL_SDKS_UNVERSIONED_YES_VERSIONED_ = $(WK_UNVERSIONED_SDK_ADDITIONS_PATH);
WK_ADDITIONAL_SDKS_UNVERSIONED_YES_VERSIONED_YES = $(WK_UNVERSIONED_SDK_ADDITIONS_PATH) $(WK_VERSIONED_SDK_ADDITIONS_PATH);

// The SDK directory where private frameworks are expected to be. Set to the base SDK when building
// internally or on macOS, and the additions SDK otherwise.
WK_PRIVATE_SDK_DIR = $(WK_PRIVATE_SDK_DIR_$(USE_INTERNAL_SDK));
WK_PRIVATE_SDK_DIR_ = $(SDK_DIR_WebKitSDKAdditions);
WK_PRIVATE_SDK_DIR_[sdk=macos*] = $(SDK_DIR);
WK_PRIVATE_SDK_DIR_YES = $(SDK_DIR);
20 changes: 16 additions & 4 deletions Configurations/Sanitizers.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,24 @@ WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Debug = 0;
WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Production = 1;
WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Release = 1;

WK_SANITIZER_OTHER_CFLAGS = $(WK_ANY_SANITIZER_CFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_ADDRESS_SANITIZER_OTHER_CFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER));
WK_SANITIZER_OTHER_CFLAGS = $(WK_ANY_SANITIZER_CFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_ADDRESS_SANITIZER_OTHER_CFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)) $(WK_LIBFUZZER_OTHER_CFLAGS_$(ENABLE_LIBFUZZER));

WK_SANITIZER_OTHER_CPLUSPLUSFLAGS = $(WK_ADDRESS_SANITIZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_ADDRESS_SANITIZER));
WK_SANITIZER_OTHER_CPLUSPLUSFLAGS = $(WK_ADDRESS_SANITIZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_LIBFUZZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_LIBFUZZER));

WK_SANITIZER_OTHER_LDFLAGS = $(WK_ANY_SANITIZER_LDFLAGS_$(WK_ANY_SANITIZER_ENABLED));
WK_SANITIZER_OTHER_LDFLAGS = $(WK_ANY_SANITIZER_LDFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_LIBFUZZER_OTHER_LDFLAGS_$(ENABLE_LIBFUZZER));

WK_SANITIZER_OTHER_TAPI_FLAGS = $(WK_SANITIZER_OTHER_TAPI_FLAGS_ASAN_$(ENABLE_ADDRESS_SANITIZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_LIBFUZZER_$(ENABLE_LIBFUZZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_TSAN_$(ENABLE_THREAD_SANITIZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_UBSAN_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER));
WK_SANITIZER_OTHER_TAPI_FLAGS_ASAN_YES = -Xparser -fsanitize=address;
WK_SANITIZER_OTHER_TAPI_FLAGS_LIBFUZZER_YES = -Xparser -fsanitize=fuzzer;
WK_SANITIZER_OTHER_TAPI_FLAGS_TSAN_YES = -Xparser -fsanitize=thread;
WK_SANITIZER_OTHER_TAPI_FLAGS_UBSAN_YES = -Xparser -fsanitize=undefined;

// All Sanitizers

// FIXME: Tell Xcode not to compile host-side tools with sanitizers enabled (see <rdar://99386433>).
// Workaround is to use `WK_SANITIZER_DISALLOWED = YES`.

WK_ANY_SANITIZER_ENABLED = $(WK_AND_$(WK_OR_$(ENABLE_ADDRESS_SANITIZER)_$(WK_OR_$(ENABLE_THREAD_SANITIZER)_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)))_$(WK_NOT_$(WK_SANITIZER_DISALLOWED)));
WK_ANY_SANITIZER_ENABLED = $(WK_AND_$(WK_OR_$(ENABLE_ADDRESS_SANITIZER)_$(WK_OR_$(ENABLE_THREAD_SANITIZER)_$(WK_OR_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)_$(ENABLE_LIBFUZZER))))_$(WK_NOT_$(WK_SANITIZER_DISALLOWED)));

// -DRELEASE_WITHOUT_OPTIMIZATIONS is from <wtf/Compiler.h>.
WK_ANY_SANITIZER_CFLAGS_YES = -DRELEASE_WITHOUT_OPTIMIZATIONS -fno-omit-frame-pointer -g;
Expand Down Expand Up @@ -82,3 +88,9 @@ WK_XCODE_VERSION_AFTER_13_3_1700 = YES;
// -fno-delete-null-pointer-checks: do not let the compiler remove nullptr checks that could otherwise be removed because they are considered undefined behavior.
// -fno-optimize-sibling-calls: disable tail call elimination for more accurate crash stacks.
WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_YES = -fno-delete-null-pointer-checks -fno-optimize-sibling-calls -fno-sanitize=vptr -fsanitize=enum,return;

// Libfuzzer

WK_LIBFUZZER_COVERAGE = inline-8bit-counters,trace-cmp;
WK_LIBFUZZER_OTHER_CFLAGS_YES = -fsanitize-coverage=$(WK_LIBFUZZER_COVERAGE) -Wno-error;
WK_LIBFUZZER_OTHER_LDFLAGS_YES = -fsanitize-coverage=$(WK_LIBFUZZER_COVERAGE);
4 changes: 2 additions & 2 deletions Configurations/Version.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MAJOR_VERSION = 616;
MAJOR_VERSION = 618;
MINOR_VERSION = 1;
TINY_VERSION = 22;
TINY_VERSION = 5;
MICRO_VERSION = 0;
NANO_VERSION = 0;
FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);
Expand Down
21 changes: 12 additions & 9 deletions Configurations/WebKitProjectPaths.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_YES = $(WK_INSTALL_PATH_PREF
WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_YES = "$(WK_OVERRIDE_FRAMEWORKS_DIR)";

// Set WK_CONFIGURATION_BUILD_DIR to customize the directory WebKit builds into
// without affecting other projects in the build request. Avoid $(inherited)
// due to rdar://118201428.
CONFIGURATION_BUILD_DIR = $(CONFIGURATION_BUILD_DIR_$(WK_EMPTY_$(WK_CONFIGURATION_BUILD_DIR)));
CONFIGURATION_BUILD_DIR_ = $(WK_CONFIGURATION_BUILD_DIR);
CONFIGURATION_BUILD_DIR_YES = $(CONFIGURATION_BUILD_DIR);

WK_LIBRARY_HEADERS_FOLDER_PATH = $(WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_NO = /usr/local/include;
WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_YES = /usr/local/include/safari-sdk;
Expand Down Expand Up @@ -74,26 +81,22 @@ WK_WEBKITADDITIONS_HEADERS_FOLDER_PATH = $(BUILT_PRODUCTS_DIR)$(WK_LIBRARY_HEADE
WK_WEBKITADDITIONS_HEADERS_FOLDER_PATH[config=Production] = $(SDK_DIR)$(WK_LIBRARY_HEADERS_FOLDER_PATH)/WebKitAdditions;

// The root directory of the workspace / WebKit repo is determined by how many directories up "Source" or "Tools" is from the SRCROOT.
WK_WORKSPACE_DIR = $(WK_WORKSPACE_DIR_1_$(SRCROOT:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_2_$(SRCROOT:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_3_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_4_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath);
WK_WORKSPACE_DIR = $(WK_WORKSPACE_DIR_1_$(SRCROOT:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_2_$(SRCROOT:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_3_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_4_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_5_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath)$(WK_WORKSPACE_DIR_6_$(SRCROOT:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:dir:standardizepath:file):standardizepath);
WK_WORKSPACE_DIR_1_Source = $(SRCROOT)/../..;
WK_WORKSPACE_DIR_1_Tools = $(SRCROOT)/../..;
WK_WORKSPACE_DIR_2_Source = $(SRCROOT)/../../..;
WK_WORKSPACE_DIR_2_Tools = $(SRCROOT)/../../..;
WK_WORKSPACE_DIR_3_Source = $(SRCROOT)/../../../..;
WK_WORKSPACE_DIR_4_Source = $(SRCROOT)/../../../../..;

WK_PRIVATE_FRAMEWORK_STUBS_DIR = $(WK_PRIVATE_FRAMEWORK_STUBS_DIR_$(USE_INTERNAL_SDK));
WK_PRIVATE_FRAMEWORK_STUBS_DIR_[sdk=macos*] = $(WK_WORKSPACE_DIR)/WebKitLibraries/WebKitPrivateFrameworkStubs/Mac/$(TARGET_MAC_OS_X_VERSION_MAJOR);
WK_PRIVATE_FRAMEWORK_STUBS_DIR_[sdk=iphone*] = $(WK_WORKSPACE_DIR)/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/$(WK_TARGET_IOS_VERSION_MAJOR);
WK_PRIVATE_FRAMEWORK_STUBS_DIR_[sdk=appletv*] = $(WK_WORKSPACE_DIR)/WebKitLibraries/WebKitPrivateFrameworkStubs/appletvos/$(WK_TARGET_TVOS_VERSION_MAJOR);
WK_PRIVATE_FRAMEWORK_STUBS_DIR_[sdk=watch*] = $(WK_WORKSPACE_DIR)/WebKitLibraries/WebKitPrivateFrameworkStubs/watchos/$(WK_TARGET_WATCHOS_VERSION_MAJOR);
WK_WORKSPACE_DIR_5_Source = $(SRCROOT)/../../../../../..;
WK_WORKSPACE_DIR_6_Source = $(SRCROOT)/../../../../../../..;

WK_DOWNLEVEL_FRAMEWORK_STUBS_DIR[sdk=macos*] = $(WK_DOWNLEVEL_FRAMEWORK_STUBS_DIR$(WK_MACOS_1400);
WK_DOWNLEVEL_FRAMEWORK_STUBS_DIR_MACOS_BEFORE_1400 = $(WK_WORKSPACE_DIR)/WebKitLibraries/DownlevelFrameworkStubs/$(TARGET_MAC_OS_X_VERSION_MAJOR);

WK_VERSIONED_SDK_ADDITIONS_PATH = $(WK_VERSIONED_SDK_ADDITIONS_PATH_$(USE_INTERNAL_SDK));
WK_VERSIONED_SDK_ADDITIONS_PATH_ = $(WK_WORKSPACE_DIR)/WebKitLibraries/SDKs/$(PLATFORM_NAME)$($(DEPLOYMENT_TARGET_SETTING_NAME):base).0-additions.sdk;
WK_VERSIONED_SDK_ADDITIONS_PATH_YES = $(WK_WORKSPACE_DIR)/WebKitLibraries/SDKs/$(PLATFORM_NAME)$($(DEPLOYMENT_TARGET_SETTING_NAME):base).0.internal-additions.sdk;
WK_VERSIONED_SDK_ADDITIONS_PATH_ = $(WK_WORKSPACE_DIR)/WebKitLibraries/SDKs/$(PLATFORM_NAME)$($(DEPLOYMENT_TARGET_SETTING_NAME):base:base).0-additions.sdk;
WK_VERSIONED_SDK_ADDITIONS_PATH_YES = $(WK_WORKSPACE_DIR)/WebKitLibraries/SDKs/$(PLATFORM_NAME)$($(DEPLOYMENT_TARGET_SETTING_NAME):base:base).0.internal-additions.sdk;

WTF_BUILD_SCRIPTS_DIR = $(WTF_BUILD_SCRIPTS_DIR_$(CONFIGURATION));
WTF_BUILD_SCRIPTS_DIR_Release = $(WTF_BUILD_SCRIPTS_DIR_engineering);
Expand Down
3 changes: 2 additions & 1 deletion JSTests/ChakraCore/test/Closures/bug_OS_2299723.baseline-jsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
eval('var x = 5') threw 'Can't create duplicate variable in eval: 'x''
x: 5
eval('var y = 5') threw 'Attempted to assign to readonly property.'
eval('var y = 5') threw 'Can't create duplicate variable in eval: 'y''
eval('y = 5') threw 'Attempted to assign to readonly property.'
y: 1
2 changes: 1 addition & 1 deletion JSTests/ChakraCore/test/LetConst/r.baseline-jsc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ReferenceError: Can't find variable: x
SyntaxError: Unexpected number '0'. Parse error.
SyntaxError: Unexpected number '0'
3 changes: 2 additions & 1 deletion JSTests/ChakraCore/test/Lib/noargs_2.baseline-jsc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ encodeURI = undefined
decodeURIComponent = undefined
encodeURIComponent = undefined
Object = [object Object]
Function = function anonymous() {
Function = function anonymous(
) {

}
Array =
Expand Down
2 changes: 1 addition & 1 deletion JSTests/ChakraCore/test/es5/exceptions3.baseline-jsc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ undefined.toString(); -expected: es3, es5 TypeError ::: TypeError: undefined i
null.anchor();; -expected: es3, es5 TypeError ::: TypeError: null is not an object (evaluating 'null.anchor')
NaN.anchor();; -expected: es3, es5 TypeError ::: TypeError: NaN.anchor is not a function. (In 'NaN.anchor()', 'NaN.anchor' is undefined)
true.anchor();; -expected: es3, es5 TypeError ::: TypeError: true.anchor is not a function. (In 'true.anchor()', 'true.anchor' is undefined)
new Array(12.4) - RangeError exception: expected in es3 and es5::: RangeError: Array size is not a small enough positive integer.
new Array(12.4) - RangeError exception: expected in es3 and es5::: RangeError: Array length must be a positive integer of safe magnitude.
new Array(12.4); x.length = 12.5; - RangeError exception: es5-expected, ES3-not expected ::: RangeError: Invalid array length
(123.45).toFixed(25); - no exception: not expected es3, es5
(123.45).toExponential(-25); - RangeError exception : expected es3, es5 ::: RangeError: toExponential() argument must be between 0 and 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ bar = 42
slice
byteLength
resize
transfer
transferToFixedLength
resizable
maxByteLength
detached
constructor
aaa
foo
Expand All @@ -23,8 +26,11 @@ bar = 42
slice
byteLength
resize
transfer
transferToFixedLength
resizable
maxByteLength
detached
constructor
aaa
foo
Expand Down
13 changes: 13 additions & 0 deletions JSTests/microbenchmarks/array-filter-inline.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var array = [];
for (var i = 0; i < 1000; ++i)
array.push(i);

function test(array)
{
return array.filter((value) => value < 1e5);
}
noInline(test);

for (var i = 0; i < 1e4; ++i) {
test(array);
}
4 changes: 4 additions & 0 deletions JSTests/microbenchmarks/array-from-array.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var a1 = new Array(1024);
a1.fill(99);
for (var i = 0; i < 1e2; ++i)
var a2 = Array.from(a1);
2 changes: 1 addition & 1 deletion JSTests/microbenchmarks/array-from-derived-object-func.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ $skipModes << :lockdown if $buildType == "debug"
//@ $skipModes << :lockdown if ($buildType == "debug") or ($architecture == "mips")

function shouldBe(actual, expected) {
if (actual !== expected)
Expand Down
22 changes: 22 additions & 0 deletions JSTests/microbenchmarks/custom-accessor-thin-air-setter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function assert(b) {
if (!b)
throw new Error;
}

function test5() {
function set(o, value) {
o.customAccessor = value;
}
noInline(set);

const o = $vm.createCustomTestGetterSetter();

for (let i = 0; i < 500000; ++i) {
set(o, 1337);
}
for (let i = 0; i < 500000; ++i) {
set(o, 1337);
}
}
test5();
Loading
Loading