Repository navigation
New concur - #2
Closed
mikhailramalho wants to merge 6 commits into
Closed
mikhailramalho wants to merge 6 commits into
mikhailramalho wants to merge 6 commits into
Conversation
Signed-off-by: Mikhail R. Gadelha <[email protected]>
Signed-off-by: Mikhail R. Gadelha <[email protected]>
Signed-off-by: Mikhail R. Gadelha <[email protected]>
Signed-off-by: Mikhail R. Gadelha <[email protected]>
Signed-off-by: Mikhail R. Gadelha <[email protected]>
mikhailramalho
pushed a commit
that referenced
this pull request
Jul 1, 2022
…ve horizontal margin when text-align has non-initial value. https://bugs.webkit.org/show_bug.cgi?id=242057 <rdar://problem/96060962> Reviewed by Antti Koivisto. In normal cases (assume initial direction/writing mode) 1. the right edge of the content is to the right of the line start 2. "right edge of the content" - "left edge of the content" == content width (essentially content right == content width). <div><img>this content is to the right of the image and the line start</div> However negative horizontal margin may produce a line where the right edge of the content is to the left of the line. <div><img style="margin-right: -1000px">this content is to the left of the image and the line start</div> In such cases the content width is not #2 anymore i.e. negative margin does not shrink the content width (in the above case, the content width is the img width and not 0 or some negative value). This patch ensures that we use the content edge to align the content. * LayoutTests/fast/inline/negative-margin-with-text-align-expected.html: Added. * LayoutTests/fast/inline/negative-margin-with-text-align.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: (WebCore::Layout::horizontalAlignmentOffset): Canonical link: https://commits.webkit.org/251954@main
Signed-off-by: Mikhail R. Gadelha <[email protected]>
mikhailramalho
pushed a commit
that referenced
this pull request
Nov 22, 2022
…a rejected promise https://bugs.webkit.org/show_bug.cgi?id=247785 rdar://102325201 Reviewed by Yusuke Suzuki. Rest parameter should be caught in async function. So, running this JavaScript program should print "caught". ``` async function f(...[[]]) { } f().catch(e => print("caught")); ``` V8 (used console.log) ``` $ node input.js caught ``` GraalJS ``` $ js input.js caught ``` https://tc39.es/ecma262/#sec-async-function-definitions ... AsyncFunctionDeclaration[Yield, Await, Default] : async [no LineTerminator here] function BindingIdentifier[?Yield, ?Await] ( FormalParameters[~Yield, +Await] ) { AsyncFunctionBody } [+Default] async [no LineTerminator here] function ( FormalParameters[~Yield, +Await] ) { AsyncFunctionBody } AsyncFunctionExpression : async [no LineTerminator here] function BindingIdentifier[~Yield, +Await]opt ( FormalParameters[~Yield, +Await] ) { AsyncFunctionBody } ... According to the spec, it indicates `FormalParameters` is used for Async Function, where `FormalParameters` can be converted to `FunctionRestParameter`. https://tc39.es/ecma262/#sec-parameter-lists ... FormalParameters[Yield, Await] : [empty] FunctionRestParameter[?Yield, ?Await] FormalParameterList[?Yield, ?Await] FormalParameterList[?Yield, ?Await] , FormalParameterList[?Yield, ?Await] , FunctionRestParameter[?Yield, ?Await] ... And based on RS: EvaluateAsyncFunctionBody, it will invoke the promise.reject callback function with abrupt value ([[value]] of non-normal completion record). https://tc39.es/ecma262/#sec-runtime-semantics-evaluateasyncfunctionbody ... 2. Let declResult be Completion(FunctionDeclarationInstantiation(functionObject, argumentsList)). 3. If declResult is an abrupt completion, then a. Perform ! Call(promiseCapability.[[Reject]], undefined, « declResult.[[Value]] »). ... In that case, any non-normal results of evaluating rest parameters should be caught and passed to the reject callback function. To resolve this problem, we should allow the emitted RestParameterNode be wrapped by the catch handler for promise. However, we should remove `m_restParameter` and emit rest parameter byte code in `initializeDefaultParameterValuesAndSetupFunctionScopeStack` if we can prove that change has no side effect. In that case, we can only use one exception handler. Current fix is to add another exception handler. And move the handler byte codes to the bottom of code block in order to make other byte codes as much compact as possible. Input: ``` async function f(arg0, ...[[]]) { } f(); ``` Dumped Byte Codes: ``` ... bb#2 Predecessors: [ #1 ] [ 20] mov dst:loc9, src:<JSValue()>(const0) ... bb#3 Predecessors: [ #2 ] [ 29] get_rest_length dst:loc11, numParametersToSkip:1 ... bb#12 Predecessors: [ WebKit#8 WebKit#9 WebKit#10 ] [ 138] new_func_exp dst:loc10, scope:loc4, functionDecl:0 ... bb#13 Predecessors: [ ] [ 170] catch exception:loc10, thrownValue:loc8 [ 174] jmp targetLabel:8(->182) Successors: [ WebKit#15 ] bb#14 Predecessors: [ WebKit#7 WebKit#11 ] [ 176] catch exception:loc10, thrownValue:loc8 [ 180] jmp targetLabel:2(->182) Successors: [ WebKit#15 ] bb#15 Predecessors: [ WebKit#13 WebKit#14 ] [ 182] mov dst:loc12, src:Undefined(const1) ... Exception Handlers: 1: { start: [ 20] end: [ 29] target: [ 170] } synthesized catch 2: { start: [ 29] end: [ 138] target: [ 176] } synthesized catch ``` * JSTests/stress/catch-rest-parameter.js: Added. (throwError): (shouldThrow): (async f): (throwError.async f): (throwError.async let): (async let): (x.async f): (x): (async shouldThrow): * Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::initializeDefaultParameterValuesAndSetupFunctionScopeStack): * Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h: Canonical link: https://commits.webkit.org/256864@main
mikhailramalho
pushed a commit
that referenced
this pull request
Dec 17, 2022
https://bugs.webkit.org/show_bug.cgi?id=248506 Reviewed by Antti Koivisto. 1. Do not set "layout bounds" on non-inline boxes (spec agrees here) 2. Make sure hard line breaks still stretch their parent inline boxes when applicable Current behavior: 1. Line break box gets computed layout bounds 2. When the line break box affects the line box, we stretch the line by the computed layout bounds value Patch behavior: 1. Line break box makes the parent inline box "contentful" when applicable (this is the same as #2 at current behavior) 2. The "contentful" inline box (mostly the root inline box) stretches the line box by the computed layout bounds. It makes break box behave like regular "text content", where the content indirectly affects the line box height. This patch is also in preparation for supporting text-edge, where text-edge affects the layout bounds value. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp: (WebCore::Layout::InlineFormattingGeometry::inlineLevelBoxAffectsLineBox const): * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h: * Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp: (WebCore::Layout::InlineFormattingQuirks::lineBreakBoxAffectsParentInlineBox): (WebCore::Layout::InlineFormattingQuirks::inlineBoxAffectsLineBox const): (WebCore::Layout::InlineFormattingQuirks::inlineLevelBoxAffectsLineBox const): Deleted. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.h: * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: (WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const): (WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes): (WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable): * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxVerticalAligner.cpp: (WebCore::Layout::LineBoxVerticalAligner::computeLineBoxLogicalHeight const): (WebCore::Layout::LineBoxVerticalAligner::computeRootInlineBoxVerticalPosition const): Canonical link: https://commits.webkit.org/257288@main
mikhailramalho
pushed a commit
that referenced
this pull request
Jan 23, 2023
https://bugs.webkit.org/show_bug.cgi?id=250196 rdar://98798050 Reviewed by Simon Fraser and Dean Jackson. WebKit has long accidentally depended on the combination of two somewhat unusual behavioral quirks in CGIOSurfaceContext: 1) (Source) If you make a CGImageRef from one CGIOSurfaceContext via CGIOSurfaceContextCreateImage, and mutate the original IOSurface under the hood (or in a different process) in a way that CGIOSurfaceContext does not know, CGIOSurfaceContextCreateImage will return the same CGImageRef when called later. 2) (Destination) If you make a CGImageRef from one CGIOSurfaceContext via CGIOSurfaceContextCreateImage, paint it into a different CGIOSurfaceContext, then mutate the original IOSurface, and paint the same CGImageRef again, the updated IOSurface contents will be used the second time. The second quirk has never worked with unaccelerated CoreGraphics bitmap context destinations. Instead, in the unaccelerated case, the CGImageRef acts as a snapshot of the surface at the time it was created. We've long had code to handle this, forcing CGIOSurfaceContextCreateImage to re-create the CGImageRef each time we paint it (by drawing an empty rect into the CGIOSurfaceContext), working around quirk #1 and thus bypassing quirk #2, if we're painting into an unaccelerated backing store. It turns out our CG display list backing store implementation behaves like a CG bitmap context (without quirk #2), and so currently any IOSurfaces painted into CG display list backing store from a CGImageRef created by CGIOSurfaceContextCreateImage (but not -CreateImageReference) become stale if painted multiple times. To avoid this, extend the workaround to apply to any destination context that claims that it needs the workaround, and use it whenever painting an IOSurface into anything other than a CGIOSurfaceContext. * Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp: (WebCore::BifurcatedGraphicsContext::needsCachedNativeImageInvalidationWorkaround): * Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h: Make BifurcatedGraphicsContext assume the more conservative mode of its two children. * Source/WebCore/platform/graphics/GraphicsContext.h: (WebCore::GraphicsContext::needsCachedNativeImageInvalidationWorkaround): Assume that by default, GraphicsContexts need the workaround. * Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContextCG::needsCachedNativeImageInvalidationWorkaround): * Source/WebCore/platform/graphics/cg/GraphicsContextCG.h: GraphicsContextCG needs the workaround, except in the IOSurface->IOSurface case. * Source/WebCore/platform/graphics/cg/ImageBufferIOSurfaceBackend.cpp: (WebCore::ImageBufferIOSurfaceBackend::finalizeDrawIntoContext): Confer with the GraphicsContext about its need for the workaround instead of hardcoding the behavior here. * Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.mm: CG display list graphics contexts need the workaround. Canonical link: https://commits.webkit.org/258586@main
mikhailramalho
pushed a commit
that referenced
this pull request
Jan 31, 2023
https://bugs.webkit.org/show_bug.cgi?id=251063 rdar://104585575 Reviewed by Mark Lam and Justin Michaud. This patch enhances CallFrame::dump to support wasm frames in btjs stacktrace. The example is as follows. frame #0: 0x00000001035fca78 JavaScriptCore`JSC::functionBreakpoint(globalObject=0x000000012f410068, callFrame=0x000000016fdfa9d0) at JSDollarVM.cpp:2273:9 [opt] frame #1: 0x000000010ec44204 0x10eccc5dc frame #2: 0x000000010eccc5dc callback#Dwaxn6 [Baseline bc#50](Undefined) frame #3: 0x000000010ec4ca84 wasm-stub [WasmToJS](Wasm::Instance: 0x10d29da40) frame #4: 0x000000010ed0c060 <?>.wasm-function[1] [OMG](Wasm::Instance: 0x10d29da40) frame #5: 0x000000010ed100d0 jsToWasm#CWTx6k [FTL bc#22](Cell[JSModuleEnvironment]: 0x12f524540, Cell[WebAssemblyFunction]: 0x10d06a3a8, 1, 2, 3) frame WebKit#6: 0x000000010ec881b0 #D5ymZE [Baseline bc#733](Undefined, Cell[Generator]: 0x12f55c180, 1, Cell[Object]: 0x12f69dfc0, 0, Cell[JSLexicalEnvironment]: 0x12f52cee0) frame WebKit#7: 0x000000010ec3c008 asyncFunctionResume#A4ayYg [LLInt bc#49](Undefined, Cell[Generator]: 0x12f55c180, Cell[Object]: 0x12f69dfc0, 0) frame WebKit#8: 0x000000010ec3c008 promiseReactionJobWithoutPromise#D0yDF1 [LLInt bc#25](Undefined, Cell[Function]: 0x12f44f3c0, Cell[Object]: 0x12f69dfc0, Cell[Generator]: 0x12f55c180) frame WebKit#9: 0x000000010ec80ec0 promiseReactionJob#EdShZz [Baseline bc#74](Undefined, Undefined, Cell[Function]: 0x12f44f3c0, Cell[Object]: 0x12f69dfc0, Cell[Generator]: 0x12f55c180) frame WebKit#10: 0x000000010ec3c728 frame WebKit#11: 0x0000000103137560 JavaScriptCore`JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) [inlined] JSC::JITCode::execute(this=<unavailable>, vm=<unavailable>, protoCallFrame=<unavailable>) at JITCodeInlines.h:42:38 [opt] frame WebKit#12: 0x0000000103137524 JavaScriptCore`JSC::Interpreter::executeCall(this=<unavailable>, lexicalGlobalObject=<unavailable>, function=<unavailable>, callData=<unavailable>, thisValue=<unavailable>, args=<unavailable>) at Interpreter.cpp:1093:27 [opt] frame WebKit#13: 0x000000010349d6d0 JavaScriptCore`JSC::runJSMicrotask(globalObject=0x000000012f410068, identifier=(m_identifier = 81), job=JSValue @ x22, argument0=JSValue @ x26, argument1=JSValue @ x25, argument2=<unavailable>, argument3=<unavailable>) at JSMicrotask.cpp:98:9 [opt] frame WebKit#14: 0x00000001039dfc54 JavaScriptCore`JSC::VM::drainMicrotasks() (.cold.1) at VM.cpp:0:9 [opt] frame WebKit#15: 0x00000001035e58a4 JavaScriptCore`JSC::VM::drainMicrotasks() [inlined] JSC::MicrotaskQueue::dequeue(this=<unavailable>) at VM.cpp:0:9 [opt] frame WebKit#16: 0x00000001035e5894 JavaScriptCore`JSC::VM::drainMicrotasks(this=0x000000012f000000) at VM.cpp:1255:46 [opt] ... * Source/JavaScriptCore/interpreter/CallFrame.cpp: (JSC::CallFrame::dump const): Canonical link: https://commits.webkit.org/259262@main
webkit-commit-queue
pushed a commit
that referenced
this pull request
Feb 18, 2023
https://bugs.webkit.org/show_bug.cgi?id=252379 <rdar://104303475> Reviewed by Antti Koivisto. While display boxes are positioned based on margin boxes, the left/right side of a display box do not include these margins. e.g. [display box #1]<- 100px margin ->[display box #2] width: 50px width: 50px margin-right: 100px; display box #1's right: 50px display box #2's left: 150px This patch makes sure when we place an out-of-flow box next to display box #1, we put it at 150px and not at 50px. * LayoutTests/fast/inline/out-of-flow-inline-with-previous-next-margin-expected.html: Added. * LayoutTests/fast/inline/out-of-flow-inline-with-previous-next-margin.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp: (WebCore::Layout::InlineFormattingGeometry::staticPositionForOutOfFlowInlineLevelBox const): Canonical link: https://commits.webkit.org/260380@main
webkit-early-warning-system
pushed a commit
that referenced
this pull request
Feb 28, 2023
https://bugs.webkit.org/show_bug.cgi?id=252824 rdar://105833316 Reviewed by Keith Miller. Every function starts with the same 3 opcodes: ``` op_enter op_get_scope loc4 op_check_traps ``` This patch changes `op_enter` to also get the scope and checks for VM traps. This reduces the prologue overhead by 3 bytes. The one complication is recursive tail calls. Previously we inserted a basic block right after op_enter, and recursive tail calls entered at opcode #2 (op_get_scope). Now, in DFG, we have to enter in the middle of op_enter, which is fine, but we can no longer lazily search for the basic block when we detect a recursive tail call, so we keep track of the target block for recursive tail calls in InlineStackEntry. * Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::allocateScope): (JSC::BytecodeGenerator::allocateAndEmitScope): Deleted. * Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h: * Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::handleRecursiveTailCall): (JSC::DFG::ByteCodeParser::handleGetScope): (JSC::DFG::ByteCodeParser::handleCheckTraps): (JSC::DFG::ByteCodeParser::parseBlock): * Source/JavaScriptCore/jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases): * Source/JavaScriptCore/jit/JIT.h: * Source/JavaScriptCore/jit/JITOpcodes.cpp: (JSC::JIT::emitGetScope): (JSC::JIT::emitCheckTraps): (JSC::JIT::emit_op_enter): (JSC::JIT::emit_op_get_scope): (JSC::JIT::emit_op_check_traps): (JSC::JIT::emitSlow_op_enter): * Source/JavaScriptCore/llint/LowLevelInterpreter.asm: * Source/JavaScriptCore/llint/LowLevelInterpreter64.asm: * Source/JavaScriptCore/runtime/CommonSlowPaths.cpp: (JSC::JSC_DEFINE_COMMON_SLOW_PATH): Canonical link: https://commits.webkit.org/260787@main
mikhailramalho
pushed a commit
that referenced
this pull request
Jul 13, 2023
https://bugs.webkit.org/show_bug.cgi?id=253812 Reviewed by Don Olmstead. We no longer need DLLLauncherMain.cpp since Apple Windows port was removed. It made CMake scripts complicated and the missing required DLL error message useless. There are three ways to do it: 1. Copy all DLL files of WebKitRequirements to the output directory during the build process. This makes the size of a built product archive big. 2. Runner scripts (run-webkit-tests and run-jsc etc) set PATH. Apple ports do the same for DYLD_FRAMEWORK_PATH. 3. Windows port developers manually set PATH to "WebKitLibraries\win\bin64" before running executables. As well as they had to set WEBKIT_LIBRARIES env var so far. This patch takes approach #2. * Source/JavaScriptCore/jsc.cpp: (jscmain): (dllLauncherEntryPoint): Deleted. * Source/JavaScriptCore/shell/DLLLauncherMain.cpp: Removed. * Source/JavaScriptCore/shell/PlatformWin.cmake: * Source/WebDriver/PlatformWin.cmake: * Source/WebDriver/WebDriverMain.cpp: (main): (dllLauncherEntryPoint): Deleted. * Source/cmake/WebKitMacros.cmake: * Tools/ImageDiff/ImageDiff.cpp: (main): (dllLauncherEntryPoint): Deleted. * Tools/ImageDiff/PlatformWin.cmake: * Tools/MiniBrowser/win/CMakeLists.txt: * Tools/MiniBrowser/win/Common.cpp: (DllMain): Deleted. * Tools/MiniBrowser/win/WinMain.cpp: (wWinMain): (dllLauncherEntryPoint): Deleted. * Tools/Scripts/run-javascriptcore-tests: * Tools/Scripts/run-jsc: * Tools/Scripts/webkitdirs.pm: (setupWindowsWebKitEnvironment): * Tools/Scripts/webkitpy/port/win.py: (WinPort.setup_environ_for_server): * Tools/TestWebKitAPI/PlatformWin.cmake: * Tools/TestWebKitAPI/win/main.cpp: (main): (dllLauncherEntryPoint): Deleted. * Tools/WebKitTestRunner/PlatformWin.cmake: * Tools/WebKitTestRunner/win/main.cpp: (main): (dllLauncherEntryPoint): Deleted. * Tools/win/DLLLauncher/DLLLauncherMain.cpp: Removed. Canonical link: https://commits.webkit.org/265819@main
webkit-commit-queue
pushed a commit
that referenced
this pull request
Mar 11, 2024
https://bugs.webkit.org/show_bug.cgi?id=270565 rdar://problem/124126629 Reviewed by Antti Koivisto Contains upstream commits: git log --oneline acba61cb3e27f15b56ca781813efa357b9ca0f1f..b2773c110f641869afbb1e3b2ae4651dcfd1b1b2 --pretty=%h %s b2773c110f Vulkan: Bug fix in immutable sampler pipeline layout recreation 3c08d69612 CL: Add DEVICE_NOT_FOUND case for context creation f044aaf821 Vulkan: Create instance/device without access to Display 47cd0529f1 Fix assert invoking #line during macro invocation 27423bffff Metal: Generate names for rewritten inputs 2ad7b23b13 Add a missing #include. 545e3f6e11 Vulkan: Decouple RendererVk from egl::BlobCache 95294b2468 Android: Add Galaxy S22 support (Xclipse) 5678ad09aa Roll Chromium from 43d81add625d to 632158ced47e (570 revisions) 0ad73958dc Deduplicate and fix ConstStrLen implementations 258b751f57 OpenCL/Vulkan: Fix processedOptions whitespace b978974d98 Update frontend support for QCOM foveated extensions 3fa8d578ad Make appendDecimal use the last char of the buffer 39040b0b89 Vulkan: Decouple RendererVk from EGL attributes 4e6fe5e0db Vulkan: Cache ImageLoadContext in context 871a309c72 Fix layout(index=) parse assert on es 100 shaders ec6d628863 egl: Add logic to select preferred display 799997d427 Roll Chromium from 40412b90c691 to 43d81add625d (324 revisions) fc440afa62 Vulkan: Move DS builder class to Vk utils f85b6970a9 OpenCL/Vulkan: Implement program get[Build]Info 0ed0de4f0b OpenCL/Vulkan: Add initial program build support 1c2d2417c9 Bugfix in CreateWithEGLConfig1010102Support test f26c8d0874 Roll VK-GL-CTS from d023c17ac299 to 1918ab4d4806 (13 revisions) 21381f5e1c Roll Chromium from 6b34297e693d to 40412b90c691 (533 revisions) 2ee295b475 Vulkan: Add per-level image update tracker 1ceddbf697 OpenCL/Vulkan: Add createProgram routines f7cd1c5606 Tests: Add Toca Life World trace 56a291e819 Rework external image capture 8142dde7f4 Tests: Add Pokemon Masters Ex trace b45b350ade Add skip for Pokemon Masters Ex validation warning 69f5e9ca60 Roll vulkan-deps from f43c5512f6d7 to 12f9cddb3ff7 (6 revisions) 19e725e49c Roll Chromium from 579e74402476 to 6b34297e693d (578 revisions) 4d36224267 Vulkan: Remove call to angle::GetSystemInfo() cdf6220c28 Reland "Vulkan: Feature addition for QCOM foveated rendering extensions" a971e5b42e Account for zero vector axes in Mat4::Rotate(...) 434a5b0170 Fix #2 upload_results_to_perf_dashboard usage 057db6ef57 Add ANGLE experimental S22 build and test f8dac42e95 Fix upload_results_to_perf_dashboard usage dbbcf33eeb Roll vulkan-deps from 28960bf4a098 to f43c5512f6d7 (13 revisions) d334a6f265 Roll Chromium from cc3c5664ec19 to 579e74402476 (619 revisions) a627dd8976 Revert "Vulkan: Feature addition for QCOM foveated rendering extensions" 6eaaad7c60 Create ImageHelper. 75c8ef1c63 Update cached component type masks on attachment redefinitions 6f2daf0588 Context: Limit max vtx uniform vectors to 256 during capture 2fb425d284 Roll vulkan-deps from dd6c2371c85d to 28960bf4a098 (10 revisions) b0215166ed Roll SwiftShader from 0f69b790c7a4 to bbe6452b420c (1 revision) 9100f2ec79 Roll Chromium from 16b5225bad88 to cc3c5664ec19 (580 revisions) f0af4730d9 Vulkan: Catch misuse of AddToPNextChain 72cf9915f5 Vulkan: Feature addition for QCOM foveated rendering extensions 0afcac60ed Handle count = 0 in DrawElementsIndirect 3c517e457a Vulkan: Process ClearEmulatedChannels update first 38cc4cf099 Vulkan: Update flushStagedUpdate to use switchcase 58c20052bb Fix build error when git history not fully available d354c4dca1 Roll VK-GL-CTS from d15e5faec700 to d023c17ac299 (1 revision) 425be99db6 Roll vulkan-deps from 602ab4120d74 to dd6c2371c85d (8 revisions) 1fe63fecab Roll SwiftShader from eb75201a4e03 to 0f69b790c7a4 (1 revision) 834ca37fa6 Roll Chromium from b54ff9b1d5ed to 16b5225bad88 (644 revisions) Canonical link: https://commits.webkit.org/275754@main
mikhailramalho
pushed a commit
that referenced
this pull request
Apr 24, 2024
https://bugs.webkit.org/show_bug.cgi?id=272023 rdar://problem/125776346 Reviewed by Dan Glastonbury Contains upstream commits: git log --oneline f431641a948660f5e1709aa7cd89b16ccf93f1de..3ed8c5f4314708d3078950620b135722eada60bf --pretty=%h %s 3ed8c5f431 Android: workaround broken run-as due to /data permissions 96f443295f Revert "Remove few redundant ImmutableString to std::string conversions" ee02014d87 Selectively wait for LinkSubTasks 16fef70f84 Vulkan: Refactor imageless framebuffer creation 1bd82319c7 Add RenderTargetWgpu a53bd62a90 Disable MSRTSS on QCOM 33a09305f1 Metal: Remove work texture and work buffer from ContextMtl 0197826bba Revert "Add conversion operator from ImmutableString to std::string" 9ae4a2f4b7 Roll Chromium from babb076716bc to 532d52d6ecb3 (627 revisions) ad013650bb Revert "Rename LinkSubTask -> PostLinkTask" 8899e18dc6 Add skip conditions for a few tests f3a819f1bc Context: Limit max texture size for ANGLE captures 6c37973311 Add more helper methods for textures. a69c56fa88 Pin build until Skia is able to build with ToT abseil. da8fa1b615 Roll Chromium from 42826620a07f to babb076716bc (4096 revisions) 07137f571a Add ImageHelper to TextureWgpu 8c0dae388b Add conversion operator from ImmutableString to std::string ed97adba3d Add more RGB-to-RGBA byte loading functions 00eb6edba0 Rename LinkSubTask -> PostLinkTask 042b430c63 Support the wgpu backend on Windows 96f66089c2 Tests: Update color values for Unsized/Unsigned in texture tests f8b185771b Set the Dawn proc addresses at in DisplayWgpu initialization 7047d8205c win-trace (capture_replay_tests): cleanup after replay 21b5c32113 Pin abseil-cpp until Skia is able to build with ToT abseil. a3dff4ed6e third_party/clspv: Disable the warnings on build efd41bd207 Vulkan: Rename ResourceVk.* to vk_resource.* e3aac00be1 Vulkan: only request OPAQUE compositeAlpha on Android if no alpha 914fe61bc6 Vulkan: Rename RendererVk.* to vk_renderer.* 1fc548c115 Vulkan: enable recordable bit for RGB8 ebb94b807f Remove few redundant ImmutableString to std::string conversions 7cb518bc22 Reset shader images modified during trace 7506a0cdc0 Tests: update QDC expectations after crrev.com/c/5372826 2f934a47e9 libstdc++: replace std::powf with std:pow 6e6d6b2983 Roll vulkan-deps from fa1e68dabb91 to ba66ec69216d (8 revisions) d2cef82a8f Vulkan: Use fragment shading rate access flags 6d5690036a Vulkan: Deduplicate merge to Renderer's pipeline cache 490ff869e9 Always redeclare clip/cull distance built-ins f4ecbe6f13 Use Dawn's abseil build files when wgpu is enabled. afbfebcaaf Reland "Manual roll VK-GL-CTS from 87353392d2d2 to ec9827528085 (9 revisions)" 92b8fc6889 Revert "Manual roll VK-GL-CTS from 87353392d2d2 to ec9827528085 (9 revisions)" f8021cfa91 Manual roll vulkan-deps from 91aab7b7e25f to fa1e68dabb91 (27 revisions) 8080a736f1 Manual roll VK-GL-CTS from 87353392d2d2 to ec9827528085 (9 revisions) 21d124c4bf Vulkan: Remove support for pipeline cache control 553e3c8038 Vulkan: Async compile pipelines with different surface rotations 58065d0766 Vulkan: Add test that destroys view after the image c5f7bbeb11 Make ImmutableString::beginsWith constexpr 21ef298e33 Consider textures without an attached Buffer as incomplete 60aaf4a096 Vulkan: Move renderer to namespace vk b3ab67d32b tests: Remove unnecessary .get() from RAII objects d4d3478145 Multisampling support check: sampleCounts > 1 and createFlags 2dc45de80d Trace tests: check and log zlib crc32 on decompress failure 7220307bb2 Conditionally support EGL_OPENGL_API b5d92511b4 Trace tests: log z_stream on decompress failure c3fdc81189 Raise the WebGL texture size limit on Android >= 14 e5cb7f1f5c Vulkan: Fix access to inactive attributes 533fa5cedc Metal: Update few asserts when resolving FS output 9bae585946 Vulkan: Add blend factors to allow dithering to work 142c05b543 Build OpenCL CTS on ANGLE Linux and Android standalone bots afed1224de CL: Add CTS build to ANGLE cd90294be8 OpenCL/Vulkan: Add initial CL Event creation 66bc9cfa00 OpenCL: Fix mCallback in linkProgram ctor 17facd2b06 Fix CreateDirectory name clash with Windows headers. 18fa02bebf Rewrite exprs using separated decl variables cd220fa9ec Roll vulkan-deps from 6e41ca22e87b to 91aab7b7e25f (5 revisions) 5673346918 Roll Chromium from 63f2e96c7e8a to 42826620a07f (605 revisions) f7de39b6ae Make IntermRebuild available for all backends 065b333cad OpenCL/Vulkan: Add initial CL Buffer routines aea2abc1ad Vulkan: Input attachment requires both texturable and renderable da3baf096b Manual roll VK-GL-CTS from 1918ab4d4806 to 87353392d2d2 (15 revisions) b744ee7f16 Trace tests: extract debug files to (CAS) output 529a2fe904 Roll vulkan-deps from 3b14ca63bd7b to 6e41ca22e87b (21 revisions) 18e00a2989 Roll Chromium from d4320bd12d3a to 63f2e96c7e8a (593 revisions) a339585e1a Vulkan: Add AtomicShared type a55f91b566 Switch Pixel 6 experimental bot to Android U bc633ad708 OpenCL/Vulkan: Implement compile and link routines 99c2157b1d Metal: Add Quyen as OWNER d964482310 Make ANGLE by default built to system partition on Android b9c6cf8ecb Metal: Stop blit encoder after render encoder c9c7c4d74a Trace tests: save debug files when gz decompression fails 9fee915631 OpenCL/Vulkan: Add initial CL Kernel routines 7f3bb2d80f Roll Chromium from 93f3c55ed974 to d4320bd12d3a (756 revisions) f16eea308a Vulkan: Enable QCOM foveated rendering extensions e904e37ba3 Vulkan: Enable imageless framebuffer on Samsung drivers 11a2d27f32 Check array index against unsigned array size 26da3174dd Make 2024-03-05 changes compile with clang 15 pt.2 90ae6cbe39 Avoid assert at main prototype when monomorphizing 0f110098cc Avoid assert with multiple memory qualifiers c55c8ad21c extension XML cleanup 6ba49977d8 CL: Update OpenCL Headers 1452c19542 Android: Add Qualcomm Mobile Reference Device support a40eeaa9e0 Roll Chromium from 15a5ccdeffb7 to 93f3c55ed974 (614 revisions) ecaefce00c Vulkan: Disable optimizeWithLoadOp if there is unresolve 4667201495 Vulkan: Add test for midRenderPass clear for MSRTT aba3705ba7 Vulkan: Completely remove egl::Display from RendererVk 7e065b6f4d Fix SRV and RTV confliction 74af31adca GL: Add ClearsWithGapsNeedFlush workaround 4a5b9307be android_helper: support angle_deqp_egl_tests 49abf72f61 Roll vulkan-deps from 9cd617cb0454 to 3b14ca63bd7b (6 revisions) dcc79a2764 Roll Chromium from 632158ced47e to 15a5ccdeffb7 (1166 revisions) 91ddf851c4 Vulkan: support QCOM foveated rendering extensions 39f29f65c4 Ensure unary math op parse to an node on error c71de8688c Add workaround for ext dynamic state on Win/Intel 4e9fbb36f2 Metal: Remove AccessField(.., ImmutableString) e38cf95a58 Metal: Release prov. vertex buffers on event set 51702d791d Make 2024-03-05 changes compile with clang 15 d76505b8c3 Manual roll vulkan-deps from 12f9cddb3ff7 to 9cd617cb0454 (42 revisions) b2773c110f Vulkan: Bug fix in immutable sampler pipeline layout recreation 3c08d69612 CL: Add DEVICE_NOT_FOUND case for context creation f044aaf821 Vulkan: Create instance/device without access to Display 47cd0529f1 Fix assert invoking #line during macro invocation 27423bffff Metal: Generate names for rewritten inputs 2ad7b23b13 Add a missing #include. 545e3f6e11 Vulkan: Decouple RendererVk from egl::BlobCache 95294b2468 Android: Add Galaxy S22 support (Xclipse) 5678ad09aa Roll Chromium from 43d81add625d to 632158ced47e (570 revisions) 0ad73958dc Deduplicate and fix ConstStrLen implementations 258b751f57 OpenCL/Vulkan: Fix processedOptions whitespace b978974d98 Update frontend support for QCOM foveated extensions 3fa8d578ad Make appendDecimal use the last char of the buffer 39040b0b89 Vulkan: Decouple RendererVk from EGL attributes 4e6fe5e0db Vulkan: Cache ImageLoadContext in context 871a309c72 Fix layout(index=) parse assert on es 100 shaders ec6d628863 egl: Add logic to select preferred display 799997d427 Roll Chromium from 40412b90c691 to 43d81add625d (324 revisions) fc440afa62 Vulkan: Move DS builder class to Vk utils f85b6970a9 OpenCL/Vulkan: Implement program get[Build]Info 0ed0de4f0b OpenCL/Vulkan: Add initial program build support 1c2d2417c9 Bugfix in CreateWithEGLConfig1010102Support test f26c8d0874 Roll VK-GL-CTS from d023c17ac299 to 1918ab4d4806 (13 revisions) 21381f5e1c Roll Chromium from 6b34297e693d to 40412b90c691 (533 revisions) 2ee295b475 Vulkan: Add per-level image update tracker 1ceddbf697 OpenCL/Vulkan: Add createProgram routines f7cd1c5606 Tests: Add Toca Life World trace 56a291e819 Rework external image capture 8142dde7f4 Tests: Add Pokemon Masters Ex trace b45b350ade Add skip for Pokemon Masters Ex validation warning 69f5e9ca60 Roll vulkan-deps from f43c5512f6d7 to 12f9cddb3ff7 (6 revisions) 19e725e49c Roll Chromium from 579e74402476 to 6b34297e693d (578 revisions) 4d36224267 Vulkan: Remove call to angle::GetSystemInfo() cdf6220c28 Reland "Vulkan: Feature addition for QCOM foveated rendering extensions" a971e5b42e Account for zero vector axes in Mat4::Rotate(...) 434a5b0170 Fix #2 upload_results_to_perf_dashboard usage 057db6ef57 Add ANGLE experimental S22 build and test f8dac42e95 Fix upload_results_to_perf_dashboard usage dbbcf33eeb Roll vulkan-deps from 28960bf4a098 to f43c5512f6d7 (13 revisions) d334a6f265 Roll Chromium from cc3c5664ec19 to 579e74402476 (619 revisions) a627dd8976 Revert "Vulkan: Feature addition for QCOM foveated rendering extensions" 6eaaad7c60 Create ImageHelper. 75c8ef1c63 Update cached component type masks on attachment redefinitions 6f2daf0588 Context: Limit max vtx uniform vectors to 256 during capture 2fb425d284 Roll vulkan-deps from dd6c2371c85d to 28960bf4a098 (10 revisions) b0215166ed Roll SwiftShader from 0f69b790c7a4 to bbe6452b420c (1 revision) 9100f2ec79 Roll Chromium from 16b5225bad88 to cc3c5664ec19 (580 revisions) f0af4730d9 Vulkan: Catch misuse of AddToPNextChain 72cf9915f5 Vulkan: Feature addition for QCOM foveated rendering extensions 0afcac60ed Handle count = 0 in DrawElementsIndirect 3c517e457a Vulkan: Process ClearEmulatedChannels update first 38cc4cf099 Vulkan: Update flushStagedUpdate to use switchcase 58c20052bb Fix build error when git history not fully available d354c4dca1 Roll VK-GL-CTS from d15e5faec700 to d023c17ac299 (1 revision) 425be99db6 Roll vulkan-deps from 602ab4120d74 to dd6c2371c85d (8 revisions) 1fe63fecab Roll SwiftShader from eb75201a4e03 to 0f69b790c7a4 (1 revision) 834ca37fa6 Roll Chromium from b54ff9b1d5ed to 16b5225bad88 (644 revisions) acba61cb3e Fix Vulkan driver version for Win/Intel c758dc03c4 GL: Adjust disableRenderSnorm condition 6a88437dc1 Roll VK-GL-CTS from cf5313984f57 to d15e5faec700 (1 revision) db88630858 Roll VK-GL-CTS from c402aa4fc1f1 to cf5313984f57 (7 revisions) bd1b918a5a Roll vulkan-deps from 004d9803b30c to 602ab4120d74 (6 revisions) 33a3395599 Roll Chromium from cc824ffe820c to b54ff9b1d5ed (616 revisions) 5a4bfd61fd Metal: Separate struct definition from function return 7f29c70360 Roll vulkan-deps from b040470c0fde to 004d9803b30c (5 revisions) b06dbffd1c Roll Chromium from 5f0b8ba66cd4 to cc824ffe820c (635 revisions) cd63c5d477 Fix build failures targetting iOS 17.4 8c503c1b05 Add skip for 07753 validation error in trace bcf814fda5 Vulkan: Constrain the dependency on ContextVk in BufferHelper f43b9f87cf Roll vulkan-deps from 5fa0abb9413b to b040470c0fde (5 revisions) 0f6386a82e Roll Chromium from 98827507560a to 5f0b8ba66cd4 (624 revisions) f546983cc8 Add test and skip for 07753 validation error 8346addbd0 Contain X11 includes and free usage of common terms 1ee04579b4 Metal: Re-enable asm inejction into loops on MacOS 12+ 21c0d31cd6 OpenCL: Only build clspv for Vk backend b7bacdb746 GL: Generate mipmaps through draw calls on Pixel7/Pixel8. 2b1ef00ad5 Metal: Fix validation for anonymous struct arrays 19e21b1e0b OpenCL/Vulkan: Add initial support for cmdQueue f4d5644c9f Instantiate dawn backend in angle_end2end_tests b7d0a18bb1 Roll vulkan-deps from 13783d616289 to 5fa0abb9413b (10 revisions) 9f16b585cb Roll Chromium from 2905059a5737 to 98827507560a (299 revisions) e17dd5a408 Roll vulkan-deps from 063ea20a64fc to 13783d616289 (25 revisions) e3badd04cc Roll Chromium from 9d4a35b46e1e to 2905059a5737 (725 revisions) e04b7c7392 Vulkan: Expand feature to enable sample usage for all AHBs e08e82b6de CL: On kernel arg validation use right sizes 9d453e579e Fix ASSERT in non-global precise var decls bde26cc4de Roll VK-GL-CTS from b9ec0d4bdf99 to c402aa4fc1f1 (13 revisions) 372876879b Android: support running angle_unittests via android_helper a6616081f2 Add missing include af56ca61bb OpenCL/Vulkan: Initial support for context 298abbc156 Roll Chromium from 29bec8631d2f to 9d4a35b46e1e (1220 revisions) 3ca8befb24 Vulkan: Handle multi-context apps in pipeline cache graphs 6607a2b98d Vulkan: Add support for VK_EXT_vertex_input_dynamic_state bff0b1e43d Change enum value for webgpu to unused value. 6d4706bfb9 WGPU: Add a angle_dawn_dir build override. aa244358af Reland "Vulkan: Get rid of X11 include in DisplayVkXcb.cpp" 6d589ff6a3 Trace perf: support custom thermal throttling for tests ec2603d69f Fix build in absence of SSE support b380ed1f98 Vulkan: Add EGL_ANGLE_global_fence_sync 40dfb3a8bd Fix length() translation for clip/cull distance arrays d6ceac9159 Metal: Add support for binding slices to images 195c142d7e GLSL test for side effects in prune-able loop e8a3493f80 Initialize DisplayWgpu 2cae27c296 Vulkan: Enable the doubleDepthBiasConstantFactor feature on NV 197beb4de8 Metal: Crash if for loop body is optimized away dbc6bd9d4e Reland "Vulkan: Fix alignment issues with SecondaryCommandBuffer" c673c83758 OpenCL/Vulkan: Initial support for platform/device b8e56d5d6d Fix an assert when overwriting TexImage binding 243f8ad99f Revert "Vulkan: Fix alignment issues with SecondaryCommandBuffer" 7490ad4d79 Roll vulkan-deps from 2cedf06e4cdf to 063ea20a64fc (7 revisions) d8340c15c7 Roll Chromium from b650d7fcd665 to 29bec8631d2f (631 revisions) e53270c9ca Vulkan: Fix alignment issues with SecondaryCommandBuffer e45b2fd89d Vulkan: Implement ANGLE_translated_shader_source d9665098a3 Do not use hardcoded ".cr.so" extension for android component builds 9d344b5c82 Uniform block reference in constuctors crash ebc151d514 Roll vulkan-deps from 4985acbd814d to 2cedf06e4cdf (12 revisions) 2cbf6613c1 Roll Chromium from 3009d13b1e1a to b650d7fcd665 (3044 revisions) cb7d3cc206 Treat clip/cull distance built-ins as having side effects e784b1ec82 Manual roll dawn 239e8caa44 Capture/Replay: Disallow concurrent ninja processes. 9fd5167e1f Roll vulkan-deps from 3834da2004ec to 4985acbd814d (77 revisions) eaddd3baa5 Vulkan: use linear chroma filter for ycbcr by default 1d752a10a7 Roll Chromium from c1ca24b91ed5 to 3009d13b1e1a (567 revisions) 275e6f4fc5 D3D: Add multiplanar support to d3d11 glTexSubImage2D e489dac03a Allow BGRA -> RGBA for glCopyTex[Sub]Image 5d9abeca4a Revert "Suppress VUID-VkGraphicsPipelineCreateInfo-dynamicRendering-06576" 56e5fa804b Mark bison deps as not shipped 58ccdab977 Roll VK-GL-CTS from b3344240e7fc to b9ec0d4bdf99 (8 revisions) c3d06480e5 Add dawn to IGNORED_DIRECTORIES. 73fa1b08d0 Use -fno-define-target-os-macros for libpng 3ad163d091 Vulkan: Don't attach format features 2 version of AHB structure 475784f5a6 suppress VUID-VkPipelineVertexInputStateCreateInfo-pNext-pNext c603a4f199 Don't perf warn about ETC1->ETC2 emulation as it is efficient ef78e57015 Revert "Vulkan: disable warmUpPipelineCacheAtLink for Venus" Canonical link: https://commits.webkit.org/276989@main
mikhailramalho
pushed a commit
that referenced
this pull request
May 3, 2024
…/setrequestheader-case-insensitive.htm is a constant failure (attempt #2) https://bugs.webkit.org/show_bug.cgi?id=273498 rdar://127299045 Reviewed by Anne van Kesteren and Sam Sneddon. Second attempt. This change modifies the test such that it now only compares the relevant header substrings, instead of matching the entire header content. * LayoutTests/imported/w3c/web-platform-tests/xhr/setrequestheader-case-insensitive-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/xhr/setrequestheader-case-insensitive.htm: Canonical link: https://commits.webkit.org/278282@main
mikhailramalho
pushed a commit
that referenced
this pull request
May 9, 2024
…n site-isolation rdar://127515199 https://bugs.webkit.org/show_bug.cgi?id=273715 Unreviewed test gardening. * LayoutTests/platform/mac-site-isolation/TestExpectations: Canonical link: https://commits.webkit.org/278367@main
webkit-commit-queue
pushed a commit
that referenced
this pull request
Jun 14, 2024
…volume scrubber on a video player https://bugs.webkit.org/show_bug.cgi?id=275469 <rdar://129080145> Reviewed by Antti Koivisto. 1. In EventHandler::mouseDragged we dispatch the "mouse move" event 2. JS triggers some mutation which makes the tree dirty 3. later in EventHandler::handleMouseMoveEvent() we call EventHandler::handleMouseDraggedEvent() (tree is dirty) which, through a few layers of functions calls VisiblePosition::canonicalPosition() 4. VisiblePosition::canonicalPosition() needs a clean tree so it calls Document::updateLayout() which is turn destroys some renderers (see #2) 5. In-between EventHandler::handleMouseDraggedEvent() and VisiblePosition::canonicalPosition(), we CheckPtr a renderer which gets destroyed at #4. The fix (what we normally do with cases like this) is to make sure we clean the tree before entering VisiblePosition. * Source/WebCore/page/EventHandler.cpp: (WebCore::EventHandler::handleMouseDraggedEvent): Canonical link: https://commits.webkit.org/280013@main
mikhailramalho
pushed a commit
that referenced
this pull request
Aug 22, 2025
https://bugs.webkit.org/show_bug.cgi?id=296902 rdar://157510912 Reviewed by Yusuke Suzuki. Currently, we support both aligned allocations (e.g. bmalloc_allocate_with_alignment) and zeroed allocations (e.g. bmalloc_allocate_zeroed); however, we do not support simultaneously-aligned-and-zeroed allocations (e.g. bmalloc_allocate_zeroed_with_alignment). This patch implements those. The consumer of the API can just zero it themselves, but libpas is careful to optimize out that zeroing operation if it knows it’s not necessary, e.g. if the page was newly mmap’d (c.f. pas_allocation_result_zero). This comes up when allocating wasm memory, as we basically 1. Ask for a huge allocation 2. Mmap over it to ensure it’s zero This is probably not itself a huge performance problem, but it does show up when I tried to switch that #2 over to madvise(MADV_ZERO): normally this would be preferable because this subsequent mmap would fragment the backing vm-objects (and acquire more locks), but in the case that we’re just replacing the entire vm-object anyways the first downside goes away, after which presumably the actual effort of going page-by-page and making sure they’re zeroed begins to dominate. Creating this new bmalloc_allocate_zeroed_with_alignment family of functions will thus allow us to avoid that unnecessary mmap and unblock migrating it to use madvise(MADV_ZERO) instead. Canonical link: https://commits.webkit.org/298428@main
mikhailramalho
pushed a commit
that referenced
this pull request
Aug 22, 2025
https://bugs.webkit.org/show_bug.cgi?id=297724 rdar://157024791 Reviewed by Antti Koivisto. 1. out-of-flow boxes participate first in in-flow layout as if they were in-flow boxes where we compute their static position. This static position becomes their final position when inset (left, right, top, bottom) is auto. 2. as a second step, as we reach the out-of-flow box's containing block we run layout again and compute the final position (this might just be what we computed at #1 in case of auto inset) Now we mark the out-of-flow box dirty at #1 and expect #2 to clear the box by moving it to its final position. However in case of subtree layout where the layout root has an out-of-flow descendant while the containing block is an ancestor of the layout root, #2 will never happen (we bail out of layout before reaching the containing block). "setNeedsLayout" was added at 254969@main to mimic what legacy line layout did. However starting from 262470@main, we already move the box at #1 meaning that #2 does not need to happen if the box is statically positioned only. (If the out-of-flow box was not-statically positioned, subtree layout would not start "below" its containing block) * LayoutTests/TestExpectations: * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp: (WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions): Canonical link: https://commits.webkit.org/299021@main
webkit-commit-queue
pushed a commit
that referenced
this pull request
Sep 29, 2025
https://bugs.webkit.org/show_bug.cgi?id=299504 rdar://161294228 Reviewed by Yijia Huang. Previous one 300327@main worked for the same basic block's load, but it didn't work for the load in dominators. This patch updates CSE rules to make immutable load elimination work with dominators' load. Like, BB#0 @0: Load(@x, immutable) @1: CCall(...) # potentially clobber everything Branch ... #1, #2 BB#1 @2: CCall(...) # potentially clobber everything Jump #3 BB#2 @3: CCall(...) # potentially clobber everything Jump #3 BB#3 @4: Load(@x, immutable) ... Then @4 should be replaced with Identity(@0) as dominator BB#0 is having immutable load @0 matching to @4. Tests: Source/JavaScriptCore/b3/testb3_1.cpp Source/JavaScriptCore/b3/testb3_8.cpp * Source/JavaScriptCore/b3/B3EliminateCommonSubexpressions.cpp: * Source/JavaScriptCore/b3/testb3.h: * Source/JavaScriptCore/b3/testb3_1.cpp: (run): * Source/JavaScriptCore/b3/testb3_8.cpp: (testLoadImmutableDominated): (testLoadImmutableNonDominated): Canonical link: https://commits.webkit.org/300562@main
webkit-commit-queue
pushed a commit
that referenced
this pull request
Oct 6, 2025
…on-in-child.html is failing https://bugs.webkit.org/show_bug.cgi?id=299628 rdar://161203486 Reviewed by Basuke Suzuki. Suppose we have a mainframe and an iframe and this series of navigations happens: 1. iframe fragment navigates to "/#a" 2. main frame fragment navigates to "/#1" 3. main frame fragment navigates to "/#2" 4. main frame fragment navigates to "/#3" 5. iframe goes back 6. iframe fragment navigates to "/#b" After Step 5, the UI Process b/f list should be: A) mainframe - URL - ItemID A ** iframe - URL - ItemID A B) mainframe - URL - ItemID B ** iframe - URL/#a - ItemID B C) mainframe - URL/#1 - ItemID C ** iframe - URL/#a - ItemID C D) mainframe - URL/#2 - ItemID D ** iframe - URL/#a - ItemID D E) mainframe - URL/#3 - ItemID E ** iframe - URL/#a - ItemID E The mainframe's Navigation object's m_entries should be: A) mainframe - URL - ItemID A C) mainframe - URL/#1 - ItemID C D) mainframe - URL/#2 - ItemID D E) mainframe - URL/#3 - ItemID E <--- current index The iframe's Navigation object's m_entries should be: A) ** iframe - URL - ItemID A <--- current index E) ** iframe - URL/#a - ItemID E According to this layout test, after Step 6: The mainframe's Navigation object's m_entries should be: A) mainframe - URL - ItemID A <--- current index The iframe's Navigation object's m_entries should be: A) ** iframe - URL - ItemID A F) ** iframe - URL/#b - ItemID F <--- current index So when a subframe has a PUSH same-document navigation and disposes of any forward entries, any parent frame must do the same. This test was failing because the parent frame was not disposing of its forward entries. To fix this, we add a new function to recusively dispose of all forward entries in any parent frames when a subframe has a PUSH same-document navigation. We use the ItemID to determine what entry must stay and then dispose of any entries that come after that one. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/per-entry-events/dispose-for-navigation-in-child-expected.txt: * Source/WebCore/page/LocalDOMWindowProperty.cpp: (WebCore::LocalDOMWindowProperty::protectedFrame const): * Source/WebCore/page/LocalDOMWindowProperty.h: * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::updateNavigationEntry): (WebCore::Navigation::disposeOfForwardEntriesInParents): Call recursivelyDisposeOfForwardEntriesInParents on the main frame, which will traverse down the frame tree, and for each frame until we reach the subframe that actually navigated, dispose of any forward entries. (WebCore::Navigation::recursivelyDisposeOfForwardEntriesInParents): (WebCore::Navigation::updateForNavigation): This is called for same-document navigations. If it's a PUSH navigation, call disposeOfForwardEntriesInParents. The ItemID that we keep in these parent frames is the current ItemID right before this PUSH operation happens. * Source/WebCore/page/Navigation.h: Canonical link: https://commits.webkit.org/300721@main
mikhailramalho
pushed a commit
that referenced
this pull request
Oct 28, 2025
…Observer and MediaSessionObserver <https://bugs.webkit.org/show_bug.cgi?id=301393> <rdar://problem/163402233> Unreviewed internal build fix. See 302140@main and 302145@main. * Source/WebKit/Platform/ios/PlaybackSessionInterfaceLMK.mm: (WebKit::nowPlayingMetadataObserver): - Add missing namespace qualifier. Canonical link: https://commits.webkit.org/302147@main
mikhailramalho
pushed a commit
that referenced
this pull request
Oct 28, 2025
…files <https://bugs.webkit.org/show_bug.cgi?id=301376> <rdar://problem/163297495> Unreviewed build fix for watchOS. Follow-up fix for 302143@main and 302150@main. * Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm: (TestWebKitAPI::CaptionPreferenceTests::showMenuAndThen): - Make use of USE(UICONTEXTMENU) to exclude code on watchOS. Canonical link: https://commits.webkit.org/302152@main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.