Timeline
Jan 27, 2022:
- 11:58 PM Changeset in webkit [288734] by
-
- 20 edits in trunk
Radio buttons with no form owner are not grouped
https://bugs.webkit.org/show_bug.cgi?id=220502
<rdar://problem/73300895>
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
Rebaseline WPT tests now that more checks are passing.
- web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- web-platform-tests/html/semantics/forms/the-input-element/radio-expected.txt:
Source/WebCore:
Per the HTML specification and to match the behavior of both Gecko and Blink,
radio buttons should still be grouped, even if they are disconnected and not
owned by a form.
This patch aligns our behavior with Gecko and Blink and is based on the following
Blink commit:
No new tests, rebaselined existing tests.
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setChecked):
(WebCore::HTMLInputElement::didChangeForm):
(WebCore::HTMLInputElement::insertedIntoAncestor):
(WebCore::HTMLInputElement::removedFromAncestor):
(WebCore::HTMLInputElement::checkedRadioButtonForGroup const):
- html/InputType.h:
(WebCore::InputType::willUpdateCheckedness):
- html/RadioInputType.cpp:
(WebCore::RadioInputType::valueMissing const):
(WebCore::RadioInputType::willUpdateCheckedness):
- html/RadioInputType.h:
LayoutTests:
- fast/forms/radio/ValidityState-valueMissing-radio-expected.txt:
- fast/forms/radio/ValidityState-valueMissing-radio.html:
- fast/forms/radio/radio-live-validation-style-expected.txt:
- fast/forms/radio/radio-live-validation-style.html:
Update existing tests to reflect behavior change. I have verified that our behavior on those tests
is aligned with both Firefox and Chrome.
- platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
Rebaseline existing WPT tests now that more checks are passing.
- 11:33 PM Changeset in webkit [288733] by
-
- 3 edits in trunk/Source/WebCore
[WPE] Unreviewed, fix non-unified build after r288672
https://bugs.webkit.org/show_bug.cgi?id=235756
- Modules/webxr/XRReferenceSpaceEvent.cpp:
- loader/ProgressTracker.h:
- 11:31 PM Changeset in webkit [288732] by
-
- 15 edits3 copies2 adds in trunk/Source
Introduce WebFoundTextRange and WebFoundTextRangeController to support restorable find results
https://bugs.webkit.org/show_bug.cgi?id=235691
rdar://88117167
Reviewed by Wenson Hsieh.
Source/WebCore:
- editing/TextIterator.cpp:
(WebCore::findIteratorOptions): Deleted.
- editing/TextIterator.h:
(WebCore::findIteratorOptions):
Moved method into header to share logic.
- page/Page.cpp:
(WebCore::Page::findTextMatches):
Added a way to suppress marking text matches.
- page/Page.h:
Source/WebKit:
To better support the _UITextSearching protocol, WKWebView needs to be
able to restore find-in-page results found in other views with the same
content.
The desired functionality is achieved through the use of two new interfaces:
WebFoundTextRange, which represents a range of found text, and
WebFoundTextRangeController, which will be responsible for finding,
decorating, and scrolling to ranges.
A "found text range" is uniquely identified by a location, length,
frame identifier, and order. The location and length represent a
character range in document corresponding to the frame identifier.
The order represents the relative ordering between ranges - for
example, results in the main frame are ordered before results in a
subframe.
This is the first in a series of patches that implements the interface.
The available methods on WebFoundTextRangeController map one-to-one with
the _UITextSearching protocol. This patch implements the creation of
restorable found ranges.
- Scripts/generate-unified-sources.sh:
Increase unified build files to 120.
- Scripts/webkit/messages.py:
(headers_for_type):
- Shared/WebFindOptions.cpp: Copied from Source/WebKit/Shared/WebFindOptions.h.
(WebKit::core):
- Shared/WebFindOptions.h:
- Shared/WebFoundTextRange.cpp:
(WebKit::WebFoundTextRange::operator== const):
(WebKit::WebFoundTextRange::encode const):
(WebKit::WebFoundTextRange::decode):
- Shared/WebFoundTextRange.h:
(WTF::WebFoundTextRangeHash::hash):
(WTF::WebFoundTextRangeHash::equal):
(WTF::HashTraits<WebKit::WebFoundTextRange>::emptyValue):
(WTF::HashTraits<WebKit::WebFoundTextRange>::constructDeletedValue):
(WTF::HashTraits<WebKit::WebFoundTextRange>::isDeletedValue):
- Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::decode):
Fix unified source-related build failure.
- Sources.txt:
- UnifiedSources-output.xcfilelist:
- WebKit.xcodeproj/project.pbxproj:
- WebProcess/WebPage/FindController.cpp:
(WebKit::core): Deleted.
- WebProcess/WebPage/FindController.h:
- WebProcess/WebPage/WebFoundTextRangeController.cpp: Added.
(WebKit::WebFoundTextRangeController::WebFoundTextRangeController):
(WebKit::WebFoundTextRangeController::findTextRangesForStringMatches):
Use the FrameTrees's uniqueName as a frame identifier for the found
text range. These names are consistent across web content with the
same markup.
(WebKit::WebFoundTextRangeController::decorateTextRangeWithStyle):
(WebKit::WebFoundTextRangeController::scrollTextRangeToVisible):
(WebKit::WebFoundTextRangeController::clearAllDecoratedFoundText):
(WebKit::WebFoundTextRangeController::didBeginTextSearchOperation):
(WebKit::WebFoundTextRangeController::didEndTextSearchOperation):
(WebKit::WebFoundTextRangeController::willMoveToPage):
(WebKit::WebFoundTextRangeController::didMoveToPage):
(WebKit::WebFoundTextRangeController::mouseEvent):
(WebKit::WebFoundTextRangeController::drawRect):
- WebProcess/WebPage/WebFoundTextRangeController.h: Added.
- 11:05 PM Changeset in webkit [288731] by
-
- 11 edits in trunk
[WPE][a11y] Add option to build with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235701
Reviewed by Adrian Perez de Castro.
.:
- Source/cmake/OptionsWPE.cmake:
Source/WebCore:
- PlatformWPE.cmake:
- SourcesWPE.txt:
Source/WebKit:
- UIProcess/wpe/WebPageProxyWPE.cpp:
(WebKit::WebPageProxy::bindAccessibilityTree):
- WebProcess/WebPage/wpe/WebPageWPE.cpp:
(WebKit::WebPage::platformInitialize):
(WebKit::WebPage::platformDetach):
- WebProcess/wpe/WebProcessMainWPE.cpp:
Tools:
- WebKitTestRunner/PlatformWPE.cmake:
- 11:04 PM Changeset in webkit [288730] by
-
- 5 edits in trunk/Source/WebCore
[GTK][a11y] Do not set the accessibility root object on svg image page elements with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235705
Reviewed by Adrian Perez de Castro.
This was needed only because of isolated tree mode.
- accessibility/AccessibilityRenderObject.cpp:
- accessibility/atspi/AXObjectCacheAtspi.cpp:
- accessibility/atspi/AccessibilityObjectAtspi.cpp:
- accessibility/atspi/AccessibilityObjectAtspi.h:
- 11:03 PM Changeset in webkit [288729] by
-
- 2 edits in trunk/Source/WebCore
[GTK][a11y] Ignore span elements with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235704
Reviewed by Adrian Perez de Castro.
Their text contents are exposed as part of the parent object.
- accessibility/atspi/AccessibilityObjectAtspi.cpp:
(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject const):
- 11:02 PM Changeset in webkit [288728] by
-
- 20 edits5 adds in trunk
[Model] Allow disabling interaction
https://bugs.webkit.org/show_bug.cgi?id=227621
<rdar://problem/80079703>
Reviewed by Darin Adler.
Source/WebCore:
We add support for the "interactive" IDL property and HTML attribute as discussed
in the <model> explainer at https://github.com/WebKit/explainers/tree/main/model.
If the "interactive" property is "true", then the HTML "interactive" attribute is
set on the element. If the property is "false", then the HTML attribute is absent.
Likewise, if the HTML attribute is present, the property returns "true". If the
HTML attribute is midding, the property returns "false".
Note that the value held by the HTML attribute is not taken into account, its mere
presence is all that is required.
Based on the value of the "interactive" property, we either disable or enable
interaction. On macOS, we check the property in HTMLModelElement::defaultEventHandler()
while on iOS, where dragging is performed entirely in the UI process, we use the
new ModelPlayer::setInteractionEnabled() method.
By default, interaction is disabled.
Tests: model-element/model-element-interactive-dragging.html
model-element/model-element-interactive.html
- Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::isInteractive const):
(WebCore::HTMLModelElement::attributeChanged):
(WebCore::HTMLModelElement::defaultEventHandler):
- Modules/model-element/HTMLModelElement.h:
- Modules/model-element/HTMLModelElement.idl:
- Modules/model-element/ModelPlayer.cpp:
(WebCore::ModelPlayer::setInteractionEnabled):
- Modules/model-element/ModelPlayer.h:
- html/HTMLAttributeNames.in:
Source/WebKit:
Override the new ModelPlayer::setInteractionEnabled() method for the iOS flavor
and send the value up to the UI process such that it may set the matching value
for UIView.userInteractionEnabled on the matching WKModelView.
- UIProcess/Cocoa/ModelElementControllerCocoa.mm:
(WebKit::ModelElementController::setInteractionEnabledForModelElement):
- UIProcess/ModelElementController.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::modelElementSetInteractionEnabled):
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/ios/WKModelView.mm:
(-[WKModelView initWithModel:]):
- WebProcess/Model/ios/ARKitInlinePreviewModelPlayerIOS.h:
- WebProcess/Model/ios/ARKitInlinePreviewModelPlayerIOS.mm:
(WebKit::ARKitInlinePreviewModelPlayerIOS::setInteractionEnabled):
LayoutTests:
Add two new tests:
- model-element/model-element-interactive.html tests the "interactive" IDL property
and the "interactive" HTML attribute,
- model-element/model-element-interactive-dragging.html tests that the "interactive"
IDL property correctly disables setting the camera by dragging when "false", and allows
it when "true".
We also refactor some code previously found in model-element/model-element-camera.html
to now be in the shared model-element/resources/model-utils.js to ease writing <model>
tests.
- model-element/model-element-camera.html:
- model-element/model-element-interactive-dragging-expected.txt: Added.
- model-element/model-element-interactive-dragging.html: Added.
- model-element/model-element-interactive-expected.txt: Added.
- model-element/model-element-interactive.html: Added.
- model-element/resources/model-utils.js: Added.
(const.makeModel):
(const.bodyAvailability.async return):
(const.bodyAvailability):
(const.readyModel.async test):
(const.assert_cameras_are_equal):
(const.assert_cameras_are_not_equal):
- platform/ios/TestExpectations:
- platform/mac/TestExpectations:
- 11:01 PM Changeset in webkit [288727] by
-
- 3 edits in trunk/Tools
[GTK][a11y] WTR: add implementation for all relation APIs with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235702
Reviewed by Adrian Perez de Castro.
There's more API that is ATK only but should be implemented by ATSPI too.
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
- WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp:
(WTR::AccessibilityUIElement::ariaOwnsReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaFlowToReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaControlsReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaLabelledByElementAtIndex):
(WTR::AccessibilityUIElement::ariaLabelledByReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaDescribedByElementAtIndex):
(WTR::AccessibilityUIElement::ariaDescribedByReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaDetailsElementAtIndex):
(WTR::AccessibilityUIElement::ariaDetailsReferencingElementAtIndex):
(WTR::AccessibilityUIElement::ariaErrorMessageElementAtIndex):
(WTR::AccessibilityUIElement::ariaErrorMessageReferencingElementAtIndex):
- 11:00 PM Changeset in webkit [288726] by
-
- 5 edits in trunk/Source/WebCore
[GTK][a11y] Do not set the children count when serializing objects for the ATSPI cache
https://bugs.webkit.org/show_bug.cgi?id=235700
Reviewed by Adrian Perez de Castro.
It's confusing the cache if things don't happen in the expected order. We handle the children by emitting the
children-changed signals. When the children count is set in the cache by AddAccessible signal or as a response
to GetItems, atspi sets the accessible children vector size to the given value. If children-changed:add is
emitted after that, it's considered a new child and the children vector grows. So, we end up with the double of
children, but half of them are just null.
- accessibility/atspi/AccessibilityAtspi.cpp:
(WebCore::AccessibilityAtspi::registerObject): Add the registered object to the update cache list.
(WebCore::AccessibilityAtspi::unregisterObject): Remove the object from the cache and emit RemoveAccessible
signal if needed.
(WebCore::AccessibilityAtspi::parentChanged): Stop registering the objects here, they will be registered when
actually needed. Also don't emit the signal if the object is pending, because AddAccessible will update the cache.
(WebCore::AccessibilityAtspi::childrenChanged): Do not add the pending objects to the cache, we can just emit
the signal now and cache will be updated later.
(WebCore::AccessibilityAtspi::stateChanged): Ditto.
(WebCore::AccessibilityAtspi::textChanged): Ditto.
(WebCore::AccessibilityAtspi::textAttributesChanged): Ditto.
(WebCore::AccessibilityAtspi::textCaretMoved): Ditto.
(WebCore::AccessibilityAtspi::textSelectionChanged): Ditto.
(WebCore::AccessibilityAtspi::valueChanged): Ditto.
(WebCore::AccessibilityAtspi::selectionChanged): Ditto.
(WebCore::AccessibilityAtspi::loadEvent): Ditto.
(WebCore::AccessibilityAtspi::cacheUpdateTimerFired): Copy the list because addToCacheIfNeeded() might add new
items to the that we don't want to process in this iteration.
(WebCore::AccessibilityAtspi::addToCacheIfPending): Deleted.
(WebCore::AccessibilityAtspi::addAccessible): Deleted.
(WebCore::AccessibilityAtspi::removeAccessible): Deleted.
- accessibility/atspi/AccessibilityAtspi.h:
- accessibility/atspi/AccessibilityObjectAtspi.cpp:
(WebCore::AccessibilityObjectAtspi::registerObject): Remove the call to addAccessible, it's now done in AccessibilityAtspi::registerObject.
(WebCore::AccessibilityObjectAtspi::serialize const): Pass -1 as children count to ensure the children vector is
not modified.
- accessibility/atspi/AccessibilityRootAtspi.cpp:
(WebCore::AccessibilityRootAtspi::serialize const): Ditto.
- 10:59 PM Changeset in webkit [288725] by
-
- 2 edits in trunk/Source/WebCore
[GTK][a11y] Keep a reference to the parent wrapper with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235699
Reviewed by Adrian Perez de Castro.
When wrappers are destroyed it doesn't necessarily happen in the tree order, we need to keep the parent alive to
emit the children-changed signal.
- accessibility/atspi/AccessibilityObjectAtspi.h:
- 10:58 PM Changeset in webkit [288724] by
-
- 2 edits in trunk/Source/WebCore
[GTK][a11y] Return null reference for root parent reference if queried before being embedded
https://bugs.webkit.org/show_bug.cgi?id=235698
Reviewed by Adrian Perez de Castro.
Once embedded parent-changed will be emitted.
- accessibility/atspi/AccessibilityRootAtspi.cpp:
(WebCore::AccessibilityRootAtspi::parentReference const):
- 10:53 PM Changeset in webkit [288723] by
-
- 9 edits in trunk/Source
<model> should not be draggable on macOS
https://bugs.webkit.org/show_bug.cgi?id=235697
Reviewed by Dean Jackson.
Source/WebCore:
As part of bug 229246 we added support for dragging <model> elements. However, it did not
work on macOS in practice so we make that explicit.
This is also important leading up to bug 227621, where we'll implement the "interactive"
HTML attribute and IDL property, since disabling dragging over a <model> element to adjust
the camera would trigger a crash under Pasteboard::write() on macOS due to not having an
image set on the pasteboard data.
- Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::supportsDragging const):
(WebCore::HTMLModelElement::isDraggableIgnoringAttributes const):
- Modules/model-element/HTMLModelElement.h:
- Modules/model-element/ModelPlayer.cpp:
(WebCore::ModelPlayer::supportsDragging):
- Modules/model-element/ModelPlayer.h:
- page/DragController.cpp:
(WebCore::modelElementIsDraggable):
Source/WebKit:
Override the ModelPlayer method to disable <model> dragging on macOS.
- WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.h:
- WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm:
(WebKit::ARKitInlinePreviewModelPlayerMac::supportsDragging):
- 10:51 PM Changeset in webkit [288722] by
-
- 2 edits in trunk/Source/WebKit
Remove unnecessary build-time branch in ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction()
https://bugs.webkit.org/show_bug.cgi?id=235729
Reviewed by Dean Jackson.
The whole file is wrapped in a #if ENABLE(ARKIT_INLINE_PREVIEW_MAC) statement already.
- WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm:
(WebKit::ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction):
- 9:13 PM Changeset in webkit [288721] by
-
- 9 edits in trunk
DocumentContext gives empty rects for blank lines.
https://bugs.webkit.org/show_bug.cgi?id=235695
Reviewed by Wenson Hsieh.
Source/WebCore:
Test: DocumentEditingContext::RectsRequestInContentEditable
When requesting the document context for the end of a document, we would give empty rects for
blank lines. This was because when calculating the absoluteBoundingRect for the range, we
would use a normal unionRect call, which would use the basic unite call, which does not combine
empty rects. And empty rect is defined as a rect that does not have a non-zero hight and width.
Since we were calculating information about <br> lines, this was causing us to union a list of
a single rect, which was an empty rect. This left us with a zero rect after unioning. The solution
is to unionIfNonZero when calculating these rects for DocumentContext. I also took the opportunity
to make some of this code more parallel to other implementations.
- platform/graphics/GeometryUtilities.cpp:
(WebCore::unionRectIfNonZero):
- platform/graphics/GeometryUtilities.h:
- platform/graphics/IntRect.cpp:
(WebCore::IntRect::uniteIfNonZero):
- platform/graphics/IntRect.h:
(WebCore::IntRect::isZero const):
Source/WebKit:
When requesting the document context for the end of a document, we would give empty rects for
blank lines. This was because when calculating the absoluteBoundingRect for the range, we
would use a normal unionRect call, which would use the basic unite call, which does not combine
empty rects. And empty rect is defined as a rect that does not have a non-zero hight and width.
Since we were calculating information about <br> lines, this was causing us to union a list of
a single rect, which was an empty rect. This left us with a zero rect after unioning. The solution
is to unionIfNonZero when calculating these rects for DocumentContext. I also took the opportunity
to make some of this code more parallel to other implementations.
- WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::requestDocumentEditingContext):
Tools:
- TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:
(TEST): DocumentEditingContext::RectsRequestInContentEditable
- 7:11 PM Changeset in webkit [288720] by
-
- 9 edits in trunk/Source
Remove ENABLE(HOVER_GESTURE_RECOGNIZER) and related code
https://bugs.webkit.org/show_bug.cgi?id=235749
Source/WebKit:
<rdar://problem/86425437>
Reviewed by Wenson Hsieh.
- UIProcess/ios/WKContentViewInteraction.h:
- UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView setUpInteraction]):
(-[WKContentView cleanUpInteraction]):
(-[WKContentView _removeDefaultGestureRecognizers]):
(-[WKContentView _addDefaultGestureRecognizers]):
(-[WKContentView gestureRecognizer:shouldReceiveTouch:]):
(-[WKContentView gestureRecognizer:shouldReceivePress:]):
(-[WKContentView gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:]):
(-[WKContentView _didCommitLoadForMainFrame]):
(-[WKContentView setUpHoverGestureRecognizer]): Deleted.
(-[WKContentView hoverGestureRecognizerChanged:]): Deleted.
- UIProcess/ios/WKHoverPlatter.h:
- UIProcess/ios/WKHoverPlatter.mm:
- UIProcess/ios/WKHoverPlatterParameters.h:
- UIProcess/ios/WKHoverPlatterParameters.mm:
- WebProcess/WebPage/MomentumEventDispatcher.cpp:
(WebKit::mode):
(WebKit::MomentumEventDispatcher::consumeDeltaForCurrentTime):
(WebKit::MomentumEventDispatcher::equalizeTailGaps):
- WebProcess/WebPage/MomentumEventDispatcher.h:
Source/WTF:
Reviewed by Wenson Hsieh.
- wtf/PlatformEnableCocoa.h:
- 5:51 PM Changeset in webkit [288719] by
-
- 3 edits in trunk/Tools
[git-webkit] Respect EMAIL_ADDRESS environment variable during setup
https://bugs.webkit.org/show_bug.cgi?id=235748
<rdar://problem/88161757>
Reviewed by Ryan Haddad.
- Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.git): Prefer EMAIL_ADDRESS variable over git config email.
- Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py:
Canonical link: https://commits.webkit.org/246512@main
- 5:23 PM Changeset in webkit [288718] by
-
- 2 edits in trunk
[CMake] Do not require GNU Gold usage to enable DEBUG_FISSION
https://bugs.webkit.org/show_bug.cgi?id=235737
Reviewed by Michael Catanzaro.
- Source/cmake/OptionsCommon.cmake: Allow enabling DEBUG_FISSION with any linker.
- 5:08 PM Changeset in webkit [288717] by
-
- 1 copy in tags/Safari-613.1.14.5.4
Tag Safari-613.1.14.5.4.
- 5:07 PM Changeset in webkit [288716] by
-
- 15 edits in branches/safari-613.1.14.5-branch/Source
Cherry-pick r288710. rdar://problem/88100509
com.apple.WebKit.WebAuthn.xpc fails to build with system content path
https://bugs.webkit.org/show_bug.cgi?id=235734
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
Adjusted build path variables to handle the case when building for Catalyst.
Did this by refactoring how the optional system content path is added as a prefix to paths.
As a result, modified the create symlink script to not be dependent on the target location,
since it isn't created when doing a catalyst build. Instead the script creates the parent
directory of the symlink if it doesn't exisst.
- Configurations/Base.xcconfig:
- Configurations/JSC.xcconfig:
- Configurations/JavaScriptCore.xcconfig:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Scripts/create-symlink-to-altroot.sh:
Source/ThirdParty/libwebrtc:
Added explicit PUBLIC_HEADERS_FOLDER_PATH vavriable. Otherwise we get the
project version with didn't include the "libwebrtc" component.
- Configurations/libwebrtc.xcconfig:
Source/WebCore:
Since WebCore is installed under the WebKit framework on macOS, we don't need a symlink for the
WebCore.framework itself. As a result, modified the create symlink script to not be dependent
on the target location, since it isn't created when doing a catalyst build.
Instead the script creates the parent directory of the symlink if it doesn't exisst.
- Configurations/WebCore.xcconfig:
- Scripts/create-symlink-to-altroot.sh:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit:
Since we symlink the the whole framework when building the main "WebKit" target,
we can eliminate the create symlink script for the WebAuth target.
Eliminated the setting of ALTERNATE_ROOT_PATH build variables for all XPC services.
- Configurations/BaseXPCService.xcconfig:
- WebKit.xcodeproj/project.pbxproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 5:06 PM Changeset in webkit [288715] by
-
- 9 edits in branches/safari-613.1.14.5-branch/Source
Versioning.
WebKit-7613.1.14.5.4
- 4:58 PM Changeset in webkit [288714] by
-
- 2 edits in trunk/Tools
[EWS] Differentiate UAT and production PR processing
https://bugs.webkit.org/show_bug.cgi?id=235669
<rdar://problem/88093065>
Reviewed by Aakash Jain.
- CISupport/ews-build/events.py:
(Events.buildFinished): Append custom_suffix to reported context.
(Events.stepStartedGitHub): Ditto.
Canonical link: https://commits.webkit.org/246510@main
- 4:53 PM Changeset in webkit [288713] by
-
- 1 copy in tags/Safari-614.1.1
Tag Safari-614.1.1.
- 4:44 PM Changeset in webkit [288712] by
-
- 2 edits in trunk/Source/WTF
Unreviewed fix for older macOS builds after r288577.
- wtf/Assertions.h:
- 4:42 PM Changeset in webkit [288711] by
-
- 3 edits in trunk/Source/WebKit
[iOS][macOS] Removed unneeded telemetry
https://bugs.webkit.org/show_bug.cgi?id=235742
Reviewed by Darin Adler.
Remove some telemetry we have sufficient data for.
- Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
- WebProcess/com.apple.WebProcess.sb.in:
- 4:24 PM Changeset in webkit [288710] by
-
- 15 edits in trunk/Source
com.apple.WebKit.WebAuthn.xpc fails to build with system content path
https://bugs.webkit.org/show_bug.cgi?id=235734
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
Adjusted build path variables to handle the case when building for Catalyst.
Did this by refactoring how the optional system content path is added as a prefix to paths.
As a result, modified the create symlink script to not be dependent on the target location,
since it isn't created when doing a catalyst build. Instead the script creates the parent
directory of the symlink if it doesn't exisst.
- Configurations/Base.xcconfig:
- Configurations/JSC.xcconfig:
- Configurations/JavaScriptCore.xcconfig:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Scripts/create-symlink-to-altroot.sh:
Source/ThirdParty/libwebrtc:
Added explicit PUBLIC_HEADERS_FOLDER_PATH vavriable. Otherwise we get the
project version with didn't include the "libwebrtc" component.
- Configurations/libwebrtc.xcconfig:
Source/WebCore:
Since WebCore is installed under the WebKit framework on macOS, we don't need a symlink for the
WebCore.framework itself. As a result, modified the create symlink script to not be dependent
on the target location, since it isn't created when doing a catalyst build.
Instead the script creates the parent directory of the symlink if it doesn't exisst.
- Configurations/WebCore.xcconfig:
- Scripts/create-symlink-to-altroot.sh:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit:
Since we symlink the the whole framework when building the main "WebKit" target,
we can eliminate the create symlink script for the WebAuth target.
Eliminated the setting of ALTERNATE_ROOT_PATH build variables for all XPC services.
- Configurations/BaseXPCService.xcconfig:
- WebKit.xcodeproj/project.pbxproj:
- 4:01 PM Changeset in webkit [288709] by
-
- 1 edit1 add in trunk
Add .clangd similar to .ccls
https://bugs.webkit.org/show_bug.cgi?id=235743
Reviewed by Saam Barati.
This patch adds .clangd local configuration, which is similar to .ccls.
- .clangd: Added.
- 3:29 PM Changeset in webkit [288708] by
-
- 1 edit in trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/editor.py
VSCode needs to be an option for commit message editor in git-webkit
https://bugs.webkit.org/show_bug.cgi?id=235731
Reviewed by Jonathan Bedard.
- Tools/Scripts/libraries/webkitcorepy/webkitcorepy/editor.py:
(Editor):
(Editor.vscode):
(Editor.programs):
Canonical link: https://commits.webkit.org/246505@main
- 3:24 PM Changeset in webkit [288707] by
-
- 9 edits in trunk
Geolocation API should callback with error if doc is not fully active
https://bugs.webkit.org/show_bug.cgi?id=228319
<rdar://problem/81450315>
Reviewed by Ryosuke Niwa.
LayoutTests/imported/w3c:
- web-platform-tests/geolocation-API/non-fully-active.https-expected.txt:
Rebaseline WPT test that is now passing.
Source/WebCore:
Test: imported/w3c/web-platform-tests/geolocation-API/non-fully-active.https.html
- Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::getCurrentPosition):
(WebCore::Geolocation::watchPosition):
Schedule a task to call the error callback if the document is not fully active, as
per the specification:
- dom/TaskSource.h:
As Geolocation task source for the HTML5 event loop, as per the Geolocation
specification.
LayoutTests:
Update existing layout tests to reflect behavior change.
- fast/dom/Geolocation/disconnected-frame-already-expected.txt:
- fast/dom/Geolocation/disconnected-frame-already.html:
Aligns test assertions with the spec. Gecko also passes it.
- TestExpectations: Unskip the WPT test.
- 3:22 PM Changeset in webkit [288706] by
-
- 2 edits in trunk/Source/WTF
Change version number for HAVE_PASSKIT_DEFAULT_SHIPPING_METHOD
https://bugs.webkit.org/show_bug.cgi?id=235732
<rdar://problem/88152385>
Reviewed by Wenson Hsieh.
- wtf/PlatformHave.h:
- 3:18 PM Changeset in webkit [288705] by
-
- 2 edits in trunk/Tools
[EWS] Ignore hooks from closed PRs
https://bugs.webkit.org/show_bug.cgi?id=235666
<rdar://problem/88091611>
Unreviewed follow-up fix.
- Tools/CISupport/ews-build/events.py:
(GitHubEventHandlerNoEdits.handle_pull_request): 'state' is a member of the 'pull_request' dictionary.
- 3:07 PM Changeset in webkit [288704] by
-
- 1 copy in tags/Safari-613.1.15
Tag Safari-613.1.15.
- 2:23 PM Changeset in webkit [288703] by
-
- 2 edits in trunk/Source/WebCore
AXIsolatedObject::children should honor the parameter updateChildrenIfNeeded.
https://bugs.webkit.org/show_bug.cgi?id=235728
<rdar://problem/88149344>
Reviewed by Chris Fleizach.
This will allow to get a more accurate smapshot of the isolated tree
during debugging. For instance it will allow to do AXLOG of the isolated
tree in applyPendingChanges which is currently not possible because
results in infinite recursion.
- accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::children):
- 2:18 PM Changeset in webkit [288702] by
-
- 7 edits in trunk/Source/WebInspectorUI
Web Inspector: Console: move Preserve Log checkbox navigation item to a gear-with-contextmenu to save space (and match the Network Tab)
https://bugs.webkit.org/show_bug.cgi?id=235541
Reviewed by Patrick Angle.
Also collapse source scope bar into a single button for more space, and align it (and the
filter bar and type scope bar) to the left to better match other tabs.
- UserInterface/Views/LogContentView.js:
(WI.LogContentView):
(WI.LogContentView.prototype.get navigationItems):
(WI.LogContentView.prototype._updateOtherFiltersNavigationItemState): Added.
(WI.LogContentView.prototype._handleOtherFiltersNavigationItemContextMenu): Added.
(WI.LogContentView.prototype._handleClearLogOnNavigateSettingChanged):
(WI.LogContentView.prototype._showHiddenMessagesBannerIfNeeded):
Drive-by: Also reset the message sourceWI.ScopeBarwhen clearing filters.
- UserInterface/Views/LogContentView.css:
(.console-find-banner): Added.
(.message-channel-scope-bar.default-item-selected:not(:hover)): Added.
(.message-channel-scope-bar.default-item-selected:hover): Added.
(.log-scope-bar + .message-channel-scope-bar): Added.
(.console-other-filters-button > .glyph): Added.
(.console-other-filters-button:active > .glyph): Added.
(.console-other-filters-button.active > .glyph): Added.
(.console-other-filters-button.active:active > .glyph): Added.
- UserInterface/Views/ConsoleTabContentView.js:
(WI.ConsoleTabContentView):
Override theflexibleNavigationItemso that there's no expanding space before the filter.
- UserInterface/Views/ConsoleDrawer.js:
(WI.ConsoleDrawer):
Somehow this got overlooked when the constructor ofWI.ContentBrowserwas changed :(
- UserInterface/Views/FindBanner.css:
(.find-banner):
(.find-banner > input[type="search"]):
Add--find-banner-input-margin-startso that this can be overridden by specific clients.
- Localizations/en.lproj/localizedStrings.js:
- 2:11 PM Changeset in webkit [288701] by
-
- 113 edits10 adds in trunk
"Unrecognized Content-Security-Policy directive 'worker-src'."
https://bugs.webkit.org/show_bug.cgi?id=235260
<rdar://problem/83734079>
Reviewed by Brent Fulgham.
LayoutTests/imported/w3c:
- web-platform-tests/content-security-policy/child-src/child-src-cross-origin-load.sub-expected.txt:
- web-platform-tests/content-security-policy/child-src/child-src-worker-blocked.sub-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-self/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-self/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-self/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-self/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-wildcard/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-wildcard/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-wildcard/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/script-src-wildcard/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-classic.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-classic.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-import.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-import.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-module.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/sharedworker-module.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-classic.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-classic.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-import.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-import.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-module.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-module.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/sharedworker-import.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/sharedworker-import.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-wildcard/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-wildcard/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-wildcard/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-wildcard/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-self/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-self/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-self/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-self/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-wildcard/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-wildcard/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-wildcard/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/script-src-wildcard/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/worker-src/dedicated-fallback.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/dedicated-none.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-child-fallback-blocked.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-script-fallback.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-self-fallback.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/service-none.https.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/service-worker-src-child-fallback-blocked.https.sub-expected.txt:
- web-platform-tests/content-security-policy/worker-src/shared-child.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-fallback.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-list.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-none.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-self.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-worker-src-child-fallback-blocked.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-worker-src-child-fallback.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-worker-src-default-fallback.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-worker-src-script-fallback.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/worker-src/shared-worker-src-self-fallback.sub-expected.txt: Added.
- web-platform-tests/content-security-policy/blob/self-doesnt-match-blob.sub-expected.txt:
- web-platform-tests/content-security-policy/blob/star-doesnt-match-blob.sub-expected.txt:
- web-platform-tests/content-security-policy/gen/top.http-rp/worker-src-self/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-classic.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-classic.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-module.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/sharedworker-module.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-classic.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-classic.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-import.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-import.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-module.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-none/worker-module.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-self/sharedworker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-self/sharedworker-import-data.https-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-self/worker-import-data.http-expected.txt:
- web-platform-tests/content-security-policy/gen/top.meta/worker-src-self/worker-import-data.https-expected.txt:
Source/WebCore:
Implementation of worker-src directive. According to https://www.w3.org/TR/CSP3/#changes-from-level-2
the worker-src directive now restricts URLs that can be loaded by
workers, and defers to child-src if not specified.
- bindings/js/WorkerModuleScriptLoader.cpp:
(WebCore::WorkerModuleScriptLoader::load):
Check worker-src instead of child-src for worker loads.
- loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::isAllowedByContentSecurityPolicy):
- loader/ThreadableLoader.h:
Check worker-src instead of child-src for worker loads.
- page/csp/ContentSecurityPolicy.cpp:
We can remove allowChildContextFromSource which is now fully replaced
by allowWorkerFromSource.
(WebCore::ContentSecurityPolicy::allowWorkerFromSource const):
(WebCore::ContentSecurityPolicy::allowChildContextFromSource const): Deleted.
- page/csp/ContentSecurityPolicy.h:
- page/csp/ContentSecurityPolicyDirectiveList.cpp:
(WebCore::ContentSecurityPolicyDirectiveList::operativeDirectiveForWorkerSrc const):
worker-src defers to child-src, then script-src, then default-src.
(WebCore::ContentSecurityPolicyDirectiveList::violatedDirectiveForWorker):
(WebCore::ContentSecurityPolicyDirectiveList::addDirective):
- page/csp/ContentSecurityPolicyDirectiveList.h:
- page/csp/ContentSecurityPolicyDirectiveNames.cpp:
- page/csp/ContentSecurityPolicyDirectiveNames.h:
- workers/AbstractWorker.cpp:
(WebCore::AbstractWorker::resolveURL):
- workers/AbstractWorker.h:
We check LegacySchemeRegistry::schemeShouldBypassContentSecurityPolicy
in allowWorkerFromSource, so we don't need to check in in AbstractWorker::resolveURL
anymore. We can also replace the child-src checks with worker-src
ones.
- workers/Worker.cpp:
(WebCore::Worker::create):
- workers/WorkerFontLoadRequest.cpp:
(WebCore::WorkerFontLoadRequest::load):
- workers/service/ServiceWorkerContainer.cpp:
(WebCore::ServiceWorkerContainer::addRegistration):
Block service worker registrations not specified by worker-src.
- workers/shared/SharedWorker.cpp:
(WebCore::SharedWorker::create):
Block shared worker urls not specified by worker-src.
- workers/shared/SharedWorkerScriptLoader.cpp:
(WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
Source/WebKit:
- NetworkProcess/NetworkLoadChecker.cpp:
(WebKit::NetworkLoadChecker::isAllowedByContentSecurityPolicy):
LayoutTests:
Update tests now that worker-src defaults eventually to script-src.
Since this was not the case with child-src, legacy CSP tests do not
expect script-src policies to affect workers. We can fix this by
specifying a separate worker-src policy for these tests to maintain
behavior.
Some wpt tests log random URL strings that change for every test
iteration. For now we can't unskip those.
- http/tests/security/contentSecurityPolicy/1.1/child-src/worker-blocked-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/child-src/worker-redirect-blocked-expected.txt:
- http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp-blocks-eval.html:
- http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp-importScripts-block-aborts-all-subsequent-imports.html:
- http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp-importScripts-redirect-cross-origin-blocked.html:
- http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.html:
- http/tests/security/contentSecurityPolicy/worker-script-src.html:
- http/tests/security/isolatedWorld/bypass-main-world-csp-worker-blob-eval.html:
- http/tests/security/isolatedWorld/bypass-main-world-csp-worker-blob-importScript-redirect-cross-origin.html:
- http/tests/security/isolatedWorld/bypass-main-world-csp-worker-blob-xhr.html:
- http/tests/security/isolatedWorld/bypass-main-world-csp-worker.html:
- 1:37 PM Changeset in webkit [288700] by
-
- 5 edits in trunk
Default to 32 bit refcount for CanMakeCheckedPtr
https://bugs.webkit.org/show_bug.cgi?id=235723
rdar://86602114
Reviewed by Darin Adler.
Source/WTF:
It is currently uint16_t for no good reason. It is no unreasonable to have an object being referenced
by a large number of other objects.
We just hit the first bug caused by overrunning it (in IFC).
- wtf/CheckedRef.h:
uint16_t -> uint32_t
Tools:
- TestWebKitAPI/Tests/WTF/CheckedPtr.cpp:
(TestWebKitAPI::TEST):
- TestWebKitAPI/Tests/WTF/CheckedRef.cpp:
- 1:21 PM Changeset in webkit [288699] by
-
- 2 edits in trunk/Source/WebCore
Fix !ENABLE(ACCESSIBILITY) after r288674
https://bugs.webkit.org/show_bug.cgi?id=235727
<rdar://problem/88147878>
Unreviewed build fix.
In r288674 AXObjectCache had updateLoadingProgress added but it wasn't added to the block
of inlined !ENABLE(ACCESSIBILITY) methods further down the file.
- accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::updateLoadingProgress):
- 1:06 PM Changeset in webkit [288698] by
-
- 51 edits3 copies1 move3 adds in trunk
[Payment Request] allow additional payment method specific data to be passed to
complete()
https://bugs.webkit.org/show_bug.cgi?id=235415
<rdar://problem/82970451>
Reviewed by Darin Adler.
Source/WebCore:
This allows for developers/merchants to give additional details to Apple Pay on completion.
Issue: <https://github.com/w3c/payment-request/issues/981>
Spec PR: <https://github.com/w3c/payment-request/pull/982>
Test: http/tests/paymentrequest/ApplePayPaymentCompleteDetails.https.html
- Modules/paymentrequest/PaymentCompleteDetails.h: Added.
- Modules/paymentrequest/PaymentCompleteDetails.idl: Added.
- Modules/paymentrequest/PaymentResponse.h:
- Modules/paymentrequest/PaymentResponse.idl:
- Modules/paymentrequest/PaymentResponse.cpp:
(WebCore::PaymentResponse::complete):
- Modules/paymentrequest/PaymentRequest.h:
- Modules/paymentrequest/PaymentRequest.cpp:
(WebCore::PaymentRequest::complete):
- Modules/paymentrequest/PaymentHandler.h:
Add new
dictionary PaymentCompleteDetailsthat's allowed as an optional second argument to
PaymentResponse.prototype.complete. If provided, JSON stringify it and pass the serialized
string data along to the relevantPaymentHandlerfor JSON (re)parsing if the associated
payment method requires it.
- Modules/applepay/paymentrequest/ApplePayPaymentHandler.h:
- Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp:
(WebCore::convertAndValidate):
(WebCore::merge):
(WebCore::ApplePayPaymentHandler::complete):
(WebCore::ApplePayPaymentHandler::retry):
- Modules/applepay/paymentrequest/ApplePayPaymentCompleteDetails.idl: Added.
- Modules/applepay/paymentrequest/ApplePayPaymentCompleteDetails.h: Added.
(WebCore::ApplePayPaymentCompleteDetails::encode const):
(WebCore::ApplePayPaymentCompleteDetails::decode):
Convert the JSON (re)parsed object into aApplePayPaymentCompleteDetails, merging it into
theApplePayPaymentAuthorizationResultpassed to thePaymentCoordinator(see below).
- Modules/applepay/ApplePayPaymentAuthorizationResult.h:
- Modules/applepay/ApplePayPaymentAuthorizationResult.cpp: Added.
(WebCore::ApplePayPaymentAuthorizationResult::isFinalState const):
(WebCore::ApplePayPaymentAuthorizationResult::encode const):
(WebCore::ApplePayPaymentAuthorizationResult::decode):
- Modules/applepay/ApplePaySessionPaymentRequest.h:
- Modules/applepay/ApplePaySessionPaymentRequest.cpp:
(WebCore::isFinalStateResult): Deleted.
- Modules/applepay/ApplePaySession.h:
- Modules/applepay/ApplePaySession.cpp:
(WebCore::convertAndValidate):
(WebCore::ApplePaySession::completePayment):
- Modules/applepay/PaymentCoordinator.h:
- Modules/applepay/PaymentCoordinator.cpp:
(WebCore::PaymentCoordinator::completePaymentSession):
- Modules/applepay/PaymentCoordinatorClient.h:
- loader/EmptyClients.cpp:
- testing/MockPaymentCoordinator.h:
- testing/MockPaymentCoordinator.cpp:
(WebCore::MockPaymentCoordinator::completePaymentSession):
ReplacePaymentAuthorizationResultwithApplePayPaymentAuthorizationResultso that data
doesn't need to be moved between identically shaped structs for sending to the UIProcess.
- Modules/applepay/cocoa/PaymentAPIVersionCocoa.mm:
(WebCore::PaymentAPIVersion::current):
Increment the current version.
- Modules/applepay-ams-ui/ApplePayAMSUIPaymentHandler.h:
- Modules/applepay-ams-ui/ApplePayAMSUIPaymentHandler.cpp:
(WebCore::ApplePayAMSUIPaymentHandler::complete):
AMS UI does not allow/require any data to be provided on completion.
- CMakeLists.txt:
- DerivedSources-input.xcfilelist:
- DerivedSources-output.xcfilelist:
- DerivedSources.make:
- Headers.cmake:
- PlatformMac.cmake:
- Sources.txt:
- SourcesCocoa.txt:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit:
This allows for developers/merchants to give additional details to Apple Pay on completion.
Issue: <https://github.com/w3c/payment-request/issues/981>
Spec PR: <https://github.com/w3c/payment-request/pull/982>
- WebProcess/ApplePay/WebPaymentCoordinator.h:
- WebProcess/ApplePay/WebPaymentCoordinator.cpp:
(WebKit::WebPaymentCoordinator::completePaymentSession):
- Scripts/webkit/messages.py:
(headers_for_type):
- Shared/WebCoreArgumentCoders.h:
- Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
(IPC::ArgumentCoder<WebCore::PaymentAuthorizationResult>::encode): Deleted.
(IPC::ArgumentCoder<WebCore::PaymentAuthorizationResult>::decode): Deleted.
- Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in:
- Shared/ApplePay/WebPaymentCoordinatorProxy.h:
- Shared/ApplePay/WebPaymentCoordinatorProxy.cpp:
(WebKit::WebPaymentCoordinatorProxy::completePaymentSession):
- Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession):
- Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm:
- Platform/cocoa/PaymentAuthorizationPresenter.h:
- Platform/cocoa/PaymentAuthorizationPresenter.mm:
(WebKit::toPKPaymentAuthorizationStatus):
(WebKit::PaymentAuthorizationPresenter::completePaymentSession):
ReplacePaymentAuthorizationResultwithApplePayPaymentAuthorizationResultso that data
doesn't need to be moved between identically shaped structs for sending to the UIProcess.
- Platform/cocoa/WKPaymentAuthorizationDelegate.h:
- Platform/cocoa/WKPaymentAuthorizationDelegate.mm:
Add some WKA hooks.
Source/WebKitLegacy/mac:
- WebCoreSupport/WebPaymentCoordinatorClient.h:
- WebCoreSupport/WebPaymentCoordinatorClient.mm:
(WebPaymentCoordinatorClient::completePaymentSession):
LayoutTests:
- http/tests/paymentrequest/ApplePayPaymentCompleteDetails.https.html: Added.
- http/tests/paymentrequest/ApplePayPaymentCompleteDetails.https-expected.txt: Added.
- 12:56 PM Changeset in webkit [288697] by
-
- 104 edits in trunk/LayoutTests
Add fuzzy match meta headers to tests
https://bugs.webkit.org/show_bug.cgi?id=235671
Reviewed by Simon Fraser.
LayoutTests/imported/mozilla:
- svg/blend-saturation.svg:
- svg/filters/feComposite-2.svg:
- svg/filters/feFlood-1.svg:
- svg/filters/feFlood-2.svg:
- svg/filters/feImage-1.svg:
- svg/mask-type-01.svg:
- svg/opacity-and-gradient-02.svg:
- svg/text-scale-02.svg:
- svg/text/simple-fill-gradient.svg:
LayoutTests:
Use a conservative range of pixels based on a comparison between an EWS run and a run on an
M1 16" MacBook Pro.
- platform/ios/TestExpectations: a few tests are real failures with accelerated drawing. Mark
as image failures.
- compositing/clipping/border-radius-async-overflow-non-stacking.html: Some of the ranges
were not large enough, and still reported errors on my machine. Expanding range.
- compositing/geometry/css-clip-oversize.html:
- compositing/geometry/scroller-with-clipping-and-foreground-layers.html:
- compositing/masks/compositing-clip-path-and-mask.html:
- compositing/patterns/direct-pattern-compositing-add-text.html:
- compositing/patterns/direct-pattern-compositing-contain.html:
- compositing/patterns/direct-pattern-compositing-padding.html:
- compositing/patterns/direct-pattern-compositing-size.html:
- compositing/patterns/direct-pattern-compositing.html:
- compositing/scrolling/async-overflow-scrolling/border-radius-on-scroll-container.html:
- css3/background/background-repeat-space-border.html:
- css3/background/background-repeat-space-content.html:
- css3/background/background-repeat-space-padding.html:
- css3/blending/background-blend-mode-body-image.html:
- css3/blending/background-blend-mode-body-transparent-color-and-image.html:
- css3/blending/background-blend-mode-body-transparent-image.html:
- css3/filters/filters-on-svg-root.html:
- css3/masking/mask-luminance-gradient.html:
- css3/masking/mask-repeat-space-border.html:
- css3/masking/mask-repeat-space-content.html:
- css3/masking/mask-repeat-space-padding.html:
- fast/attachment/attachment-border-should-stay-inside-attachment.html:
- fast/backgrounds/background-opaque-clipped-gradients.html:
- fast/backgrounds/generated-bck-image-with-small-relative-size.html:
- fast/backgrounds/hidpi-background-image-contain-cover-scale-needs-more-precision.html:
- fast/backgrounds/scaled-gradient-background.html:
- fast/borders/border-painting-inset.html:
- fast/borders/border-painting-outset.html:
- fast/borders/border-radius-on-html.html:
- fast/borders/hidpi-border-painting-groove.html:
- fast/borders/hidpi-border-painting-ridge.html:
- fast/borders/wrong-border-color-when-radius-is-present.html:
- fast/box-shadow/inset-box-shadow.html:
- fast/box-shadow/inset-spread-box-shadow-split-inline.html:
- fast/css/cascade/box-shadow-and-webkit-box-shadow-cascade-order.html:
- fast/css/object-fit/object-fit-img-svg2.html:
- fast/gradients/conic-center-outside-box.html:
- fast/gradients/conic-extended-stops.html:
- fast/gradients/conic-from-angle.html:
- fast/gradients/conic-off-center.html:
- fast/gradients/conic-repeating.html:
- fast/gradients/conic-two-hints.html:
- fast/gradients/conic.html:
- fast/gradients/linear-two-hints-angle.html:
- fast/gradients/linear-two-hints.html:
- fast/gradients/radial-two-hints.html:
- fast/images/async-image-background-image-repeated.html:
- fast/images/exif-orientation-background-image-repeat.html:
- fast/images/exif-orientation-svg-feimage.html:
- fast/images/hidpi-image-position-on-device-pixels-with-border-radius.html:
- fast/images/sprite-sheet-image-draw.html:
- fast/inline/inline-background-clip-text-multiline.html:
- fast/shadow-dom/svg-linear-gradient-dynamic-update-href-in-shadow-tree.html:
- fast/shadow-dom/svg-linear-gradient-href-in-shadow-tree.html:
- fast/shadow-dom/svg-radial-gradient-dynamic-update-href-in-shadow-tree.html:
- fast/shadow-dom/svg-radial-gradient-href-in-shadow-tree.html:
- fast/text/empty-shadow.html:
- fast/text/initial-advance-selected-text.html:
- fast/transforms/skew-x-135deg-with-gradient.html:
- fast/transforms/skew-y-135deg-with-gradient.html:
- imported/blink/fast/gradients/large-horizontal-gradient.html:
- imported/blink/fast/gradients/large-vertical-gradient.html:
- imported/blink/svg/custom/fill-fallback-currentcolor-1.svg:
- imported/blink/svg/text/obb-paintserver.html:
- svg/animations/animated-string-href.svg:
- svg/clip-path/clip-opacity.html:
- svg/clip-path/clip-path-shape-rounded-inset-1.svg:
- svg/clip-path/clip-path-shape-rounded-inset-2.svg:
- svg/css/invalid-color-cascade.svg:
- svg/custom/composited-svg-with-opacity.html:
- svg/custom/hidpi-masking-clipping.svg:
- svg/custom/href-svg-namespace-static.svg:
- svg/custom/href-xlink-href-gradient-element.svg:
- svg/custom/local-url-reference-fill.html:
- svg/custom/local-url-reference-radial-gradient.html:
- svg/custom/local-url-reference-srcdoc.html:
- svg/custom/local-url-reference-stroke.html:
- svg/dynamic-updates/SVGLinearGradientElement-svgdom-href-prop.html:
- svg/dynamic-updates/SVGRadialGradientElement-svgdom-href-prop.html:
- svg/filters/feComposite.svg:
- svg/filters/feImage-element-primitive-subregion.svg:
- svg/gradients/spreadMethod.svg:
- svg/gradients/spreadMethodAlpha.svg:
- svg/gradients/spreadMethodDiagonal.svg:
- svg/gradients/spreadMethodDiagonal2.svg:
- svg/gradients/spreadMethodDiagonal3.svg:
- svg/gradients/spreadMethodDiagonal4.svg:
- svg/gradients/spreadMethodDuplicateStop.svg:
- svg/gradients/spreadMethodReversed.svg:
- svg/gradients/stopAlpha.svg:
- system-preview/badge.html:
- webanimations/opacity-animation.html:
- 12:49 PM Changeset in webkit [288696] by
-
- 8 edits in trunk
[XCBuild] Add missing task dependencies on generate-unified-source-bundles.rb
https://bugs.webkit.org/show_bug.cgi?id=235724
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
Source/WebCore:
The targets which generate unified sources all use
/usr/local/include/wtf/Scripts/generate-unified-source-bundles.rb, but do not declare it.
In workspace builds, WTF may not have been built and this header may not exist yet.
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit:
- WebKit.xcodeproj/project.pbxproj:
Source/WebKitLegacy:
- WebKitLegacy.xcodeproj/project.pbxproj:
Tools:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- 12:27 PM Changeset in webkit [288695] by
-
- 1 edit2 adds in trunk/LayoutTests/imported/w3c
Add layout test for Bug 235645
https://bugs.webkit.org/show_bug.cgi?id=235718
Reviewed by Alex Christensen.
- web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt: Added.
- web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html: Added.
- 12:10 PM Changeset in webkit [288694] by
-
- 9 edits in trunk/Source
Unreviewed, reverting r288670.
https://bugs.webkit.org/show_bug.cgi?id=235725
broke TestWebKitAPI.DragAndDropTests.CanStartDragOnModel on
iOS
Reverted changeset:
"<model> should only be draggable on iOS"
https://bugs.webkit.org/show_bug.cgi?id=235697
https://commits.webkit.org/r288670
- 12:07 PM Changeset in webkit [288693] by
-
- 2 edits in trunk/Source/WebCore
AX: Remove ancestor flag initialized ASSERT in AXIsolatedObject::initializeAttributeData
https://bugs.webkit.org/show_bug.cgi?id=235717
Reviewed by Andres Gonzalez.
This patch removes:
ASSERT(isRoot object.ancestorFlagsAreInitialized()); From AXIsolatedObject::initializeAttributeData.
This ASSERT is not very useful, since after
https://bugs.webkit.org/show_bug.cgi?id=235189 we do a single
traversal to compute all flags in the rare but legitimate cases
they aren't already initialized.
- accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeAttributeData):
- 12:03 PM Changeset in webkit [288692] by
-
- 21 edits in trunk
Generated xcfilelists contain symlinks when building for macOS
https://bugs.webkit.org/show_bug.cgi?id=235663
rdar://88054903
Source/WebCore:
Introduce a build variable that expands to
Versions/Awhen building for macOS, so that our
input filelists refer to the resolved location of headers and other files inside of
framework bundles. This fixes task dependencies which were not being detected by XCBuild.
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- Configurations/Base.xcconfig:
- Configurations/WebCore.xcconfig:
Source/WebInspectorUI:
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- Configurations/Base.xcconfig:
- Configurations/WebInspectorUIFramework.xcconfig:
Source/WebKit:
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- Configurations/Base.xcconfig:
- Configurations/BaseTarget.xcconfig:
- Configurations/BaseXPCService.xcconfig:
- Configurations/WebKitSwift.xcconfig:
- Configurations/adattributiond.xcconfig:
- Configurations/webpushd.xcconfig:
Source/WebKitLegacy:
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- Configurations/Base.xcconfig:
- Configurations/BaseTarget.xcconfig:
- Configurations/BaseXPCService.xcconfig:
- Configurations/WebKitSwift.xcconfig:
- Configurations/adattributiond.xcconfig:
- Configurations/webpushd.xcconfig:
Source/WebKitLegacy/mac:
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- Configurations/Base.xcconfig:
- Configurations/WebKitLegacy.xcconfig:
Tools:
Patch by Elliott Williams <Elliott Williams> on 2022-01-27
Reviewed by Alexey Proskuryakov.
- DumpRenderTree/mac/Configurations/Base.xcconfig:
- TestWebKitAPI/Configurations/Base.xcconfig:
- WebKitTestRunner/Configurations/Base.xcconfig:
- 11:59 AM Changeset in webkit [288691] by
-
- 3 edits in branches/safari-614.1.1-branch/Source/WebKit
Cherry-pick r288658. rdar://problem/87999257
Symbols not always properly hidden when using WebKitAdditions to introduce new API
https://bugs.webkit.org/show_bug.cgi?id=235674
<rdar://87999257>
Reviewed by Wenson Hsieh.
Surround APIs from WebKitAdditions with
#if ENABLE(API_WEBKIT_ADDITIONS)instead of
#if USE(APPLE_INTERNAL_SDK)and leaving API_WEBKIT_ADDITIONS to be intentionally
undefined. This is because we never want to build the code inside this #if block.
Instead, those blocks are only meant to be replaced by the
replace-webkit-additions-includes.py with the code from WebKitAdditions.
- UIProcess/API/Cocoa/WKWebpagePreferences.h:
- mac/replace-webkit-additions-includes.py: (main):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 11:55 AM Changeset in webkit [288690] by
-
- 8 edits1 add in trunk
ImageAnalysisQueue should prioritize elements that intersect the visible viewport
https://bugs.webkit.org/show_bug.cgi?id=235664
rdar://88131827
Reviewed by Darin Adler.
Source/WebCore:
Make few adjustments to the image analysis queueing mechanism, such that we prioritize analyzing images that
are in the visible document rect over offscreen images. To do this, we turn the current image element queue into
a PriorityQueue instead, which treats images that are in the visible viewport (at enqueueing time) as higher
priority over images that are not in the visible viewport, and otherwise treats images that were queued earlier
as higher priority in the case where both images are either visible or not visible.
Test: ImageAnalysisTests.ImageAnalysisPrioritizesVisibleImages
- page/ImageAnalysisQueue.cpp:
(WebCore::ImageAnalysisQueue::enqueueIfNeeded):
(WebCore::ImageAnalysisQueue::resumeProcessingSoon):
(WebCore::ImageAnalysisQueue::resumeProcessing):
(WebCore::ImageAnalysisQueue::clear):
- page/ImageAnalysisQueue.h:
Swap out the Deque for a PriorityQueue, and introduce ImageAnalysisQueue::Task to represent an image analysis
task (which can be compared against other tasks to determine priority usingfirstIsHigherPriority()below).
(WebCore::ImageAnalysisQueue::firstIsHigherPriority):
Tools:
Add an API test to verify that batch image analysis prioritizes a visible image over another image that appears
first in DOM traversal order, but is offscreen.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WebKitCocoa/ImageAnalysisTests.mm:
(TestWebKitAPI::processedRequests):
(TestWebKitAPI::processRequestWithResults):
(TestWebKitAPI::makeFakeRequest):
(TestWebKitAPI::makeImageAnalysisRequestSwizzler):
(TestWebKitAPI::processRequestWithError):
Additionally add a mechanism for swizzling out VKImageAnalyzerRequest initialization to return a mock object
(TestVKImageAnalyzerRequest) instead, which can then be used to inspect the CGImage that would've been sent for
analysis. See changes inImageAnalysisTestingUtilities.*below for more information.
(TestWebKitAPI::TEST):
- TestWebKitAPI/Tests/WebKitCocoa/offscreen-image.html: Added.
- TestWebKitAPI/cocoa/ImageAnalysisTestingUtilities.h:
- TestWebKitAPI/cocoa/ImageAnalysisTestingUtilities.mm:
(-[TestVKImageAnalyzerRequest initWithCGImage:orientation:requestType:]):
(-[TestVKImageAnalyzerRequest image]):
(-[TestVKImageAnalyzerRequest imageURL]):
(-[TestVKImageAnalyzerRequest setImageURL:]):
(-[TestVKImageAnalyzerRequest pageURL]):
(-[TestVKImageAnalyzerRequest setPageURL:]):
(TestWebKitAPI::createRequest):
- 11:45 AM Changeset in webkit [288689] by
-
- 8 edits in trunk/Source
Disable WebXR experimental feature by default
https://bugs.webkit.org/show_bug.cgi?id=235688
Patch by Ada Chan <ada.chan@apple.com> on 2022-01-27
Reviewed by Tim Horton.
Source/WebKit:
Remove WebKit::defaultWebXREnabled() since it's no longer used.
- Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultWebXREnabled): Deleted.
- Shared/WebPreferencesDefaultValues.h:
Source/WebKitLegacy/mac:
Remove WebKit::defaultWebXREnabled() since it's no longer used.
- WebView/WebPreferencesDefaultValues.h:
- WebView/WebPreferencesDefaultValues.mm:
(WebKit::defaultWebXREnabled): Deleted.
Source/WTF:
- Scripts/Preferences/WebPreferencesExperimental.yaml:
- 11:35 AM Changeset in webkit [288688] by
-
- 10 edits in trunk/Tools
[webkitbugspy] JSON encode trackers
https://bugs.webkit.org/show_bug.cgi?id=235426
<rdar://problem/87856802>
Reviewed by Dewei Zhu.
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker.Encoder.default): Encode bugzilla Tracker object.
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
(Tracker.Encoder.default): Encode github Tracker object.
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.Encoder.default): Encode radar Tracker object.
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
(TestBugzilla.test_encoding):
(TestBugzilla.test_decoding):
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/github_unittest.py:
(TestGitHub.test_encoding):
(TestGitHub.test_decoding):
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py:
(TestRadar.test_encoding):
(TestRadar.test_decoding):
- Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tracker.py:
(Tracker.Encoder.default): Generic encoding for all Tracker objects.
(Tracker.from_json): Decode dictionary into Tracker objects.
Canonical link: https://commits.webkit.org/246487@main
- 11:25 AM Changeset in webkit [288687] by
-
- 3 edits in branches/safari-612.4.9.1-branch/Source/WebCore
Cherry-pick r288539. rdar://problem/88139659
Expand RefPtr / Ref use in FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=235551
rdar://87986840
Reviewed by Mark Lam.
Apply Ref / RefPtr instead of taking SerializedScriptValue*.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadInSameDocument): (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
- loader/FrameLoader.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 11:23 AM Changeset in webkit [288686] by
-
- 8 edits in branches/safari-612.4.9.1-branch/Source
Versioning.
WebKit-7612.4.9.1.8
- 11:16 AM Changeset in webkit [288685] by
-
- 3 edits in branches/safari-612.4.9.0-branch/Source/WebCore
Cherry-pick r288539. rdar://problem/88139598
Expand RefPtr / Ref use in FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=235551
rdar://87986840
Reviewed by Mark Lam.
Apply Ref / RefPtr instead of taking SerializedScriptValue*.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadInSameDocument): (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
- loader/FrameLoader.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 11:14 AM Changeset in webkit [288684] by
-
- 8 edits in branches/safari-612.4.9.0-branch/Source
Versioning.
WebKit-7612.4.9.0.4
- 10:54 AM Changeset in webkit [288683] by
-
- 1 copy in tags/Safari-613.1.14.41.3
Tag Safari-613.1.14.41.3.
- 10:53 AM Changeset in webkit [288682] by
-
- 12 edits in branches/safari-613.1.14.41-branch/Source/WebKit
Cherry-pick r288387. rdar://problem/87468788
Inject Launch Services database before NSApplication is initialized
https://bugs.webkit.org/show_bug.cgi?id=235186
<rdar://87468788>
Reviewed by Chris Dumez.
To avoid the main thread getting stuck, the Launch Services database should be injected before NSApplication
is initialized, since the initialization now depends on the database. To make sure also prewarmed WebContent
processes are receiving the Launch Services database, the WebsiteDataStore method
sendNetworkProcessXPCEndpointToProcess is moved to the class NetworkProcessProxy, since prewarmed processes
will not have a data store initially. This allows us to simplify the code, since we are no longer depending
on having a Website data store before sending the XPC endpoint.
- UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::didFinishLaunching):
- UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: (WebKit::WebsiteDataStore::sendNetworkProcessXPCEndpointToProcess): (WebKit::WebsiteDataStore::sendNetworkProcessXPCEndpointToProcess const): Deleted.
- UIProcess/WebsiteData/WebsiteDataStore.h:
- WebProcess/WebPage/Cocoa/WebPageCocoa.mm: (WebKit::WebPage::platformDidReceiveLoadParameters):
- WebProcess/cocoa/LaunchServicesDatabaseManager.h:
- WebProcess/cocoa/LaunchServicesDatabaseManager.mm: (WebKit::LaunchServicesDatabaseManager::waitForDatabaseUpdate):
- WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 10:49 AM Changeset in webkit [288681] by
-
- 9 edits in branches/safari-613.1.14.41-branch/Source
Versioning.
WebKit-7613.1.14.41.3
- 10:27 AM Changeset in webkit [288680] by
-
- 3 edits in trunk/Source/WebCore
Detect failed ThreadableLoader creation in FileReaderLoader.
https://bugs.webkit.org/show_bug.cgi?id=235566
Patch by Gavin Phillips <gavin.p@apple.com> on 2022-01-27
Reviewed by Youenn Fablet.
When we fail to successfully create a ThreadableLoader in FileReaderLoader we should catch
the failure and return early.
- Modules/fetch/FormDataConsumer.cpp:
(WebCore::FormDataConsumer::consumeBlob):
- fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::start):
- 10:17 AM Changeset in webkit [288679] by
-
- 19 edits2 deletes in trunk/Source
[GTK] Support accent colors
https://bugs.webkit.org/show_bug.cgi?id=235706
Reviewed by Michael Catanzaro.
Source/WebCore:
Use the accent color UI process provides rather than fetching it here.
Remove the last bits of ThemeGtk and stop using foreign drawing for
text selection on GTK3.
Use dark foreground color if the accent color is bright.
- PlatformGTK.cmake:
- SourcesGTK.txt:
- platform/adwaita/ThemeAdwaita.cpp:
(WebCore::Theme::singleton):
(WebCore::ThemeAdwaita::activeSelectionForegroundColor const):
(WebCore::ThemeAdwaita::activeSelectionBackgroundColor const):
(WebCore::ThemeAdwaita::inactiveSelectionForegroundColor const):
(WebCore::ThemeAdwaita::setAccentColor):
- platform/adwaita/ThemeAdwaita.h:
- platform/gtk/ThemeGtk.cpp: Removed.
- platform/gtk/ThemeGtk.h: Removed.
- rendering/RenderThemeAdwaita.cpp:
(WebCore::RenderThemeAdwaita::setAccentColor):
- rendering/RenderThemeAdwaita.h:
Source/WebKit:
Take the accent color from CSS named colors. Handle the colors used in
libadwaita, elementary OS 6.x and 5.x, and the generic selection bg
color that people have been using out of context for a long time.
Track changes the best we can, even though it's not perfect: css_changed()
in GTK4 won't be called unless the CSS change affects the web view itself.
- UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::accentColor):
- UIProcess/API/gtk/PageClientImpl.h:
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseStyleUpdated):
(webkit_web_view_base_class_init):
- UIProcess/WebPageProxy.h:
- UIProcess/gtk/WebPageProxyGtk.cpp:
(WebKit::WebPageProxy::accentColorDidChange):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::reinitializeWebPage):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- WebProcess/WebPage/gtk/WebPageGtk.cpp:
(WebKit::WebPage::setAccentColor):
Source/WTF:
- wtf/PlatformHave.h: Flip HAVE_APP_ACCENT_COLORS for GTK.
- 10:13 AM Changeset in webkit [288678] by
-
- 37 edits in trunk
CSP: Clean up effective-violation handling in reports
https://bugs.webkit.org/show_bug.cgi?id=235602
Reviewed by Kate Cheney.
LayoutTests/imported/w3c:
Updated expectations with more passes.
- web-platform-tests/content-security-policy/child-src/child-src-cross-origin-load.sub-expected.txt:
- web-platform-tests/content-security-policy/frame-src/frame-src-cross-origin-load.sub-expected.txt:
- web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted-expected.txt:
Source/WebCore:
The CSP 3 spec uses the same value for effectiveDirective and
violatedDirective noting that is now now just an alias for historical
purposes. https://www.w3.org/TR/CSP3/#violation-events
I have refactored this so we only pass around a single string instead of constantly
repeating the directive which was error prone.
This does result in a lot of
script-srcchanging toscript-src-elemin reports
however this behavior matches what Chromium is already reporting and it fixes some
WPT results where it expectsframe-srcinstead ofchild-src.
- page/csp/ContentSecurityPolicy.cpp:
(WebCore::consoleMessageForViolation):
(WebCore::ContentSecurityPolicy::allowRunningOrDisplayingInsecureContent):
(WebCore::ContentSecurityPolicy::allowJavaScriptURLs const):
(WebCore::ContentSecurityPolicy::allowInlineEventHandlers const):
(WebCore::ContentSecurityPolicy::allowNonParserInsertedScripts const):
(WebCore::ContentSecurityPolicy::allowInlineScript const):
(WebCore::ContentSecurityPolicy::allowInlineStyle const):
(WebCore::ContentSecurityPolicy::allowEval const):
(WebCore::ContentSecurityPolicy::allowFrameAncestors const):
(WebCore::ContentSecurityPolicy::allowPluginType const):
(WebCore::ContentSecurityPolicy::allowObjectFromSource const):
(WebCore::ContentSecurityPolicy::allowChildFrameFromSource const):
(WebCore::ContentSecurityPolicy::allowResourceFromSource const):
(WebCore::ContentSecurityPolicy::allowChildContextFromSource const):
(WebCore::ContentSecurityPolicy::allowScriptFromSource const):
(WebCore::ContentSecurityPolicy::allowImageFromSource const):
(WebCore::ContentSecurityPolicy::allowStyleFromSource const):
(WebCore::ContentSecurityPolicy::allowFontFromSource const):
(WebCore::ContentSecurityPolicy::allowManifestFromSource const):
(WebCore::ContentSecurityPolicy::allowMediaFromSource const):
(WebCore::ContentSecurityPolicy::allowConnectToSource const):
(WebCore::ContentSecurityPolicy::allowFormAction const):
(WebCore::ContentSecurityPolicy::allowBaseURI const):
(WebCore::ContentSecurityPolicy::reportViolation const):
- page/csp/ContentSecurityPolicy.h:
- page/csp/ContentSecurityPolicyDirectiveList.cpp:
(WebCore::ContentSecurityPolicyDirectiveList::violatedDirectiveForNonParserInsertedScripts const):
LayoutTests:
Update effective-violation of expectations.
- http/tests/security/contentSecurityPolicy/1.1/child-src/frame-blocked-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/report-uri-effective-directive-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/script-blocked-sends-multiple-reports-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy2-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-enforced-policy-and-allowed-by-report-policy-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-enforced-policy-and-allowed-by-report-policy-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-child-src-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-child-src.html:
- http/tests/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-default-src-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-default-src.html:
- http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url-expected.txt:
- http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url2-expected.txt:
- http/tests/security/contentSecurityPolicy/iframe-redirect-blocked-by-child-src-expected.txt:
- http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt:
- http/tests/security/contentSecurityPolicy/report-only-expected.txt:
- http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt:
- http/tests/security/contentSecurityPolicy/report-only-upgrade-insecure-expected.txt:
- http/tests/security/contentSecurityPolicy/report-status-code-zero-when-using-https-expected.txt:
- http/tests/security/contentSecurityPolicy/report-uri-expected.txt:
- http/tests/security/contentSecurityPolicy/report-uri-from-child-frame-expected.txt:
- http/tests/security/contentSecurityPolicy/report-uri-scheme-relative-expected.txt:
- platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt:
- 10:04 AM Changeset in webkit [288677] by
-
- 2 edits in trunk/Source/JavaScriptCore
Check the process has the dynamic-codesigning entitlement before trying to allocate a holding JIT region
https://bugs.webkit.org/show_bug.cgi?id=235673
rdar://88094997
Patch by Gavin Phillips <gavin.p@apple.com> on 2022-01-27
Reviewed by Saam Barati.
We only need to allocate a holding JIT region, for processes with the JIT disabled, if that process has the
dynamic-codesigning entitlement. We can skip this allocation if the process doesn't have that entitlement.
- jit/ExecutableAllocator.cpp:
(JSC::ExecutableAllocator::setJITEnabled):
- 9:58 AM Changeset in webkit [288676] by
-
- 2 edits in trunk/Source/WebCore
AXLogger::add should not cause tree updates via children()
https://bugs.webkit.org/show_bug.cgi?id=235715
Reviewed by Chris Fleizach.
AXLogger::add(TextStream&, const RefPtr<AXCoreObject>&, bool) currently
calls the update version of AXCoreObject::children(bool), causing behavior
to potentially be different between builds with logging enabled and logging
disabled.
The logger should only read the current state of the object / tree, never modify it.
- accessibility/AXLogger.cpp:
(WebCore::AXLogger::add):
- 9:49 AM Changeset in webkit [288675] by
-
- 10 edits in trunk
[CSS Container Queries] Basic parsing support for query syntax
https://bugs.webkit.org/show_bug.cgi?id=235712
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
- web-platform-tests/css/css-contain/container-queries/at-container-parsing-expected.txt:
Source/WebCore:
https://drafts.csswg.org/css-contain-3/#at-ruledef-container
Use MediaQueryParser to parse the query syntax. Note that because the limitations
of MediaQueryParser only simple non-nested queries can be parsed for now.
- css/StyleRule.h:
- css/parser/CSSParserImpl.cpp:
(WebCore::filterProperties):
(WebCore::CSSParserImpl::consumeAtRule):
(WebCore::CSSParserImpl::consumeContainerRule):
- css/parser/CSSPropertyParser.cpp:
(WebCore::consumeContainerName):
- css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeSingleContainerName):
- css/parser/CSSPropertyParserHelpers.h:
- css/parser/MediaQueryParser.cpp:
(WebCore::MediaQueryParser::parseContainerQuery):
(WebCore::MediaQueryParser::MediaQueryParser):
(WebCore::MediaQueryParser::readContainerQuery):
(WebCore::MediaQueryParser::handleBlocks):
(WebCore::MediaQueryParser::processToken):
(WebCore::MediaQueryParser::parseInternal):
- css/parser/MediaQueryParser.h:
- 8:51 AM Changeset in webkit [288674] by
-
- 21 edits in trunk
AX ITM: Defer to the tree when determining AX object loading progress
https://bugs.webkit.org/show_bug.cgi?id=235646
Reviewed by Andres Gonzalez.
Source/WebCore:
Currently, we set AXPropertyName::IsLoaded and AXPropertyName::EstimatedLoadingProgress
once in AXIsolatedObject::initializeAttributeData and never update it. This means that
if an object is created while the page is at some non-100% load percentage, AX clients
that request these attributes will always think the object isn't loaded.
This patch removes these two properties and instead defers to the isolated tree associated
with each object when determining the load percentage. Both of these properties were based
on the entire page / document load progress anyways, so it doesn't make sense to set the
same value for all of them.
We track loading progress by changing ProgressTracker to also notify
the page when progress changes, which in turn updates the associated
AXObjectCache with the new progress value.
Covered by accessibility/mac/document-attributes.html which verifies the AXLoad and
AXLoadingProgress attributes.
- accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::AXObjectCache):
(WebCore::AXObjectCache::updateLoadingProgress):
Added.
- accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::loadingFinished):
(WebCore::AXObjectCache::loadingProgress const):
Added.
- accessibility/AccessibilityObject.h:
- accessibility/AccessibilityObjectInterface.h:
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::loadingProgress const):
(WebCore::AccessibilityRenderObject::estimatedLoadingProgress const):
Rename estimatedLoadingProgress methods to loadingProgress.
- accessibility/AccessibilityRenderObject.h:
- accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeAttributeData):
- accessibility/isolatedtree/AXIsolatedObject.h:
- accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::create):
(WebCore::AXIsolatedTree::updateLoadingProgress):
(WebCore::AXIsolatedTree::applyPendingChanges):
Apply m_pendingEstimatedLoadingProgress.
- accessibility/isolatedtree/AXIsolatedTree.h:
(WebCore::AXIsolatedTree::loadingProgress):
Added.
- accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
Handle rename of estimatedLoadingProgress methods to loadingProgress.
- loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::ProgressTracker):
Store a reference to the associated page in new m_page member.
(WebCore::ProgressTracker::progressStarted):
(WebCore::ProgressTracker::progressEstimateChanged):
(WebCore::ProgressTracker::finalProgressComplete):
(WebCore::ProgressTracker::incrementProgress):
Notify the Page when progress changes or completes.
- loader/ProgressTracker.h:
- page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::progressEstimateChanged const):
Added.
(WebCore::Page::progressFinished const):
Added.
- page/Page.h:
LayoutTests:
- accessibility/mac/document-attributes-expected.txt:
Associated test now uses js-test.js, so modify expectations to include
js-test output (e.g. test description()).
- accessibility/mac/document-attributes.html:
Wait asynchronously for loading to complete ("AXLoaded: 1").
- accessibility/parent-delete.html:
Don't output all attributes, since it's not necessary for the purpose
of the test (which is to ensure calling allAttributes() in this
scenario doesn't cause a crash). Previously, the test output contained
loading AX attributes, so rather than making this test wait for
loading to complete I decided to remove the output all together.
- platform/mac/accessibility/parent-delete-expected.txt:
- 8:03 AM Changeset in webkit [288673] by
-
- 2 edits in trunk/Tools/CISupport/ews-app/ews
[ews] Display status-bubble for try builds (builds for specific ews queues)
https://bugs.webkit.org/show_bug.cgi?id=235679
Reviewed by Jonathan Bedard.
- Tools/CISupport/ews-app/ews/models/build.py:
(Build.save_build): Save the patch information in database.
- Tools/CISupport/ews-app/ews/views/statusbubble.py:
(StatusBubble._build_bubble):
(StatusBubble._should_show_bubble_for_build):
(StatusBubble._build_bubbles_for_patch):
Canonical link: https://commits.webkit.org/246479@main
- 7:36 AM Changeset in webkit [288672] by
-
- 5 edits2 adds in trunk
jsc_fuz/wktr: crash with new XRReferenceSpaceEvent(, {referenceSpace})
https://bugs.webkit.org/show_bug.cgi?id=235456
Patch by Gabriel Nava Marino <gnavamarino@apple.com> on 2022-01-27
Reviewed by Chris Dumez.
Source/WebCore:
FastMalloc.h specifies that each derived class needs to be annotated as well with WTF_MAKE_ISO_ALLOCATED
if the base class is annotated with WTF_MAKE_ISO_ALLOCATED.
After doing this, the crash in WebCore::Event::operator new(unsigned long) is no longer reproducible.
However, this caused ASSERT(m_transform) to be hit in debug builds with the attached test case.
The XRReferenceSpaceEvent spec specifies the transform attribute as nullable
(https://immersive-web.github.io/webxr/#dictdef-xrreferencespaceeventinit), so this patch updates the
XRReferenceSpaceEvent IDL and implementation to match the spec, and removes the ASSERT accordingly.
Test: webxr/xr-reference-space-event-crash.html
- Modules/webxr/XRReferenceSpaceEvent.cpp:
(WebCore::XRReferenceSpaceEvent::XRReferenceSpaceEvent):
(WebCore::XRReferenceSpaceEvent::transform const):
- Modules/webxr/XRReferenceSpaceEvent.h:
- Modules/webxr/XRReferenceSpaceEvent.idl:
LayoutTests:
- webxr/xr-reference-space-event-crash.html: Added.
- 4:15 AM WebKitGTK/2.34.x edited by
- Add 2 touch fixes to proposed (diff)
- 3:16 AM Changeset in webkit [288671] by
-
- 50 edits44 copies29 moves351 adds3 deletes in trunk
Update WebGL conformance test suite to 2022-01-12
https://bugs.webkit.org/show_bug.cgi?id=235563
Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2022-01-27
Reviewed by Dean Jackson.
Tools:
Add functionality to Tools/Scripts/update-webgl-conformance-tests:
- Copy http-only tests to http/tests/webgl
- Add template to js-test-pre.js
- Scripts/webkitpy/update_webgl_conformance_tests_lib/js-test-pre-template.js: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js.
- Scripts/webkitpy/update_webgl_conformance_tests_lib/main.py:
(_copy_tree):
(main):
LayoutTests:
Update WebGL testsuite to 2022-01-12 9b58fd243d38f4b9c72ab6f75ad701cafc131137.
Additionally:
The import script can now categorize tests to regular tests and small amount of http
tests:
- Remove old http/tests/webgl/1.0.2/
- Add new http/tests/webgl/1.0.x / 2.0.y
- http/tests/webgl/1.0.2/origin-clean-conformance-expected.txt: Removed.
- http/tests/webgl/1.0.2/origin-clean-conformance.html: Removed.
- http/tests/webgl/1.0.2/readPixelsBadArgs-expected.txt: Removed.
- http/tests/webgl/1.0.2/readPixelsBadArgs.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/3x3.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/blue-1x1.jpg: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/bug-32888-texture.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/floatUniformShader.vert: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/fragmentShader.frag: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-256-with-128-alpha.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-256.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-default-gamma.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-gamma0.1.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-gamma1.0.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-gamma2.0.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-gamma4.0.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp-gamma9.0.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/gray-ramp.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/green-2x2-16bit.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/noopUniformShader.frag: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/npot-video.mp4: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/npot-video.theora.ogv: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/npot-video.webmvp8.webm: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/pnglib.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/red-green.mp4: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/red-green.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/red-green.theora.ogv: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/red-green.webmvp8.webm: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/red-indexed.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-cie-rgb-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-colormatch-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-colorspin-profile.jpg: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-colorspin-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-e-srgb-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-smpte-c-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-canvas.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-image-data.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-image.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-video.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/vertexShader.vert: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/webgl-test-utils.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/webgl-test.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/zero-alpha.png: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/00_test_list.txt: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/compressed-tex-image.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/copy-tex-image-and-sub-image-2d.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/gl-get-tex-parameter.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/gl-pixelstorei.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/gl-teximage.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/mipmap-fbo.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/origin-clean-conformance.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-uniform-binding-bugs.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-webgl.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-with-format-and-type.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-with-invalid-data.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-input-validation.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-sub-image-2d-bad-args.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-sub-image-2d.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texparameter-test.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-active-bind-2.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-active-bind.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-attachment-formats.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-clear.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-complete.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-formats-test.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-hd-dpi.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-mips.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-npot-video.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-npot.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-size-cube-maps.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-size-limit.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-size.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-sub-image-cube-maps.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-transparent-pixels-initialized.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/texture-upload-cube-maps.html: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/resources/desktop-gl-constants.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-post.js: Removed.
- http/tests/webgl/1.0.2/resources/webgl_test_files/resources/webgl-test-harness.js: Removed.
- http/tests/webgl/1.0.2/texImage2DHTML-expected.txt: Removed.
- http/tests/webgl/1.0.2/texImage2DHTML.html: Removed.
- http/tests/webgl/1.0.2/texSubImage2DHTML-expected.txt: Removed.
- http/tests/webgl/1.0.2/texSubImage2DHTML.html: Removed.
- http/tests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs-expected.txt: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs-expected.txt.
- http/tests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs.html: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs.html.
- http/tests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- http/tests/webgl/1.0.x/conformance/more/functions/texImage2DHTML.html: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML.html.
- http/tests/webgl/1.0.x/conformance/more/functions/texSubImage2DHTML-expected.txt: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/texSubImage2DHTML-expected.txt.
- http/tests/webgl/1.0.x/conformance/more/functions/texSubImage2DHTML.html: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/texSubImage2DHTML.html.
- http/tests/webgl/2.0.y/conformance/more/functions/readPixelsBadArgs-expected.txt: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/readPixelsBadArgs-expected.txt.
- http/tests/webgl/2.0.y/conformance/more/functions/readPixelsBadArgs.html: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/readPixelsBadArgs.html.
- http/tests/webgl/2.0.y/conformance/more/functions/texImage2DHTML-expected.txt: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/texImage2DHTML-expected.txt.
- http/tests/webgl/2.0.y/conformance/more/functions/texImage2DHTML.html: Copied from LayoutTests/webgl/2.0.y/conformance/more/functions/texImage2DHTML.html.
- http/tests/webgl/2.0.y/conformance/more/functions/texSubImage2DHTML-expected.txt: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/texSubImage2DHTML-expected.txt.
- http/tests/webgl/2.0.y/conformance/more/functions/texSubImage2DHTML.html: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/texSubImage2DHTML.html.
- http/tests/webgl/resources/js-test-pre.js: Copied from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js.
- http/tests/webgl/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html.
- http/tests/webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html.
- http/tests/webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html.
- http/tests/webgl/resources/webgl_test_files/conformance/more/unit.css: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.css.
- http/tests/webgl/resources/webgl_test_files/conformance/more/unit.js: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js.
- http/tests/webgl/resources/webgl_test_files/conformance/more/util.js: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/util.js.
- http/tests/webgl/resources/webgl_test_files/js/js-test-post.js: Added.
- http/tests/webgl/resources/webgl_test_files/js/js-test-pre.js: Copied from LayoutTests/webgl/resources/webgl_test_files/js/js-test-pre.js.
- http/tests/webgl/resources/webgl_test_files/js/webgl-test-utils.js: Copied from LayoutTests/webgl/resources/webgl_test_files/js/webgl-test-utils.js.
- http/tests/webgl/resources/webgl_test_files/resources/js-test-style.css: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-style.css.
- http/tests/webgl/resources/webgl_test_files/resources/opengl_logo.jpg: Added.
- http/tests/webgl/resources/webgl_test_files/resources/thunderbird-logo-64x64.png: Added.
- http/tests/webgl/resources/webkit-webgl-test-harness.js: Renamed from LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js.
- webgl/1.0.x/conformance/canvas/to-data-url-after-composite-expected.txt: Renamed from LayoutTests/webgl/2.0.y/deqp/functional/gles3/multisample-expected.txt.
- webgl/1.0.x/conformance/canvas/to-data-url-after-composite.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_001_to_008-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_001_to_008.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_009_to_016-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_009_to_016.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_017_to_024-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_017_to_024.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_025_to_032-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_025_to_032.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_033_to_040-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_033_to_040.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_041_to_048-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_041_to_048.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_049_to_056-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_049_to_056.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_057_to_064-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_057_to_064.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_065_to_072-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_065_to_072.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_073_to_080-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_073_to_080.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_081_to_088-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_081_to_088.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_089_to_096-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_089_to_096.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_097_to_104-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_097_to_104.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_105_to_112-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_105_to_112.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_113_to_120-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_113_to_120.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_121_to_128-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_121_to_128.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_129_to_136-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_129_to_136.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_137_to_144-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_137_to_144.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_145_to_152-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_145_to_152.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_153_to_160-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_153_to_160.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_161_to_168-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_161_to_168.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_169_to_176-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_169_to_176.html: Added.
- webgl/1.0.x/conformance/ogles/GL/build/build_177_to_178-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/1.0.x/conformance/ogles/GL/build/build_177_to_178.html: Added.
- webgl/1.0.x/conformance/rendering/clear-default-framebuffer-with-scissor-test-expected.txt: Added.
- webgl/1.0.x/conformance/rendering/clear-default-framebuffer-with-scissor-test.html: Added.
- webgl/1.0.x/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution-expected.txt: Added.
- webgl/1.0.x/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution.html: Added.
- webgl/1.0.x/conformance/textures/misc/format-filterable-renderable-expected.txt: Renamed from LayoutTests/webgl/2.0.y/conformance/textures/misc/origin-clean-conformance-expected.txt.
- webgl/1.0.x/conformance/textures/misc/format-filterable-renderable.html: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs.html.
- webgl/1.0.x/conformance/textures/misc/origin-clean-conformance-offscreencanvas.html: Removed.
- webgl/1.0.x/conformance/textures/misc/png-image-types-expected.txt: Renamed from LayoutTests/webgl/1.0.x/conformance/textures/misc/origin-clean-conformance-expected.txt.
- webgl/1.0.x/conformance/textures/misc/png-image-types.html: Renamed from LayoutTests/webgl/1.0.x/conformance/textures/misc/origin-clean-conformance.html.
- webgl/2.0.y/conformance/canvas/to-data-url-after-composite-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/2.0.y/conformance/canvas/to-data-url-after-composite.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_001_to_008-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_001_to_008.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_009_to_016-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_009_to_016.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_017_to_024-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_017_to_024.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_025_to_032-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_025_to_032.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_033_to_040-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_033_to_040.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_041_to_048-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_041_to_048.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_049_to_056-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_049_to_056.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_057_to_064-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_057_to_064.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_065_to_072-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_065_to_072.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_073_to_080-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_073_to_080.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_081_to_088-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_081_to_088.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_089_to_096-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_089_to_096.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_097_to_104-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_097_to_104.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_105_to_112-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_105_to_112.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_113_to_120-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_113_to_120.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_121_to_128-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_121_to_128.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_129_to_136-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_129_to_136.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_137_to_144-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_137_to_144.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_145_to_152-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_145_to_152.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_153_to_160-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_153_to_160.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_161_to_168-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_161_to_168.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_169_to_176-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_169_to_176.html: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_177_to_178-expected.txt: Added.
- webgl/2.0.y/conformance/ogles/GL/build/build_177_to_178.html: Added.
- webgl/2.0.y/conformance/rendering/clear-default-framebuffer-with-scissor-test-expected.txt: Added.
- webgl/2.0.y/conformance/rendering/clear-default-framebuffer-with-scissor-test.html: Added.
- webgl/2.0.y/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution-expected.txt: Added.
- webgl/2.0.y/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution.html: Added.
- webgl/2.0.y/conformance/textures/misc/format-filterable-renderable-expected.txt: Renamed from LayoutTests/webgl/2.0.y/conformance/textures/misc/origin-clean-conformance-offscreencanvas-expected.txt.
- webgl/2.0.y/conformance/textures/misc/format-filterable-renderable.html: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/readPixelsBadArgs.html.
- webgl/2.0.y/conformance/textures/misc/origin-clean-conformance-offscreencanvas.html: Removed.
- webgl/2.0.y/conformance/textures/misc/origin-clean-conformance.html: Removed.
- webgl/2.0.y/conformance/textures/misc/png-image-types-expected.txt: Renamed from LayoutTests/webgl/1.0.x/conformance/textures/misc/origin-clean-conformance-offscreencanvas-expected.txt.
- webgl/2.0.y/conformance/textures/misc/png-image-types.html: Renamed from LayoutTests/webgl/2.0.y/conformance/more/functions/texImage2DHTML.html.
- webgl/2.0.y/conformance2/extensions/required-extensions-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/2.0.y/conformance2/extensions/required-extensions.html: Added.
- webgl/2.0.y/conformance2/glsl3/fragment-shader-loop-crash-expected.txt: Copied from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/2.0.y/conformance2/glsl3/fragment-shader-loop-crash.html: Added.
- webgl/2.0.y/conformance2/glsl3/reciprocal-sqrt-of-sum-of-squares-crash-expected.txt: Added.
- webgl/2.0.y/conformance2/glsl3/reciprocal-sqrt-of-sum-of-squares-crash.html: Added.
- webgl/2.0.y/conformance2/misc/blend-integer-expected.txt: Renamed from LayoutTests/webgl/1.0.x/conformance/more/functions/texImage2DHTML-expected.txt.
- webgl/2.0.y/conformance2/misc/blend-integer.html: Added.
- webgl/2.0.y/conformance2/rendering/blitframebuffer-unaffected-by-colormask-expected.txt: Added.
- webgl/2.0.y/conformance2/rendering/blitframebuffer-unaffected-by-colormask.html: Added.
- webgl/2.0.y/conformance2/rendering/draw-buffers-sparse-output-locations-expected.txt: Added.
- webgl/2.0.y/conformance2/rendering/draw-buffers-sparse-output-locations.html: Added.
- webgl/2.0.y/conformance2/textures/misc/origin-clean-conformance-offscreencanvas-expected.txt: Removed.
- webgl/2.0.y/conformance2/textures/misc/origin-clean-conformance-offscreencanvas.html: Removed.
- webgl/2.0.y/deqp/functional/gles3/multisample.html: Removed.
- webgl/2.0.y/deqp/functional/gles3/multisample/default_fbo-expected.txt: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/default_fbo.html: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_4_samples-expected.txt: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_4_samples.html: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_8_samples-expected.txt: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_8_samples.html: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_max_samples-expected.txt: Added.
- webgl/2.0.y/deqp/functional/gles3/multisample/fbo_max_samples.html: Added.
- webgl/draw-webgl-to-context2d-memory-test-expected.txt:
- webgl/resources/webgl_test_files/conformance/attribs/gl-vertexattribpointer.html:
- webgl/resources/webgl_test_files/conformance/canvas/to-data-url-after-composite.html: Added.
- webgl/resources/webgl_test_files/conformance/context/context-attributes-alpha-depth-stencil-antialias.html:
- webgl/resources/webgl_test_files/conformance/context/methods.html:
- webgl/resources/webgl_test_files/conformance/extensions/ext-texture-compression-bptc.html:
- webgl/resources/webgl_test_files/conformance/extensions/ext-texture-compression-rgtc.html:
- webgl/resources/webgl_test_files/conformance/extensions/s3tc-and-rgtc.html:
- webgl/resources/webgl_test_files/conformance/extensions/webgl-compressed-texture-s3tc-srgb.html:
- webgl/resources/webgl_test_files/conformance/extensions/webgl-multi-draw.html:
- webgl/resources/webgl_test_files/conformance/extensions/webgl-webcodecs-video-frame.html:
- webgl/resources/webgl_test_files/conformance/glsl/bugs/character-set.html:
- webgl/resources/webgl_test_files/conformance/glsl/constructors/glsl-construct-vec-mat-index.html:
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CG_Data_Types_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CG_Standard_Library_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectBuiltInOveride_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectComma_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectConstFolding1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectConstFolding2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectConstruct_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectExtension10_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectExtension1_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectExtension4_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectFull_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectFuncOverload_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectFuncOverload_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectFunction1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectModule_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectParse1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectParse2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectParse2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectParseTest1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectParseTest_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectPreprocess5_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectPreprocess8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectPreprocess9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectSwizzle1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectSwizzle1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectSwizzle2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectSwizzle2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectSwizzle3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/CorrectVersion_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/DuplicateVersion1_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/FunctionParam_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Include_Preprocessor_Directive_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Main_Parameters_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/ParseTest3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/ParseTest4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/TernaryOp_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array11_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array5_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/array9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/attribute1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/attribute2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/attribute_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/attribute_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/break_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_001_to_008.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_009_to_016.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_017_to_024.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_025_to_032.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_033_to_040.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_041_to_048.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_049_to_056.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_057_to_064.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_065_to_072.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_073_to_080.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_081_to_088.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_089_to_096.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_097_to_104.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_105_to_112.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_113_to_120.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_121_to_128.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_129_to_136.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_137_to_144.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_145_to_152.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_153_to_160.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_161_to_168.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_169_to_176.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/build_177_to_178.html: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/comma1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/comma2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/comma2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/comma3_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/comment_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/conditional1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/conditional2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/conditional3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/constFunc_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/constructor1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/constructor2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/constructor3_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/continue_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType11_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType12_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType13_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType19_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType5_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dataType9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/default.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/default.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dowhile_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dvec2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dvec3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/dvec4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension2_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension3_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension5_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension6_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension7_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension8_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/extension9_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/float2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/float3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/float4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/fragmentOnly1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/fragmentOnly2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/fragmentOnly3_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/fragmentOnly4_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/fragmentOnly_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function2_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/function9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/hvec2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/hvec3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/hvec4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/identifier1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/identifier2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/identifier3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/if1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/if2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/increment1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/increment2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/increment3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/increment4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/increment6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/input.run.txt: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/main1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/main2_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/main3_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/matrix_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/normal_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser1_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser5_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/parser9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess0_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/preprocess7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/scoping1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/scoping2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct10_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct11_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct4_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct5_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct6_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct7_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct8_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/struct9_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/swizzle1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/swizzle2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/swizzle3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/typecast_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/uniform1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/uniform_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/varying1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/varying2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/varying3_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/varying_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/vector_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/version2_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/version3_V100_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/vertexOnly2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/vertexOnly_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/vertex_vert.vert: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/while1_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/while2_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/ogles/GL/build/while_frag.frag: Added.
- webgl/resources/webgl_test_files/conformance/programs/program-test.html:
- webgl/resources/webgl_test_files/conformance/rendering/clear-default-framebuffer-with-scissor-test.html: Added.
- webgl/resources/webgl_test_files/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution.html: Added.
- webgl/resources/webgl_test_files/conformance/state/gl-object-get-calls.html:
- webgl/resources/webgl_test_files/conformance/textures/misc/format-filterable-renderable.html: Added.
- webgl/resources/webgl_test_files/conformance/textures/misc/png-image-types.html: Added.
- webgl/resources/webgl_test_files/conformance/textures/misc/video-rotation.html:
- webgl/resources/webgl_test_files/conformance2/context/methods-2.html:
- webgl/resources/webgl_test_files/conformance2/extensions/ext-color-buffer-float.html:
- webgl/resources/webgl_test_files/conformance2/extensions/ext-texture-norm16.html:
- webgl/resources/webgl_test_files/conformance2/extensions/oes-draw-buffers-indexed.html:
- webgl/resources/webgl_test_files/conformance2/extensions/required-extensions.html: Added.
- webgl/resources/webgl_test_files/conformance2/extensions/webgl-multi-draw-instanced-base-vertex-base-instance.html:
- webgl/resources/webgl_test_files/conformance2/glsl3/array-equality.html:
- webgl/resources/webgl_test_files/conformance2/glsl3/fragment-shader-loop-crash.html: Added.
- webgl/resources/webgl_test_files/conformance2/glsl3/matrix-row-major-dynamic-indexing.html:
- webgl/resources/webgl_test_files/conformance2/glsl3/reciprocal-sqrt-of-sum-of-squares-crash.html: Added.
- webgl/resources/webgl_test_files/conformance2/misc/blend-integer.html: Added.
- webgl/resources/webgl_test_files/conformance2/programs/gl-get-frag-data-location.html:
- webgl/resources/webgl_test_files/conformance2/rendering/blitframebuffer-unaffected-by-colormask.html: Added.
- webgl/resources/webgl_test_files/conformance2/rendering/draw-buffers-sparse-output-locations.html: Added.
- webgl/resources/webgl_test_files/conformance2/state/gl-object-get-calls.html:
- webgl/resources/webgl_test_files/conformance2/textures/misc/tex-storage-compressed-formats.html:
- webgl/resources/webgl_test_files/deqp/functional/gles3/es3fMultisampleTests.js:
- webgl/resources/webgl_test_files/deqp/functional/gles3/es3fPrimitiveRestartTests.js:
- webgl/resources/webgl_test_files/deqp/functional/gles3/multisample.html: Removed.
- webgl/resources/webgl_test_files/deqp/functional/gles3/multisample/default_fbo.html: Added.
- webgl/resources/webgl_test_files/deqp/functional/gles3/multisample/fbo_4_samples.html: Added.
- webgl/resources/webgl_test_files/deqp/functional/gles3/multisample/fbo_8_samples.html: Added.
- webgl/resources/webgl_test_files/deqp/functional/gles3/multisample/fbo_max_samples.html: Added.
- webgl/resources/webgl_test_files/js/glsl-conformance-test.js:
- webgl/resources/webgl_test_files/js/js-test-post.js:
- webgl/resources/webgl_test_files/js/js-test-pre.js:
- webgl/resources/webgl_test_files/js/tests/compressed-texture-utils.js:
- webgl/resources/webgl_test_files/js/tests/context-methods.js: Added.
- webgl/resources/webgl_test_files/js/tests/ext-color-buffer-half-float.js:
- webgl/resources/webgl_test_files/js/tests/gl-object-get-calls.js:
- webgl/resources/webgl_test_files/js/tests/tex-image-and-sub-image-2d-with-image-bitmap-from-video.js:
- webgl/resources/webgl_test_files/js/tests/tex-image-and-sub-image-3d-with-image-bitmap-from-video.js:
- webgl/resources/webgl_test_files/js/webgl-test-utils.js:
- webgl/resources/webgl_test_files/resources/red-green.webmvp8.webm:
- webgl/resources/webgl_test_files/resources/video-rotation-0.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-0.vp9.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-180.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-180.vp9.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-270.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-270.vp9.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-90.mp4:
- webgl/resources/webgl_test_files/resources/video-rotation-90.vp9.mp4:
- 3:08 AM Changeset in webkit [288670] by
-
- 9 edits in trunk/Source
<model> should only be draggable on iOS
https://bugs.webkit.org/show_bug.cgi?id=235697
Reviewed by Dean Jackson.
Source/WebCore:
As part of bug 229246 we added support for dragging <model> elements. However, it only
worked on iOS in practice so we make that explicit so that other platforms that do not
have complete support for <model> dragging do not have that feature.
This is also important leading up to bug 227621, where we'll implement the "interactive"
HTML attribute and IDL property, since disabling dragging over a <model> element to adjust
the camera would trigger a crash under Pasteboard::write() on macOS due to not having an
image set on the pasteboard data.
- Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::supportsDragging const):
(WebCore::HTMLModelElement::isDraggableIgnoringAttributes const):
- Modules/model-element/HTMLModelElement.h:
- Modules/model-element/ModelPlayer.cpp:
(WebCore::ModelPlayer::supportsDragging):
- Modules/model-element/ModelPlayer.h:
- page/DragController.cpp:
(WebCore::modelElementIsDraggable):
Source/WebKit:
Override the ModelPlayer method to enable <model> dragging on iOS.
- WebProcess/Model/ios/ARKitInlinePreviewModelPlayerIOS.h:
- WebProcess/Model/ios/ARKitInlinePreviewModelPlayerIOS.mm:
(WebKit::ARKitInlinePreviewModelPlayerIOS::supportsDragging):
- 12:48 AM Changeset in webkit [288669] by
-
- 4 edits in trunk
Avoid setting and clearing :active state when dispatching synthetic click events when possible
https://bugs.webkit.org/show_bug.cgi?id=235672
<rdar://problem/88095418>
Reviewed by Simon Fraser.
Source/WebCore:
Simulated click events are dispatched with two options:
- whether to send associated events mouseover, mouseup, mousedown
- whether to repaint the target element with its pressed look
We currently always set the element's :active state just after when we'd
send the mousedown event, and clear it just after that.
When we dispatch a simulated click event with neither of the above
options set, there's no way to observe the temporary :active state on
the element. We can skip it in that case.
We need to continue clearing clearing the :active state regardless,
because some callers have already set :active and are relying on
simulateClick to clear it.
This patch is a 0.3-0.4% improvement on Speedometer 2.
- dom/SimulatedClick.cpp:
(WebCore::simulateClick):
LayoutTests:
- platform/gtk/inspector/timeline/line-column-expected.txt:
Jan 26, 2022:
- 11:21 PM Changeset in webkit [288668] by
-
- 4 edits in trunk/Source
[Web Inspector] Update return value name for Animation.requestEffectTarget()
https://bugs.webkit.org/show_bug.cgi?id=235661
Reviewed by Devin Rousso.
Source/JavaScriptCore:
I wrongly assumed the name of the return value was important for backward compatibility when
fixing bug 235234, but it's not, so let's use a better name which doesn't make any particular
assumption on the type.
- inspector/protocol/Animation.json:
Source/WebInspectorUI:
Update the parameter name to match the name used in the protocol.
- UserInterface/Models/Animation.js:
(WI.Animation.prototype.requestEffectTarget):
- 10:59 PM Changeset in webkit [288667] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r287684) speedtest.net uses many GB of memory
https://bugs.webkit.org/show_bug.cgi?id=235615
rdar://87830583
Reviewed by Youenn Fablet.
The regression was introduced with r286937 and is a good example of
errors introduced when attempting to optimise things too early.
CachedRawResource::updateBuffer does a search in the accumulating
resource's SharedBuffer, search that was taking O(log(n)+1) prior r286937
where n is the number of DataView segments in the SharedBuffer.
This was simplified as a O(1) operation by using the combined contiguous
SharedBuffer instead.
However, that caused every single intermediary accumulated buffers to be
kept referenced by the XMLHttpRequest SharedBufferBuilder leading to
massive memory use.
In other words:
For each update, we did the following steps:
- Set m_data to a new big continuous chunk of data that stores all received data
- Create a view of the new data as a SharedBuffer. This SharedBuffer references the big continuous chunk above
- XHR stores a ref to the view, hence keep the big chunk alive.
Each XHR chunk, although small in data that can be accessed, is actually keeping in memory all temporary created m_data chunks.
Following this change, XHR will now only keeps a reference to the new DataSegment added since the last run rather than the entire previous content.
Fly-by: add some comments describing the running of the method.
- loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::updateBuffer):
- 10:16 PM Changeset in webkit [288666] by
-
- 11 edits in trunk
[GTK] WTR: Native HTML form validation popover is not supported
https://bugs.webkit.org/show_bug.cgi?id=167579
Reviewed by Carlos Garcia Campos.
This change enables form-validation-related tests. To this end, two APIs called
overridePreference and contentsOfUserInterfaceItem are added to UIScriptController.
Source/WebKit:
WebKitWebViewBase implements contentsOfUserInterfaceItem for UIScriptController
necessary for webkit tests. It returns a font size and an actual message of a validation
bubble in the dictionary format. For overridePreference, we directly call WKPreference API
in WKView.cpp
No new tests since this change is the enabler of existing tests.
- UIProcess/API/C/gtk/WKView.cpp:
(WKViewContentsOfUserInterfaceItem):
- UIProcess/API/C/gtk/WKViewPrivate.h:
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseContentsOfUserInterfaceItem):
- UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
Tools:
UIScriptController.overridePreference configures the minimum font size of the validation bubbles
and UIScriptController.contentsOfUserInterfaceItem returns an actual bubble message along with its font size
in a json object.
- WebKitTestRunner/TestController.h: Make paltformPreferences public.
- WebKitTestRunner/gtk/UIScriptControllerGtk.cpp:
(WTR::UIScriptControllerGtk::overridePreference):
(WTR::toJSONObject):
(WTR::UIScriptControllerGtk::contentsOfUserInterfaceItem const):
- WebKitTestRunner/gtk/UIScriptControllerGtk.h:
LayoutTests:
We configure the minimum font size of the validation bubbles via UIScriptController.overridePreference
and retrieve a message and its font size through UIScriptController.contentsOfUserInterfaceItem.
- platform/gtk/TestExpectations: Enable form validation related tests we can perform with native bubble widgets but skip ones related to HTML-based form validation as Cocoa-based ports do.
- 9:35 PM Changeset in webkit [288665] by
-
- 1 copy in tags/Safari-613.1.14.11.2
Tag Safari-613.1.14.11.2.
- 9:32 PM Changeset in webkit [288664] by
-
- 9 edits in branches/safari-613.1.14.11-branch/Source
Versioning.
WebKit-7613.1.14.11.2
- 8:36 PM Changeset in webkit [288663] by
-
- 2 edits in trunk/Source/WebCore
[WPE] Unreviewed, fix non-unified build after r288640
https://bugs.webkit.org/show_bug.cgi?id=235682
- bindings/js/JSDOMMicrotask.cpp: Add missing header.
- 8:12 PM Changeset in webkit [288662] by
-
- 9 edits in trunk/Source
[WP] Avoid calling IOSurfaceAlignProperty
https://bugs.webkit.org/show_bug.cgi?id=235659
Reviewed by Simon Fraser.
Source/WebCore:
Add information about alignment of bytes per row to IOSurface class.
- platform/graphics/cocoa/IOSurface.h:
- platform/graphics/cocoa/IOSurface.mm:
(WebCore::surfaceBytesPerRowAlignment):
(WebCore::IOSurface::bytesPerRowAlignment):
(WebCore::IOSurface::setBytesPerRowAlignment):
Source/WebKit:
Avoid calling IOSurfaceAlignProperty in the WebContent process, since it requires IOKit access.
Information about the alignment of bytes per row of IOSurface will be retrieved in the UI process,
and sent to the WebContent process, where it will be stored.
- Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode const):
(WebKit::WebProcessCreationParameters::decode):
- Shared/WebProcessCreationParameters.h:
- Shared/cg/ShareableBitmapCG.cpp:
(WebKit::ShareableBitmap::calculateBytesPerRow):
- UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitializeWebProcess):
- WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):
- 7:20 PM Changeset in webkit [288661] by
-
- 6 edits2 deletes in trunk/Source/WebCore
Remove the now-unused JSGlobalObjectTask class
https://bugs.webkit.org/show_bug.cgi?id=235675
Patch by Alexey Shvayka <ashvayka@apple.com> on 2022-01-26
Reviewed by Darin Adler.
It was named quite poorly and replaced with JSMicrotaskCallback.
No new tests, no behavior change.
- Sources.txt:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSDOMGlobalObjectTask.cpp: Removed.
- bindings/js/JSDOMGlobalObjectTask.h: Removed.
- bindings/js/JSDOMWindowBase.cpp:
- bindings/js/JSWorkerGlobalScopeBase.cpp:
- bindings/js/JSWorkletGlobalScopeBase.cpp:
- 6:53 PM Changeset in webkit [288660] by
-
- 2 edits in trunk/Source/WTF
Build failure with GCC 12: MediaTime.h:167:71: error: call to non-'constexpr' function 'WTF::MediaTime& WTF::MediaTime::operator=(const WTF::MediaTime&)'
https://bugs.webkit.org/show_bug.cgi?id=235610
Patch by Michael Catanzaro <Michael Catanzaro> on 2022-01-26
Reviewed by Darin Adler.
The problem is the constexpr constructor calls the non-constexpr copy assignment operator.
This is easy to fix, at the expense of readability, by open-coding the desired values here.
- wtf/MediaTime.h:
(WTF::MediaTime::MediaTime):
- 5:21 PM Changeset in webkit [288659] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, reverting r288614.
Caused layout test crashes
Reverted changeset:
"REGRESSION(r287684) speedtest.net uses many GB of memory"
https://bugs.webkit.org/show_bug.cgi?id=235615
https://commits.webkit.org/r288614
- 5:04 PM Changeset in webkit [288658] by
-
- 3 edits in trunk/Source/WebKit
Symbols not always properly hidden when using WebKitAdditions to introduce new API
https://bugs.webkit.org/show_bug.cgi?id=235674
<rdar://87999257>
Reviewed by Wenson Hsieh.
Surround APIs from WebKitAdditions with
#if ENABLE(API_WEBKIT_ADDITIONS)instead of
#if USE(APPLE_INTERNAL_SDK)and leaving API_WEBKIT_ADDITIONS to be intentionally
undefined. This is because we never want to build the code inside this #if block.
Instead, those blocks are only meant to be replaced by the
replace-webkit-additions-includes.py with the code from WebKitAdditions.
- UIProcess/API/Cocoa/WKWebpagePreferences.h:
- mac/replace-webkit-additions-includes.py:
(main):
- 5:02 PM Changeset in webkit [288657] by
-
- 2 edits in trunk/Tools
[EWS] Ignore hooks from closed PRs
https://bugs.webkit.org/show_bug.cgi?id=235666
<rdar://problem/88091611>
Reviewed by Aakash Jain.
- Tools/CISupport/ews-build/events.py:
(GitHubEventHandlerNoEdits):
(GitHubEventHandlerNoEdits.handle_pull_request): Ignore hooks coming from closed pull requests.
Canonical link: https://commits.webkit.org/246465@main
- 4:57 PM Changeset in webkit [288656] by
-
- 2 edits in trunk/LayoutTests
REGRESSION (01/14/22?): [macOS Release WK2] imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html and createImageBitmap-flipY.html are flaky failures
https://bugs.webkit.org/show_bug.cgi?id=235681
Unreviewed test gardening.
- platform/mac-wk2/TestExpectations: Mark tests as flaky.
- 4:57 PM Changeset in webkit [288655] by
-
- 2 edits in trunk/LayoutTests
ASSERTION FAILED: m_pdfDocument under WebKit::PDFPlugin::installPDFDocument()
https://bugs.webkit.org/show_bug.cgi?id=235660
Unreviewed test gardening.
Speculatively skip fast/replaced/encrypted-pdf-as-object-and-embed.html, which runs right
before a non-PDF test that gets the blame for the crash.
- platform/mac/TestExpectations:
- 4:15 PM Changeset in webkit [288654] by
-
- 4 edits in trunk/Source/WebCore
Make some minor adjustments after r288621
https://bugs.webkit.org/show_bug.cgi?id=235598
rdar://88032375
Reviewed by Darin Adler.
Address some post-commit review comments.
- dom/ImageOverlay.cpp:
(WebCore::ImageOverlay::updateSubtree):
- testing/Internals.cpp:
(WebCore::Internals::installImageOverlay):
- testing/Internals.mm:
(WebCore::Internals::fakeDataDetectorResultForTesting):
- 4:07 PM Changeset in webkit [288653] by
-
- 7 edits in trunk/Tools
Share TestRunner::installFakeHelvetica implementation
https://bugs.webkit.org/show_bug.cgi?id=235657
Reviewed by Darin Adler.
The implementation of TestRunner::installFakeHelvetica was the same for each port. It just
calls into the WTR::installFakeHelvetica function defined in ActivateFonts.h which does the
actual work of installing the font.
- WebKitTestRunner/InjectedBundle/ActivateFonts.h:
- WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::installFakeHelvetica):
- WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
(WTR::TestRunner::installFakeHelvetica): Deleted.
- WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
(WTR::TestRunner::installFakeHelvetica): Deleted.
- WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp:
(WTR::TestRunner::installFakeHelvetica): Deleted.
- WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp:
(WTR::TestRunner::installFakeHelvetica): Deleted.
- 4:03 PM Changeset in webkit [288652] by
-
- 8 edits in trunk/Source/WebKit
[WebAuthn] We should pass extensions to ASC if possible
https://bugs.webkit.org/show_bug.cgi?id=235533
rdar://87169406
Reviewed by Brent Fulgham.
This patch starts passing WebAuthn extensions to ASC if possible,
in order to support the googleLegacyAppidSupport extension, which
is required to register security keys on google.com. It also starts
passing the attestationPreference option, which was not being passed before.
Tested manually. Previous version of patch contained
TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialRequestOptionsASC
and TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsASC,
but were removed due to difficulty softlinking from tests.
- Platform/spi/Cocoa/AuthenticationServicesCoreSPI.h:
- UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientInputs.h:
- UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
(authenticationExtensionsClientInputs):
- UIProcess/WebAuthentication/Cocoa/AuthenticationServicesCoreSoftLink.h:
- UIProcess/WebAuthentication/Cocoa/AuthenticationServicesCoreSoftLink.mm:
- UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
(WebKit::toNSString):
(WebKit::toASCExtensions):
(WebKit::configureRegistrationRequestContext):
(WebKit::configurationAssertionRequestContext):
- UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h:
- WebKit.xcodeproj/project.pbxproj:
- 3:56 PM Changeset in webkit [288651] by
-
- 53 edits in trunk/LayoutTests
[GLIB] Update test expectations and baselines. Unreviewed test gardening.
https://bugs.webkit.org/show_bug.cgi?id=235677
This is mostly rebaselining and updating expectations after r288070
enabled LFC integration for complex text.
Patch by Arcady Goldmints-Orlov <Arcady Goldmints-Orlov> on 2022-01-26
- platform/glib/TestExpectations:
- platform/glib/css2.1/t1508-c527-font-00-b-expected.txt:
- platform/glib/imported/w3c/web-platform-tests/css/css-text/white-space/trailing-space-position-001-expected.txt:
- platform/glib/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/getter-expected.txt:
- platform/glib/transforms/2d/hindi-rotated-expected.txt:
- platform/gtk/TestExpectations:
- platform/gtk/fast/block/margin-collapse/045-expected.txt:
- platform/gtk/fast/borders/rtl-border-05-expected.txt:
- platform/gtk/fast/css/word-space-extra-expected.txt:
- platform/gtk/fast/events/updateLayoutForHitTest-expected.txt:
- platform/gtk/fast/forms/large-toggle-elements-expected.txt:
- platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
- platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
- platform/gtk/fast/frames/iframe-scrolling-attribute-expected.txt:
- platform/gtk/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt:
- platform/gtk/fast/text/wbr-expected.txt:
- platform/gtk/fast/text/whitespace/nbsp-mode-and-linewraps-expected.txt:
- platform/gtk/fast/text/whitespace/pre-wrap-overflow-selection-expected.txt:
- platform/gtk/fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt:
- platform/gtk/fast/text/word-space-expected.txt:
- platform/gtk/fonts/sans-serif-expected.txt:
- platform/gtk/fonts/serif-expected.txt:
- platform/gtk/imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-parse-noscript-expected.txt:
- platform/gtk/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-idl-attribute/getter-expected.txt:
- platform/gtk/imported/w3c/web-platform-tests/innerText/getter-expected.txt:
- platform/gtk/printing/single-line-must-not-be-split-into-two-pages-expected.txt:
- platform/gtk/scrollbars/overflow-scrollbar-combinations-expected.txt:
- platform/gtk/svg/as-object/object-box-sizing-no-width-height-expected.txt:
- platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
- platform/gtk/svg/custom/svg-fonts-word-spacing-expected.txt:
- platform/gtk/svg/hixie/processing-model/003-expected.txt:
- platform/gtk/svg/hixie/processing-model/004-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug101674-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug113235-1-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug113235-2-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug1188-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug126742-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug1318-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug14323-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug2267-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug2947-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug2973-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug38916-expected.txt:
- platform/gtk/tables/mozilla/bugs/bug4527-expected.txt:
- platform/gtk/tables/mozilla/core/col_span-expected.txt:
- platform/gtk/tables/mozilla/marvin/x_col_width_rel-expected.txt:
- platform/gtk/tables/mozilla/marvin/x_colgroup_width_rel-expected.txt:
- platform/gtk/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
- platform/gtk/tables/mozilla/other/wa_table_tr_align-expected.txt:
- platform/gtk/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
- platform/gtk/transforms/3d/general/perspective-units-expected.txt:
- platform/wpe/TestExpectations:
- 3:53 PM Changeset in webkit [288650] by
-
- 11 edits2 adds in trunk
REGRESSION (r281306): Non-breaking space incorrectly collapsed when webkit-nbsp-mode is set to "space"
https://bugs.webkit.org/show_bug.cgi?id=235627
<rdar://88004831>
Reviewed by Antti Koivisto.
Source/WebCore:
"-webkit-nbsp-mode: space" has a peculiar collapsing behavior. It only collapses as leading content
preceded by forced line break.
<div style="-webkit-nbsp-mode: space; width: 0px;">
first_line second_line
</div>
The non-breaking space is collapsed. It does not show on the second line as leading content.
<div style="-webkit-nbsp-mode: space; width: 0px;">
first_line<br>
second_line
</div>
The non-breaking space is NOT collapsed. It shows up as leading content on the second line, indenting the "second_line" text content.
To mimic this legacy behavior, it's easier just to switch back to handling nbsp; as a non-whitespace inline item and
collapse it as leading content (depending on the breaking context).
(as opposed to customize regular whitespace content collapsing behavior just to support this quirk)
Test: fast/text/collapsible-non-breaking-space.html
- layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::moveToNextNonWhitespacePosition): remove special nbsp; handling
(WebCore::Layout::InlineItemsBuilder::handleTextContent): create an inline text item for the special mon-breaking space content.
- layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::initialize):
(WebCore::Layout::Line::appendTextContent):
- layout/formattingContexts/inline/InlineLine.h:
- layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::inlineItemWidth const):
(WebCore::Layout::LineBuilder::initialize):
(WebCore::Layout::LineBuilder::candidateContentForLine):
(WebCore::Layout::LineBuilder::handleInlineContent):
(WebCore::Layout::LineBuilder::rebuildLine):
- layout/formattingContexts/inline/InlineLineBuilder.h:
(WebCore::Layout::LineBuilder::isFirstLine const):
- layout/formattingContexts/inline/InlineTextItem.cpp:
(WebCore::Layout::InlineTextItem::isCollapsibleNonBreakingSpace const):
- layout/formattingContexts/inline/InlineTextItem.h:
LayoutTests:
- fast/text/collapsible-non-breaking-space-expected.html: Added.
- fast/text/collapsible-non-breaking-space.html: Added.
- platform/ios/fast/text/whitespace/nbsp-mode-and-linewraps-expected.txt: A slight behavior change with trailing content trimming, but
not generally noticeable and very specific to this non-standard property.
- platform/mac/fast/text/whitespace/nbsp-mode-and-linewraps-expected.txt:
- 3:29 PM Changeset in webkit [288649] by
-
- 3 edits in trunk/Source/JavaScriptCore
Move leftover JSValue inlines from JSString.h to JSCJSValueInlines.h
https://bugs.webkit.org/show_bug.cgi?id=235662
Reviewed by Yusuke Suzuki.
JSString.h still contains some JSValue inlines from years past
(including toBoolean which doesn't overtly relate to strings at all);
these can be moved to JSCJSValueInlines.h without issue.
- runtime/JSCJSValueInlines.h:
(JSC::JSValue::toBoolean const): Added.
(JSC::JSValue::toString const): Added.
(JSC::JSValue::toStringOrNull const): Added.
(JSC::JSValue::toWTFString const): Added.
- runtime/JSString.h:
(JSC::JSValue::toBoolean const): Deleted.
(JSC::JSValue::toString const): Deleted.
(JSC::JSValue::toStringOrNull const): Deleted.
(JSC::JSValue::toWTFString const): Deleted.
- 3:07 PM Changeset in webkit [288648] by
-
- 2 edits in trunk/Source/WebCore
JSEventListener::replaceJSFunctionForAttributeListener() should not replace m_wrapper unconditionally
https://bugs.webkit.org/show_bug.cgi?id=235658
Patch by Alexey Shvayka <ashvayka@apple.com> on 2022-01-26
Reviewed by Yusuke Suzuki.
This is a follow-up to r287293, which aligns JSEventListener::replaceJSFunctionForAttributeListener()
with JSEventListener::ensureJSFunction() in terms of handling uninitilized lazy event listeners.
Without this change, the microbenchmark in <https://webkit.org/b/234441> consumes 16 GB of memory in
30 seconds and crashes, which even isn't a regression: the same issue was observed before r287293.
According to new microbenchmark samples, I'm hopeful that with this patch, Speedometer2/Inferno-TodoMVC
will progress as promised in r287293.
No new tests, no behavior change.
- bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::replaceJSFunctionForAttributeListener):
- 2:49 PM Changeset in webkit [288647] by
-
- 4 edits in branches/safari-611.3.10.1-branch/Source
Revert "Cherry-pick r281384. rdar://problem/82195071"
This reverts commit r281392.
- 2:35 PM Changeset in webkit [288646] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r288623) MSVC reports "InspectorDOMAgent.cpp(558,40): error C2059: syntax error: ':'"
https://bugs.webkit.org/show_bug.cgi?id=235667
Unreviewed build fix.
- inspector/agents/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::pushStyleableElementToFrontend):
(WebCore::InspectorDOMAgent::pushStyleablePathToFrontend):
Don't use GNU extension?:.
- 2:15 PM Changeset in webkit [288645] by
-
- 4 edits in branches/safari-609.4.1.1-branch
Cherry-pick r286308. rdar://problem/85830759
Scripting attributes are sometimes not properly stripped from elements when JS is disabled
https://bugs.webkit.org/show_bug.cgi?id=233642
<rdar://63180952>
Reviewed by Geoffrey Garen.
Source/WebCore:
HTMLConstructionSite::mergeAttributesFromTokenIntoElement() was not properly stripping scripting
Element attributes when scripting is disabled, unlike other code paths in HTMLConstructionSite().
Covered by new API tests.
- html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::mergeAttributesFromTokenIntoElement):
Tools:
Add API test coverage.
- TestWebKitAPI/Tests/WebKitCocoa/WKWebViewConfiguration.mm: (TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@286308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 1:59 PM Changeset in webkit [288644] by
-
- 2 edits in trunk/Source/WebKit
[GTK3] Pinch zooming from a link activates it
https://bugs.webkit.org/show_bug.cgi?id=235639
Reviewed by Carlos Garcia Campos.
Turns out gestures behave differently between GTK3 and 4. On GTK4 it works
fine, but on GTK3 starting a pinch zoom triggers the multipress gesture
when one finger is down, and completes it when the second finger is down.
This results in a bogus click, with no way to prevent it as it happens
before any of the zoom callbacks are called. Since we can't know if there
will be a zoom afterwards or not, we can't do anything about it.
However, what we can do is reorder these gestures. In GTK3 the order the
gestures are processed in depends on which order they were created in.
At that point, there's a problem with the fact the gestures are grouped.
Grouping means that these 2 gestures are triggered at the same time. While
somehow the press gesture is still triggered without grouping with the
original order, they become properly decoupled in reverse order and
ungrouped.
At that point, we can safely cancel the press gesture when the zoom gesture
starts, and fix the issue.
This seems to still work fine for GTK4.
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseZoomBegin):
(webkitWebViewBaseConstructed):
- 1:58 PM Changeset in webkit [288643] by
-
- 4 edits in trunk/Source/WebGPU
[WebGPU] Make sure WGSLUnitTests can call into WGSL
https://bugs.webkit.org/show_bug.cgi?id=235630
Reviewed by Dean Jackson.
- WGSL/WGSL.cpp:
(WGSL::staticCheck): Apparently /usr/local/include/AssertMacros.h #defines "check"
(WGSL::check): Deleted.
- WGSL/WGSL.h:
- WGSLUnitTests/WGSLUnitTests.mm:
(-[WGSLUnitTests testExample]):
- 12:51 PM Changeset in webkit [288642] by
-
- 8 edits in branches/safari-609.4.1.1-branch/Source
Versioning.
WebKit-7609.4.1.1.1
- 12:10 PM Changeset in webkit [288641] by
-
- 5 edits in trunk/Source/WebCore
Add an iterator to KeyframeList
https://bugs.webkit.org/show_bug.cgi?id=235652
Reviewed by Darin Adler.
Add an iterator for KeyframeList and remove the keyframes() method which serves no purpose now.
- animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::getKeyframes):
(WebCore::KeyframeEffect::computeCSSAnimationBlendingKeyframes):
(WebCore::KeyframeEffect::computedNeedsForcedLayout):
(WebCore::KeyframeEffect::computeSomeKeyframesUseStepsTimingFunction):
(WebCore::KeyframeEffect::setAnimatedPropertiesInStyle):
(WebCore::KeyframeEffect::computeExtentOfTransformAnimation const):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::startAnimation):
- rendering/style/KeyframeList.cpp:
(WebCore::KeyframeList::copyKeyframes):
- rendering/style/KeyframeList.h:
(WebCore::KeyframeList::operator[] const):
(WebCore::KeyframeList::begin const):
(WebCore::KeyframeList::end const):
(WebCore::KeyframeList::keyframes const): Deleted.
- 12:10 PM Changeset in webkit [288640] by
-
- 21 edits5 adds in trunk
globalThis.queueMicrotask() should report thrown exceptions
https://bugs.webkit.org/show_bug.cgi?id=235614
Reviewed by Geoff Garen.
LayoutTests/imported/w3c:
Rebaseline WPT tests that are now passing.
- web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any-expected.txt:
- web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.serviceworker-expected.txt:
- web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.worker-expected.txt:
Source/JavaScriptCore:
- Move JSGlobalObject::hasDebugger() to the header to facilitate inlining as it's used in a rather hot Microtask execution code.
- Export a few Debugger methods for JSDOMMicrotask::run().
- Remove the now-unused createJSMicrotask() overload.
- debugger/Debugger.h:
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::hasDebugger const): Deleted.
- runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::hasDebugger const):
- runtime/JSMicrotask.cpp:
- runtime/JSMicrotask.h:
Source/WebCore:
This patch introduces WebCore::JSDOMMicrotask so the queueMicrotask() could report
a thrown exception as per spec [1] and to avoid invocation of a userland function
from detached <iframe>, which aligns WebKit with Blink and Gecko.
Both this changes align the callback of queueMicrotask() with generated callback
functions / interfaces (see bug 232387) that are implemented via JSCallbackData.
[1] https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#microtask-queuing:report-the-exception
Tests: imported/w3c/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.js
fast/dom/callback-function-detached-frame-queue-microtask.html
- Headers.cmake:
- Sources.txt:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSDOMMicrotask.cpp: Added.
(WebCore::createJSDOMMicrotask):
(WebCore::JSDOMMicrotask::run):
- bindings/js/JSDOMMicrotask.h: Added.
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::queueMicrotask):
- bindings/js/JSWorkerGlobalScopeCustom.cpp:
(WebCore::JSWorkerGlobalScope::queueMicrotask):
- dom/EventLoop.h:
LayoutTests:
- TestExpectations: Unskip 3 WPT tests that are now passing.
- fast/dom/callback-function-detached-frame-queue-microtask-expected.txt: Added.
- fast/dom/callback-function-detached-frame-queue-microtask.html: Added.
- fast/dom/resources/callback-function-detached-frame-queue-microtask-iframe.html: Added.
- inspector/debugger/break-on-uncaught-exception-expected.txt:
- platform/mac-wk1/TestExpectations: Skip Service Worker test.
- 12:06 PM Changeset in webkit [288639] by
-
- 1 copy in tags/Safari-613.1.14.5.3
Tag Safari-613.1.14.5.3.
- 12:01 PM Changeset in webkit [288638] by
-
- 8 edits in branches/safari-611.3.10.1-branch/Source
Revert 609 "Versioning."
- 11:46 AM Changeset in webkit [288637] by
-
- 8 edits in branches/safari-611.3.10.1-branch/Source
Versioning.
WebKit-7609.4.1.1.1
- 11:44 AM Changeset in webkit [288636] by
-
- 3 edits in trunk/Tools
[EWS] Support pull requests in built product management
https://bugs.webkit.org/show_bug.cgi?id=235589
<rdar://problem/88024098>
Reviewed by Aakash Jain.
- Tools/CISupport/ews-build/steps.py:
(ConfigureBuild.add_patch_id_url): Set change_id.
(ConfigureBuild.add_pr_details): Ditto.
(Trigger.propertiesToPassToTriggers): Pass change_id.
(UploadBuiltProduct): Use change_id instead of patch_id.
(TransferToS3): Ditto.
(DownloadBuiltProduct): Ditto.
(DownloadBuiltProductFromMaster): Ditto.
- Tools/CISupport/ews-build/steps_unittest.py:
Canonical link: https://commits.webkit.org/246450@main
- 11:32 AM Changeset in webkit [288635] by
-
- 3 edits in trunk/Source/WebCore
[Web Animations] Remove remaining PseudoElement.h includes
https://bugs.webkit.org/show_bug.cgi?id=235651
Reviewed by Antti Koivisto.
After the fix for bug 235234, we've successfully removed all use of PseudoElement
under animation/ yet we had some remaining includes of PseudoElement.h.
- animation/DeclarativeAnimation.cpp:
- animation/WebAnimationUtilities.cpp:
- 11:31 AM Changeset in webkit [288634] by
-
- 1 edit in trunk/Tools/CISupport/ews-build/loadConfig.py
[ews] Allow triggering individual EWS queues
https://bugs.webkit.org/show_bug.cgi?id=235620
Reviewed by Jonathan Bedard.
- Tools/CISupport/ews-build/loadConfig.py:
(loadBuilderConfig): Allow ForceScheduler in production, configure it appropriately.
Canonical link: https://commits.webkit.org/246448@main
- 11:24 AM Changeset in webkit [288633] by
-
- 4 edits in branches/safari-613.1.14.5-branch/Source/WebKit
Cherry-pick r288629. rdar://problem/88061283
Build failure - webkit daemons don't need symlink with system content path
https://bugs.webkit.org/show_bug.cgi?id=235648
Reviewed by Darin Adler.
Removed the create symlinks for the WebKit daemons since they are under the symlink for
/System/Library/WebKit.framework.
- Configurations/adattributiond.xcconfig:
- Configurations/webpushd.xcconfig:
- WebKit.xcodeproj/project.pbxproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 11:22 AM Changeset in webkit [288632] by
-
- 3 edits in trunk/Tools
Support workspace builds in build-webkit
https://bugs.webkit.org/show_bug.cgi?id=235550
On Apple platforms,
build-webkit --use-workspacenow builds using WebKit.xcworkspace and
XCBuild. This complements theUSE_WORKSPACE=YESMake flag added in
https://commits.webkit.org/246232@main.
At this time, there is no guarantee of correctness when building with USE_WORKSPACE=YES, and
workspace builds are not checked by builders.
Patch by Elliott Williams <Elliott Williams> on 2022-01-26
Reviewed by Alexey Proskuryakov.
- Scripts/build-webkit: Add --use-workspace flag, correct platform hints in $usage.
- Scripts/webkitdirs.pm: Remove canUseXCBuild, the flag it powered is no longer used.
(buildXCodeWorkspace): Added.
- 11:13 AM Changeset in webkit [288631] by
-
- 20 edits in trunk
Unreviewed, revert r286855 as it caused form submission issues
https://bugs.webkit.org/show_bug.cgi?id=235645
<rdar://88020080>
LayoutTests/imported/w3c:
- web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- web-platform-tests/html/semantics/forms/the-input-element/radio-expected.txt:
Source/WebCore:
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setChecked):
(WebCore::HTMLInputElement::didChangeForm):
(WebCore::HTMLInputElement::insertedIntoAncestor):
(WebCore::HTMLInputElement::removedFromAncestor):
(WebCore::HTMLInputElement::checkedRadioButtonForGroup const):
- html/InputType.h:
(WebCore::InputType::willUpdateCheckedness): Deleted.
- html/RadioInputType.cpp:
(WebCore::RadioInputType::valueMissing const):
(WebCore::RadioInputType::willUpdateCheckedness): Deleted.
- html/RadioInputType.h:
LayoutTests:
- fast/forms/radio/ValidityState-valueMissing-radio-expected.txt:
- fast/forms/radio/ValidityState-valueMissing-radio.html:
- fast/forms/radio/radio-live-validation-style-expected.txt:
- fast/forms/radio/radio-live-validation-style.html:
- platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt:
- platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt:
- 10:59 AM Changeset in webkit [288630] by
-
- 9 edits in branches/safari-613.1.14.5-branch/Source
Versioning.
WebKit-7613.1.14.5.3
- 10:55 AM Changeset in webkit [288629] by
-
- 4 edits in trunk/Source/WebKit
Build failure - webkit daemons don't need symlink with system content path
https://bugs.webkit.org/show_bug.cgi?id=235648
Reviewed by Darin Adler.
Removed the create symlinks for the WebKit daemons since they are under the symlink for
/System/Library/WebKit.framework.
- Configurations/adattributiond.xcconfig:
- Configurations/webpushd.xcconfig:
- WebKit.xcodeproj/project.pbxproj:
- 10:04 AM Changeset in webkit [288628] by
-
- 4 edits in branches/safari-611.3.10.1-branch
Cherry-pick r286308. rdar://problem/85830732
Scripting attributes are sometimes not properly stripped from elements when JS is disabled
https://bugs.webkit.org/show_bug.cgi?id=233642
<rdar://63180952>
Reviewed by Geoffrey Garen.
Source/WebCore:
HTMLConstructionSite::mergeAttributesFromTokenIntoElement() was not properly stripping scripting
Element attributes when scripting is disabled, unlike other code paths in HTMLConstructionSite().
Covered by new API tests.
- html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::mergeAttributesFromTokenIntoElement):
Tools:
Add API test coverage.
- TestWebKitAPI/Tests/WebKitCocoa/WKWebViewConfiguration.mm: (TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@286308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- 10:01 AM Changeset in webkit [288627] by
-
- 10 edits1 delete in trunk
[CSS Container Queries] container-type property should establish containment for 'size' and 'inline-size' values
https://bugs.webkit.org/show_bug.cgi?id=235638
Reviewed by Dean Jackson.
LayoutTests/imported/w3c:
- web-platform-tests/css/css-contain/container-queries/container-type-containment-expected.txt:
- web-platform-tests/css/css-contain/container-queries/container-type-layout-invalidation-expected.txt:
Source/WebCore:
https://drafts.csswg.org/css-contain-3/#container-type
- layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isLayoutContainmentBox const):
(WebCore::Layout::Box::isSizeContainmentBox const):
- rendering/RenderObject.cpp:
(WebCore::shouldApplyAnyContainment):
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::effectiveContainment const):
Add effectiveContaiment function add use it in most places instead of accessing contain()
property value directly.
Apply appropriate containment for container-type. Note that 'inline-size' containment is not
supported yet.
- rendering/style/RenderStyle.h:
(WebCore::RenderStyle::containsLayout const):
(WebCore::RenderStyle::containsSize const):
(WebCore::RenderStyle::containsStyle const):
(WebCore::RenderStyle::containsPaint const):
LayoutTests:
- 9:58 AM Changeset in webkit [288626] by
-
- 1 copy in branches/safari-609.4.1.1-branch
New branch.
- 9:57 AM Changeset in webkit [288625] by
-
- 8 edits in branches/safari-611.3.10.1-branch/Source
Versioning.
WebKit-7611.3.10.1.16
- 9:49 AM Changeset in webkit [288624] by
-
- 2 edits in trunk
[CMake] Pass -pipe to compilers that support it
https://bugs.webkit.org/show_bug.cgi?id=235641
Reviewed by Darin Adler.
- Source/cmake/WebKitCompilerFlags.cmake: Add -pipe to compiler options where supported.
- 9:41 AM Changeset in webkit [288623] by
-
- 25 edits1 add in trunk
[Web Inspector] Graphics tab should display pseudo-elements for more than ::before and ::after
https://bugs.webkit.org/show_bug.cgi?id=235234
<rdar://87766777>
Reviewed by Devin Rousso.
Source/JavaScriptCore:
Add a new
DOM.Styleabletype to be used as the parameter type forrequestEffectTarget()callbacks.
- inspector/protocol/Animation.json:
- inspector/protocol/DOM.json:
Source/WebCore:
Until now, we would pass the result of KeyframeEffect::targetElementOrPseudoElement() to
InspectorAnimationAgent::willApplyKeyframeEffect(). This meant that the inspector would only
be told of an animation target as an Element or a PseudoElement but not as an Element / PseudoId
pair, thus only allowing ::before and ::after to be represented since only those pseudo-elements
create a PseudoElement.
We now pass a Styleable, which encapsulate an Element / PseudoId pair, to
InspectorAnimationAgent::willApplyKeyframeEffect(). Additionally, the Styleable target is read from
the effect for callbacks provided to requestEffectTarget().
Sadly, we still rely on PseudoElement, but this patch at least removes all use of PseudoElement
from KeyframeEffect and pushes it down to InspectorDOMAgent with a new static method
elementToPushForStyleable() which the new pushStyleableElementToFrontend() and pushStyleablePathToFrontend()
methods use to turn the Styleable to an Element or PseudoElement.
In the future, we would need to further remove PseudoElement from Web Inspector and expose something
similar to Styleable throughout the codebase, or find some other way to encapsulate an Element / PseudoId
pair.
- animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::apply):
(WebCore::KeyframeEffect::targetElementOrPseudoElement const): Deleted.
- animation/KeyframeEffect.h:
(WebCore::KeyframeEffect::target const):
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::willApplyKeyframeEffectImpl):
- inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::willApplyKeyframeEffect):
- inspector/agents/InspectorAnimationAgent.cpp:
(WebCore::InspectorAnimationAgent::requestEffectTarget):
(WebCore::InspectorAnimationAgent::willApplyKeyframeEffect):
- inspector/agents/InspectorAnimationAgent.h:
- inspector/agents/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::protocolValueForPseudoId):
(WebCore::protocolValueForPseudoId): Deleted.
- inspector/agents/InspectorCSSAgent.h:
- inspector/agents/InspectorDOMAgent.cpp:
(WebCore::elementToPushForStyleable):
(WebCore::InspectorDOMAgent::pushStyleableElementToFrontend):
(WebCore::InspectorDOMAgent::pushStyleablePathToFrontend):
- inspector/agents/InspectorDOMAgent.h:
Source/WebInspectorUI:
Add a new
DOMStyleablemodel class to match the newDOM.Styleableprotocol type.
When calling Animation.requestEffectTarget(), we now use this new DOMStyleable class
to display pseudo-elements other than ::before or ::after in the Graphics tab.
- UserInterface/Base/DOMUtilities.js:
(WI.linkifyStyleable):
- UserInterface/Main.html:
- UserInterface/Models/Animation.js:
(WI.Animation.prototype.requestEffectTarget):
- UserInterface/Models/DOMStyleable.js: Added.
(WI.DOMStyleable.prototype.fromPayload):
(WI.DOMStyleable.prototype.get node):
(WI.DOMStyleable.prototype.get pseudoId):
(WI.DOMStyleable.prototype.get displayName):
(WI.DOMStyleable):
- UserInterface/Test.html:
- UserInterface/Views/AnimationCollectionContentView.js:
(WI.AnimationCollectionContentView.prototype._handleContentViewMouseEnter):
- UserInterface/Views/AnimationContentView.js:
(WI.AnimationContentView.prototype._refreshSubtitle):
- UserInterface/Views/AnimationDetailsSidebarPanel.js:
(WI.AnimationDetailsSidebarPanel.prototype._refreshIdentitySection):
LayoutTests:
Check that requestEffectTarget() returns the correct Styleable by checking whether it's defined
or null, and checking itsnodeandpseudoIdmembers.
- inspector/animation/targetChanged-expected.txt:
- inspector/animation/targetChanged.html:
- 8:59 AM Changeset in webkit [288622] by
-
- 7 edits in trunk
[WebAuthn] Add authenticator attachment used during authentication to credential payload
https://bugs.webkit.org/show_bug.cgi?id=235621
rdar://86538235
Reviewed by Dean Jackson.
Source/WebCore:
This patch adds the authenticator attachment used to the credential response in get/create
webauthn calls as described in the merged PR to the spec: https://github.com/w3c/webauthn/pull/1668/files
Modified layout tests to check for authenticator attachment = (cross-platform/platform) where appropriate
and verified response in manual calls.
- Modules/webauthn/PublicKeyCredential.cpp:
(WebCore::PublicKeyCredential::authenticatorAttachment const):
- Modules/webauthn/PublicKeyCredential.h:
- Modules/webauthn/PublicKeyCredential.idl:
LayoutTests:
Modify webauthn layout tests to check for new authenticatorAttachment field.
- http/wpt/webauthn/public-key-credential-get-success-local.https.html:
- http/wpt/webauthn/resources/util.js:
- 8:49 AM Changeset in webkit [288621] by
-
- 14 edits2 adds in trunk
Data detectors sometimes show up in the wrong place when resizing images with Live Text
https://bugs.webkit.org/show_bug.cgi?id=235598
rdar://88032375
Reviewed by Dean Jackson.
Source/WebCore:
On macOS, Live Text data detectors sometimes show up in the wrong place when images are resized; this can happen
in the case where image analysis injects data detection results into the image, but then the image is resized
from underneath the user's mouse cursor. To fix this, add some logic to invalidate ImageOverlayController's
cached data detector highlight information in the case where the image overlay layout has been changed.
Test: fast/images/text-recognition/mac/image-overlay-data-detectors.html
- WebCore.xcodeproj/project.pbxproj:
Have libWebCoreTestSupport additionally link against libPAL, so that we can use PAL's DataDetectorsCore soft-
linking utilities.
- dom/ImageOverlay.cpp:
(WebCore::ImageOverlay::updateSubtree):
Drive-by fix in adjacent code: when installing image overlays in media elements, make sure that we install them
inside the media controls root container by callingensureUserAgentShadowRoot()before inserting the overlay
content; this ensures that we don't end up with a redundant image overlay in the shadow root. Tests for this
will be added in #235623.
(WebCore::ImageOverlay::updateWithTextRecognitionResult):
- page/ImageOverlayController.cpp:
(WebCore::ImageOverlayController::textRecognitionResultsChanged):
(WebCore::ImageOverlayController::hasActiveDataDetectorHighlightForTesting const):
- page/ImageOverlayController.h:
- page/mac/ImageOverlayControllerMac.mm:
(WebCore::ImageOverlayController::textRecognitionResultsChanged):
Add a hook to inform ImageOverlayController when image overlay content changes. If the image overlay host
matches the currently active host element showing data detector highlights, then invalidate the highlights;
these highlights will be recomputed once the user hovers over the data detector elements again.
(WebCore::ImageOverlayController::hasActiveDataDetectorHighlightForTesting const):
Add a testing-only helper method to query whether or not there is an active data detector highlight. See below
for more details.
- testing/Internals.cpp:
Add some more WebCore testing support to make it possible to test data detector highlights in Live Text on
macOS.
(WebCore::makeDataForLine):
(WebCore::Internals::installImageOverlay):
Add an optional argument to provide a list of data detector quads to inject into the overlay host. For now, each
data detector element simply corresponds to a dummyDDScannerResultreturned by the static
fakeDataDetectorResultForTesting()helper below.
(WebCore::Internals::hasActiveDataDetectorHighlight const):
Add an internal testing hook to query whether or not ImageOverlayController is tracking an active data detector
highlight.
- testing/Internals.h:
- testing/Internals.idl:
- testing/Internals.mm:
(WebCore::Internals::fakeDataDetectorResultForTesting):
Source/WebCore/PAL:
Move some soft-linked DataDetectorsCore API out of the iOS-specific define, so that we can call them on macOS.
See WebCore/ChangeLog for more details.
- pal/cocoa/DataDetectorsCoreSoftLink.h:
- pal/cocoa/DataDetectorsCoreSoftLink.mm:
LayoutTests:
Add a layout test to exercise (some) of the changes. This new layout test consists of 4 steps:
- Hover over a data detector in Live Text and confirm that a data detector highlight is activated.
- Resize the image (via script) such that the cursor is no longer over a data detector; confirm that the data
detector highlight is cleared.
- Move over the data detector highlight in the resized image, and confirm that the highlight is once again
activated.
- Move out of the image altogether and confirm that the highlight is deactivated.
- fast/images/text-recognition/mac/image-overlay-data-detectors-expected.txt: Added.
- fast/images/text-recognition/mac/image-overlay-data-detectors.html: Added.
- 8:42 AM Changeset in webkit [288620] by
-
- 4 edits in trunk/Source/WebCore
[MacOS] Set kAudioOutputUnitProperty_CurrentDevice on CoreAudioSharedUnit outputBus
https://bugs.webkit.org/show_bug.cgi?id=235632
<rdar://87771490>
Reviewed by Eric Carlson.
When VPIO is used for rendering audio, it is not always updating the audio route when system default speaker is updated.
While it is doing so when capturing using the built-in microphone, it is not doing so with BT microphones.
To make it reliable, we are now setting kAudioOutputUnitProperty_CurrentDevice on the output bus to the default output device.
Whenever we detect a change of default output device, we reconfigure the audio unit to select the new default output device.
Manually tested.
- platform/mediastream/mac/BaseAudioSharedUnit.cpp:
(WebCore::BaseAudioSharedUnit::devicesChanged):
- platform/mediastream/mac/BaseAudioSharedUnit.h:
(WebCore::BaseAudioSharedUnit::setOutputDeviceID):
(WebCore::BaseAudioSharedUnit::validateOutputDevice):
- platform/mediastream/mac/CoreAudioCaptureSource.cpp:
(WebCore::CoreAudioSharedUnit::setupAudioUnit):
(WebCore::CoreAudioSharedUnit::validateOutputDevice):
- 7:54 AM Changeset in webkit [288619] by
-
- 2 edits in trunk/Source/WebCore
AX: Do less work under m_changeLogLock in AXIsolatedTree::clear and AXIsolatedTree::setFocusedNodeID
https://bugs.webkit.org/show_bug.cgi?id=235624
Reviewed by Chris Fleizach.
AXIsolatedTree::clear and AXIsolatedTree::setFocusedNodeID
do work while holding m_changeLogLock that does not require this lock. This
patch moves this work before the lock acquisition so we hold the lock for as short
a time as possible.
- accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::clear):
(WebCore::AXIsolatedTree::setFocusedNodeID):
Move work that doesn't require m_changeLogLock before we acquire the lock.
- 6:45 AM Changeset in webkit [288618] by
-
- 2 edits in trunk/LayoutTests
[iOS] imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree.html is failing
https://bugs.webkit.org/show_bug.cgi?id=235640
Unreviewed rebase.
- platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
- 6:35 AM Changeset in webkit [288617] by
-
- 3 edits in trunk/Source/WebCore
ASSERTION FAILED: !hasPendingSheets() under WebCore::Style::Scope::~Scope()
https://bugs.webkit.org/show_bug.cgi?id=235612
<rdar://problem/88046988>
Reviewed by Alan Bujtas.
- dom/Document.cpp:
(WebCore::Document::didRemoveAllPendingStylesheet):
Don't try to scroll to anchor if we don't have a view. This avoids hitting ASSERT(!m_inRemovedLastRefFunction)
trying to ref the document during teardown (with refererencing node count still non-zero).
- dom/InlineStyleSheetOwner.cpp:
(WebCore::InlineStyleSheetOwner::removedFromDocument):
Ensure we always remove the Element from the pending sheet list when it is removed from the document.
- 6:13 AM Changeset in webkit [288616] by
-
- 28 edits6 copies100 adds in trunk/LayoutTests
Rebase WPT streams tests up to 8d1dc42
https://bugs.webkit.org/show_bug.cgi?id=235580
Reviewed by Chris Dumez.
LayoutTests/imported/w3c:
Rebased WPT stream tests and expectations from WPT ToT.
- web-platform-tests/streams: Refreshed.
LayoutTests:
- platform/mac-wk1/TestExpectations: Skipping service worker tests.
- 6:11 AM Changeset in webkit [288615] by
-
- 13 edits6 copies9 adds1 delete in trunk/LayoutTests
WebGL conformance tests that are pending upstreaming should not duplicate unmodified files
https://bugs.webkit.org/show_bug.cgi?id=235631
Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2022-01-26
Reviewed by Antti Koivisto.
Duplicating the unmodified files keeps the pending tests somewhat isolated from the
upstream test updates. However, this is not feasible as the tests refer to bigger files
that are inconvenient to duplicate, such as videos. Also this makes it harder to write new tests,
since if the new pending test starts to use a file, the file would need duplication.
Also if the upstream has modified the shared files, the change done to the pending test needs
to be done anyway.
It is more consistent to use the same helper media, js and css resources for the pending tests
as the conformance test suite snapshot uses.
Remove all unmodified helper css and js files from the pending test directory and
use the unmodified files from the actual test files.
WebGL conformance tests are:
webgl/2.0.y/ -- autogenerated driver html files referencing the actual test suite test files
webgl/resources/webgl_test_files -- the actual test suite files
Move the pending tests similarly:
webgl/pending -- drivers
webgl/pending/resources/webgl_test_files -- old pending actual test files
webgl/resources/pending_webgl_test_files -- new pending actual test files
This way it is easier to refer to the resources from the actual test files.
- webgl/pending/conformance/context/context-attributes-alpha-depth-stencil-antialias-expected.txt:
- webgl/pending/conformance/context/context-attributes-alpha-depth-stencil-antialias.html:
- webgl/pending/conformance/glsl/misc/shader-with-reserved-words-2-expected.txt:
- webgl/pending/conformance/glsl/misc/shader-with-reserved-words-2.html:
- webgl/pending/conformance/glsl/misc/swizzle-as-lvalue-expected.txt:
- webgl/pending/conformance/glsl/misc/swizzle-as-lvalue.html:
- webgl/pending/conformance/textures/misc/tex-image-video-repeated-expected.txt:
- webgl/pending/conformance/textures/misc/tex-image-video-repeated.html:
- webgl/pending/conformance2/glsl3/empty-shader-with-output-expected.txt:
- webgl/pending/conformance2/glsl3/empty-shader-with-output.html:
- webgl/pending/conformance2/glsl3/float-constant-expressions-expected.txt:
- webgl/pending/conformance2/glsl3/float-constant-expressions.html:
- webgl/pending/resources/js-test-pre.js: Removed.
- webgl/pending/resources/webgl_test_files/js/glsl-conformance-test.js: Removed.
- webgl/pending/resources/webgl_test_files/js/js-test-post.js: Removed.
- webgl/pending/resources/webgl_test_files/js/js-test-pre.js: Removed.
- webgl/pending/resources/webgl_test_files/js/webgl-test-utils.js: Removed.
- webgl/pending/resources/webgl_test_files/resources/glsl-feature-tests.css: Removed.
- webgl/pending/resources/webgl_test_files/resources/js-test-style.css: Removed.
- webgl/pending/resources/webkit-webgl-test-harness.js: Removed.
- webgl/resources/pending_webgl_test_files/conformance/context/context-attributes-alpha-depth-stencil-antialias.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/context/context-attributes-alpha-depth-stencil-antialias.html.
- webgl/resources/pending_webgl_test_files/conformance/glsl/misc/shader-with-reserved-words-2.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/glsl/misc/shader-with-reserved-words-2.html.
- webgl/resources/pending_webgl_test_files/conformance/glsl/misc/swizzle-as-lvalue.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/glsl/misc/swizzle-as-lvalue.html.
- webgl/resources/pending_webgl_test_files/conformance/textures/misc/tex-image-video-repeated.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/textures/misc/tex-image-video-repeated.html.
- webgl/resources/pending_webgl_test_files/conformance2/glsl3/empty-shader-with-output.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance2/glsl3/empty-shader-with-output.html.
- webgl/resources/pending_webgl_test_files/conformance2/glsl3/float-constant-expressions.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance2/glsl3/float-constant-expressions.html.
- 4:56 AM Changeset in webkit [288614] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r287684) speedtest.net uses many GB of memory
https://bugs.webkit.org/show_bug.cgi?id=235615
rdar://87830583
Reviewed by Youenn Fablet.
The regression was introduced with r286937 and is a good example of
errors introduced when attempting to optimise things too early.
CachedRawResource::updateBuffer does a search in the accumulating
resource's SharedBuffer, search that was taking O(log(n)+1) prior r286937
where n is the number of DataView segments in the SharedBuffer.
This was simplified as a O(1) operation by using the combined contiguous
SharedBuffer instead.
However, that caused every single intermediary accumulated buffers to be
kept referenced by the XMLHttpRequest SharedBufferBuilder leading to
massive memory use.
- loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::updateBuffer):
- 4:18 AM Changeset in webkit [288613] by
-
- 2 edits in trunk/Tools
[GTK] C++20 warnings in TestConsoleMessage
https://bugs.webkit.org/show_bug.cgi?id=235634
Patch by Philippe Normand <pnormand@igalia.com> on 2022-01-26
Reviewed by Adrian Perez de Castro.
Fix ambiguous-reversed-operator warnings. In C++20 comparison operators (like a == b) need
to be declared const, so that reverse comparisons (like b == a) also work as intended.
- TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
(ConsoleMessageTest::ConsoleMessage::operator== const):
(ConsoleMessageTest::ConsoleMessage::operator==): Deleted.
- 2:24 AM Changeset in webkit [288612] by
-
- 3 edits in trunk/Source/JavaScriptCore
[JSC] Do not run testPingPongStackOverflow while running multithreaded MultithreadedMultiVMExecutionTest
https://bugs.webkit.org/show_bug.cgi?id=235633
Reviewed by Mark Lam.
MultithreadedMultiVMExecutionTest is failing occasionally in CLoop test. This is because of the following.
- CLoop is slow, so multithreaded tests are running longly.
- Then, this multithreaded tests overlap with testPingPongStackOverflow.
- testPingPongStackOverflow changes global Options::maxPerThreadStackUsage to test stack-overflow behavior. This test is strongly assuming that there is only one thread using this VM. But this is wrong since MultithreadedMultiVMExecutionTest is running concurrently. Then this configuration change affects on the running MultithreadedMultiVMExecutionTest.
- Stack-overflow error happens in MultithreadedMultiVMExecutionTest if the changed option is observed in that test.
We should not run testPingPongStackOverflow until MultithreadedMultiVMExecutionTest finishes since it assumes
that there is only one user of this VM.
This patch also cleans up / adds diagnosis of failures in MultithreadedMultiVMExecutionTest.
- API/tests/MultithreadedMultiVMExecutionTest.cpp:
(startMultithreadedMultiVMExecutionTest):
(finalizeMultithreadedMultiVMExecutionTest):
- API/tests/testapi.c:
(main):
- 1:47 AM Changeset in webkit [288611] by
-
- 3 edits6 deletes in trunk/LayoutTests
Streams tests try to call ReadableStream.prototype.pipeThrough.call generically
https://bugs.webkit.org/show_bug.cgi?id=235560
Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2022-01-26
Reviewed by Youenn Fablet.
ReadableStream methods are nowadays defined to accept only ReadableStream instances.
Tests sometimes assert that an exception is thrown. However, the exception being actually thrown is different.
Future testharness.js will check the exception and the test will fail.
- TestExpectations:
- platform/win/TestExpectations:
- streams/brand-checks-expected.txt: Removed.
- streams/brand-checks.html: Removed.
- streams/readable-stream-pipeThrough-expected.txt: Removed.
- streams/readable-stream-pipeThrough.html: Removed.
- streams/reference-implementation/brand-checks-expected.txt: Removed.
- streams/reference-implementation/brand-checks.html: Removed.
- 1:25 AM Changeset in webkit [288610] by
-
- 8 edits in trunk/Source
[Model] Mouse interaction for <model> is flipped in the y-axis
https://bugs.webkit.org/show_bug.cgi?id=235363
<rdar://problem/87772557>
Reviewed by Dean Jackson.
Source/WebCore:
The mouse coordinates we should send up to the ARQL APIs are in the coordinates
of the <model> element with the y-axis flipped.
- Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::flippedLocationInElementForMouseEvent):
(WebCore::HTMLModelElement::dragDidStart):
(WebCore::HTMLModelElement::dragDidChange):
(WebCore::HTMLModelElement::dragDidEnd):
- Modules/model-element/HTMLModelElement.h:
Source/WebKit:
The mouse coordinates consumed by the ARQL APIs are in the coordinates
of the <model> element with the y-axis flipped, so let's label them
as such.
- UIProcess/Cocoa/ModelElementControllerCocoa.mm:
(WebKit::ModelElementController::handleMouseDownForModelElement):
(WebKit::ModelElementController::handleMouseMoveForModelElement):
(WebKit::ModelElementController::handleMouseUpForModelElement):
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleMouseDownForModelElement):
(WebKit::WebPageProxy::handleMouseMoveForModelElement):
(WebKit::WebPageProxy::handleMouseUpForModelElement):
- UIProcess/WebPageProxy.messages.in:
- WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm:
(WebKit::ARKitInlinePreviewModelPlayerMac::handleMouseDown):
(WebKit::ARKitInlinePreviewModelPlayerMac::handleMouseMove):
(WebKit::ARKitInlinePreviewModelPlayerMac::handleMouseUp):
- 12:10 AM Changeset in webkit [288609] by
-
- 9 edits in trunk
[GTK] REGRESSION: Touch scrolling is broken
https://bugs.webkit.org/show_bug.cgi?id=235436
Reviewed by Chris Lord.
Source/WebKit:
Remove webkitWebViewBaseSetWheelHasPreciseDeltas(), instead add a parameter
to webkitWebViewBaseSynthesizeWheelEvent() that specifies whether the event
should have precise deltas or not.
Correct the touch swipe velocity, since it won't get multiplied by
pixelsPerLineStep().
- UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::navigationGestureDidBegin):
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseZoomBegin):
(webkitWebViewBaseTouchDragBegin):
(webkitWebViewBaseTouchDragUpdate):
(webkitWebViewBaseTouchSwipe):
(webkitWebViewBaseSynthesizeWheelEvent):
(webkitWebViewBaseSetWheelHasPreciseDeltas): Deleted.
- UIProcess/API/gtk/WebKitWebViewBaseInternal.h:
- UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
- UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp:
(WebKit::WebAutomationSession::platformSimulateWheelInteraction):
Tools:
Stop using webkitWebViewBaseSetWheelHasPreciseDeltas(), instead pass the correct parameter into
webkitWebViewBaseSynthesizeWheelEvent().
- WebKitTestRunner/EventSenderProxy.h:
- WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
(WTR::EventSenderProxy::~EventSenderProxy):
(WTR::EventSenderProxy::mouseScrollBy):
(WTR::EventSenderProxy::continuousMouseScrollBy):
(WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
(WTR::EventSenderProxy::setWheelHasPreciseDeltas):
- 12:00 AM Changeset in webkit [288608] by
-
- 2 edits in trunk/Source/WebGPU
[WebGPU] Fix WGSLUnitTests build
https://bugs.webkit.org/show_bug.cgi?id=235628
Unreviewed.
- Configurations/WGSLUnitTests.xcconfig: