WebKit-https.git
3 years agoDisable ViewportSizeForViewportUnits tests on iOS.
zalan@apple.com [Fri, 2 Jun 2017 22:12:26 +0000 (22:12 +0000)]
Disable ViewportSizeForViewportUnits tests on iOS.
https://bugs.webkit.org/show_bug.cgi?id=172872

Reviewed by Tim Horton.

* TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[MediaStream iOS] Cleanup video muting/unmuting when tab visibility changes
eric.carlson@apple.com [Fri, 2 Jun 2017 21:16:53 +0000 (21:16 +0000)]
[MediaStream iOS] Cleanup video muting/unmuting when tab visibility changes
https://bugs.webkit.org/show_bug.cgi?id=172858

Reviewed by Youenn Fablet.

Source/WebCore:

Test: platform/ios/mediastream/video-muted-in-background-tab.html

* dom/Document.cpp:
(WebCore::Document::visibilityStateChanged): Call notifyMediaCaptureOfVisibilityChanged.
(WebCore::Document::notifyMediaCaptureOfVisibilityChanged): Renamed from notifyVisibilityChangedToMediaCapture.
Set m_videoCaptureMutedForVisibilityChange when capture is muted because the document is hidden,
and clear it when visibility changes when capture is disabled. Don't unmute when the document
becomes visible unless this m_videoCaptureMutedForVisibilityChange is still true.
(WebCore::Document::notifyVisibilityChangedToMediaCapture): Deleted.
* dom/Document.h:

* platform/mediastream/RealtimeMediaSource.h:
* platform/mediastream/RealtimeMediaSourceCenter.cpp:
(WebCore::RealtimeMediaSourceCenter::setVideoCaptureMutedForPageVisibility): Renamed from
setVisibility.
(WebCore::RealtimeMediaSourceCenter::setVisibility): Deleted.
* platform/mediastream/RealtimeMediaSourceCenter.h:

* platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSourceFactory::setVideoCaptureMutedForPageVisibility): Ditto.
(WebCore::AVVideoCaptureSourceFactory::setVisibility): Deleted.

* platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::MockRealtimeVideoSourceFactory::setVideoCaptureMutedForPageVisibility): Ditto.
(WebCore::MockRealtimeVideoSourceFactory::setVisibility): Deleted.

LayoutTests:

* platform/ios/mediastream/video-muted-in-background-tab-expected.txt: Added.
* platform/ios/mediastream/video-muted-in-background-tab.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217734 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoWeb Inspector: Existing query in Search tab doesn't perform search on reload
drousso@apple.com [Fri, 2 Jun 2017 20:57:17 +0000 (20:57 +0000)]
Web Inspector: Existing query in Search tab doesn't perform search on reload
https://bugs.webkit.org/show_bug.cgi?id=172663

Reviewed by Timothy Hatcher.

* Localizations/en.lproj/localizedStrings.js:

* UserInterface/Views/SearchSidebarPanel.css:
(.sidebar > .panel.navigation.search.changed > .banner):
(.sidebar > .panel.navigation.search.changed > .banner > a):
(.sidebar > .panel.navigation.search.changed > :matches(.content, .empty-content-placeholder)):

* UserInterface/Views/SearchSidebarPanel.js:
(WebInspector.SearchSidebarPanel.prototype.performSearch.resourcesCallback):
(WebInspector.SearchSidebarPanel.prototype._mainResourceDidChange):
(WebInspector.SearchSidebarPanel.prototype._contentChanged):
Listen for any "resource added" event, and show the content changed banner when one occurs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217733 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMoved test expectation for http/tests/preload/viewport/meta-viewport-link-headers...
jlewis3@apple.com [Fri, 2 Jun 2017 20:48:32 +0000 (20:48 +0000)]
Moved test expectation for http/tests/preload/viewport/meta-viewport-link-headers.php to correct file.
https://bugs.webkit.org/show_bug.cgi?id=172518

Unreviewed test gardening

* platform/ios-simulator/TestExpectations:
* platform/ios/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION: LayoutTest fast/scrolling/arrow-key-scroll-in-rtl-document.html is a...
cdumez@apple.com [Fri, 2 Jun 2017 19:57:14 +0000 (19:57 +0000)]
REGRESSION: LayoutTest fast/scrolling/arrow-key-scroll-in-rtl-document.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=161549
<rdar://problem/28213429>

Reviewed by Simon Fraser.

* fast/scrolling/arrow-key-scroll-in-rtl-document.html:
Call eventSender.callAfterScrollingCompletes() in the next event loop iteration to
address the flakiness.

* platform/mac-wk2/TestExpectations:
Unskip test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Mac] Include frames in the scrolling tree when ScrollingTreeIncludesFrames=true
fred.wang@free.fr [Fri, 2 Jun 2017 19:40:04 +0000 (19:40 +0000)]
[Mac] Include frames in the scrolling tree when ScrollingTreeIncludesFrames=true
https://bugs.webkit.org/show_bug.cgi?id=172825

Patch by Frederic Wang <fwang@igalia.com> on 2017-06-02
Reviewed by Simon Fraser.

Source/WebCore:

This commit generalizes RenderLayerCompositor/ScrollingCoordinator so that it handles the
case of non-main frames. When ScrollingTreeIncludesFrames=true, all the frames will appear
in the scrolling tree on Mac WK2.

Test: fast/scrolling/scrolling-tree-includes-frame.html

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::coordinatesScrollingForFrameView): Do not to restrict to the
main frame.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking): Do not to restrict to the main frame.
(WebCore::RenderLayerCompositor::useCoordinatedScrollingForLayer): Make this function a class
member so it can call hasCoordinatedScrolling and no longer needs a RenderView parameter.
(WebCore::RenderLayerCompositor::updateScrollCoordinatedStatus): Do not to restrict to the
main frame.
* rendering/RenderLayerCompositor.h: Introduce useCoordinatedScrollingForLayer.

LayoutTests:

Add a new test to check whether a non-main frame appears in the scrolling tree when
ScrollingTreeIncludesFrames=true. For now this is only happens for Mac WK2. Also update
the iOS WK2 reference for scrolling-iframe-expected.html

* fast/scrolling/scrolling-tree-includes-frame-expected.txt: Added.
* fast/scrolling/scrolling-tree-includes-frame.html: Added.
* platform/ios-simulator/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Added.
* platform/ios-wk2/compositing/iframes/scrolling-iframe-expected.txt: Update reference.
* platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217730 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION (r206386): Xactimate Website Crashes @ com.apple.WebKit: WebKit::NPRuntime...
cdumez@apple.com [Fri, 2 Jun 2017 19:15:54 +0000 (19:15 +0000)]
REGRESSION (r206386): Xactimate Website Crashes @ com.apple.WebKit: WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant + 255
https://bugs.webkit.org/show_bug.cgi?id=172846
<rdar://problem/31093005>

Reviewed by Mark Lam.

Follow-up to r217695 to deal with exceptions potentially thrown by
NPRuntimeObjectMap::convertJSValueToNPVariant() as well.

* WebProcess/Plugins/Netscape/NPJSObject.cpp:
(WebKit::NPJSObject::invoke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAdd abilility to specify presentingApplicationPID for a WebProcessPool.
commit-queue@webkit.org [Fri, 2 Jun 2017 19:04:59 +0000 (19:04 +0000)]
Add abilility to specify presentingApplicationPID for a WebProcessPool.
https://bugs.webkit.org/show_bug.cgi?id=172839
rdar://problem/32247170

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-06-02
Reviewed by Tim Horton.

Expose presentingApplicationPID through WebProcessPoolConfiguration.
This allows rehosted WebViews to specify the hosting application.

* UIProcess/API/APIProcessPoolConfiguration.cpp:
(API::ProcessPoolConfiguration::copy):
* UIProcess/API/APIProcessPoolConfiguration.h:
* UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h:
* UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm:
(-[_WKProcessPoolConfiguration setPresentingApplicationPID:]):
(-[_WKProcessPoolConfiguration presentingApplicationPID]):
* UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::ensureNetworkProcess):
(WebKit::WebProcessPool::createNewWebProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[WebCore] DragImageRef should correspond to USE(CAIRO)
commit-queue@webkit.org [Fri, 2 Jun 2017 19:04:53 +0000 (19:04 +0000)]
[WebCore] DragImageRef should correspond to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=172863

Patch by Don Olmstead <don.olmstead@am.sony.com> on 2017-06-02
Reviewed by Carlos Alberto Lopez Perez.

No new tests. No change in behavior.

* platform/DragImage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217727 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Mac] Use compositing for frames when ScrollingTreeIncludesFrames=true
fred.wang@free.fr [Fri, 2 Jun 2017 18:42:03 +0000 (18:42 +0000)]
[Mac] Use compositing for frames when ScrollingTreeIncludesFrames=true
https://bugs.webkit.org/show_bug.cgi?id=172851

Patch by Frederic Wang <fwang@igalia.com> on 2017-06-02
Reviewed by Simon Fraser.

Source/WebCore:

When fast frame scrolling is supported on mac (bug 171667), scrollable frames will require
special composited layer. This commit enables that on mac but only when
ScrollingTreeIncludesFrames=true, so that the default behavior is unchanged.

Test: compositing/iframes/compositing-for-scrollable-iframe.html

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame): Do not enable frame
compositing when ScrollingTreeIncludesFrames=false.
Rename ScrollableInnerFrameTrigger to ScrollableNonMainFrameTrigger.
* page/ChromeClient.h: Rename ScrollableInnerFrameTrigger.

Source/WebKit2:

When fast frame scrolling is supported on mac (bug 171667), scrollable frames will require
special composited layer. This commit enables that on mac but only when
ScrollingTreeIncludesFrames=true, so that the default behavior is unchanged.

* WebProcess/WebCoreSupport/WebChromeClient.h: Make scrollable inner frame trigger
compositing on Mac by default. This is ignored on mac when ScrollingTreeIncludesFrames=false.
Rename ScrollableInnerFrameTrigger to ScrollableNonMainFrameTrigger.

LayoutTests:

This commit adds a test to check whether scrollable iframes require a special composited
layer when ScrollingTreeIncludesFrames=true. This is currently only done on Mac WK2.

* compositing/iframes/compositing-for-scrollable-iframe.html: Added. This is a basic test
printing the layer tree of a page with an iframe.
* platform/ios-simulator/compositing/iframes/compositing-for-scrollable-iframe-expected.txt: Added.
* platform/mac/compositing/iframes/compositing-for-scrollable-iframe-expected.txt: Added.
* platform/mac-wk1/compositing/iframes/compositing-for-scrollable-iframe-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAllow clients to override viewport size for CSS viewport units.
zalan@apple.com [Fri, 2 Jun 2017 18:38:17 +0000 (18:38 +0000)]
Allow clients to override viewport size for CSS viewport units.
https://bugs.webkit.org/show_bug.cgi?id=172838
<rdar://problem/32523441>

Reviewed by Tim Horton.

Source/WebKit2:

This enables auto-sizing clients to ensure that styles relative to the viewport are
resolved to a set value (presumably the size of the container) as opposed to the preferred
document size (which is set as the FrameView size).

* Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):
* Shared/WebPageCreationParameters.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _viewportSizeForCSSViewportUnits]):
(-[WKWebView _setViewportSizeForCSSViewportUnits:]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::creationParameters):
(WebKit::WebPageProxy::setViewportSizeForCSSViewportUnits):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::viewportSizeForCSSViewportUnits):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::m_cpuLimit):
(WebKit::WebPage::setViewportSizeForCSSViewportUnits):
* WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::viewportSizeForCSSViewportUnits):
* WebProcess/WebPage/WebPage.messages.in:

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm: Added.
(TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoGet <chrono> out of StdLibExtras.h
simon.fraser@apple.com [Fri, 2 Jun 2017 18:20:47 +0000 (18:20 +0000)]
Get <chrono> out of StdLibExtras.h
https://bugs.webkit.org/show_bug.cgi?id=172744

Reviewed by Zalan Bujtas.

Source/WebCore:

Only bring in <chrono> and namespace std::literals::chrono_literals when necessary.

* fileapi/FileReader.cpp:
* inspector/InspectorOverlay.cpp:
* loader/CrossOriginPreflightResultCache.cpp:
* loader/cache/CachedResource.cpp:
(WebCore::CachedResource::freshnessLifetime):
* page/ResourceUsageThread.cpp:
(WebCore::ResourceUsageThread::threadBody):
* page/cocoa/MemoryReleaseCocoa.mm:
(WebCore::jettisonExpensiveObjectsOnTopLevelNavigation):
* platform/network/CacheValidation.cpp:
(WebCore::computeFreshnessLifetimeForHTTPFamily):
* platform/network/CacheValidation.h:

Source/WebKit2:

Only bring in <chrono> and namespace std::literals::chrono_literals when necessary.

* NetworkProcess/cache/NetworkCache.cpp:
* NetworkProcess/cache/NetworkCacheFileSystem.h:
* NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:
* NetworkProcess/cache/NetworkCacheStorage.cpp:
(WebKit::NetworkCache::computeRecordWorth):
* Shared/mac/RemoteLayerBackingStoreCollection.mm:
* WebProcess/Cookies/WebCookieManager.h:

Source/WTF:

We hates std::chrono. Don't include it everywhere to discourage use.

* wtf/StdLibExtras.h:

Tools:

* TestWebKitAPI/Tests/WTF/WorkQueue.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Cocoa] Add a "supportedCountries" property to ApplePayPaymentRequest
aestes@apple.com [Fri, 2 Jun 2017 18:14:47 +0000 (18:14 +0000)]
[Cocoa] Add a "supportedCountries" property to ApplePayPaymentRequest
https://bugs.webkit.org/show_bug.cgi?id=172832
<rdar://problem/30735544>

Reviewed by Alex Christensen.

Source/WebCore:

Test: http/tests/ssl/applepay/ApplePaySessionV3.html

* Modules/applepay/ApplePayPaymentRequest.h:
* Modules/applepay/ApplePayPaymentRequest.idl:
* Modules/applepay/ApplePaySession.cpp:
(WebCore::convertAndValidate):
* Modules/applepay/PaymentRequest.h:
(WebCore::PaymentRequest::supportedCountries):
(WebCore::PaymentRequest::setSupportedCountries):
* Modules/applepay/PaymentRequestValidator.cpp:
(WebCore::PaymentRequestValidator::validate):
* platform/spi/cocoa/PassKitSPI.h:

Source/WebKit2:

* Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
(IPC::ArgumentCoder<PaymentRequest>::encode):
(IPC::ArgumentCoder<PaymentRequest>::decode):
* UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toNSSet):
(WebKit::toPKPaymentRequest):

LayoutTests:

* http/tests/ssl/applepay/ApplePaySessionV3-expected.txt: Added.
* http/tests/ssl/applepay/ApplePaySessionV3.html: Added.
* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAtomics.load and Atomics.store need to be fully fenced
fpizlo@apple.com [Fri, 2 Jun 2017 17:58:24 +0000 (17:58 +0000)]
Atomics.load and Atomics.store need to be fully fenced
https://bugs.webkit.org/show_bug.cgi?id=172844

Reviewed by Keith Miller.

Source/JavaScriptCore:

Implement fully fenced loads and stores in FTL using AtomicXchgAdd(0, ptr) for the load and
AtomicXchg(value, ptr) for the store.

DFG needed no changes because it implements all atomics using a CAS loop.

AtomicsObject.cpp now uses new Atomic<> API for fully fences loads and stores.

Prior to this change, we used half fences (acquire/release) for atomic loads and stores. This
is not correct according to my current understanding of the SAB memory model, which requires
that atomic operations are SC with respect to everything not just other atomics.

* ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileAtomicsReadModifyWrite):
* ftl/FTLOutput.cpp:
(JSC::FTL::Output::atomicWeakCAS):
* ftl/FTLOutput.h:
* runtime/AtomicsObject.cpp:

Source/WTF:

Add loadFullyFenced and storeFullyFenced to Atomic<>.

* wtf/Atomics.h:
(WTF::Atomic::loadFullyFenced):
(WTF::Atomic::storeRelaxed):
(WTF::Atomic::storeFullyFenced):
(WTF::atomicLoadFullyFenced):
(WTF::atomicStoreFullyFenced):

Websites/webkit.org:

Update documentation to say that the canonical way to do fully fenced loads and stores is
AtomicXchgAdd(0, ptr) and AtomicXchg(value, ptr), respectively.

* docs/b3/intermediate-representation.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoWeb Inspector: Should see active Web Sockets when opening Web Inspector
drousso@apple.com [Fri, 2 Jun 2017 17:54:47 +0000 (17:54 +0000)]
Web Inspector: Should see active Web Sockets when opening Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=172312

Reviewed by Joseph Pecoraro.

Source/WebCore:

Test: http/tests/websocket/tests/hybi/inspector/before-load.html

* Modules/websockets/WebSocket.h:
* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::WebSocket):
(WebCore::WebSocket::~WebSocket):
(WebCore::WebSocket::allActiveWebSockets):
(WebCore::WebSocket::allActiveWebSocketsMutex):
(WebCore::WebSocket::channel):
(WebCore::WebSocket::eventTargetInterface):
Add a static set of all WebSocket objects and provide getters to access web socket metadata.

* Modules/websockets/ThreadableWebSocketChannel.h:
(WebCore::ThreadableWebSocketChannel::isWebSocketChannel):
* Modules/websockets/WebSocketChannel.h:
* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::isWebSocketChannel):
(WebCore::WebSocketChannel::identifier):
(WebCore::WebSocketChannel::clientHandshakeRequest):
(WebCore::WebSocketChannel::serverHandshakeResponse):
(WebCore::WebSocketChannel::handshakeMode):
(WebCore::WebSocketChannel::isType):
Provide getters to access web socket metadata.

* inspector/InspectorNetworkAgent.cpp:
(WebCore::InspectorNetworkAgent::enable):
Loops over the static set of all WebSocket objects and sends events for each to the frontend.

Source/WebInspectorUI:

* UserInterface/Controllers/FrameResourceManager.js:
(WebInspector.FrameResourceManager.prototype.webSocketHandshakeResponseReceived):
(WebInspector.FrameResourceManager.prototype.initialize): Removed.
Rework order of agent enable calls to ensure that the main frame is initialized before any
websocket events are dispatched.

* UserInterface/Models/WebSocketResource.js:
(WebInspector.WebSocketResource.ReadyState):
Change symbol strings in enum for better printing in tests.

LayoutTests:

Test that WebSockets created before the inspector loads are also tracked.

* http/tests/websocket/tests/hybi/inspector/before-load-expected.txt: Added.
* http/tests/websocket/tests/hybi/inspector/before-load.html: Added.
* http/tests/websocket/tests/hybi/inspector/before-load_wsh.py: Added.
(web_socket_do_extra_handshake):
(web_socket_transfer_data):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Xcode] Header postprocessing should be based on the target OS version rather than...
mitz@apple.com [Fri, 2 Jun 2017 17:01:36 +0000 (17:01 +0000)]
[Xcode] Header postprocessing should be based on the target OS version rather than the builder OS version
https://bugs.webkit.org/show_bug.cgi?id=172860

Reviewed by Anders Carlsson.

* Configurations/WebKit.xcconfig: Use TARGET_MAC_OS_X_VERSION_MAJOR

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, fix linking errors on iOS after r217712.
cdumez@apple.com [Fri, 2 Jun 2017 16:47:45 +0000 (16:47 +0000)]
Unreviewed, fix linking errors on iOS after r217712.

* platform/OrientationNotifer.h:
(WebCore::OrientationNotifier::Observer::setNotifier):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, attempt to fix the iOS build after r217711.
ryanhaddad@apple.com [Fri, 2 Jun 2017 16:25:57 +0000 (16:25 +0000)]
Unreviewed, attempt to fix the iOS build after r217711.

* assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::xor32):
(JSC::MacroAssemblerARM64::xor64):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMarked fast/images/slower-decoding-than-animation-image.html as flaky.
jlewis3@apple.com [Fri, 2 Jun 2017 16:17:47 +0000 (16:17 +0000)]
Marked fast/images/slower-decoding-than-animation-image.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=172666

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoCrash under OrientationNotifier::Observer::setNotifier()
cdumez@apple.com [Fri, 2 Jun 2017 16:08:53 +0000 (16:08 +0000)]
Crash under OrientationNotifier::Observer::setNotifier()
https://bugs.webkit.org/show_bug.cgi?id=172847
<rdar://problem/32519127>

Reviewed by Youenn Fablet.

Update OrientationNotifier::Observer::setNotifier() to unregister itself from
its current notifier if it already has one. This is needed because
Internals::setCameraMediaStreamTrackOrientation() may be used to override the
notifier of an observer. If we override the notifier without unregistering
the observer from its previous notifier, then the previous notifier will not
get notified when the observer gets destroyed.

No new tests, already covered by webrtc/video-rotation.html that is currently
failing on some bots.

* platform/OrientationNotifer.h:
(WebCore::OrientationNotifier::Observer::setNotifier):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoGC should use scrambled free-lists
fpizlo@apple.com [Fri, 2 Jun 2017 15:59:22 +0000 (15:59 +0000)]
GC should use scrambled free-lists
https://bugs.webkit.org/show_bug.cgi?id=172793

Reviewed by Mark Lam.

Previously, our bump'n'pop allocator would use a conventional linked-list for the free-list.
The linked-list would be threaded through free memory, as is the usual convention.

This scrambles the next pointers of that free-list. It also scrambles the head pointer, because
this leads to a more natural fast-path structure and saves one register on ARM64.

The secret with which pointers are scrambled is per-allocator. Allocators choose a new secret
every time they do a sweep-to-pop.

This doesn't change the behavior of the bump part of bump'n'pop, but it does refactor the code
quite a bit. Previously, there were four copies of the allocator fast path: two in
MarkedAllocatorInlines.h, one in MarkedAllocator.cpp, and one in AssemblyHelpers.h. The JIT one
was obviously different-looking, but the other three were almost identical. This moves all of
that logic into FreeList. There are now just two copies of the allocator: FreeListInlines.h and
AssemblyHelpers.h.

This appears to be just as fast as our previously allocator.

* JavaScriptCore.xcodeproj/project.pbxproj:
* heap/FreeList.cpp:
(JSC::FreeList::FreeList):
(JSC::FreeList::~FreeList):
(JSC::FreeList::clear):
(JSC::FreeList::initializeList):
(JSC::FreeList::initializeBump):
(JSC::FreeList::contains):
(JSC::FreeList::dump):
* heap/FreeList.h:
(JSC::FreeList::allocationWillFail):
(JSC::FreeList::originalSize):
(JSC::FreeList::addressOfList):
(JSC::FreeList::offsetOfBlock):
(JSC::FreeList::offsetOfList):
(JSC::FreeList::offsetOfIndex):
(JSC::FreeList::offsetOfPayloadEnd):
(JSC::FreeList::offsetOfRemaining):
(JSC::FreeList::offsetOfOriginalSize):
(JSC::FreeList::FreeList): Deleted.
(JSC::FreeList::list): Deleted.
(JSC::FreeList::bump): Deleted.
(JSC::FreeList::operator==): Deleted.
(JSC::FreeList::operator!=): Deleted.
(JSC::FreeList::operator bool): Deleted.
* heap/FreeListInlines.h: Added.
(JSC::FreeList::addFreeCell):
(JSC::FreeList::allocate):
(JSC::FreeList::forEach):
(JSC::FreeList::toOffset):
(JSC::FreeList::fromOffset):
* heap/IncrementalSweeper.cpp:
(JSC::IncrementalSweeper::sweepNextBlock):
* heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::MarkedAllocator::didConsumeFreeList):
(JSC::MarkedAllocator::tryAllocateWithoutCollecting):
(JSC::MarkedAllocator::tryAllocateIn):
(JSC::MarkedAllocator::allocateSlowCaseImpl):
(JSC::MarkedAllocator::stopAllocating):
(JSC::MarkedAllocator::prepareForAllocation):
(JSC::MarkedAllocator::resumeAllocating):
(JSC::MarkedAllocator::sweep):
(JSC::MarkedAllocator::setFreeList): Deleted.
* heap/MarkedAllocator.h:
(JSC::MarkedAllocator::freeList):
(JSC::MarkedAllocator::isFreeListedCell): Deleted.
* heap/MarkedAllocatorInlines.h:
(JSC::MarkedAllocator::isFreeListedCell):
(JSC::MarkedAllocator::tryAllocate):
(JSC::MarkedAllocator::allocate):
* heap/MarkedBlock.cpp:
(JSC::MarkedBlock::Handle::stopAllocating):
(JSC::MarkedBlock::Handle::lastChanceToFinalize):
(JSC::MarkedBlock::Handle::resumeAllocating):
(JSC::MarkedBlock::Handle::zap):
(JSC::MarkedBlock::Handle::sweep):
(JSC::MarkedBlock::Handle::isFreeListedCell):
(JSC::MarkedBlock::Handle::forEachFreeCell): Deleted.
* heap/MarkedBlock.h:
* heap/MarkedBlockInlines.h:
(JSC::MarkedBlock::Handle::specializedSweep):
(JSC::MarkedBlock::Handle::finishSweepKnowingSubspace):
(JSC::MarkedBlock::Handle::isFreeListedCell): Deleted.
* heap/Subspace.cpp:
(JSC::Subspace::finishSweep):
* heap/Subspace.h:
* jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::emitAllocateWithNonNullAllocator):
* runtime/JSDestructibleObjectSubspace.cpp:
(JSC::JSDestructibleObjectSubspace::finishSweep):
* runtime/JSDestructibleObjectSubspace.h:
* runtime/JSSegmentedVariableObjectSubspace.cpp:
(JSC::JSSegmentedVariableObjectSubspace::finishSweep):
* runtime/JSSegmentedVariableObjectSubspace.h:
* runtime/JSStringSubspace.cpp:
(JSC::JSStringSubspace::finishSweep):
* runtime/JSStringSubspace.h:
* wasm/js/JSWebAssemblyCodeBlockSubspace.cpp:
(JSC::JSWebAssemblyCodeBlockSubspace::finishSweep):
* wasm/js/JSWebAssemblyCodeBlockSubspace.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed WPE gardening.
zandobersek@gmail.com [Fri, 2 Jun 2017 15:18:25 +0000 (15:18 +0000)]
Unreviewed WPE gardening.

* platform/wpe/TestExpectations: Add a few test failure expectations.
* platform/wpe/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Rebaseline.
* platform/wpe/js/dom/global-constructors-attributes-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[css-grid] Logical margin incorrectly applied during the tracks sizing algorithm...
jfernandez@igalia.com [Fri, 2 Jun 2017 11:35:27 +0000 (11:35 +0000)]
[css-grid] Logical margin incorrectly applied during the tracks sizing algorithm of auto tracks
https://bugs.webkit.org/show_bug.cgi?id=172836

Reviewed by Manuel Rego Casasnovas.

Source/WebCore:

When computing min-content and max-content of the content-sized tracks
we are using the marginIntrinsicLogicalWidthForChild function, which
uses the grid's writing-mode to determine wether to use the child's
margin width or height. This is not correct when the grid item is
orthogonal.

This patch changes how we compute the tracks width so we use always
the item's marginLogicalWidth, which depends only on its own writing
mode.

Test: fast/css-grid-layout/grid-track-sizing-with-margins-and-orthogonal-flows.html

* rendering/GridTrackSizingAlgorithm.cpp:
(WebCore::GridTrackSizingAlgorithmStrategy::minContentForChild):
(WebCore::GridTrackSizingAlgorithmStrategy::maxContentForChild):

LayoutTests:

Test to verify different cases of auto-sized tracks and orthogonal items with margins.

* fast/css-grid-layout/grid-track-sizing-with-margins-and-orthogonal-flows-expected.txt: Added.
* fast/css-grid-layout/grid-track-sizing-with-margins-and-orthogonal-flows.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoInvalidate the shadow subtree style when slotted pseudo rules are present.
commit-queue@webkit.org [Fri, 2 Jun 2017 10:18:54 +0000 (10:18 +0000)]
Invalidate the shadow subtree style when slotted pseudo rules are present.
https://bugs.webkit.org/show_bug.cgi?id=172822

Patch by Emilio Cobos Álvarez <ecobos@igalia.com> on 2017-06-02
Reviewed by Antti Koivisto.

No new tests, this is tested by
fast/shadow-dom/css-scoping-slot-with-id.html, once we don't force an
Inherit style change for slots. I could add some more tests for stuff
with descendant combinators and similar I guess, though.

* style/AttributeChangeInvalidation.cpp:
(WebCore::Style::AttributeChangeInvalidation::invalidateStyle):
* style/ClassChangeInvalidation.cpp:
(WebCore::Style::ClassChangeInvalidation::invalidateStyle):
* style/IdChangeInvalidation.cpp:
(WebCore::Style::IdChangeInvalidation::invalidateStyle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION(r217214): [Coordinated Graphics] UpdateAtlas didn't released while resetti...
yoon@igalia.com [Fri, 2 Jun 2017 09:57:54 +0000 (09:57 +0000)]
REGRESSION(r217214): [Coordinated Graphics] UpdateAtlas didn't released while resetting testrunner
https://bugs.webkit.org/show_bug.cgi?id=172746

Reviewed by Žan Doberšek.

After clearing update atlases in CompositingCoordinator, we should
release update atlases at the compositing thread, too.

We cannot remove update atlases from the CoordinatedGraphicsScene
without regard to update scheduling, since previously committed scene
states can try to use already released update atlases.
To prevent this timing problem, releasing update atlases should be done
with a update scheduler.

* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::syncRemoteContent):
(WebKit::CoordinatedGraphicsScene::appendUpdate):
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h:
Use WTF::Function instead of std::function
* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::updateSceneState):
(WebKit::ThreadedCompositor::releaseUpdateAtlases):
* WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp:
(WebKit::ThreadedCompositor::flushPendingLayerChanges):
Release UpdateAtlases at the end of compositing states update, too.
(WebKit::CompositingCoordinator::clearUpdateAtlases):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[GTK+][WPE] Allow TextureMapperShaderProgram to perform colorspace conversions with...
magomez@igalia.com [Fri, 2 Jun 2017 09:18:16 +0000 (09:18 +0000)]
[GTK+][WPE] Allow TextureMapperShaderProgram to perform colorspace conversions with the source texture pixels
https://bugs.webkit.org/show_bug.cgi?id=172749

Reviewed by Žan Doberšek.

Currently TextureMapperGL is only able to paint properly textures that are in RGBA format. There are
situations where we will want it to be able to handle other formats (for example BGRA for gstreamer-gl).
To make this possible without having to perform the color conversion in the CPU, we add a new color
conversion matrix to TextureMapperShaderProgram. This matrix will perform the color space conversion
in the GPU, just after sampling the source texture.

Also, add a new flag to TextureMapperGL to indicate that a color conversion is required to handle a
texture. This flag will be set to the TextureMapperPlatformLayerBuffers as required, and TextureMapperGL
will set the appropriate color space matrix to the shader. Initially only the flag for BGRA->RGBA conversion
is defined, but support for new transformations can be added as needed.

VideoTextureCopierGStreamer also uses the TextureMapperShaderProgram to perform texture sampling, but for
the moment it just sets an identity matrix because when using gstreamer-gl, the format of the video frames
is RGBA. This will be changed soon to use BGRA.

No new tests.

* platform/graphics/gstreamer/VideoTextureCopierGStreamer.cpp:
(WebCore::VideoTextureCopierGStreamer::copyVideoTextureToPlatformTexture):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::colorSpaceMatrixForFlags):
(WebCore::TextureMapperGL::drawTexturedQuadWithProgram):
* platform/graphics/texmap/TextureMapperGL.h:
* platform/graphics/texmap/TextureMapperShaderProgram.cpp:
* platform/graphics/texmap/TextureMapperShaderProgram.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[css-grid] Margin wrong applied when stretching an orthogonal item in fixed size...
jfernandez@igalia.com [Fri, 2 Jun 2017 09:08:15 +0000 (09:08 +0000)]
[css-grid] Margin wrong applied when stretching an orthogonal item in fixed size track
https://bugs.webkit.org/show_bug.cgi?id=172590

Reviewed by Sergio Villar Senin.

LayoutTests/imported/w3c:

All the test cases of these tests pass with this change, so updating their expectations accordingly.

* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-006-expected.txt:
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-006-expected.txt:
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-006-expected.txt:

Source/WebCore:

We need to consider orthogonality when using the item's logical margin to
compute the available space for stretching.

The issue this patch fixes is only reproducible when the grid layout logic
is executed several times, since probably the item doesn't need to be
laid out again. In such cases, we just get the cached logical margins
but we were not taking orthogonality into account.

Test: fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::layoutBlock):
(WebCore::RenderGrid::marginLogicalSizeForChild):
(WebCore::RenderGrid::availableAlignmentSpaceForChildBeforeStretching):
* rendering/RenderGrid.h:

LayoutTests:

* TestExpectations: 2 tests pass now but 3 more fail because of bug #172836
* fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts-expected.html: Added.
* fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217705 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[WPE] Enable SUBTLE_CRYPTO
zandobersek@gmail.com [Fri, 2 Jun 2017 07:52:27 +0000 (07:52 +0000)]
[WPE] Enable SUBTLE_CRYPTO
https://bugs.webkit.org/show_bug.cgi?id=172756

Reviewed by Michael Catanzaro.

Tools:

* Scripts/webkitperl/FeatureList.pm: Set ENABLE_SUBTLE_CRYPTO to 1 for WPE.
* wpe/jhbuild.modules: Add libgpg-error and libgcrypt dependencies.
* wpe/patches/libgcrypt-use-only-dev-urandom-for-testing.patch: Added. Prevents
exhausting entropy when running the crypto layout tests.

LayoutTests:

* platform/wpe/TestExpectations: Enable tests under crypto/ and
imported/w3c/web-platform-tests/WebCryptoAPI/ in general, but add
the test expectations for failing tests under those directories.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217704 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[JSC] Use @globalPrivate for concatSlowPath
utatane.tea@gmail.com [Fri, 2 Jun 2017 07:47:16 +0000 (07:47 +0000)]
[JSC] Use @globalPrivate for concatSlowPath
https://bugs.webkit.org/show_bug.cgi?id=172802

Reviewed by Darin Adler.

Use @globalPrivate instead of manually putting it to JSGlobalObject.

* builtins/ArrayPrototype.js:
(concatSlowPath): Deleted.
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217703 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[GTK] Cache RenderThemeGadget hierarchies for rendering themed elements with GTK...
carlosgc@webkit.org [Fri, 2 Jun 2017 06:40:36 +0000 (06:40 +0000)]
[GTK] Cache RenderThemeGadget hierarchies for rendering themed elements with GTK+ 3.20+
https://bugs.webkit.org/show_bug.cgi?id=162673

Reviewed by Michael Catanzaro.

Because of the way the new theming system works in GTK+ >= 3.20 we are currently creating a gadget hierarchy
every time we need to render a styled element or get layout information about it. That's happening on every
repaint, and it's specially problematic for overlay scrollbar indicators that fade in/out when shown/hidden. We
need to cache the gadgets and simply apply the state before every paint or layout query. When using GtkWidgetPath,
calling gtk_style_context_save() breaks the gadget hierarchy, and style classes need to be set when building the
GtkWidgetPath. That means we can't cache RenderThemeGadgets, call save, apply style classes and state, and then
call restore. We need to cache gadget hierarchies with fixed style classes. Fortunately, setting the state does
work, so we don't need to also cache a different hierarchy for every possible state. For example, for the
particular case of scrollbars we would cache VerticalScrollbarRight, VerticalScrollbarLeft, HorizontalScrollbar,
VerticalScrollIndicatorRight, VerticalScrollIndicatorLeft and HorizontalScrollIndicator. In practice, we will
only have 4 of those at the same time in the cache.
This patch adds RenderThemeWidget to represent a hierarchy of gadgets with fixed style classes that can be
cached and reused to render or query style of those "widgets". It also simplifies the RenderThemeGtk and
ScrollbarThemeGtk code by removing a lot of duplicated code to build the gadget hierarchies.

* PlatformGTK.cmake:
* platform/gtk/RenderThemeGadget.cpp:
(WebCore::createStyleContext):
(WebCore::appendElementToPath):
(WebCore::RenderThemeGadget::state):
(WebCore::RenderThemeGadget::setState):
* platform/gtk/RenderThemeGadget.h:
* platform/gtk/RenderThemeWidget.cpp: Added.
(WebCore::widgetMap):
(WebCore::RenderThemeWidget::getOrCreate):
(WebCore::RenderThemeWidget::clearCache):
(WebCore::RenderThemeWidget::~RenderThemeWidget):
(WebCore::RenderThemeScrollbar::RenderThemeScrollbar):
(WebCore::RenderThemeScrollbar::stepper):
(WebCore::RenderThemeToggleButton::RenderThemeToggleButton):
(WebCore::RenderThemeButton::RenderThemeButton):
(WebCore::RenderThemeComboBox::RenderThemeComboBox):
(WebCore::RenderThemeEntry::RenderThemeEntry):
(WebCore::RenderThemeSearchEntry::RenderThemeSearchEntry):
(WebCore::RenderThemeSpinButton::RenderThemeSpinButton):
(WebCore::RenderThemeSlider::RenderThemeSlider):
(WebCore::RenderThemeProgressBar::RenderThemeProgressBar):
(WebCore::RenderThemeListView::RenderThemeListView):
(WebCore::RenderThemeIcon::RenderThemeIcon):
* platform/gtk/RenderThemeWidget.h: Added.
(WebCore::RenderThemeEntry::entry):
(WebCore::RenderThemeEntry::selection):
* platform/gtk/ScrollbarThemeGtk.cpp:
(WebCore::ScrollbarThemeGtk::themeChanged):
(WebCore::ScrollbarThemeGtk::updateThemeProperties):
(WebCore::widgetTypeForScrollbar):
(WebCore::contentsRectangle):
(WebCore::ScrollbarThemeGtk::trackRect):
(WebCore::ScrollbarThemeGtk::backButtonRect):
(WebCore::ScrollbarThemeGtk::forwardButtonRect):
(WebCore::ScrollbarThemeGtk::paint):
(WebCore::ScrollbarThemeGtk::scrollbarThickness):
(WebCore::ScrollbarThemeGtk::minimumThumbLength):
* rendering/RenderThemeGtk.cpp:
(WebCore::createStyleContext):
(WebCore::setToggleSize):
(WebCore::paintToggle):
(WebCore::RenderThemeGtk::paintButton):
(WebCore::menuListColor):
(WebCore::RenderThemeGtk::popupInternalPaddingBox):
(WebCore::RenderThemeGtk::paintMenuList):
(WebCore::RenderThemeGtk::adjustTextFieldStyle):
(WebCore::RenderThemeGtk::paintTextField):
(WebCore::adjustSearchFieldIconStyle):
(WebCore::paintSearchFieldIcon):
(WebCore::RenderThemeGtk::paintSliderTrack):
(WebCore::RenderThemeGtk::adjustSliderThumbSize):
(WebCore::RenderThemeGtk::paintSliderThumb):
(WebCore::RenderThemeGtk::progressBarRectForBounds):
(WebCore::RenderThemeGtk::paintProgressBar):
(WebCore::RenderThemeGtk::adjustInnerSpinButtonStyle):
(WebCore::RenderThemeGtk::paintInnerSpinButton):
(WebCore::styleColor):
(WebCore::RenderThemeGtk::platformActiveSelectionBackgroundColor):
(WebCore::RenderThemeGtk::platformInactiveSelectionBackgroundColor):
(WebCore::RenderThemeGtk::platformActiveSelectionForegroundColor):
(WebCore::RenderThemeGtk::platformInactiveSelectionForegroundColor):
(WebCore::RenderThemeGtk::paintMediaButton):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217702 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoEnsure a good experience for ARES-6 error reporting
sbarati@apple.com [Fri, 2 Jun 2017 05:55:28 +0000 (05:55 +0000)]
Ensure a good experience for ARES-6 error reporting
https://bugs.webkit.org/show_bug.cgi?id=171699

Reviewed by Filip Pizlo and Jon Davis.

This patch fixes a bug where we would silently fail running ARES-6. The bug
was that we were calling reportError with the wrong |this| value.
I also cleaned up a bit of the code around error reporting. We
now indicate which test failed, and update the status to reflect
that a failure happened.

This patch also modifies the CSS a bit to work better on smaller
screened devices. The CSS prevents the status from having a line
break both when an error is reported and when we're running the
benchmark.

* ARES-6/driver.js:
(Driver):
(Driver.prototype.reportError):
* ARES-6/results.js:
(Results.prototype.reportError):
(Results):
* ARES-6/styles.css:
(.start):
(#status):
(.failed):
(#status.failed):
(.test .failed:before):
(#magic):
(@media only screen and (max-width: 784px)):
(.test):
(p):
(@media only screen and (max-width: 320px)):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217701 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Mac] Remove backing store for layers that are outside the viewport
akling@apple.com [Fri, 2 Jun 2017 05:04:14 +0000 (05:04 +0000)]
[Mac] Remove backing store for layers that are outside the viewport
https://bugs.webkit.org/show_bug.cgi?id=170082
<rdar://problem/31245009>

Reviewed by Simon Fraser.

Source/WebCore:

Implement the backingStoreAttached flag in PlatformCALayerCocoa. This means that
compositing layers outside the tiling coverage rect will no longer have backing
stores, saving large amounts of memory.

Also added a canDetachBackingStore flag that is set to false for scroll control
layers, to avoid complicating coverage rect computations.

Test: compositing/backing-store-attachment-1.html

* page/Frame.h:
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::GraphicsLayer):
(WebCore::GraphicsLayer::dumpProperties):
* platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::backingStoreAttached):
(WebCore::GraphicsLayer::setCanDetachBackingStore):
(WebCore::GraphicsLayer::canDetachBackingStore):
* platform/graphics/GraphicsLayerClient.h:
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::backingStoreAttached):
(WebCore::GraphicsLayerCA::setNeedsDisplay):
(WebCore::GraphicsLayerCA::updateCoverage):
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.h:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(PlatformCALayerCocoa::setBackingStoreAttached):
(PlatformCALayerCocoa::backingStoreAttached):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateOverflowControlsLayers):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::layerTreeAsText):
(WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
* testing/Internals.cpp:
(WebCore::toLayerTreeFlags):
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit2:

* WebProcess/WebPage/mac/PlatformCALayerRemote.h:

LayoutTests:

Add a simple test with two compositing layers far apart vertically. Only one of them
should have its backing store attached.

* compositing/backing-store-attachment-1-expected.txt: Added.
* compositing/backing-store-attachment-1.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217696 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION (r206386): Xactimate Website Crashes @ com.apple.WebKit: WebKit::NPRuntime...
cdumez@apple.com [Fri, 2 Jun 2017 04:35:25 +0000 (04:35 +0000)]
REGRESSION (r206386): Xactimate Website Crashes @ com.apple.WebKit: WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant + 255
https://bugs.webkit.org/show_bug.cgi?id=172846
<rdar://problem/31093005>

Reviewed by Andreas Kling.

In NPJSObject::invoke(), return early if there was an exception when calling JSC::call().
Using the value returned by JSC::call() when an exception occurred is unsafe.

* WebProcess/Plugins/Netscape/NPJSObject.cpp:
(WebKit::NPJSObject::invoke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217695 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, rolling out r217691.
ryanhaddad@apple.com [Fri, 2 Jun 2017 04:17:13 +0000 (04:17 +0000)]
Unreviewed, rolling out r217691.

This change broke the Windows build.

Reverted changeset:

"Web Inspector: Should see active Web Sockets when opening Web
Inspector"
https://bugs.webkit.org/show_bug.cgi?id=172312
http://trac.webkit.org/changeset/217691

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed Windows build fix after r217691.
joepeck@webkit.org [Fri, 2 Jun 2017 04:14:40 +0000 (04:14 +0000)]
Unreviewed Windows build fix after r217691.

* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::sendFrame):
* Modules/websockets/WebSocketChannel.h:
Disambiguate the Function being used.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoLibWebRTC might crash with frames having a null width or height
commit-queue@webkit.org [Fri, 2 Jun 2017 02:50:50 +0000 (02:50 +0000)]
LibWebRTC might crash with frames having a null width or height
https://bugs.webkit.org/show_bug.cgi?id=172842
<rdar://problem/32514813>

Patch by Youenn Fablet <youenn@apple.com> on 2017-06-01
Reviewed by Jon Lee.

Do not send black frames in case the video width or height is zero.
Also ensure that even if a null buffer is returned by the pool, no crash might actually happen.

* platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp:
(WebCore::RealtimeOutgoingVideoSource::sendBlackFramesIfNeeded):
(WebCore::RealtimeOutgoingVideoSource::videoSampleAvailable):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoWeb Inspector: Should see active Web Sockets when opening Web Inspector
drousso@apple.com [Fri, 2 Jun 2017 02:44:45 +0000 (02:44 +0000)]
Web Inspector: Should see active Web Sockets when opening Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=172312

Reviewed by Joseph Pecoraro.

Source/WebCore:

Test: http/tests/websocket/tests/hybi/inspector/before-load.html

* Modules/websockets/WebSocket.h:
* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::WebSocket):
(WebCore::WebSocket::~WebSocket):
(WebCore::WebSocket::allActiveWebSockets):
(WebCore::WebSocket::allActiveWebSocketsMutex):
(WebCore::WebSocket::channel):
(WebCore::WebSocket::eventTargetInterface):
Add a static set of all WebSocket objects and provide getters to access web socket metadata.

* Modules/websockets/ThreadableWebSocketChannel.h:
(WebCore::ThreadableWebSocketChannel::isWebSocketChannel):
* Modules/websockets/WebSocketChannel.h:
* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::isWebSocketChannel):
(WebCore::WebSocketChannel::identifier):
(WebCore::WebSocketChannel::clientHandshakeRequest):
(WebCore::WebSocketChannel::serverHandshakeResponse):
(WebCore::WebSocketChannel::handshakeMode):
(WebCore::WebSocketChannel::isType):
Provide getters to access web socket metadata.

* inspector/InspectorNetworkAgent.cpp:
(WebCore::InspectorNetworkAgent::enable):
Loops over the static set of all WebSocket objects and sends events for each to the frontend.

Source/WebInspectorUI:

* UserInterface/Controllers/FrameResourceManager.js:
(WebInspector.FrameResourceManager.prototype.webSocketHandshakeResponseReceived):
(WebInspector.FrameResourceManager.prototype.initialize): Removed.
Rework order of agent enable calls to ensure that the main frame is initialized before any
websocket events are dispatched.

* UserInterface/Models/WebSocketResource.js:
(WebInspector.WebSocketResource.ReadyState):
Change symbol strings in enum for better printing in tests.

LayoutTests:

Test that WebSockets created before the inspector loads are also tracked.

* http/tests/websocket/tests/hybi/inspector/before-load-expected.txt: Added.
* http/tests/websocket/tests/hybi/inspector/before-load.html: Added.
* http/tests/websocket/tests/hybi/inspector/before-load_wsh.py: Added.
(web_socket_do_extra_handshake):
(web_socket_transfer_data):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217691 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoWeb Inspector: Web Sockets: Unable to inspect a WebSocket that receives >50 messages...
nvasilyev@apple.com [Fri, 2 Jun 2017 00:50:17 +0000 (00:50 +0000)]
Web Inspector: Web Sockets: Unable to inspect a WebSocket that receives >50 messages per second
https://bugs.webkit.org/show_bug.cgi?id=171904
<rdar://problem/32095863>

Reviewed by Matt Baker.

Every size increase of a resource causes a sidebar item to be re-attached to the DOM. Sending or
receiving a WebSocket message causes a size increase. When size increase happens too frequently,
the go-to arrow starts to flicker and becomes unclickable. This patch makes sure a sidebar item gets
re-attached only when its position (index) changes.

* UserInterface/Views/NetworkSidebarPanel.js:
Add the go-to arrow and close buttons when treeElement.status is a spinner element.

(WebInspector.NetworkSidebarPanel.prototype.treeElementAddedOrChanged):
* UserInterface/Views/ResourceTreeElement.js:
(WebInspector.ResourceTreeElement.prototype._updateStatus):
Setting status to "" removes the go-to arrow and close buttons in the Network tab.
Only set status to "" to remove the spinner.

* UserInterface/Views/TimelineDataGrid.js:
(WebInspector.TimelineDataGrid.prototype._refreshDirtyDataGridNodes):
* UserInterface/Views/TreeOutline.js:
(WebInspector.TreeOutline.prototype.reattachIfIndexChanged): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMark http/tests/navigation/statistics.html as flaky.
ryanhaddad@apple.com [Thu, 1 Jun 2017 23:50:54 +0000 (23:50 +0000)]
Mark http/tests/navigation/statistics.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=172454

Unreviewed test gardening.

* platform/ios-wk2/TestExpectations:
* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION (r217296): Dragging a video only shows controls during drag event
simon.fraser@apple.com [Thu, 1 Jun 2017 23:16:30 +0000 (23:16 +0000)]
REGRESSION (r217296): Dragging a video only shows controls during drag event
https://bugs.webkit.org/show_bug.cgi?id=172837
rdar://problem/32434661

Reviewed by Zalan Bujtas.

r217296 changed RenderVideo::paintReplaced() from checking paintBehavior() flags on the FrameView
to paintInfo.paintBehavior flags. However, RenderLayer was stripping the PaintBehaviorFlattenCompositingLayers
flag from the paintInfo.paintBehavior flags, so fix that.

Not easily testable.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayerContents):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217688 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRemove the redundant selectionOnly argument from RenderLayer::paintForegroundForFragm...
simon.fraser@apple.com [Thu, 1 Jun 2017 22:40:03 +0000 (22:40 +0000)]
Remove the redundant selectionOnly argument from RenderLayer::paintForegroundForFragments()
https://bugs.webkit.org/show_bug.cgi?id=172835

Reviewed by Zalan Bujtas.

The 'selectionOnly' state is already encoded in localPaintingInfo.paintBehavior so there's
no need to pass it separately.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayerContents):
(WebCore::RenderLayer::paintForegroundForFragments):
* rendering/RenderLayer.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoFix compilation errors in LocalizedStrings.cpp on platform not USE(CF) nor USE(GLIB)
commit-queue@webkit.org [Thu, 1 Jun 2017 22:32:24 +0000 (22:32 +0000)]
Fix compilation errors in LocalizedStrings.cpp on platform not USE(CF) nor USE(GLIB)
https://bugs.webkit.org/show_bug.cgi?id=172796

Patch by Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> on 2017-06-01
Reviewed by Alex Christensen.

No new tests needed. Fixing compilation errors.

* platform/LocalizedStrings.cpp:
(WebCore::contextMenuItemTagLookUpInDictionary):
(WebCore::imageTitle):
(WebCore::validationMessageRangeUnderflowText):
(WebCore::validationMessageRangeOverflowText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217686 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoFixed typo in test expectations.
jlewis3@apple.com [Thu, 1 Jun 2017 21:53:49 +0000 (21:53 +0000)]
Fixed typo in test expectations.
https://bugs.webkit.org/show_bug.cgi?id=172054

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217685 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRebaseline webarchive/loading/mainresource-null-mimetype-crash.html after r217680.
ryanhaddad@apple.com [Thu, 1 Jun 2017 21:39:11 +0000 (21:39 +0000)]
Rebaseline webarchive/loading/mainresource-null-mimetype-crash.html after r217680.

Unreviewed test gardening.

* webarchive/loading/mainresource-null-mimetype-crash-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217684 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, rolling out r217647.
cdumez@apple.com [Thu, 1 Jun 2017 21:17:08 +0000 (21:17 +0000)]
Unreviewed, rolling out r217647.

No longer needed after r217682

Reverted changeset:

"Avoid iterator invalidation bug in
WebCore::defaultPortForProtocol"
https://bugs.webkit.org/show_bug.cgi?id=172786
http://trac.webkit.org/changeset/217647

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217683 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMake WebCore::defaultPortForProtocol() thread-safe
cdumez@apple.com [Thu, 1 Jun 2017 21:02:59 +0000 (21:02 +0000)]
Make WebCore::defaultPortForProtocol() thread-safe
https://bugs.webkit.org/show_bug.cgi?id=172797

Reviewed by Brent Fulgham.

Make WebCore::defaultPortForProtocol() thread-safe since it is called from the SecurityOrigin
constructor and SecurityOrigin objects are constructed from various threads.

This should not regress the non-testing code paths since we only pay locking costs if
a default port override has been set by the tests.

* platform/URL.cpp:
(WebCore::defaultPortForProtocolMapLock):
(WebCore::defaultPortForProtocolMapForTesting):
(WebCore::ensureDefaultPortForProtocolMapForTesting):
(WebCore::registerDefaultPortForProtocolForTesting):
(WebCore::clearDefaultPortForProtocolMapForTesting):
(WebCore::defaultPortForProtocol):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217682 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRename an experimental feature item
jonlee@apple.com [Thu, 1 Jun 2017 20:33:01 +0000 (20:33 +0000)]
Rename an experimental feature item
https://bugs.webkit.org/show_bug.cgi?id=172830

Reviewed by Joseph Pecoraro.

* Shared/WebPreferencesDefinitions.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agowebarchive/loading/mainresource-null-mimetype-crash.html / webarchive/loading/missing...
cdumez@apple.com [Thu, 1 Jun 2017 20:09:05 +0000 (20:09 +0000)]
webarchive/loading/mainresource-null-mimetype-crash.html / webarchive/loading/missing-data.html are flaky
https://bugs.webkit.org/show_bug.cgi?id=172823

Reviewed by Alexey Proskuryakov.

Rewrite webarchive/loading/mainresource-null-mimetype-crash.html / webarchive/loading/missing-data.html
to address flakiness. We now navigate a subframe instead of the main frame. We also mark the test as
asynchronous and wait for the subframe to finish loading before calling testRunner.notifyDone().

* platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt:
* webarchive/loading/mainresource-null-mimetype-crash.html:
* webarchive/loading/missing-data-expected.txt:
* webarchive/loading/missing-data.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217680 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[GTK] Bump GTK+ and its dependencies in jhbuild
commit-queue@webkit.org [Thu, 1 Jun 2017 19:46:09 +0000 (19:46 +0000)]
[GTK] Bump GTK+ and its dependencies in jhbuild
https://bugs.webkit.org/show_bug.cgi?id=171918

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2017-06-01
Reviewed by Carlos Alberto Lopez Perez.

Tools:

* WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
(WTR::initializeGtkSettings):
* gtk/jhbuild.modules:
* gtk/patches/gtk+-configure-fix-detecting-CUPS-2.x.patch: Removed.
* gtk/patches/librsvg-2.36.1-bump-up-config.guess-to-support-aarch64.patch: Removed.

LayoutTests:

Rebaseline tests for new GTK+ version.

* platform/gtk/css1/box_properties/acid_test-expected.txt:
* platform/gtk/css2.1/20110323/replaced-elements-001-expected.png:
* platform/gtk/css2.1/20110323/replaced-elements-001-expected.txt:
* platform/gtk/css2.1/t09-c5526c-display-00-e-expected.png:
* platform/gtk/css2.1/t09-c5526c-display-00-e-expected.txt:
* platform/gtk/css3/flexbox/button-expected.png:
* platform/gtk/css3/flexbox/button-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-161-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-161-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-19b-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-19b-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-23-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-23-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-25-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-25-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-69-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-69-expected.txt:
* platform/gtk/css3/selectors3/html/css3-modsel-70-expected.png:
* platform/gtk/css3/selectors3/html/css3-modsel-70-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-161-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-161-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-19b-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-19b-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-23-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-23-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-25-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-25-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-69-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-69-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-70-expected.png:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-70-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-161-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-161-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-19b-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-19b-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-23-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-23-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-25-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-25-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-69-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-69-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-70-expected.png:
* platform/gtk/css3/selectors3/xml/css3-modsel-70-expected.txt:
* platform/gtk/editing/pasteboard/4641033-expected.png:
* platform/gtk/editing/pasteboard/4641033-expected.txt:
* platform/gtk/editing/pasteboard/4944770-1-expected.png:
* platform/gtk/editing/pasteboard/4944770-1-expected.txt:
* platform/gtk/editing/pasteboard/4944770-2-expected.png:
* platform/gtk/editing/pasteboard/4944770-2-expected.txt:
* platform/gtk/editing/selection/3690703-2-expected.png:
* platform/gtk/editing/selection/3690703-2-expected.txt:
* platform/gtk/editing/selection/3690703-expected.png:
* platform/gtk/editing/selection/3690703-expected.txt:
* platform/gtk/editing/selection/3690719-expected.png:
* platform/gtk/editing/selection/3690719-expected.txt:
* platform/gtk/editing/selection/4397952-expected.png:
* platform/gtk/editing/selection/4397952-expected.txt:
* platform/gtk/editing/selection/5240265-expected.png:
* platform/gtk/editing/selection/5240265-expected.txt:
* platform/gtk/editing/selection/caret-before-select-expected.png:
* platform/gtk/editing/selection/caret-before-select-expected.txt:
* platform/gtk/editing/selection/replaced-boundaries-3-expected.png:
* platform/gtk/editing/selection/replaced-boundaries-3-expected.txt:
* platform/gtk/editing/selection/select-box-expected.png:
* platform/gtk/editing/selection/select-box-expected.txt:
* platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png:
* platform/gtk/editing/selection/select-element-paragraph-boundary-expected.txt:
* platform/gtk/editing/selection/selection-button-text-expected.png:
* platform/gtk/editing/selection/selection-button-text-expected.txt:
* platform/gtk/fast/block/basic/011-expected.png:
* platform/gtk/fast/block/basic/011-expected.txt:
* platform/gtk/fast/block/float/float-avoidance-expected.png:
* platform/gtk/fast/block/float/float-avoidance-expected.txt:
* platform/gtk/fast/block/margin-collapse/103-expected.png:
* platform/gtk/fast/block/margin-collapse/103-expected.txt:
* platform/gtk/fast/block/positioning/inline-block-relposition-expected.png:
* platform/gtk/fast/block/positioning/inline-block-relposition-expected.txt:
* platform/gtk/fast/box-sizing/percentage-height-expected.png:
* platform/gtk/fast/box-sizing/percentage-height-expected.txt:
* platform/gtk/fast/css/continuationCrash-expected.png:
* platform/gtk/fast/css/continuationCrash-expected.txt:
* platform/gtk/fast/css/focus-ring-exists-for-search-field-expected.png:
* platform/gtk/fast/css/focus-ring-exists-for-search-field-expected.txt:
* platform/gtk/fast/css/input-search-padding-expected.png:
* platform/gtk/fast/css/input-search-padding-expected.txt:
* platform/gtk/fast/css/margin-top-bottom-dynamic-expected.png:
* platform/gtk/fast/css/margin-top-bottom-dynamic-expected.txt:
* platform/gtk/fast/css/non-standard-checkbox-size-expected.png:
* platform/gtk/fast/css/non-standard-checkbox-size-expected.txt:
* platform/gtk/fast/css/rtl-ordering-expected.png:
* platform/gtk/fast/css/rtl-ordering-expected.txt:
* platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.png:
* platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
* platform/gtk/fast/css/text-overflow-input-expected.png:
* platform/gtk/fast/css/text-overflow-input-expected.txt:
* platform/gtk/fast/css/text-transform-select-expected.png:
* platform/gtk/fast/css/text-transform-select-expected.txt:
* platform/gtk/fast/dom/HTMLInputElement/input-slider-update-expected.png:
* platform/gtk/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
* platform/gtk/fast/dom/HTMLProgressElement/indeterminate-progress-001-expected.txt:
* platform/gtk/fast/dom/HTMLProgressElement/native-progress-bar-expected.png:
* platform/gtk/fast/dom/HTMLProgressElement/native-progress-bar-expected.txt:
* platform/gtk/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.png:
* platform/gtk/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt:
* platform/gtk/fast/dom/HTMLProgressElement/progress-element-expected.png:
* platform/gtk/fast/dom/HTMLProgressElement/progress-element-expected.txt:
* platform/gtk/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png:
* platform/gtk/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.txt:
* platform/gtk/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/gtk/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt:
* platform/gtk/fast/dynamic/positioned-movement-with-positioned-children-expected.txt:
* platform/gtk/fast/forms/001-expected.png:
* platform/gtk/fast/forms/001-expected.txt:
* platform/gtk/fast/forms/003-expected.png:
* platform/gtk/fast/forms/003-expected.txt:
* platform/gtk/fast/forms/004-expected.png:
* platform/gtk/fast/forms/004-expected.txt:
* platform/gtk/fast/forms/basic-buttons-expected.png:
* platform/gtk/fast/forms/basic-buttons-expected.txt:
* platform/gtk/fast/forms/basic-inputs-expected.png:
* platform/gtk/fast/forms/basic-inputs-expected.txt:
* platform/gtk/fast/forms/basic-selects-expected.png:
* platform/gtk/fast/forms/basic-selects-expected.txt:
* platform/gtk/fast/forms/blankbuttons-expected.png:
* platform/gtk/fast/forms/blankbuttons-expected.txt:
* platform/gtk/fast/forms/box-shadow-override-expected.png:
* platform/gtk/fast/forms/box-shadow-override-expected.txt:
* platform/gtk/fast/forms/button-align-expected.png:
* platform/gtk/fast/forms/button-align-expected.txt:
* platform/gtk/fast/forms/button-cannot-be-nested-expected.png:
* platform/gtk/fast/forms/button-cannot-be-nested-expected.txt:
* platform/gtk/fast/forms/button-default-title-expected.png:
* platform/gtk/fast/forms/button-default-title-expected.txt:
* platform/gtk/fast/forms/button-generated-content-expected.png:
* platform/gtk/fast/forms/button-generated-content-expected.txt:
* platform/gtk/fast/forms/button-inner-block-reuse-expected.png:
* platform/gtk/fast/forms/button-inner-block-reuse-expected.txt:
* platform/gtk/fast/forms/button-positioned-expected.png:
* platform/gtk/fast/forms/button-positioned-expected.txt:
* platform/gtk/fast/forms/button-sizes-expected.png:
* platform/gtk/fast/forms/button-sizes-expected.txt:
* platform/gtk/fast/forms/button-style-color-expected.png:
* platform/gtk/fast/forms/button-style-color-expected.txt:
* platform/gtk/fast/forms/button-table-styles-expected.png:
* platform/gtk/fast/forms/button-table-styles-expected.txt:
* platform/gtk/fast/forms/button-text-transform-expected.png:
* platform/gtk/fast/forms/button-text-transform-expected.txt:
* platform/gtk/fast/forms/button-white-space-expected.png:
* platform/gtk/fast/forms/button-white-space-expected.txt:
* platform/gtk/fast/forms/control-clip-expected.png:
* platform/gtk/fast/forms/control-clip-expected.txt:
* platform/gtk/fast/forms/control-clip-overflow-expected.png:
* platform/gtk/fast/forms/control-clip-overflow-expected.txt:
* platform/gtk/fast/forms/control-restrict-line-height-expected.png:
* platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
* platform/gtk/fast/forms/disabled-select-change-index-expected.png:
* platform/gtk/fast/forms/disabled-select-change-index-expected.txt:
* platform/gtk/fast/forms/file/file-input-direction-expected.png:
* platform/gtk/fast/forms/file/file-input-direction-expected.txt:
* platform/gtk/fast/forms/file/file-input-disabled-expected.png:
* platform/gtk/fast/forms/file/file-input-disabled-expected.txt:
* platform/gtk/fast/forms/form-element-geometry-expected.png:
* platform/gtk/fast/forms/form-element-geometry-expected.txt:
* platform/gtk/fast/forms/formmove-expected.png:
* platform/gtk/fast/forms/formmove-expected.txt:
* platform/gtk/fast/forms/formmove2-expected.png:
* platform/gtk/fast/forms/formmove2-expected.txt:
* platform/gtk/fast/forms/formmove3-expected.png:
* platform/gtk/fast/forms/formmove3-expected.txt:
* platform/gtk/fast/forms/indeterminate-expected.png:
* platform/gtk/fast/forms/indeterminate-expected.txt:
* platform/gtk/fast/forms/input-appearance-height-expected.png:
* platform/gtk/fast/forms/input-appearance-height-expected.txt:
* platform/gtk/fast/forms/input-button-sizes-expected.png:
* platform/gtk/fast/forms/input-button-sizes-expected.txt:
* platform/gtk/fast/forms/input-first-letter-expected.png:
* platform/gtk/fast/forms/input-first-letter-expected.txt:
* platform/gtk/fast/forms/input-number-click-expected.txt: Added.
* platform/gtk/fast/forms/input-value-expected.png:
* platform/gtk/fast/forms/input-value-expected.txt:
* platform/gtk/fast/forms/menulist-deselect-update-expected.png:
* platform/gtk/fast/forms/menulist-deselect-update-expected.txt:
* platform/gtk/fast/forms/menulist-narrow-width-expected.png:
* platform/gtk/fast/forms/menulist-narrow-width-expected.txt:
* platform/gtk/fast/forms/menulist-no-overflow-expected.png:
* platform/gtk/fast/forms/menulist-no-overflow-expected.txt:
* platform/gtk/fast/forms/menulist-restrict-line-height-expected.png:
* platform/gtk/fast/forms/menulist-restrict-line-height-expected.txt:
* platform/gtk/fast/forms/menulist-separator-painting-expected.png:
* platform/gtk/fast/forms/menulist-separator-painting-expected.txt:
* platform/gtk/fast/forms/menulist-style-color-expected.png:
* platform/gtk/fast/forms/menulist-style-color-expected.txt:
* platform/gtk/fast/forms/menulist-width-change-expected.png:
* platform/gtk/fast/forms/menulist-width-change-expected.txt:
* platform/gtk/fast/forms/number/number-appearance-rtl-expected.png:
* platform/gtk/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/gtk/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png:
* platform/gtk/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
* platform/gtk/fast/forms/number/number-appearance-spinbutton-layer-expected.png:
* platform/gtk/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
* platform/gtk/fast/forms/number/number-spinbutton-change-and-input-events-expected.txt: Added.
* platform/gtk/fast/forms/number/number-spinbutton-click-in-iframe-expected.txt: Added.
* platform/gtk/fast/forms/number/number-spinbutton-gets-disabled-or-readonly-expected.txt: Added.
* platform/gtk/fast/forms/option-script-expected.png:
* platform/gtk/fast/forms/option-script-expected.txt:
* platform/gtk/fast/forms/option-strip-whitespace-expected.png:
* platform/gtk/fast/forms/option-strip-whitespace-expected.txt:
* platform/gtk/fast/forms/option-text-clip-expected.png:
* platform/gtk/fast/forms/option-text-clip-expected.txt:
* platform/gtk/fast/forms/placeholder-position-expected.png:
* platform/gtk/fast/forms/placeholder-position-expected.txt:
* platform/gtk/fast/forms/placeholder-pseudo-style-expected.png:
* platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
* platform/gtk/fast/forms/range/input-appearance-range-expected.png:
* platform/gtk/fast/forms/range/input-appearance-range-expected.txt:
* platform/gtk/fast/forms/range/slider-padding-expected.png:
* platform/gtk/fast/forms/range/slider-padding-expected.txt:
* platform/gtk/fast/forms/range/slider-thumb-shared-style-expected.png:
* platform/gtk/fast/forms/range/slider-thumb-shared-style-expected.txt:
* platform/gtk/fast/forms/range/slider-transformed-expected.txt:
* platform/gtk/fast/forms/range/thumbslider-no-parent-slider-expected.png:
* platform/gtk/fast/forms/range/thumbslider-no-parent-slider-expected.txt:
* platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.png:
* platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
* platform/gtk/fast/forms/search-display-none-cancel-button-expected.png:
* platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
* platform/gtk/fast/forms/search-input-rtl-expected.png:
* platform/gtk/fast/forms/search-input-rtl-expected.txt: Added.
* platform/gtk/fast/forms/search-rtl-expected.png:
* platform/gtk/fast/forms/search-rtl-expected.txt:
* platform/gtk/fast/forms/search-styled-expected.png:
* platform/gtk/fast/forms/search-styled-expected.txt:
* platform/gtk/fast/forms/search/search-size-with-decorations-expected.png:
* platform/gtk/fast/forms/search/search-size-with-decorations-expected.txt:
* platform/gtk/fast/forms/searchfield-heights-expected.png:
* platform/gtk/fast/forms/searchfield-heights-expected.txt:
* platform/gtk/fast/forms/select-align-expected.png:
* platform/gtk/fast/forms/select-align-expected.txt:
* platform/gtk/fast/forms/select-background-none-expected.png:
* platform/gtk/fast/forms/select-background-none-expected.txt:
* platform/gtk/fast/forms/select-baseline-expected.png:
* platform/gtk/fast/forms/select-baseline-expected.txt:
* platform/gtk/fast/forms/select-change-listbox-to-popup-expected.png:
* platform/gtk/fast/forms/select-change-listbox-to-popup-expected.txt:
* platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.png:
* platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.txt:
* platform/gtk/fast/forms/select-disabled-appearance-expected.png:
* platform/gtk/fast/forms/select-disabled-appearance-expected.txt:
* platform/gtk/fast/forms/select-element-focus-ring-expected.png: Added.
* platform/gtk/fast/forms/select-element-focus-ring-expected.txt:
* platform/gtk/fast/forms/select-initial-position-expected.png:
* platform/gtk/fast/forms/select-initial-position-expected.txt:
* platform/gtk/fast/forms/select-non-native-rendering-direction-expected.png: Added.
* platform/gtk/fast/forms/select-non-native-rendering-direction-expected.txt: Added.
* platform/gtk/fast/forms/select-selected-expected.png:
* platform/gtk/fast/forms/select-selected-expected.txt:
* platform/gtk/fast/forms/select-style-expected.png:
* platform/gtk/fast/forms/select-style-expected.txt:
* platform/gtk/fast/forms/select-visual-hebrew-expected.png:
* platform/gtk/fast/forms/select-visual-hebrew-expected.txt:
* platform/gtk/fast/forms/select-writing-direction-natural-expected.png:
* platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
* platform/gtk/fast/forms/select/optgroup-rendering-expected.png:
* platform/gtk/fast/forms/select/optgroup-rendering-expected.txt:
* platform/gtk/fast/forms/selectlist-minsize-expected.png:
* platform/gtk/fast/forms/selectlist-minsize-expected.txt:
* platform/gtk/fast/forms/stuff-on-my-optgroup-expected.png:
* platform/gtk/fast/forms/stuff-on-my-optgroup-expected.txt:
* platform/gtk/fast/forms/targeted-frame-submission-expected.png:
* platform/gtk/fast/forms/targeted-frame-submission-expected.txt:
* platform/gtk/fast/forms/validation-message-appearance-expected.png:
* platform/gtk/fast/forms/validation-message-appearance-expected.txt:
* platform/gtk/fast/html/details-replace-summary-child-expected.png:
* platform/gtk/fast/html/details-replace-summary-child-expected.txt:
* platform/gtk/fast/html/details-replace-text-expected.png:
* platform/gtk/fast/html/details-replace-text-expected.txt:
* platform/gtk/fast/html/keygen-expected.png:
* platform/gtk/fast/html/keygen-expected.txt:
* platform/gtk/fast/inline/positionedLifetime-expected.png:
* platform/gtk/fast/inline/positionedLifetime-expected.txt:
* platform/gtk/fast/invalid/014-expected.png:
* platform/gtk/fast/invalid/014-expected.txt:
* platform/gtk/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png:
* platform/gtk/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.txt:
* platform/gtk/fast/overflow/scrollRevealButton-expected.png:
* platform/gtk/fast/overflow/scrollRevealButton-expected.txt:
* platform/gtk/fast/parser/bad-xml-slash-expected.png:
* platform/gtk/fast/parser/bad-xml-slash-expected.txt:
* platform/gtk/fast/parser/document-write-option-expected.png:
* platform/gtk/fast/parser/document-write-option-expected.txt:
* platform/gtk/fast/repaint/search-field-cancel-expected.png:
* platform/gtk/fast/repaint/search-field-cancel-expected.txt:
* platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png:
* platform/gtk/fast/repaint/slider-thumb-drag-release-expected.txt:
* platform/gtk/fast/replaced/replaced-breaking-expected.png:
* platform/gtk/fast/replaced/replaced-breaking-expected.txt:
* platform/gtk/fast/replaced/replaced-breaking-mixture-expected.png:
* platform/gtk/fast/replaced/replaced-breaking-mixture-expected.txt:
* platform/gtk/fast/replaced/three-selects-break-expected.png:
* platform/gtk/fast/replaced/three-selects-break-expected.txt:
* platform/gtk/fast/replaced/width100percent-button-expected.png:
* platform/gtk/fast/replaced/width100percent-button-expected.txt:
* platform/gtk/fast/replaced/width100percent-menulist-expected.png:
* platform/gtk/fast/replaced/width100percent-menulist-expected.txt:
* platform/gtk/fast/replaced/width100percent-searchfield-expected.png:
* platform/gtk/fast/replaced/width100percent-searchfield-expected.txt:
* platform/gtk/fast/scrolling/overflow-scrollable-after-back-expected.txt: Added.
* platform/gtk/fast/table/append-cells2-expected.png:
* platform/gtk/fast/table/append-cells2-expected.txt:
* platform/gtk/fast/table/remove-td-display-none-expected.png:
* platform/gtk/fast/table/remove-td-display-none-expected.txt:
* platform/gtk/fast/text/international/bidi-menulist-expected.png:
* platform/gtk/fast/text/international/bidi-menulist-expected.txt:
* platform/gtk/fast/text/international/hindi-spacing-expected.png:
* platform/gtk/fast/text/international/hindi-spacing-expected.txt:
* platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
* platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt:
* platform/gtk/fast/text/textIteratorNilRenderer-expected.png:
* platform/gtk/fast/text/textIteratorNilRenderer-expected.txt:
* platform/gtk/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/gtk/fast/text/whitespace/normal-after-nowrap-breaking-expected.txt:
* platform/gtk/http/tests/navigation/javascriptlink-frames-expected.png:
* platform/gtk/http/tests/navigation/javascriptlink-frames-expected.txt:
* platform/gtk/svg/custom/foreign-object-skew-expected.png:
* platform/gtk/svg/custom/foreign-object-skew-expected.txt:
* platform/gtk/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/gtk/svg/custom/inline-svg-in-xhtml-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug1188-expected.png:
* platform/gtk/tables/mozilla/bugs/bug1188-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug1318-expected.png:
* platform/gtk/tables/mozilla/bugs/bug1318-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug138725-expected.png:
* platform/gtk/tables/mozilla/bugs/bug138725-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug18359-expected.png:
* platform/gtk/tables/mozilla/bugs/bug18359-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug2479-2-expected.png:
* platform/gtk/tables/mozilla/bugs/bug2479-2-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug2479-3-expected.png:
* platform/gtk/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug26178-expected.png:
* platform/gtk/tables/mozilla/bugs/bug26178-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug28928-expected.png:
* platform/gtk/tables/mozilla/bugs/bug28928-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug29326-expected.png:
* platform/gtk/tables/mozilla/bugs/bug29326-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug33855-expected.png:
* platform/gtk/tables/mozilla/bugs/bug33855-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug39209-expected.png:
* platform/gtk/tables/mozilla/bugs/bug39209-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug4382-expected.png:
* platform/gtk/tables/mozilla/bugs/bug4382-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug4429-expected.png:
* platform/gtk/tables/mozilla/bugs/bug4429-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug44505-expected.png:
* platform/gtk/tables/mozilla/bugs/bug44505-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug4527-expected.png:
* platform/gtk/tables/mozilla/bugs/bug4527-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug46368-1-expected.png:
* platform/gtk/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug46368-2-expected.png:
* platform/gtk/tables/mozilla/bugs/bug46368-2-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug51037-expected.png:
* platform/gtk/tables/mozilla/bugs/bug51037-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug51727-expected.png:
* platform/gtk/tables/mozilla/bugs/bug51727-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug52505-expected.png:
* platform/gtk/tables/mozilla/bugs/bug52505-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug52506-expected.png:
* platform/gtk/tables/mozilla/bugs/bug52506-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug60749-expected.png:
* platform/gtk/tables/mozilla/bugs/bug60749-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug68912-expected.png:
* platform/gtk/tables/mozilla/bugs/bug68912-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug7342-expected.png:
* platform/gtk/tables/mozilla/bugs/bug7342-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug92647-2-expected.png:
* platform/gtk/tables/mozilla/bugs/bug92647-2-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug96334-expected.png:
* platform/gtk/tables/mozilla/bugs/bug96334-expected.txt:
* platform/gtk/tables/mozilla/collapsing_borders/bug41262-4-expected.png:
* platform/gtk/tables/mozilla/collapsing_borders/bug41262-4-expected.txt:
* platform/gtk/tables/mozilla/core/margins-expected.png:
* platform/gtk/tables/mozilla/core/margins-expected.txt:
* platform/gtk/tables/mozilla/dom/tableDom-expected.png:
* platform/gtk/tables/mozilla/dom/tableDom-expected.txt:
* platform/gtk/tables/mozilla/other/move_row-expected.png:
* platform/gtk/tables/mozilla/other/move_row-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug1725-expected.png:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug1725-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug58402-2-expected.png:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug58402-2-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png:
* platform/gtk/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png:
* platform/gtk/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/core/captions1-expected.png:
* platform/gtk/tables/mozilla_expected_failures/core/captions1-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/core/captions2-expected.png:
* platform/gtk/tables/mozilla_expected_failures/core/captions2-expected.txt:
* platform/gtk/transforms/2d/zoom-menulist-expected.png:
* platform/gtk/transforms/2d/zoom-menulist-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217674 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[GTK] Bump wayland and weston in jhbuild
commit-queue@webkit.org [Thu, 1 Jun 2017 19:34:52 +0000 (19:34 +0000)]
[GTK] Bump wayland and weston in jhbuild
https://bugs.webkit.org/show_bug.cgi?id=171921

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2017-06-01
Reviewed by Carlos Alberto Lopez Perez.

* gtk/jhbuild.modules:
* gtk/patches/weston-libweston-include-weston-egl-ext.h-in-drm-x11-and-wa.patch: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217673 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoREGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake
aestes@apple.com [Thu, 1 Jun 2017 19:14:28 +0000 (19:14 +0000)]
REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake
https://bugs.webkit.org/show_bug.cgi?id=172828

Reviewed by Beth Dakin.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore/PAL:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217672 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agowebkitpy: Remove unneeded simulator teardown
jbedard@apple.com [Thu, 1 Jun 2017 19:06:56 +0000 (19:06 +0000)]
webkitpy: Remove unneeded simulator teardown
https://bugs.webkit.org/show_bug.cgi?id=171891

Reviewed by Aakash Jain.

* Scripts/webkitpy/port/ios_simulator.py:
(IOSSimulatorPort.clean_up_test_run): Remove FIFO deletion since TCP is used
for communication between Python and WebKitTestRunner/DumpRenderTree.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217671 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMark two webrtc tests as flaky.
ryanhaddad@apple.com [Thu, 1 Jun 2017 18:43:48 +0000 (18:43 +0000)]
Mark two webrtc tests as flaky.

Unreviewed test gardening.

* TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217670 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUndo rollout in r217638 with bug fix
keith_miller@apple.com [Thu, 1 Jun 2017 18:28:48 +0000 (18:28 +0000)]
Undo rollout in r217638 with bug fix
https://bugs.webkit.org/show_bug.cgi?id=172824

Unreviewed, reland patch with unused set_state code removed.

Source/JavaScriptCore:

* API/tests/ExecutionTimeLimitTest.cpp:
(dispatchTermitateCallback):
(testExecutionTimeLimit):
* runtime/JSLock.cpp:
(JSC::JSLock::didAcquireLock):
* runtime/Options.cpp:
(JSC::overrideDefaults):
(JSC::Options::initialize):
* runtime/Options.h:
* runtime/VMTraps.cpp:
(JSC::SignalContext::SignalContext):
(JSC::SignalContext::adjustPCToPointToTrappingInstruction):
(JSC::installSignalHandler):
(JSC::VMTraps::SignalSender::send):
* tools/SigillCrashAnalyzer.cpp:
(JSC::SignalContext::SignalContext):
(JSC::SignalContext::dump):
(JSC::installCrashHandler):
* wasm/WasmBBQPlan.cpp:
(JSC::Wasm::BBQPlan::compileFunctions):
* wasm/WasmFaultSignalHandler.cpp:
(JSC::Wasm::trapHandler):
(JSC::Wasm::enableFastMemory):
* wasm/WasmMachineThreads.cpp:
(JSC::Wasm::resetInstructionCacheOnAllThreads):

Source/WTF:

* Configurations/WTF.xcconfig:
* WTF.xcodeproj/project.pbxproj:
* wtf/Platform.h:
* wtf/PlatformRegisters.h:
(WTF::registersFromUContext):
* wtf/StackBounds.h:
(WTF::StackBounds::StackBounds):
* wtf/ThreadHolder.cpp:
(WTF::ThreadHolder::~ThreadHolder):
* wtf/ThreadMessage.cpp:
(WTF::sendMessageUsingSignal):
(WTF::sendMessageUsingMach):
(WTF::deliverMessagesUsingMach):
(WTF::sendMessageScoped):
* wtf/ThreadMessage.h:
(WTF::sendMessage):
* wtf/Threading.h:
(WTF::Thread::machThread):
* wtf/mac/MachExceptions.defs: Copied from Source/WTF/wtf/ThreadMessage.h.
* wtf/threads/Signals.cpp:
(WTF::startMachExceptionHandlerThread):
(WTF::fromMachException):
(WTF::toMachMask):
(WTF::handleSignalsWithMach):
(WTF::setExceptionPorts):
(WTF::activeThreads):
(WTF::registerThreadForMachExceptionHandling):
(WTF::unregisterThreadForMachExceptionHandling):
(WTF::installSignalHandler):
(WTF::jscSignalHandler):
* wtf/threads/Signals.h:

Tools:

* TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
(runThreadMessageTest):
(TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217669 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAdjusted loader/stateobjects/replacestate-size-iframe.html Test Expectations.
jlewis3@apple.com [Thu, 1 Jun 2017 18:21:18 +0000 (18:21 +0000)]
Adjusted loader/stateobjects/replacestate-size-iframe.html Test Expectations.
https://bugs.webkit.org/show_bug.cgi?id=172054

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMarked loader/stateobjects/replacestate-size-iframe.html as flaky.
jlewis3@apple.com [Thu, 1 Jun 2017 18:17:18 +0000 (18:17 +0000)]
Marked loader/stateobjects/replacestate-size-iframe.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=172054

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217667 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoScrollingCoordinator::updateSynchronousScrollingReasons should consider non-main...
fred.wang@free.fr [Thu, 1 Jun 2017 18:04:29 +0000 (18:04 +0000)]
ScrollingCoordinator::updateSynchronousScrollingReasons should consider non-main frames
https://bugs.webkit.org/show_bug.cgi?id=172806

Patch by Frederic Wang <fwang@igalia.com> on 2017-06-01
Reviewed by Simon Fraser.

Currently, the scrolling coordinator does not manage scrolling of frames other than the main
one (bugs 171667 and 149264) and so ScrollingCoordinator::updateSynchronousScrollingReasons
is only relevant for the main frame. This commit refactors a bit ScrollingCoordinator so that
updateSynchronousScrollingReasons is considered for all the frames whose scrolling is
coordinated by the ScrollingCoordinator so non-main frames will be considered in the future.

No new tests, behavior is unchanged for now.

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::updateSynchronousScrollingReasons): Add an ASSERT to ensure
that this function is only called for frame whose scrolling is coordinated by this class.
(WebCore::ScrollingCoordinator::updateSynchronousScrollingReasonsForAllFrames): Introduce a
new function to update synchronous scrolling for subframes whose scrolling is coordinated by
this class.
(WebCore::ScrollingCoordinator::setForceSynchronousScrollLayerPositionUpdates): Update
synchronous scrolling reason for non-main frames too.
(WebCore::ScrollingCoordinator::replaySessionStateDidChange): Update synchronous scrolling
reason for non-main frames too.
* page/scrolling/ScrollingCoordinator.h: Define updateSynchronousScrollingReasonsForAllFrames

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217666 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[WK2] Update plugin process sandbox profile for flash plugin on HBONow
cdumez@apple.com [Thu, 1 Jun 2017 18:01:45 +0000 (18:01 +0000)]
[WK2] Update plugin process sandbox profile for flash plugin on HBONow
https://bugs.webkit.org/show_bug.cgi?id=172820
<rdar://problem/32513297>

Reviewed by Brent Fulgham.

Relax the IOKit whitelist to silence sandbox violations by Flash plugin on
HBONow.

* PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217665 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Cocoa] Upstream support for JCB as a supported payment network
aestes@apple.com [Thu, 1 Jun 2017 17:59:33 +0000 (17:59 +0000)]
[Cocoa] Upstream support for JCB as a supported payment network
https://bugs.webkit.org/show_bug.cgi?id=172819

Reviewed by Tim Horton.

Source/WebCore:

* Modules/applepay/PaymentRequest.cpp:
(WebCore::PaymentRequest::isValidSupportedNetwork):
(WebCore::isAdditionalValidSupportedNetwork): Deleted.

Source/WebKit2:

* UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toSupportedNetwork):
(WebKit::toAdditionalSupportedNetwork): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217664 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[JSC][MIPS] SamplingProfiler::timerLoop() sleeps for 4000+ seconds
commit-queue@webkit.org [Thu, 1 Jun 2017 17:42:23 +0000 (17:42 +0000)]
[JSC][MIPS] SamplingProfiler::timerLoop() sleeps for 4000+ seconds
https://bugs.webkit.org/show_bug.cgi?id=172800

Patch by Guillaume Emont <guijemont@igalia.com> on 2017-06-01
Reviewed by Saam Barati.

This fixes a static_cast<uint64_t> by making it a cast to int64_t
instead, which looks like the original intent. This fixes the
sampling-profiler tests in JSTests/stress.

* runtime/SamplingProfiler.cpp:
(JSC::SamplingProfiler::timerLoop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217663 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, rolling out r217660.
cdumez@apple.com [Thu, 1 Jun 2017 17:04:09 +0000 (17:04 +0000)]
Unreviewed, rolling out r217660.

This should not have landed given that the new assertion is
hit on debug EWS bots

Reverted changeset:

"Make sure we don't access WebCore::defaultPortForProtocol
from non-main thread"
https://bugs.webkit.org/show_bug.cgi?id=172797
http://trac.webkit.org/changeset/217660

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217661 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMake sure we don't access WebCore::defaultPortForProtocol from non-main thread
bfulgham@apple.com [Thu, 1 Jun 2017 16:54:18 +0000 (16:54 +0000)]
Make sure we don't access WebCore::defaultPortForProtocol from non-main thread
https://bugs.webkit.org/show_bug.cgi?id=172797

Reviewed by Alex Christensen.

* platform/URL.cpp:
(WebCore::defaultPortForProtocol): Add an assertion to make sure we don't access the
DefaultPortForProtocolMapForTesting from multiple threads.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217660 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRebaseline two media/modern-media-controls/macos-fullscreen-media-controls tests
commit-queue@webkit.org [Thu, 1 Jun 2017 16:38:49 +0000 (16:38 +0000)]
Rebaseline two media/modern-media-controls/macos-fullscreen-media-controls tests
https://bugs.webkit.org/show_bug.cgi?id=172810

Patch by Antoine Quint <graouts@apple.com> on 2017-06-01
Reviewed by Antoine Quint.

We need to rebaseline a couple of tests to account for the width change for the left button container in fullscreen.

* media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-is-prevented-over-button-expected.txt:
* media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-is-prevented-over-button.html:
* media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-expected.txt:
* media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217659 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agowebkitpy: Do not send 0 or -1 as a pid to kill_process
jbedard@apple.com [Thu, 1 Jun 2017 16:35:58 +0000 (16:35 +0000)]
webkitpy: Do not send 0 or -1 as a pid to kill_process
https://bugs.webkit.org/show_bug.cgi?id=172818

Reviewed by Darin Adler.

Sending a signal to process 0 will result in all processes in the group receiving
the signal. Sending a signal to process -1 will result in all non-system processes
receiving the signal. Both Executive.kill_process and Executive.check_running_pid
should consider these cases

* Scripts/webkitpy/common/system/executive.py:
(Executive.kill_process): Throw exception if pid is undefined, 0 or negative.
(Executive.check_running_pid): An undefined pid, pid 0 or a negative pid will
never be running, although os.kill may succeed.
* Scripts/webkitpy/port/simulator_process.py:
(SimulatorProcess.stop): Do not kill process if it is undefined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217658 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed GTK+ gardening. Update expectations of several tests failing after r217651.
magomez@igalia.com [Thu, 1 Jun 2017 16:22:05 +0000 (16:22 +0000)]
Unreviewed GTK+ gardening. Update expectations of several tests failing after r217651.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217657 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRemove media/modern-media-controls/ios-inline-media-controls/ios-inline-media-control...
commit-queue@webkit.org [Thu, 1 Jun 2017 15:39:58 +0000 (15:39 +0000)]
Remove media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-audio-background.html
https://bugs.webkit.org/show_bug.cgi?id=172808

Patch by Antoine Quint <graouts@apple.com> on 2017-06-01
Reviewed by Antoine Quint.

This test no longer applies, there is no iOS-specific styling for <audio> elements anymore.

* media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-audio-background.html: Removed.
* media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-audio-background-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217656 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoClass Proxy can't be extended
gskachkov@gmail.com [Thu, 1 Jun 2017 15:04:53 +0000 (15:04 +0000)]
Class Proxy can't be extended
https://bugs.webkit.org/show_bug.cgi?id=169040

Reviewed by Saam Barati.

Adding tests that check correctness of Proxy to ES6 `class`
Bug is already fixed in https://bugs.webkit.org/show_bug.cgi?id=164849

* stress/proxy-class.js: Added.
(assert):
(throw.new.Error.SuperClass):
(throw.new.Error.A):
(throw.new.Error):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217655 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMark imported/w3c/web-platform-tests/css/selectors4/focus-display-none-001.html and...
ryanhaddad@apple.com [Thu, 1 Jun 2017 15:00:53 +0000 (15:00 +0000)]
Mark imported/w3c/web-platform-tests/css/selectors4/focus-display-none-001.html and focus-within-display-none-001.html as flaky failures
https://bugs.webkit.org/show_bug.cgi?id=172807

Unreviewed test gardening.

* platform/mac-wk1/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217654 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRebaseline media/modern-media-controls/audio/audio-controls-metrics.html
commit-queue@webkit.org [Thu, 1 Jun 2017 14:43:32 +0000 (14:43 +0000)]
Rebaseline media/modern-media-controls/audio/audio-controls-metrics.html
https://bugs.webkit.org/show_bug.cgi?id=172715

Patch by Antoine Quint <graouts@apple.com> on 2017-06-01
Reviewed by Antoine Quint.

We update the expectations for <audio> metrics to match the latest implementation.

* media/modern-media-controls/audio/audio-controls-metrics-expected.txt:
* media/modern-media-controls/audio/audio-controls-metrics.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217653 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[css-grid] Update W3C web platform tests for the CSS Grid Layout feature
jfernandez@igalia.com [Thu, 1 Jun 2017 14:14:33 +0000 (14:14 +0000)]
[css-grid] Update W3C web platform tests for the CSS Grid Layout feature
https://bugs.webkit.org/show_bug.cgi?id=172783

Reviewed by Manuel Rego Casasnovas.

Imported the last CSS Grid Layout web platform tests (ed50cf49ed).

* resources/import-expectations.json:
* web-platform-tests/css/css-grid-1/OWNERS:
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-001-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-001.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-002-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-002.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-003-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-003.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-004-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-004.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-005-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-005.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-006-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-006.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-007-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-007.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-008-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-008.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-009-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-009.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-010-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-010.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-011-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-011.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-012-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-012.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-013-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-013.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-014-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-014.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-015-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-015.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-016-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-016.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-001-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-001.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-002-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-002.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-003-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-003.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-004-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-004.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-005-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-005.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-006-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-006.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-007-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-007.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-008-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-008.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-009-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-009.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-010-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-010.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-011-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-011.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-012-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-012.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-013-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-013.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-014-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-014.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-015-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-015.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-016-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-lr-016.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-001-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-001.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-002-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-002.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-003-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-003.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-004-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-004.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-005-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-005.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-006-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-006.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-007-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-007.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-008-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-008.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-009-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-009.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-010-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-010.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-011-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-011.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-012-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-012.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-013-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-013.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-014-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-014.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-015-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-015.html: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-016-expected.txt: Added.
* web-platform-tests/css/css-grid-1/alignment/grid-self-alignment-stretch-vertical-rl-016.html: Added.
* web-platform-tests/css/css-grid-1/alignment/w3c-import.log:
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-flexible-lengths-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-flexible-lengths-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-areas-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-areas-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-columns-rows-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-columns-rows-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-named-grid-lines-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-named-grid-lines-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-repeat-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-repeat-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-inline-template-columns-rows-resolved-values-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-flexible-lengths-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-flexible-lengths-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-areas-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-areas-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-columns-rows-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-columns-rows-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-named-grid-lines-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-named-grid-lines-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-repeat-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-support-repeat-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/grid-template-columns-rows-resolved-values-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-definition/grid-template-columns-rows-resolved-values-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-definition/w3c-import.log:
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-inline-blocks-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-items-inline-blocks-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-004-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-004-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-005-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-005-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-auto-placement-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-order-property-painting-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-004-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-004-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-005-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-005-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-006-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-006-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-006.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-006.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-inline-blocks-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-items-inline-blocks-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-006.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-006.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-007.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-007.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-008.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-008.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-009.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-009.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-021-expected.txt: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-minimum-size-grid-items-021.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-004-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-004-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-005-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-005-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-auto-placement-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-order-property-painting-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-004-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-004-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-004.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-004.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-005-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-005-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-005.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-005.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-006-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-006-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-006.html: Added.
* web-platform-tests/css/css-grid-1/grid-items/grid-z-axis-ordering-overlapped-items-006.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-items/support/500x500-green.png: Added.
* web-platform-tests/css/css-grid-1/grid-items/support/w3c-import.log:
* web-platform-tests/css/css-grid-1/grid-items/w3c-import.log:
* web-platform-tests/css/css-grid-1/grid-model/grid-computed-value-display-floated-items-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-computed-value-display-floated-items-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-display-grid-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-display-grid-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-display-inline-grid-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-display-inline-grid-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-letter-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-first-line-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-float-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-float-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-floats-no-intrude-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-floats-no-intrude-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-letter-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-002-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-002-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-002.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-002.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-003-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-003-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-003.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-first-line-003.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-float-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-float-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-floats-no-intrude-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-floats-no-intrude-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-margins-no-collapse-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-margins-no-collapse-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-margins-no-collapse-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-margins-no-collapse-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-multicol-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-multicol-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-vertical-align-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-inline-vertical-align-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-margins-no-collapse-001-expected.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-margins-no-collapse-001-expected.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-margins-no-collapse-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-margins-no-collapse-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-multicol-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-multicol-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-support-display-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-support-display-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/grid-vertical-align-001.html: Added.
* web-platform-tests/css/css-grid-1/grid-model/grid-vertical-align-001.xht: Removed.
* web-platform-tests/css/css-grid-1/grid-model/w3c-import.log:
* web-platform-tests/css/css-grid-1/support/check-layout-th.js: Added.
(checkSubtreeExpectedValues):
(checkAttribute):
(assert_tolerance):
(checkExpectedValues):
(window.checkLayout):
* web-platform-tests/css/css-grid-1/support/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid-1/grid-items/support/w3c-import.log.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217652 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoGet rid of more HIGH_DPI_CANVAS leftovers
annulen@yandex.ru [Thu, 1 Jun 2017 09:02:04 +0000 (09:02 +0000)]
Get rid of more HIGH_DPI_CANVAS leftovers
https://bugs.webkit.org/show_bug.cgi?id=172751

Reviewed by Simon Fraser.

Get rid of HTMLCanvasElement::convertLogicalToDevice() and
HTMLCanvasElement::convertDeviceToLogical() that are no longer needed,
as canvas doesn't use device scale factor anymore.

No new tests needed.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::createImageBuffer): Use integer width()
and height() instead of floating-point temporary deviceSize variable.
(WebCore::HTMLCanvasElement::baseTransform): Return unmodified
baseTransform of underlying ImageBuffer.
* html/HTMLCanvasElement.h: Removed declarations of unused methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217651 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRELEASE_ASSERT_NOT_REACHED() in InferredType::kindForFlags() on Big-Endians
tpopela@redhat.com [Thu, 1 Jun 2017 08:22:16 +0000 (08:22 +0000)]
RELEASE_ASSERT_NOT_REACHED() in InferredType::kindForFlags() on Big-Endians
https://bugs.webkit.org/show_bug.cgi?id=170945

Patch by Tomas Popela  <tpopela@redhat.com>, Mark Lam <mark.lam@apple.com> on 2017-06-01
Reviewed by Mark Lam.

Re-define PutByIdFlags as a int32_t enum explicitly because it is
stored as an int32_t value in UnlinkedInstruction.  This prevents
a bug on 64-bit big endian architectures where the word order is
inverted (when we convert the UnlinkedInstruction into a CodeBlock
Instruction), resulting in the PutByIdFlags value not being stored in
the 32-bit word that the rest of the code expects it to be in.

* bytecode/PutByIdFlags.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217650 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, rebaseline test results according to the error message change
utatane.tea@gmail.com [Thu, 1 Jun 2017 07:27:05 +0000 (07:27 +0000)]
Unreviewed, rebaseline test results according to the error message change
https://bugs.webkit.org/show_bug.cgi?id=172798

* js/dom/string-prototype-properties-expected.txt:
* sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217649 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[JSC] Implement String.prototype.concat in JS builtins
utatane.tea@gmail.com [Thu, 1 Jun 2017 05:18:25 +0000 (05:18 +0000)]
[JSC] Implement String.prototype.concat in JS builtins
https://bugs.webkit.org/show_bug.cgi?id=172798

Reviewed by Sam Weinig.

JSTests:

* microbenchmarks/string-concat-convert.js: Added.
(test):
* microbenchmarks/string-concat-long-convert.js: Added.
(test):
* microbenchmarks/string-concat-long.js: Added.
(test):
* microbenchmarks/string-concat.js: Added.
(test):

Source/JavaScriptCore:

Since we have highly effective + operation for strings,
implementing String.prototype.concat in JS simplifies the
implementation and improves performance by using speculated
types.

Added microbenchmarks show performance improvement.

string-concat-long-convert     1063.2787+-12.9101    ^    109.0855+-2.8083        ^ definitely 9.7472x faster
string-concat-convert          1111.1366+-12.2363    ^     99.3402+-1.9874        ^ definitely 11.1852x faster
string-concat                   131.7377+-3.8359     ^     54.3949+-0.9580        ^ definitely 2.4219x faster
string-concat-long               79.4726+-1.9644     ^     64.6301+-1.4941        ^ definitely 1.2297x faster

* builtins/StringPrototype.js:
(globalPrivate.stringConcatSlowPath):
(concat):
* runtime/StringPrototype.cpp:
(JSC::StringPrototype::finishCreation):
(JSC::stringProtoFuncConcat): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217648 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAvoid iterator invalidation bug in WebCore::defaultPortForProtocol
bfulgham@apple.com [Thu, 1 Jun 2017 03:53:24 +0000 (03:53 +0000)]
Avoid iterator invalidation bug in WebCore::defaultPortForProtocol
https://bugs.webkit.org/show_bug.cgi?id=172786
<rdar://problem/32499586>

Reviewed by Chris Dumez.

Create the SecurityOrigin objects on the main thread (rather than the worker queues)
since defaultPortForProtocol is not threadsafe.

* loader/ResourceLoadObserver.cpp:
(WebCore::ResourceLoadObserver::logFrameNavigation):
(WebCore::ResourceLoadObserver::logSubresourceLoading):
(WebCore::ResourceLoadObserver::logWebSocketLoading):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217647 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoJSC EWS bot does not run on WTF only patches
ap@apple.com [Thu, 1 Jun 2017 03:13:10 +0000 (03:13 +0000)]
JSC EWS bot does not run on WTF only patches
https://bugs.webkit.org/show_bug.cgi?id=172777
rdar://problem/32495975

Reviewed by Aakash Jain.

* Scripts/webkitpy/tool/steps/checkpatchrelevance.py:
(CheckPatchRelevance): Add a missing comma.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217646 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRemove overrides of visitChildren() that do not add any functionality.
mark.lam@apple.com [Thu, 1 Jun 2017 03:10:47 +0000 (03:10 +0000)]
Remove overrides of visitChildren() that do not add any functionality.
https://bugs.webkit.org/show_bug.cgi?id=172789
<rdar://problem/32500865>

Reviewed by Andreas Kling.

Source/JavaScriptCore:

* bytecode/UnlinkedModuleProgramCodeBlock.cpp:
(JSC::UnlinkedModuleProgramCodeBlock::visitChildren): Deleted.
* bytecode/UnlinkedModuleProgramCodeBlock.h:
* bytecode/UnlinkedProgramCodeBlock.cpp:
(JSC::UnlinkedProgramCodeBlock::visitChildren): Deleted.
* bytecode/UnlinkedProgramCodeBlock.h:
* wasm/js/WebAssemblyFunction.cpp:
(JSC::WebAssemblyFunction::visitChildren): Deleted.
* wasm/js/WebAssemblyFunction.h:
* wasm/js/WebAssemblyInstanceConstructor.cpp:
(JSC::WebAssemblyInstanceConstructor::visitChildren): Deleted.
* wasm/js/WebAssemblyInstanceConstructor.h:
* wasm/js/WebAssemblyMemoryConstructor.cpp:
(JSC::WebAssemblyMemoryConstructor::visitChildren): Deleted.
* wasm/js/WebAssemblyMemoryConstructor.h:
* wasm/js/WebAssemblyModuleConstructor.cpp:
(JSC::WebAssemblyModuleConstructor::visitChildren): Deleted.
* wasm/js/WebAssemblyModuleConstructor.h:
* wasm/js/WebAssemblyTableConstructor.cpp:
(JSC::WebAssemblyTableConstructor::visitChildren): Deleted.
* wasm/js/WebAssemblyTableConstructor.h:

Source/WebCore:

No new tests needed.  Just deleting unneeded code.

* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::visitChildren): Deleted.
* bindings/js/JSDOMWindowBase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217645 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[WebCore] Update AXObjectCache::startOrEndCharacterOffsetForRange signature for ...
commit-queue@webkit.org [Thu, 1 Jun 2017 02:47:56 +0000 (02:47 +0000)]
[WebCore] Update AXObjectCache::startOrEndCharacterOffsetForRange signature for !HAVE(ACCESSIBILITY)
https://bugs.webkit.org/show_bug.cgi?id=172769

Patch by Don Olmstead <don.olmstead@am.sony.com> on 2017-05-31
Reviewed by Yusuke Suzuki.

No new tests. No change in behavior.

* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::startOrEndCharacterOffsetForRange):
* platform/Curl.cmake: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217644 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoDon't shouldn't create a request to build a patch if there is no patch to build
rniwa@webkit.org [Thu, 1 Jun 2017 01:55:52 +0000 (01:55 +0000)]
Don't shouldn't create a request to build a patch if there is no patch to build
https://bugs.webkit.org/show_bug.cgi?id=172791

Reviewed by Chris Dumez.

When a commit set doesn't have a patch specified, don't create a request to build. For example, when we're comparing
WebKit in the system to WebKit with a patch, there is nothing to build for the first commit set.

However, when conducting an A/B testing, it's advisible to compare WebKit built with and without a patch on a single
machine with the same version of Xcode, etc... For this reason, we still create a request to build for a commit set
if there is another commit set with a patch which uses the same repository group.

* public/privileged-api/create-test-group.php:
(main): Fixed the bug. Only create a build request to build if there is a matching repository group with a patch.
* server-tests/privileged-api-create-test-group-tests.js: Added a test case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoCodeGeneratorJS's InstanceNeedsVisitChildren should not return true just because...
mark.lam@apple.com [Thu, 1 Jun 2017 00:12:51 +0000 (00:12 +0000)]
CodeGeneratorJS's InstanceNeedsVisitChildren should not return true just because a class is / extends EventTarget.
https://bugs.webkit.org/show_bug.cgi?id=172782
<rdar://problem/32498266>

Reviewed by Chris Dumez.

No new tests needed.  This change is covered by existing binding tests.

InstanceNeedsVisitChildren should also not check the IsJSBuiltinConstructor
condition, which is not used to emit any additional code in the visitChildren
override.

The other conditions for generating visitChildren() are adequate if the class
needs to override visitChildren.  Currently, we're generating some visitChildren()
methods that only call its Base::visitChildren().  Removing the "is / extends
EventTarget" conditions removes those unneeded visitChildren overrides.

* bindings/scripts/CodeGeneratorJS.pm:
(InstanceNeedsVisitChildren):
* bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
(WebCore::JSTestClassWithJSBuiltinConstructor::visitChildren): Deleted.
* bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h:
* bindings/scripts/test/JS/JSTestDOMJIT.cpp:
(WebCore::JSTestDOMJIT::visitChildren): Deleted.
* bindings/scripts/test/JS/JSTestDOMJIT.h:
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::visitChildren): Deleted.
* bindings/scripts/test/JS/JSTestEventTarget.h:
* bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
(WebCore::JSTestJSBuiltinConstructor::visitChildren): Deleted.
* bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h:
* bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore::JSTestNode::visitChildren): Deleted.
* bindings/scripts/test/JS/JSTestNode.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217642 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[Cocoa] "administrativeArea" contact field maps to the wrong CNPostalAddress key...
aestes@apple.com [Thu, 1 Jun 2017 00:01:38 +0000 (00:01 +0000)]
[Cocoa] "administrativeArea" contact field maps to the wrong CNPostalAddress key when creating NSErrors
https://bugs.webkit.org/show_bug.cgi?id=172784
<rdar://problem/32414416>

Reviewed by Beth Dakin.

* UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toNSError): Used CNPostalAddressStateKey instead of CNPostalAddressCityKey.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217641 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoFlaky Test: http/tests/misc/acid3.html
cdumez@apple.com [Wed, 31 May 2017 23:42:27 +0000 (23:42 +0000)]
Flaky Test: http/tests/misc/acid3.html
https://bugs.webkit.org/show_bug.cgi?id=165734
<rdar://problem/32249821>

Reviewed by Simon Fraser.

Increase internal test timeout from 5 seconds to 10 seconds to reduce
flakiness.

* http/tests/misc/acid3.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217640 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMake QualifiedName cache per thread
cdumez@apple.com [Wed, 31 May 2017 23:33:30 +0000 (23:33 +0000)]
Make QualifiedName cache per thread
https://bugs.webkit.org/show_bug.cgi?id=172778
<rdar://problem/32490942>

Reviewed by Geoffrey Garen.

Make QualifiedName cache per thread since it is currently used from multiple threads,
in an unsafe fashion. We started using QualifiedName objects in background threads
after r190602 which started using a CSSSelectorParser in the ContentExtensionParser.

* WebCore.xcodeproj/project.pbxproj:
* dom/QualifiedName.cpp:
(WebCore::QualifiedName::QualifiedName):
(WebCore::QualifiedName::QualifiedNameImpl::~QualifiedNameImpl):
* dom/QualifiedNameCache.cpp: Added.
(WebCore::QNameComponentsTranslator::hash):
(WebCore::QNameComponentsTranslator::equal):
(WebCore::QNameComponentsTranslator::translate):
(WebCore::QualifiedNameCache::getOrCreate):
(WebCore::QualifiedNameCache::remove):
* dom/QualifiedNameCache.h: Added.
* platform/ThreadGlobalData.cpp:
(WebCore::ThreadGlobalData::ThreadGlobalData):
(WebCore::ThreadGlobalData::destroy):
* platform/ThreadGlobalData.h:
(WebCore::ThreadGlobalData::qualifiedNameCache):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217639 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, rolling out r217611 and r217631.
commit-queue@webkit.org [Wed, 31 May 2017 23:25:04 +0000 (23:25 +0000)]
Unreviewed, rolling out r217611 and r217631.
https://bugs.webkit.org/show_bug.cgi?id=172785

"caused wasm-hashset-many.html to become flaky." (Requested by
keith_miller on #webkit).

Reverted changesets:

"Reland r216808, underlying lldb bug has been fixed."
https://bugs.webkit.org/show_bug.cgi?id=172759
http://trac.webkit.org/changeset/217611

"Use dispatch queues for mach exceptions"
https://bugs.webkit.org/show_bug.cgi?id=172775
http://trac.webkit.org/changeset/217631

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoEWS bots should reboot themselves more frequently
ryanhaddad@apple.com [Wed, 31 May 2017 23:14:22 +0000 (23:14 +0000)]
EWS bots should reboot themselves more frequently
https://bugs.webkit.org/show_bug.cgi?id=172402

Reviewed by Alexey Proskuryakov.

Instead of rebooting once a day, EWS bots will reboot after running 10 iterations.

* EWSTools/start-queue-mac.sh: Remove the restriction placed on the time that the bot will perform a reboot.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217636 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoReallocate hardware for iOS bots.
ryanhaddad@apple.com [Wed, 31 May 2017 22:56:03 +0000 (22:56 +0000)]
Reallocate hardware for iOS bots.
https://bugs.webkit.org/show_bug.cgi?id=172657

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/config.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217635 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUse dispatch queues for mach exceptions
keith_miller@apple.com [Wed, 31 May 2017 22:45:07 +0000 (22:45 +0000)]
Use dispatch queues for mach exceptions
https://bugs.webkit.org/show_bug.cgi?id=172775

Reviewed by Geoffrey Garen.

This patch adds support for using a dispatch queue to handle our
mach exceptions. We use a high priority concurrent dispatch queue
to handle our mach exceptions. We don't know the priority of the
thread whose exception we are handling so the most conservative
answer is to respond with a high priority. These events are both
rare and usually quite fast so it is likely not a significant cost
when the thread with an exception has a low priority.

* wtf/threads/Signals.cpp:
(WTF::startMachExceptionHandlerThread):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217631 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRolling out: Prevent async methods named 'function'
gskachkov@gmail.com [Wed, 31 May 2017 22:28:39 +0000 (22:28 +0000)]
Rolling out: Prevent async methods named 'function'
https://bugs.webkit.org/show_bug.cgi?id=172776

Reviewed by Mark Lam.

JSTests:

* stress/async-await-syntax.js:
(testTopLevelAsyncAwaitSyntaxSloppyMode.testSyntax):
(testTopLevelAsyncAwaitSyntaxSloppyMode):
(prototype.testTopLevelAsyncAwaitSyntaxStrictMode.testSyntax):
(prototype.testTopLevelAsyncAwaitSyntaxStrictMode):
(testTopLevelAsyncAwaitSyntaxSloppyMode.testSyntaxError):

Source/JavaScriptCore:

Rolling out https://bugs.webkit.org/show_bug.cgi?id=172660 r217578,
https://bugs.webkit.org/show_bug.cgi?id=172598  r217478
PR to spec was closed, so changes need to roll out. See
https://github.com/tc39/ecma262/pull/884#issuecomment-305212494

* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseClass):
(JSC::Parser<LexerType>::parsePropertyMethod):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217629 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoSkip http/tests/cache/cancel-during-revalidation-succeeded.html on ios-wk2.
ryanhaddad@apple.com [Wed, 31 May 2017 21:52:07 +0000 (21:52 +0000)]
Skip http/tests/cache/cancel-during-revalidation-succeeded.html on ios-wk2.
https://bugs.webkit.org/show_bug.cgi?id=172772

Unreviewed test gardening.

* platform/ios-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217628 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMark fast/css/target-fragment-match.html as flaky on iOS.
ryanhaddad@apple.com [Wed, 31 May 2017 21:44:02 +0000 (21:44 +0000)]
Mark fast/css/target-fragment-match.html as flaky on iOS.
https://bugs.webkit.org/show_bug.cgi?id=168239

Unreviewed test gardening.

* platform/ios/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217627 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoRename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supporte...
aestes@apple.com [Wed, 31 May 2017 21:35:31 +0000 (21:35 +0000)]
Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number
https://bugs.webkit.org/show_bug.cgi?id=172366

Reviewed by Daniel Bates.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:
* Modules/applepay/ApplePayError.idl:
* Modules/applepay/ApplePayPaymentAuthorizationResult.idl:
* Modules/applepay/ApplePayPaymentMethodUpdate.idl:
* Modules/applepay/ApplePaySession.idl:
* Modules/applepay/ApplePayShippingContactUpdate.idl:
* Modules/applepay/ApplePayShippingMethodUpdate.idl:

Source/WebCore/PAL:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* WebProcess/ApplePay/WebPaymentCoordinator.cpp:
(WebKit::WebPaymentCoordinator::supportsVersion):

Tools:

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217626 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoWeb Inspector: Add Debug view to Settings tab for debug settings and experimental...
drousso@apple.com [Wed, 31 May 2017 20:54:49 +0000 (20:54 +0000)]
Web Inspector: Add Debug view to Settings tab for debug settings and experimental features
https://bugs.webkit.org/show_bug.cgi?id=172477

Reviewed by Joseph Pecoraro.

* UserInterface/Base/Setting.js:
Add three new settings:
 - autoLogProtocolMessages
 - autoLogTimeStats
 - enableUncaughtExceptionReporter

* UserInterface/Debug/Bootstrap.js:
(WebInspector.runBootstrapOperations):
Update toolbar item state when editor in Settings tab is changed.

* UserInterface/Debug/UncaughtExceptionReporter.js:
(handleUncaughtExceptionRecord):
Return if the setting controlling the uncaught exception reporter is disabled.

* UserInterface/Protocol/InspectorBackend.js:
(InspectorBackendClass):
(InspectorBackendClass.prototype.set dumpInspectorProtocolMessages):
(InspectorBackendClass.prototype.get dumpInspectorProtocolMessages):
(InspectorBackendClass.prototype.set dumpInspectorTimeStats):
(InspectorBackendClass.prototype.get dumpInspectorTimeStats):
Replace member variables and private Setting objects with items on WebInspector.settings.

* UserInterface/Main.html:
* UserInterface/Views/GeneralSettingsView.js: Removed.
Consolidated into SettingsTabContentView.

* UserInterface/Views/SettingsTabContentView.js:
(WebInspector.SettingsTabContentView):
(WebInspector.SettingsTabContentView.prototype.initialLayout):
(WebInspector.SettingsTabContentView.prototype._createGeneralSettingsView):
(WebInspector.SettingsTabContentView.prototype._createDebugSettingsView):
(WebInspector.SettingsTabContentView.prototype._updateDebugSettingsViewVisibility):

* UserInterface/Views/SettingsView.js:
(WebInspector.SettingsView.prototype.addGroupWithCustomSetting):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217625 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoPeerConnection should respect tracks that are muted at the time they are added
commit-queue@webkit.org [Wed, 31 May 2017 20:51:12 +0000 (20:51 +0000)]
PeerConnection should respect tracks that are muted at the time they are added
https://bugs.webkit.org/show_bug.cgi?id=172771

Patch by Youenn Fablet <youenn@apple.com> on 2017-05-31
Reviewed by Eric Carlson.

Source/WebCore:

Tests: webrtc/peer-connection-audio-unmute.html
       webrtc/video-unmute.html

Making sure that muted/enabled state of sources are correctly handled at creation time of the outgoing webrtc sources.
This should trigger silent audio and black frames.

* platform/mediastream/mac/RealtimeOutgoingAudioSource.cpp:
(WebCore::RealtimeOutgoingAudioSource::RealtimeOutgoingAudioSource):
(WebCore::RealtimeOutgoingAudioSource::setSource):
(WebCore::RealtimeOutgoingAudioSource::initializeConverter):
* platform/mediastream/mac/RealtimeOutgoingAudioSource.h:
* platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp:
(WebCore::RealtimeOutgoingVideoSource::RealtimeOutgoingVideoSource):
(WebCore::RealtimeOutgoingVideoSource::setSource):
(WebCore::RealtimeOutgoingVideoSource::sourceMutedChanged):
(WebCore::RealtimeOutgoingVideoSource::sourceEnabledChanged):
(WebCore::RealtimeOutgoingVideoSource::initializeFromSource):
(WebCore::RealtimeOutgoingVideoSource::AddOrUpdateSink):
(WebCore::RealtimeOutgoingVideoSource::RemoveSink):
(WebCore::RealtimeOutgoingVideoSource::sendBlackFramesIfNeeded):
(WebCore::RealtimeOutgoingVideoSource::setSizeFromSource): Deleted.
(WebCore::RealtimeOutgoingVideoSource::sendBlackFrames): Deleted.
* platform/mediastream/mac/RealtimeOutgoingVideoSource.h:

LayoutTests:

* webrtc/audio-replace-track.html:
* webrtc/peer-connection-audio-unmute-expected.txt: Added.
* webrtc/peer-connection-audio-unmute.html: Added.
* webrtc/routines.js:
* webrtc/video-unmute-expected.txt: Added.
* webrtc/video-unmute.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217624 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoAllow sync-buildbot.js to set a buildbot property only when patches are built
rniwa@webkit.org [Wed, 31 May 2017 20:24:59 +0000 (20:24 +0000)]
Allow sync-buildbot.js to set a buildbot property only when patches are built
https://bugs.webkit.org/show_bug.cgi?id=172743

Rubber-stamped by Chris Dumez.

Added the ability to specify a buildbot property only when there are build requests to build a patch.

* tools/js/buildbot-syncer.js:
(BuildbotSyncer.prototype.scheduleRequest): Pass in the list of build requests that belong to the same test group.
(BuildbotSyncer.prototype.scheduleRequestInGroupIfAvailable): Ditto.
(BuildbotSyncer.prototype._propertiesForBuildRequest): Added the support for specifying a conditional property.
For the condition type of "built", we check if there was any other
(BuildbotSyncer._parseRepositoryGroup): Added the support for "ifBuilt" conditional.

* tools/js/buildbot-triggerable.js:
(BuildbotTriggerable.prototype._scheduleRequestIfSlaveIsAvailable): Pass in the list of build requests that
belong to the same test group.
(BuildbotTriggerable.prototype._scheduleRequestWithLog): Ditto.

* unit-tests/buildbot-syncer-tests.js:  Added test case for newly added "ifBuilt" as well as specifying a patch.
Updated the various test cases per the addition of new argument to scheduleRequest, _propertiesForBuildRequest,
and scheduleRequestInGroupIfAvailable.
(createSampleBuildRequestWithPatch): Added.

* unit-tests/resources/mock-v3-models.js:
(MockModels.inject): Made "ios-svn-webkit" accept a WebKit patch and roots to allow new testing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217623 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoUnreviewed, add Jiewen Tan as a reviewer
jiewen_tan@apple.com [Wed, 31 May 2017 20:14:47 +0000 (20:14 +0000)]
Unreviewed, add Jiewen Tan as a reviewer

* Scripts/webkitpy/common/config/contributors.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217622 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoSkip flaky JSC test stress/test-finally.js
ryanhaddad@apple.com [Wed, 31 May 2017 20:12:55 +0000 (20:12 +0000)]
Skip flaky JSC test stress/test-finally.js
https://bugs.webkit.org/show_bug.cgi?id=168587

Unreviewed test gardening.

* stress/test-finally.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217621 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[GTK] MiniBrowser's browser_window_get_or_create_web_view_for_automation never create...
aperez@igalia.com [Wed, 31 May 2017 20:10:51 +0000 (20:10 +0000)]
[GTK] MiniBrowser's browser_window_get_or_create_web_view_for_automation never creates new windows
https://bugs.webkit.org/show_bug.cgi?id=172770

Reviewed by Michael Catanzaro.

* MiniBrowser/gtk/BrowserWindow.c:
(browser_window_get_or_create_web_view_for_automation): Removed stray semicolon
which caused the body of the if-clause to be accidentally empty.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217620 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
aperez@igalia.com [Wed, 31 May 2017 19:54:20 +0000 (19:54 +0000)]
[CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
https://bugs.webkit.org/show_bug.cgi?id=172750

Reviewed by Michael Catanzaro.

* Source/cmake/OptionsCommon.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217618 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years ago[WK2] Fix bad assertion in BackgroundProcessResponsivenessTimer::scheduleNextResponsi...
cdumez@apple.com [Wed, 31 May 2017 19:17:28 +0000 (19:17 +0000)]
[WK2] Fix bad assertion in BackgroundProcessResponsivenessTimer::scheduleNextResponsivenessCheck()
https://bugs.webkit.org/show_bug.cgi?id=172763

Reviewed by Zalan Bujtas.

Fix bad assertion in BackgroundProcessResponsivenessTimer::scheduleNextResponsivenessCheck().
It gets hit when a process becomes unresponsive. The reason is that RunLoop::Timer::isActive()
still returns true while the timerFired() callback is called.

* UIProcess/BackgroundProcessResponsivenessTimer.cpp:
(WebKit::BackgroundProcessResponsivenessTimer::scheduleNextResponsivenessCheck):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217617 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoCrashTracer: Regression : com.apple.WebKit.WebContent at STP responsible :: com.apple...
antti@apple.com [Wed, 31 May 2017 19:11:24 +0000 (19:11 +0000)]
CrashTracer: Regression : com.apple.WebKit.WebContent at STP responsible :: com.apple.WebCore: WebCore::SharedBuffer::data const + 11
https://bugs.webkit.org/show_bug.cgi?id=172747
<rdar://problem/32275314>

Reviewed by Andreas Kling.

Source/WebCore:

Test: http/tests/subresource-integrity/empty-stylesheet-integrity-crash.html

* loader/SubresourceIntegrity.cpp:
(WebCore::matchIntegrityMetadata):

    If the resource body is empty CachedResource::resourceBuffer() may be null.

LayoutTests:

* http/tests/css/empty-stylesheet-integrity-crash-expected.txt: Added.
* http/tests/css/empty-stylesheet-integrity-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217616 268f45cc-cd09-0410-ab3c-d52691b4dbfc