WebKit-https.git
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 years agoMake WebRTC legacy API switch an experimental feature
commit-queue@webkit.org [Wed, 31 May 2017 19:04:44 +0000 (19:04 +0000)]
Make WebRTC legacy API switch an experimental feature
https://bugs.webkit.org/show_bug.cgi?id=172760

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

This patch adds an experimental feature to disable WebRTC legacy API.
We keep the runtime flag as "enable WebRTC legacy API" to minimize the changes and as it is clearer in the code.

* Shared/WebPreferencesDefinitions.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetWebRTCLegacyAPIEnabled):
(WKPreferencesGetWebRTCLegacyAPIEnabled):
* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _webRTCLegacyAPIEnabled]):
(-[WKPreferences _setWebRTCLegacyAPIEnabled:]):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

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

2 years agoReduce Safari Technology Preview Release Notes posts shown on homepage
jond@apple.com [Wed, 31 May 2017 18:57:12 +0000 (18:57 +0000)]
Reduce Safari Technology Preview Release Notes posts shown on homepage
https://bugs.webkit.org/show_bug.cgi?id=172364

Reviewed by Daniel Bates.

* wp-content/themes/webkit/functions.php: Load some extra posts.
* wp-content/themes/webkit/widgets/post.php: Show STP blog posts when it is the current featured post.

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

2 years agoVersioning.
jmarcell@apple.com [Wed, 31 May 2017 18:56:12 +0000 (18:56 +0000)]
Versioning.

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

2 years agoMarked http/tests/preload/viewport/meta-viewport-link-headers.php as flaky.
jlewis3@apple.com [Wed, 31 May 2017 18:21:56 +0000 (18:21 +0000)]
Marked http/tests/preload/viewport/meta-viewport-link-headers.php as flaky.
https://bugs.webkit.org/show_bug.cgi?id=172518

Unreviewed test gardening.

* platform/ios/TestExpectations:

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

2 years agoReland r216808, underlying lldb bug has been fixed.
keith_miller@apple.com [Wed, 31 May 2017 18:16:53 +0000 (18:16 +0000)]
Reland r216808, underlying lldb bug has been fixed.
https://bugs.webkit.org/show_bug.cgi?id=172759

Source/JavaScriptCore:

Unreviewed, relanding old patch. See: rdar://problem/31183352

* 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:

Unreviewed, relanding old patch. See: rdar://problem/31183352

* 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:

Unreviewed, relanding old patch. See: rdar://problem/31183352

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

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

2 years agoScrollingStateScrollingNode::ChangedProperty::NumScrollingStateNodeBits is wrongly set
fred.wang@free.fr [Wed, 31 May 2017 17:49:04 +0000 (17:49 +0000)]
ScrollingStateScrollingNode::ChangedProperty::NumScrollingStateNodeBits is wrongly set
https://bugs.webkit.org/show_bug.cgi?id=172349

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

ScrollingStateScrollingNode::ChangedProperty::NumScrollingStateNodeBits was introduced in
r133022 so that ScrollingStateFrameScrollingNode and ScrollingStateOverflowScrollingNode
know the number of bits use for properties in their parent class.

In r172649, r210560, r185762 and r183702 new properties were added to
ScrollingStateScrollingNode but NumScrollingStateNodeBits was not increased accordingly. This
means that there are potential conflicts between these new properties and those of derived
classes ScrollingStateFrameScrollingNode and ScrollingStateOverflowScrollingNode. It is not
clear how to write a test case reproducing such conflict, though.

No new tests, this is a coding mistake but its effect is unclear.

* page/scrolling/ScrollingStateNode.cpp:
(WebCore::ScrollingStateNode::setPropertyChanged): Use hasChangedProperty and cast to
64-bits integer before shifting.
* page/scrolling/ScrollingStateNode.h: Add a comment to make clear NumStateNodeBits must
remain at the last position. Ensure we have enough bits available.
(WebCore::ScrollingStateNode::hasChangedProperty): Cast to 64-bits integer before shifting.
* page/scrolling/ScrollingStateScrollingNode.h: Fix position of NumScrollingStateNodeBits and
also add a similar comment.

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

2 years agoFix leak in PromiseDeferredTimer
keith_miller@apple.com [Wed, 31 May 2017 17:03:34 +0000 (17:03 +0000)]
Fix leak in PromiseDeferredTimer
https://bugs.webkit.org/show_bug.cgi?id=172755

Reviewed by JF Bastien.

We were not properly freeing the list of dependencies if we were already tracking the promise before.
This is because addPendingPromise takes the list of dependencies as an rvalue-reference. In the case
where we were already tracking the promise we append the provided dependency list to the existing list.
Since we never bound or rvalue-ref to a non-temporary value we never destructed the Vector, leaking its
contents.

* runtime/PromiseDeferredTimer.cpp:
(JSC::PromiseDeferredTimer::addPendingPromise):

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

2 years agoUnreviewed, rolling out r217603.
jlewis3@apple.com [Wed, 31 May 2017 17:00:53 +0000 (17:00 +0000)]
Unreviewed, rolling out r217603.

This patch broke the internal builds.

Reverted changeset:

"Get <chrono> out of StdLibExtras.h"
https://bugs.webkit.org/show_bug.cgi?id=172744
http://trac.webkit.org/changeset/217603

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

2 years agoMake ResourceLoadStatistics testing more reliable
bfulgham@apple.com [Wed, 31 May 2017 16:58:53 +0000 (16:58 +0000)]
Make ResourceLoadStatistics testing more reliable
https://bugs.webkit.org/show_bug.cgi?id=172730
<rdar://problem/32028373>

Reviewed by Andy Estes.

Source/WebKit2:

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::notifyPageStatisticsAndDataRecordsProcessed): Add a convenience method to notify the
WebProcess when the UIProcess has finished processing the load statistics data.
* UIProcess/WebProcessProxy.h:
* UIProcess/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::processStatisticsAndDataRecords): Notify clients (if they requested) when
statistics have been processed.

Tools:

When we tell the UIProcess (WebKitTestRunner) to notify the system about statistics update notifications,
we also need to tell the WebProcess to do so, too, or else the test system doesn't get messages.

* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setStatisticsNotifyPagesWhenDataRecordsWereScanned):

LayoutTests:

Revise some of the tests to wait to check state until after the background process has finished processing the
load information.

* http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html:
* http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html:
* http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html:
* http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html:
* http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html:
* http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html:
* http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html:
* http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html:
* http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html:
* http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store.html:
* http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html:
* http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:

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

2 years ago[GTK][WPE] run-javascriptcore-tests should use the jhbuild
clopez@igalia.com [Wed, 31 May 2017 16:13:59 +0000 (16:13 +0000)]
[GTK][WPE] run-javascriptcore-tests should use the jhbuild
https://bugs.webkit.org/show_bug.cgi?id=172757

Reviewed by Xabier Rodriguez-Calvar.

When needed, add the jhbuild wrapper at the beginning of the array
that will be invoked to execute the run-jsc-stress-test or testapi
commands.

* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
* Scripts/webkitdirs.pm:
(shouldUseJhbuild):

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

2 years ago[WPE] More CSS test expectations cleanup
csaavedra@igalia.com [Wed, 31 May 2017 16:01:05 +0000 (16:01 +0000)]
[WPE] More CSS test expectations cleanup

Unreviewed gardening.

* platform/wpe/TestExpectations: remove more assorted css tests
that are actually passing.

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

2 years agoGet <chrono> out of StdLibExtras.h
simon.fraser@apple.com [Wed, 31 May 2017 15:27:12 +0000 (15:27 +0000)]
Get <chrono> out of StdLibExtras.h
https://bugs.webkit.org/show_bug.cgi?id=172744

Reviewed by Saam Barati.

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@217603 268f45cc-cd09-0410-ab3c-d52691b4dbfc

2 years ago[WPE] CSS tests expectations cleanup
csaavedra@igalia.com [Wed, 31 May 2017 15:13:11 +0000 (15:13 +0000)]
[WPE] CSS tests expectations cleanup

Unreviewed gardening.

* platform/wpe/TestExpectations: Remove a bunch of css 2.1 and 3
tests that are actually passing and a recently removed css tests
directory.

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

2 years agoConsider enabling -Wno-expansion-to-defined for gcc 7
aperez@igalia.com [Wed, 31 May 2017 14:09:02 +0000 (14:09 +0000)]
Consider enabling -Wno-expansion-to-defined for gcc 7
https://bugs.webkit.org/show_bug.cgi?id=167643

Reviewed by Žan Doberšek.

* Source/cmake/OptionsCommon.cmake: Pass -Wno-expansion-to-defined to
GCC, the flag is supported all the way back to version 4.9, which is
the oldest we support

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

2 years ago[GTK][WPE] Mark js/cached-window-properties test as slow
csaavedra@igalia.com [Wed, 31 May 2017 13:44:06 +0000 (13:44 +0000)]
[GTK][WPE] Mark js/cached-window-properties test as slow

Unreviewed gardening.
* platform/gtk/TestExpectations: Test was marked as flaky; but
it's just slow.
* platform/wpe/TestExpectations: Mark as slow.

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

2 years agoUse the rare data's RenderStyle for display: contents.
commit-queue@webkit.org [Wed, 31 May 2017 12:18:24 +0000 (12:18 +0000)]
Use the rare data's RenderStyle for display: contents.
https://bugs.webkit.org/show_bug.cgi?id=172721

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

No new tests, no behavior change.

* dom/Element.cpp:
(WebCore::Element::hasDisplayContents):
(WebCore::Element::storeDisplayContentsStyle):
* dom/Element.h:
* dom/ElementRareData.h:
(WebCore::ElementRareData::ElementRareData):
* style/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::updateElementRenderer):
* style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveComposedTree):

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

2 years ago[GTK] Upgrade the WebKitGTK+ bots to Debian 9
clopez@igalia.com [Wed, 31 May 2017 12:04:41 +0000 (12:04 +0000)]
[GTK] Upgrade the WebKitGTK+ bots to Debian 9

This commit only adds a comment that it will be useful to mark
the point where they where upgraded, so if there is some
performance change on perf.webkit.org it can be pointed to this.

Unreviewed.

* platform/gtk/TestExpectations: Add a note regarding which
distribution and version is running on the bots.

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

2 years ago[WPE] WebGL expectations cleanup
csaavedra@igalia.com [Wed, 31 May 2017 11:09:18 +0000 (11:09 +0000)]
[WPE] WebGL expectations cleanup

Unreviewed gardening.

* platform/wpe/TestExpectations: Remove webgl tests that are
consistently passing. Also mark a few known slow tests as such.

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

2 years agoMove css-shapes-1 test suite to WPT
rego@igalia.com [Wed, 31 May 2017 09:22:58 +0000 (09:22 +0000)]
Move css-shapes-1 test suite to WPT
https://bugs.webkit.org/show_bug.cgi?id=172537

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

This is the last suite that we have in csswg-test.
This patch moves it to the new path in WPT and gets rid of the csswg-test directory.
It also updates the tests with the last changes upstream.

* csswg-test/CONTRIBUTING.md: Removed.
* csswg-test/LICENSE: Removed.
* csswg-test/LICENSE.md: Removed.
* csswg-test/README.md: Removed.
* csswg-test/build-css-testsuites.sh: Removed.
* csswg-test/config.default.json: Removed.
* csswg-test/css-shapes-1/shape-outside/shape-box/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/shape-image/gradients/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-013.html: Removed.
* csswg-test/css-shapes-1/shape-outside/shape-image/support/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/shape-image/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/w3c-import.log: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-002-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-margin-004-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-003-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-007-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-008-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-003-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-007-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-008-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-005-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-007-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-003-expected.txt: Removed.
* csswg-test/css-shapes-1/shape-outside/values/w3c-import.log: Removed.
* csswg-test/css-shapes-1/spec-examples/w3c-import.log: Removed.
* csswg-test/css-shapes-1/support/w3c-import.log: Removed.
* csswg-test/css-shapes-1/w3c-import.log: Removed.
* csswg-test/lint: Removed.
* csswg-test/lint.whitelist: Removed.
* csswg-test/manifest: Removed.
* csswg-test/requirements.txt: Removed.
* csswg-test/serve: Removed.
* csswg-test/serve.py: Removed.
* csswg-test/w3c-import.log: Removed.
* resources/import-expectations.json:
* resources/resource-files.json:
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-circle-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-circle-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-005-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-005-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-006-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-006-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-ellipse-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-ellipse-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside-invalid-inset-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside-invalid-inset-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-002-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-002-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-003-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-003-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-004-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-004-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-006-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-006-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-007-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-007-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-008-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-008-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/shape-outside-box-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-box/shape-outside-box-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-box/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/gradients/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-000-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-000-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-001-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-001-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-002-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-002-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-003-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-003-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-004-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-004-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-005-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-005-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-006-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-006-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-007-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-007-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-008-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-008-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-009-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-009-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-009.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-009.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-011-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-011-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-011.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-012-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-012-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-012.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-012.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-013-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-013-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-013.html: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-014-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-014-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-014.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-015-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-015-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-015.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-016-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-016-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-016.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-016.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-017-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-017-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-017.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-017.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-018-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-018-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-018.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-018.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-019-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-019-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-019.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-019.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-020-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-020-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-020.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-020.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-021-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-021-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-021.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-021.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-022-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-022-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-022.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-022.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-023-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-023-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-023.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-023.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-024-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-024-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-024.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-024.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-025-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-025-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/shape-image-025.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-025.html.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/animated.gif: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/animated.gif.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-20.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-20.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-20.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-20.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-50.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-50.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-50.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-50.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-70.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-70.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-70.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle-70.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.jpg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.jpg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/left-half-rectangle.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-20.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-20.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-50.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-50.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-70.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-70.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-70.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle-70.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.gif: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.gif.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.jpg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.jpg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.png.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/support/right-half-rectangle.svg.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/support/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/shape-image/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-013-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-013-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-013.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-013.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-014-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-014-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-014.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-015-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-015-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-015.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-016-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-016-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-016.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-016.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-017-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-017-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-017.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-017.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-018-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-018-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-018.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-018.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-019-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-019-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-019.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-019.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-020-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-020-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-020.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-020.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-021-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-021-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-021.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-021.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-022-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-022-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-022.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-022.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-024-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-024-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-024.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-024.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-025-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-025-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-025.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-025.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-026-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-026-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-026.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-026.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-027-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-027-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-027.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-027.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-028-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-028-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-028.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-028.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-029-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-029-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-029.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-029.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-030-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-030-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-030.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-030.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-031-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-031-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-031.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-031.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/circle/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/ellipse/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-011-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-011-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-011.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-012-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-012-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-012.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-012.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-013-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-013-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-013.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-013.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-014-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-014-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-014.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-015-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-015-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-015.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/inset/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-007-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-007-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-008-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-008-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-009-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-009-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-009.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-009.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-010-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-010-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-010.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-011-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-011-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-011.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-012-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-012-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-012.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-012.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-013-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-013-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-013.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-013.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-014-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-014-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-014.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-015-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-015-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-015.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-016-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-016-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-016.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-016.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-017-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-017-expected.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/polygon/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/support/rounded-rectangle.js: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/rounded-rectangle.js.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/support/test-utils.js: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/test-utils.js.
* web-platform-tests/css/css-shapes-1/shape-outside/supported-shapes/support/w3c-import.log: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/w3c-import.log.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-002-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-image-threshold-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-image-threshold-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-004-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-005-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-005-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-margin-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-box-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-box-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-box-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-box-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-003-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-005-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-005-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-006-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-006-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-007-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-008-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-009-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-009-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-009.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-009.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-010-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-010-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-010.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-011-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-011-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-011.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-computed-shape-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-computed-shape-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-computed-shape-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-computed-shape-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-computed-shape-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-computed-shape-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-computed-shape-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-computed-shape-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-003-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-005-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-005-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-006-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-006-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-007-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-008-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-009-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-009-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-009.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-009.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-010-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-010-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-010.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-011-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-011-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-ellipse-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-011.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-003-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-003-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-005-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-006-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-006-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-007-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-007.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-008-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-008-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-008.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-009-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-009-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-inset-009.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-009.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-002-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-002-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-002.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-003-expected.txt: Added.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-003.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-004-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-004-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-004.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-005-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-005-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-005.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-006-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-006-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-polygon-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-006.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-001-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-001-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-001.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-box-pair-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-box-pair-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-box-pair-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-box-pair-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-inherit-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-inherit-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-inherit-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-inherit-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-initial-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-initial-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-initial-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-initial-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-none-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-none-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-none-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-none-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-notation-000-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-notation-000-expected.txt.
* web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-shape-notation-000.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-notation-000.html.
* web-platform-tests/css/css-shapes-1/shape-outside/values/support/parsing-utils.js: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/support/parsing-utils.js.
(testComputedStyle):
(testShapeMarginComputedStyle):
(testShapeThresholdComputedStyle):
(buildPositionTests):
* web-platform-tests/css/css-shapes-1/shape-outside/values/support/w3c-import.log: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/test-plan/w3c-import.log.
* web-platform-tests/css/css-shapes-1/shape-outside/values/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-001-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-001-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-001.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-001.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-002-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-002-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-002.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-002.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-003-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-003-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-003.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-003.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-004-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-004-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-004.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-004.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-005-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-005-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-005.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-005.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-006-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-006-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-006.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-006.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-007-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-007-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-007.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-007.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-008-expected.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-008-expected.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-008.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-008.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-010-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-010-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-010.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-010.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-011-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-011-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-011.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-011.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-012-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-012-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-012.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-012.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-013-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-013-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-013.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-013.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-014-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-014-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-014.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-014.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-015-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-015-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-015.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-015.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-016-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-016-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-016.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-016.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-017-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-017-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-017.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-017.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-018-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-018-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-018.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-018.html.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-019-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-019-expected.txt.
* web-platform-tests/css/css-shapes-1/spec-examples/shape-outside-019.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/shape-outside-019.html.
* web-platform-tests/css/css-shapes-1/spec-examples/support/circle-no-shadow.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/support/circle-no-shadow.png.
* web-platform-tests/css/css-shapes-1/spec-examples/support/circle-shadow.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/support/circle-shadow.png.
* web-platform-tests/css/css-shapes-1/spec-examples/support/rounded-triangle.svg: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/support/rounded-triangle.svg.
* web-platform-tests/css/css-shapes-1/spec-examples/support/spec-example-utils.js: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/support/spec-example-utils.js.
* web-platform-tests/css/css-shapes-1/spec-examples/support/w3c-import.log: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/spec-examples/support/w3c-import.log.
* web-platform-tests/css/css-shapes-1/spec-examples/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/support/1x1-green.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-green.png.
* web-platform-tests/css/css-shapes-1/support/1x1-lime.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-lime.png.
* web-platform-tests/css/css-shapes-1/support/1x1-maroon.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-maroon.png.
* web-platform-tests/css/css-shapes-1/support/1x1-navy.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-navy.png.
* web-platform-tests/css/css-shapes-1/support/1x1-red.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-red.png.
* web-platform-tests/css/css-shapes-1/support/1x1-white.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/1x1-white.png.
* web-platform-tests/css/css-shapes-1/support/60x60-gg-rr.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/60x60-gg-rr.png.
* web-platform-tests/css/css-shapes-1/support/60x60-green.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/60x60-green.png.
* web-platform-tests/css/css-shapes-1/support/60x60-red.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/60x60-red.png.
* web-platform-tests/css/css-shapes-1/support/README: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/README.
* web-platform-tests/css/css-shapes-1/support/a-green.css: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/a-green.css.
* web-platform-tests/css/css-shapes-1/support/b-green.css: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/b-green.css.
* web-platform-tests/css/css-shapes-1/support/c-red.css: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/c-red.css.
* web-platform-tests/css/css-shapes-1/support/cat.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/cat.png.
* web-platform-tests/css/css-shapes-1/support/pattern-grg-rgr-grg.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/pattern-grg-rgr-grg.png.
* web-platform-tests/css/css-shapes-1/support/pattern-grg-rrg-rgg.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/pattern-grg-rrg-rgg.png.
* web-platform-tests/css/css-shapes-1/support/pattern-rgr-grg-rgr.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/pattern-rgr-grg-rgr.png.
* web-platform-tests/css/css-shapes-1/support/pattern-tr.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/pattern-tr.png.
* web-platform-tests/css/css-shapes-1/support/square-purple.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/square-purple.png.
* web-platform-tests/css/css-shapes-1/support/square-teal.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/square-teal.png.
* web-platform-tests/css/css-shapes-1/support/square-white.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/square-white.png.
* web-platform-tests/css/css-shapes-1/support/swatch-blue.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-blue.png.
* web-platform-tests/css/css-shapes-1/support/swatch-green.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-green.png.
* web-platform-tests/css/css-shapes-1/support/swatch-lime.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-lime.png.
* web-platform-tests/css/css-shapes-1/support/swatch-orange.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-orange.png.
* web-platform-tests/css/css-shapes-1/support/swatch-red.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-red.png.
* web-platform-tests/css/css-shapes-1/support/swatch-white.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-white.png.
* web-platform-tests/css/css-shapes-1/support/swatch-yellow.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/swatch-yellow.png.
* web-platform-tests/css/css-shapes-1/support/test-bl.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/test-bl.png.
* web-platform-tests/css/css-shapes-1/support/test-br.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/test-br.png.
* web-platform-tests/css/css-shapes-1/support/test-outer.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/test-outer.png.
* web-platform-tests/css/css-shapes-1/support/test-tl.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/test-tl.png.
* web-platform-tests/css/css-shapes-1/support/test-tr.png: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/support/test-tr.png.
* web-platform-tests/css/css-shapes-1/support/w3c-import.log: Added.
* web-platform-tests/css/css-shapes-1/test-plan/index-expected.txt: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/test-plan/index-expected.txt.
* web-platform-tests/css/css-shapes-1/test-plan/index.html: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/test-plan/index.html.
* web-platform-tests/css/css-shapes-1/test-plan/w3c-import.log: Renamed from LayoutTests/imported/w3c/csswg-test/css-shapes-1/shape-outside/values/support/w3c-import.log.
* web-platform-tests/css/css-shapes-1/w3c-import.log: Added.

LayoutTests:

Updated the paths in TestExpectations files.
Marked spec-examples/shape-outside-018.html as flaky.

* TestExpectations:
* platform/gtk/TestExpectations:
* platform/ios/TestExpectations:
* platform/win/TestExpectations:

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

2 years agoCoordinatedLayerTreeHost: properly support async force repaints
zandobersek@gmail.com [Wed, 31 May 2017 08:51:24 +0000 (08:51 +0000)]
CoordinatedLayerTreeHost: properly support async force repaints
https://bugs.webkit.org/show_bug.cgi?id=172444

Reviewed by Carlos Garcia Campos.

Before these changes the force-repaint callbacks were executed once
the next layer flush was performed. This is not appropriate since
with the threaded compositor this was done even before the flushed
state was handled on the rendering thread.

Instead, the callback should be invoked once the first following
flushed state is rendered through the compositor and the update
finish is reported back to CoordinatedLayerTreeHost through invoking
the renderNextFrame() method.

If the force-repaint callback is registered while a state update is
already being processed by the renderer (i.e. the threaded compositor),
the callback is invoked only after the following flush, which is
executed when renderNextFrame() is called for the current state update.

* WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h:
Add the forceFrameSync() method that forces the following state flush
to produce a state update that will be handled by the compositor.
This ensures that the compositor informs the CoordinatedLayerTreeHost
once this state update is done, invoking renderNextFrame() which would
handle the force-repaint callback.
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
(WebKit::CoordinatedLayerTreeHost::forceRepaintAsync):
(WebKit::CoordinatedLayerTreeHost::renderNextFrame):
(WebKit::CoordinatedLayerTreeHost::layerFlushTimerFired):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
* WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.h:
Remove the forceRepaintAsync() override that returned false.

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

2 years agoLayoutTest media/video-orientation.html is failing
pvollan@apple.com [Wed, 31 May 2017 07:27:38 +0000 (07:27 +0000)]
LayoutTest media/video-orientation.html is failing
https://bugs.webkit.org/show_bug.cgi?id=172648
<rdar://problem/31322425>

Reviewed by Eric Carlson.

For videos with rotation tag set, the transform AVAssetTrack.preferredTransform applied to
AVAssetTrack.naturalSize might return a CGSize instance with negative width or height.

Covered by existing tests.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged):

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

2 years ago[GTK] Web Inspector: BackForwardArrows.svg is not shown
commit-queue@webkit.org [Wed, 31 May 2017 07:25:44 +0000 (07:25 +0000)]
[GTK] Web Inspector: BackForwardArrows.svg is not shown
https://bugs.webkit.org/show_bug.cgi?id=172741

Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2017-05-31
Reviewed by Carlos Garcia Campos.

* UserInterface/Images/gtk/BackForwardArrows.svg: Renamed id names to match with Apple's images.

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

2 years agoUnreviewed. Fix copy-paste error added in r217209.
carlosgc@webkit.org [Wed, 31 May 2017 07:25:10 +0000 (07:25 +0000)]
Unreviewed. Fix copy-paste error added in r217209.

It seems I pasted twice.

* UIProcess/API/gtk/WebKitContextMenuItem.h:

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

2 years agoInclude ScrollingTreeScrollingNode properties in ScrollingTreeFrameScrollingNode...
fred.wang@free.fr [Wed, 31 May 2017 05:48:57 +0000 (05:48 +0000)]
Include ScrollingTreeScrollingNode properties in ScrollingTreeFrameScrollingNode::dumpProperties
https://bugs.webkit.org/show_bug.cgi?id=172287

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

Source/WebCore:

No new tests, only changes in dumped tree.

* page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
(WebCore::ScrollingTreeFrameScrollingNode::dumpProperties): Print properties of the parent class.

LayoutTests:

Update iOS expectation to include the new node properties.

* scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Update expectation.

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

2 years agoUpdate test result after r217585.
weinig@apple.com [Wed, 31 May 2017 05:15:00 +0000 (05:15 +0000)]
Update test result after r217585.

* bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
(WebCore::JSTestNamedDeleterWithIndexedGetter::deleteProperty):
(WebCore::JSTestNamedDeleterWithIndexedGetter::deletePropertyByIndex):

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

2 years agoFixed the build after r217588.
mitz@apple.com [Wed, 31 May 2017 03:09:18 +0000 (03:09 +0000)]
Fixed the build after r217588.

* page/FrameView.h: Stopped exporting a function defined inline.

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

2 years agoASSERTION FAILED: m_layoutPhase == InPostLayerPositionsUpdatedAfterLayout || m_layout...
zalan@apple.com [Wed, 31 May 2017 03:01:58 +0000 (03:01 +0000)]
ASSERTION FAILED: m_layoutPhase == InPostLayerPositionsUpdatedAfterLayout || m_layoutPhase == OutsideLayout
https://bugs.webkit.org/show_bug.cgi?id=171501
<rdar://problem/31977453>

Reviewed by Simon Fraser.

We should be able to paint as long as the tree is clean and we are in paintable state.

* page/FrameView.cpp:
(WebCore::FrameView::paintContents):

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

2 years agoKeyboard autocorrections do not apply with an active selection (but keyboard acts...
timothy_horton@apple.com [Wed, 31 May 2017 00:44:02 +0000 (00:44 +0000)]
Keyboard autocorrections do not apply with an active selection (but keyboard acts like they did)
https://bugs.webkit.org/show_bug.cgi?id=172735
<rdar://problem/32015977>

Reviewed by Enrica Casucci.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView applyAutocorrection:toString:withCompletionHandler:]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
Expose applyAutocorrection on the WKTesting category for use from UIScriptController.

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::syncApplyAutocorrection):
If there is a range selection and it precisely matches the autocorrection's "before"
string, allow the autocorrection to take place.

* DumpRenderTree/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::applyAutocorrection):
* TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
* TestRunnerShared/UIScriptContext/UIScriptController.cpp:
(WTR::UIScriptController::applyAutocorrection):
* TestRunnerShared/UIScriptContext/UIScriptController.h:
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::applyAutocorrection):
Expose applyAutocorrection to UIScriptController. Use a WKTesting method
because I don't know how to tap the button in the autocorrection bar from a test.

* fast/events/ios/autocorrect-with-range-selection-expected.txt: Added.
* fast/events/ios/autocorrect-with-range-selection.html: Added.
Add a test that ensures that autocorrection with a selection succeeds.

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

2 years agoRevert accidentally checked in change.
weinig@apple.com [Tue, 30 May 2017 23:55:51 +0000 (23:55 +0000)]
Revert accidentally checked in change.

* crypto/mac/CryptoAlgorithmRSA_PSSMac.cpp:
* crypto/mac/CryptoDigestAlgorithm.h:

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

2 years ago[WebIDL] Generate named property deleters
weinig@apple.com [Tue, 30 May 2017 23:54:51 +0000 (23:54 +0000)]
[WebIDL] Generate named property deleters
https://bugs.webkit.org/show_bug.cgi?id=172688

Reviewed by Chris Dumez.

Source/WebCore:

Test: js/dom/named-property-deleter.html

* WebCore.xcodeproj/project.pbxproj:
Add new file, JSDOMAbstractOperations.h

* bindings/js/JSDOMAbstractOperations.h: Added.
(WebCore::isVisibleNamedProperty):
Add an implementation of the abstract operation WebIDL calls the 'named property visibility algorithm'.
It is used by many WebIDL algorithms, but currently I am only using this implementation for deleters.
In the future, we should try and move the other property access generators to use it as well.

* bindings/js/JSDOMStringMapCustom.cpp:
(WebCore::JSDOMStringMap::deleteProperty): Deleted.
(WebCore::JSDOMStringMap::deletePropertyByIndex): Deleted.
* bindings/js/JSStorageCustom.cpp:
(WebCore::JSStorage::deleteProperty): Deleted.
(WebCore::JSStorage::deletePropertyByIndex): Deleted.
Remove now generated deleteProperty and deletePropertyByIndex implementations.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateDeletePropertyCommon):
(GenerateDeletePropertyDefinition):
(GenerateDeletePropertyByIndexDefinition):
(GenerateNamedDeleterDefinition):
Added generation for named deleters. We generate both deleteProperty and deletePropertyByIndex.

(InstanceOverridesDelete):
Add predicate for whether the header should declare deleteProperty and deletePropertyByIndex.

(GenerateHeader):
Move property access hook declarations closer to each other. Use new InstanceOverridesDelete
predicate for deleteProperty and deletePropertyByIndex.

(GenerateImplementation):
Add call to generate named deleter if one exists.

(GenerateConstructorHelperMethods):
Remove an old FIXME that that was no longer true, there are no more interfaces that inherit from
an interface with [NoInterfaceObject].

* dom/DOMStringMap.idl:
Removes CustomDeleteProperty and sorts extended attributes.

* dom/DatasetDOMStringMap.h:
* dom/DatasetDOMStringMap.cpp:
(WebCore::DatasetDOMStringMap::isSupportedPropertyName):
Added. This is a bindings support function (much like supportedPropertyNames()) that is
used JSDOMAbstractOperations.h's isVisibleNamedProperty.

(WebCore::DatasetDOMStringMap::supportedPropertyNames):
Convert to an early return.

(WebCore::DatasetDOMStringMap::deleteNamedProperty):
(WebCore::DatasetDOMStringMap::deleteItem): Deleted.
Renamed deleteItem to deleteNamedProperty, which is the name the bindings use for deleter
operations without an identifier.

* page/DOMWindow.cpp:
(WebCore::DOMWindow::sessionStorage):
Fix incorrect indentation that bothered me.

* storage/Storage.cpp:
* storage/Storage.h:
- Remove isDisabledByPrivateBrowsing(), which had no definition.
- Add isSupportedPropertyName(), which the deleter code (via the isVisibleNamedProperty algorithm)
  needs.

* storage/Storage.idl:
Removes CustomDeleteProperty, sorts the extended attributes, adds 'deleter' special
to the removeItem operation and adds a commented out 'setter' special to the 'setItem'
operation.

* bindings/scripts/test/JS/JSTestObj.h:
Update result for declarations moving around.

* bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp: Added.
* bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h: Added.
* bindings/scripts/test/TestNamedDeleterNoIdentifier.idl: Added.
* bindings/scripts/test/TestNamedDeleterThrowingException.idl: Added.
* bindings/scripts/test/TestNamedDeleterWithIdentifier.idl: Added.
* bindings/scripts/test/TestNamedDeleterWithIndexedGetter.idl: Added.
Add new tests for named deleters.

LayoutTests:

* js/dom/named-property-deleter-expected.txt: Added.
* js/dom/named-property-deleter.html: Added.
Add test for various named deleter conditions.

* storage/domstorage/localstorage/delete-defineproperty-removal-expected.txt:
* storage/domstorage/localstorage/delete-defineproperty-removal.html:
Update test to log more information about what its doing and log it to the DOM rather
than the console, to make comparing results in browsers easier. Also, note in the
bug that the results are wrong, and have been wrong, due to https://webkit.org/b/172687.

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

2 years agoWeb Inspector: images dragged from Inspector to Desktop are named "Unknown.png"
joepeck@webkit.org [Tue, 30 May 2017 23:40:33 +0000 (23:40 +0000)]
Web Inspector: images dragged from Inspector to Desktop are named "Unknown.png"
https://bugs.webkit.org/show_bug.cgi?id=141515
<rdar://problem/9251308>

Reviewed by Wenson Hsieh.

Source/WebCore:

* html/HTMLAttributeNames.in:

Source/WebInspectorUI:

* UserInterface/Views/ImageResourceContentView.js:
(WebInspector.ImageResourceContentView.prototype.contentAvailable):
Set a non-standard "filename" attribute to provide a suggested filename
for this <img> containing data: or blob: content.

Source/WebKit2:

In Web Inspector these images are <img src="..."> with data: or blob:
content. In these cases we have the image data but the URL does not
provide a useful name. In fact the name "Unknown.png" comes from
-[NSURLResponse suggestedFilename] for this URL / content.

To start, improve this situation for drags in Web Inspector pages.
If the image element being dragged has a filename attribute use that
as the suggested filename for the drag.

* WebProcess/WebCoreSupport/mac/WebDragClientMac.mm:
(WebKit::WebDragClient::declareAndWriteDragImage):

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

2 years agoAdd support for Certificate and IceCandidatePair stats
commit-queue@webkit.org [Tue, 30 May 2017 23:32:00 +0000 (23:32 +0000)]
Add support for Certificate and IceCandidatePair stats
https://bugs.webkit.org/show_bug.cgi?id=172734

Patch by Youenn Fablet <youenn@apple.com> on 2017-05-30
Reviewed by Geoff Garen.

Source/WebCore:

Covered by updated test.

Adding support for these two stats in the IDL and in the libwebrtc binding code.

* Modules/mediastream/RTCStatsReport.h:
(WebCore::RTCStatsReport::IceCandidatePairStats::IceCandidatePairStats):
(WebCore::RTCStatsReport::CertificateStats::CertificateStats):
* Modules/mediastream/RTCStatsReport.idl:
* Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
(WebCore::iceCandidatePairState):
(WebCore::fillRTCIceCandidatePairStats):
(WebCore::fillRTCCertificateStats):
(WebCore::LibWebRTCMediaEndpoint::StatsCollector::OnStatsDelivered):

LayoutTests:

* webrtc/video-stats.html:

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

2 years agoUnreviewed, add some comments to HKDF/PBKDF2 Mac implementations
jiewen_tan@apple.com [Tue, 30 May 2017 23:23:08 +0000 (23:23 +0000)]
Unreviewed, add some comments to HKDF/PBKDF2 Mac implementations

* crypto/mac/CryptoAlgorithmHKDFMac.cpp:
(WebCore::CryptoAlgorithmHKDF::platformDeriveBits):
* crypto/mac/CryptoAlgorithmPBKDF2Mac.cpp:
(WebCore::CryptoAlgorithmPBKDF2::platformDeriveBits):

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

2 years agom_resourceSelectionTaskQueue tasks should be cleared when player is destroyed to...
commit-queue@webkit.org [Tue, 30 May 2017 21:59:14 +0000 (21:59 +0000)]
m_resourceSelectionTaskQueue tasks should be cleared when player is destroyed to prevent invalid state.
https://bugs.webkit.org/show_bug.cgi?id=172726
rdar://problem/30867764

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-05-30
Reviewed by Eric Carlson.

I haven't found a reproducible way to make a test case for this race condition.

If m_player is cleared while there is an outstanding task in m_resourceSelectionTaskQueue,
that task may assume m_player is not null and crash. It is better to cancel that task than
to perform it part way with null checks.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement):
(WebCore::HTMLMediaElement::clearMediaPlayer):

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

2 years agoOnly include DataDetectorsUI headers in iOS
rniwa@webkit.org [Tue, 30 May 2017 21:54:52 +0000 (21:54 +0000)]
Only include DataDetectorsUI headers in iOS
https://bugs.webkit.org/show_bug.cgi?id=172633

Reviewed by David Kilzer.

Enable data detectors only on iOS and not other variants of iOS.

Source/WebCore:

* editing/cocoa/DataDetection.h:
* editing/cocoa/DataDetection.mm:
* page/DragController.cpp:
(WebCore::isDraggableLink):
* platform/cocoa/DataDetectorsCoreSoftLink.h:
* platform/cocoa/DataDetectorsCoreSoftLink.mm:
* platform/spi/cocoa/DataDetectorsCoreSPI.h:
* platform/spi/ios/DataDetectorsUISPI.h:
* platform/spi/mac/DataDetectorsSPI.h:

Source/WebKit/mac:

* WebCoreSupport/WebFrameLoaderClient.mm:

Source/WebKit2:

* Platform/spi/ios/ManagedConfigurationSPI.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _dataDetectionResults]):
* UIProcess/ios/WKActionSheetAssistant.h:
* UIProcess/ios/WKActionSheetAssistant.mm:
(-[WKActionSheetAssistant showDataDetectorsSheet]):
* UIProcess/ios/WKContentViewInteraction.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _actionForLongPressFromPositionInformation:]):
(-[WKContentView _didNotHandleTapAsClick:]):
* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.mm:
(-[WKWebProcessPlugInRangeHandle detectDataWithTypes:context:]):
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::handleTap):
(WebKit::WebPage::handleTwoFingerTapAtPoint):
(WebKit::WebPage::commitPotentialTap):

Source/WTF:

* wtf/FeatureDefines.h:
* wtf/Platform.h:

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

2 years agoPrevent async methods named 'function' in Object literal
gskachkov@gmail.com [Tue, 30 May 2017 21:35:49 +0000 (21:35 +0000)]
Prevent async methods named 'function' in Object literal
https://bugs.webkit.org/show_bug.cgi?id=172660

Reviewed by Saam Barati.

JSTests:

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

Source/JavaScriptCore:

Prevent async method named 'function' in object.
https://github.com/tc39/ecma262/pull/884

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

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

2 years agoASSERTION FAILED: generator.isConstructor() || generator.derivedContextType() ==...
gskachkov@gmail.com [Tue, 30 May 2017 21:29:37 +0000 (21:29 +0000)]
ASSERTION FAILED: generator.isConstructor() || generator.derivedContextType() == DerivedContextType::DerivedConstructorContext
https://bugs.webkit.org/show_bug.cgi?id=171274

Reviewed by Saam Barati.

JSTests:

* stress/async-arrow-functions-lexical-binding-in-class.js:
(shouldBeAsync):
(shouldBeAsyncAndStoreBind):
(promise.new.Promise):
(ChildClass4):
(ChildClass4.prototype.classValue):
(ChildClass4.prototype.get classProperty):
* stress/async-arrow-functions-lexical-super-binding.js:
(A):
(const.childA1.new.prototype.var.f.async):
(const.childA1.new.var):
(const.childA1.new):
(const.childA2.new.prototype.var.f.async):
(const.childA2.new.var):
(const.childA2.new):
(const.childA3.new.prototype.var.f.async):
(const.childA3.new.var):
(const.childA3.new):
(try.childA4.new.prototype.var.f.async):
(try.childA4.new.var):
(try.childA4.new):
(catch):
(const.childA5.new.prototype.var.f.async):
(const.childA5.new.var):
(const.childA5.new):
(checkClass):
(checkClass.new.prototype.var.f.async):
(checkClass.new.var):
(checkClass.new):
(checkClass.new.prototype.method):
(checkClass.new.prototype.prop):

Source/JavaScriptCore:

Current patch allow to use async arrow function within constructor,
and allow to access to `this`. Current patch force load 'this' from
virtual scope each time as we access to `this` in async arrow function
within constructor it is neccessary because async function can be
suspended and `superCall` can be called and async function resumed.

* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitPutGeneratorFields):
(JSC::BytecodeGenerator::ensureThis):
* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::makeFunction):

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

2 years agoREGRESSION(r215946): Can't reference a table cell in Google spreadsheet
cdumez@apple.com [Tue, 30 May 2017 21:19:01 +0000 (21:19 +0000)]
REGRESSION(r215946): Can't reference a table cell in Google spreadsheet
https://bugs.webkit.org/show_bug.cgi?id=172703
<rdar://problem/32458086>

Reviewed by Ryosuke Niwa.

Source/WebCore:

We updated getClientRects() to return an array of DOMRect objects instead of
a ClientRectList type, to match the latest specification. As it turns out, this
is not Web-compatible as some content (as Google Spreadsheet) relies on the
return type having an item() operation.

This patch re-introduces a DOMRectList type, with an item() operation. The
DOMRectList name is currently not exposed to the Web as we do not know what's
going to get specified yet (https://github.com/w3c/csswg-drafts/issues/1479).

No new tests, updated existing tests.

* CMakeLists.txt:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMRect.h:
* dom/DOMRectList.cpp: Copied from Source/WebCore/dom/DOMRect.cpp.
(WebCore::DOMRectList::DOMRectList):
(WebCore::DOMRectList::~DOMRectList):
* dom/DOMRectList.h: Copied from Source/WebCore/dom/DOMRect.cpp.
(WebCore::DOMRectList::create):
(WebCore::DOMRectList::length):
(WebCore::DOMRectList::item):
* dom/DOMRectList.idl: Renamed from Source/WebCore/dom/DOMRect.cpp.
* dom/Element.cpp:
(WebCore::Element::getClientRects):
* dom/Element.h:
* dom/Element.idl:
* dom/Range.cpp:
(WebCore::Range::getClientRects):
* dom/Range.h:
* dom/Range.idl:
* page/Page.cpp:
(WebCore::Page::nonFastScrollableRects):
(WebCore::Page::touchEventRectsForEvent):
(WebCore::Page::passiveTouchEventListenerRects):
* page/Page.h:
* testing/Internals.cpp:
(WebCore::Internals::inspectorHighlightRects):
(WebCore::Internals::touchEventRectsForEvent):
(WebCore::Internals::passiveTouchEventListenerRects):
(WebCore::Internals::nonFastScrollableRects):
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit2:

Fix GObject bindings accordingly.

* WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.cpp:
(WebKit::kit):
(WebKit::core):
(WebKit::wrapDOMRectList):
(webkit_dom_client_rect_list_constructed):
(webkit_dom_client_rect_list_item):
(webkit_dom_client_rect_list_get_length):
* WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectListPrivate.h:
* WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.cpp:
(webkit_dom_element_get_client_rects):

LayoutTests:

Update existing tests to reflect behavior change.

* fast/dom/Element/getClientRects-return-type-expected.txt:
* fast/dom/Element/getClientRects-return-type.html:
* fast/dom/Range/getBoundingClientRect-getClientRects-return-type-expected.txt:
* fast/dom/Range/getBoundingClientRect-getClientRects-return-type.html:

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

2 years ago[css-align] Import W3C web platform tests for the CSS Box Alignment feature
jfernandez@igalia.com [Tue, 30 May 2017 21:18:01 +0000 (21:18 +0000)]
[css-align] Import W3C web platform tests for the CSS Box Alignment feature
https://bugs.webkit.org/show_bug.cgi?id=172705

Reviewed by Manuel Rego Casasnovas.

LayoutTests/imported/w3c:

This patch imports the new alignment tests for the CSS Box Alignment test suite
from WPT repository.

* resources/import-expectations.json:
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-001-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-001.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-002-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-002.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-003-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-003.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-004-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-004.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-005-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-005.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-006-expected.txt: Added.
* web-platform-tests/css/css-align-3/content-distribution/place-content-shorthand-006.html: Added.
* web-platform-tests/css/css-align-3/content-distribution/w3c-import.log: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-001-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-001.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-002-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-002.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-003-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-003.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-004-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-004.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-005-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-005.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-006-expected.txt: Added.
* web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-006.html: Added.
* web-platform-tests/css/css-align-3/default-alignment/w3c-import.log: Added.
* web-platform-tests/css/css-align-3/distribution-values/space-evenly-001-expected.xht: Added.
* web-platform-tests/css/css-align-3/distribution-values/space-evenly-001.html: Added.
* web-platform-tests/css/css-align-3/distribution-values/w3c-import.log: Added.
* web-platform-tests/css/css-align-3/resources/alignment-parsing-utils.js: Added.
(checkPlaceShorhand):
(checkPlaceShorhandLonghands):
(checkPlaceShorthandInvalidValues):
* web-platform-tests/css/css-align-3/resources/w3c-import.log: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-001-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-001.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-002-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-002.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-003-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-003.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-004-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-004.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-005-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-005.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-006-expected.txt: Added.
* web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-006.html: Added.
* web-platform-tests/css/css-align-3/self-alignment/w3c-import.log: Added.

LayoutTests:

* TestExpectations: Mark as failure a few tests due to bug #172707.

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

2 years agoAdd unit test for WebKit2 C SPI runBeforeUnloadConfirmPanel()
dbates@webkit.org [Tue, 30 May 2017 21:12:53 +0000 (21:12 +0000)]
Add unit test for WebKit2 C SPI runBeforeUnloadConfirmPanel()
https://bugs.webkit.org/show_bug.cgi?id=172671

Reviewed by Alex Christensen.

We should add a unit test to ensure we do not regress the WKPageUIClient runBeforeUnloadConfirmPanel() callback.
For completeness, the callback runBeforeUnloadConfirmPanel() existed since inception of WKPageUIClient (WKPageUIClientV0).

* TestWebKitAPI/Tests/WebKit2/ModalAlertsSPI.cpp:
(TestWebKitAPI::analyzeDialogArguments): Test the runBeforeUnloadConfirmPanel() callback last as we need
to trigger a navigation to test it.
(TestWebKitAPI::runBeforeUnloadConfirmPanel): Added.
(TestWebKitAPI::createNewPage): Wire up the runBeforeUnloadConfirmPanel callback.

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

2 years ago[CredentialManagement] Incorporate IDL updates from latest spec
commit-queue@webkit.org [Tue, 30 May 2017 21:08:18 +0000 (21:08 +0000)]
[CredentialManagement] Incorporate IDL updates from latest spec
https://bugs.webkit.org/show_bug.cgi?id=172011

Patch by Ali Juma <ajuma@chromium.org> on 2017-05-30
Reviewed by Daniel Bates.

Source/JavaScriptCore:

* runtime/CommonIdentifiers.h:

Source/WebCore:

This patch adds IDL definitions for the CredentialsContainer, CredentialsUserData and
FederatedCredentials interfaces, the NavigatorCredentials partial interface, and the
CredentialCreationOptions, CredentialRequestOptions, FederatedCredentialRequestOptions,
and PasswordCredentialData dictionaries. It also deletes IDL definitions for the
SiteBoundCredential interface and the SiteBoundCredentialData dictionary.

Test: credentials/idlharness.html

* CMakeLists.txt:
* DerivedSources.make:
* Modules/credentials/BasicCredential.idl:
* Modules/credentials/CredentialCreationOptions.h: Copied from Source/WebCore/Modules/credentials/PasswordCredential.cpp.
* Modules/credentials/CredentialCreationOptions.idl: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/CredentialRequestOptions.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/CredentialRequestOptions.idl: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/CredentialUserData.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
(WebCore::CredentialUserData::~CredentialUserData):
* Modules/credentials/CredentialUserData.idl: Copied from Source/WebCore/Modules/credentials/SiteBoundCredential.idl.
* Modules/credentials/CredentialsContainer.cpp: Copied from Source/WebCore/Modules/credentials/PasswordCredential.cpp.
(WebCore::CredentialsContainer::get):
(WebCore::CredentialsContainer::store):
(WebCore::CredentialsContainer::isCreate):
(WebCore::CredentialsContainer::preventSilentAccess):
* Modules/credentials/CredentialsContainer.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredential.h.
(WebCore::CredentialsContainer::create):
(WebCore::CredentialsContainer::CredentialsContainer):
* Modules/credentials/CredentialsContainer.idl: Copied from Source/WebCore/Modules/credentials/SiteBoundCredential.idl.
* Modules/credentials/FederatedCredential.cpp: Copied from Source/WebCore/Modules/credentials/SiteBoundCredential.cpp.
(WebCore::FederatedCredential::FederatedCredential):
(WebCore::FederatedCredential::~FederatedCredential):
* Modules/credentials/FederatedCredential.h: Renamed from Source/WebCore/Modules/credentials/SiteBoundCredential.h.
(WebCore::FederatedCredential::create):
(WebCore::FederatedCredential::provider):
(WebCore::FederatedCredential::protocol):
* Modules/credentials/FederatedCredential.idl: Copied from Source/WebCore/Modules/credentials/BasicCredential.idl.
* Modules/credentials/FederatedCredentialInit.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/FederatedCredentialInit.idl: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.idl.
* Modules/credentials/FederatedCredentialRequestOptions.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/FederatedCredentialRequestOptions.idl: Added.
* Modules/credentials/NavigatorCredentials.cpp: Renamed from Source/WebCore/Modules/credentials/SiteBoundCredential.cpp.
(WebCore::NavigatorCredentials::NavigatorCredentials):
(WebCore::NavigatorCredentials::~NavigatorCredentials):
(WebCore::NavigatorCredentials::supplementName):
(WebCore::NavigatorCredentials::credentials):
(WebCore::NavigatorCredentials::from):
* Modules/credentials/NavigatorCredentials.h: Copied from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/NavigatorCredentials.idl: Renamed from Source/WebCore/Modules/credentials/SiteBoundCredential.idl.
* Modules/credentials/PasswordCredential.cpp:
(WebCore::PasswordCredential::PasswordCredential):
(WebCore::PasswordCredential::~PasswordCredential):
* Modules/credentials/PasswordCredential.h:
(WebCore::PasswordCredential::create):
(WebCore::PasswordCredential::password):
(WebCore::PasswordCredential::setIdName): Deleted.
(WebCore::PasswordCredential::idName): Deleted.
(WebCore::PasswordCredential::setPasswordName): Deleted.
(WebCore::PasswordCredential::passwordName): Deleted.
(WebCore::PasswordCredential::setAdditionalData): Deleted.
(WebCore::PasswordCredential::additionalData): Deleted.
* Modules/credentials/PasswordCredential.idl:
* Modules/credentials/PasswordCredentialData.h: Renamed from Source/WebCore/Modules/credentials/SiteBoundCredentialData.h.
* Modules/credentials/PasswordCredentialData.idl: Renamed from Source/WebCore/Modules/credentials/SiteBoundCredentialData.idl.
* WebCore.xcodeproj/project.pbxproj:

LayoutTests:

* credentials/idlharness-expected.txt:
* credentials/idlharness.html:

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

2 years agowebkitpy: Start servers before setting-up for testing
jbedard@apple.com [Tue, 30 May 2017 21:08:11 +0000 (21:08 +0000)]
webkitpy: Start servers before setting-up for testing
https://bugs.webkit.org/show_bug.cgi?id=172176
<rdar://problem/32225538>

Reviewed by Alexey Proskuryakov.

On-device testing requires that servers are started before ports set-up their
test environments.

* Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(LayoutTestRunner.__init__): Start servers when initializing LayoutTestRunner.
Servers are unconditionally stopped on exit.
(LayoutTestRunner.run_tests): Move the starting of servers to the initializer. The
Manager now stops servers.
(LayoutTestRunner.start_servers): Set flag to indicate servers are running.
(LayoutTestRunner.stop_servers): Check flag, only shutdown servers if they are shutdown.
* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.__init__): Delay construction of the test runner until we can determine
if servers need to be started.
(Manager.run): Determine if servers need to be started and construct the test runner.
Shut servers down when the test run is finished.
(Manager._run_tests): Move the determination of servers to run into Manager.run.
* Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
(is_wpt_server_running): Server is not running if no config is found.
* Scripts/webkitpy/layout_tests/servers/websocket_server.py:
(PyWebSocket.is_running): Check if this WebSocket server is running.
* Scripts/webkitpy/port/base.py:
(Port.__init__): Define secure WebSocket server.
(Port.to.is_websocket_server_running): Check if WebSocket servers are defined.

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

2 years ago[WK2] Add runBeforeUnloadConfirmPanel WKUIDelegate SPI; support onbeforeunload confir...
dbates@webkit.org [Tue, 30 May 2017 21:01:59 +0000 (21:01 +0000)]
[WK2] Add runBeforeUnloadConfirmPanel WKUIDelegate SPI; support onbeforeunload confirm panel in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=172603
<rdar://problem/32471306>

Reviewed by Brady Eidson.

Source/WebKit2:

A page loaded in MiniBrowser using WebKit2 cannot show a beforeunload confirm panel (by registering
an onbeforeunload event handler) when it is unloaded. The same page loaded in MiniBrowser using
WebKit1 can show such a confirm panel. We need to add WKUIDelegate SPI so that an embedding client,
such as MiniBrowser, can register to receive a callback to show a beforeunload confirm panel.

* UIProcess/API/APIUIClient.h:
(API::UIClient::runBeforeUnloadConfirmPanel): Modified to take a SecurityOriginData object. This
makes the API consistent with the existing JavaScript dialog callbacks.
* UIProcess/API/C/WKPage.cpp:
(WKPageSetPageUIClient):
* UIProcess/API/Cocoa/WKUIDelegatePrivate.h: Add SPI -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:.
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView setUIDelegate:]): Set the delegate of WebKit::UIDelegate to the specified WKUIDelegate
before we set the UI client on the page so as to ensure that API::UIClient callbacks that depend
-respondsToSelector: checks (e.g. API::UIClient::canRunBeforeUnloadConfirmPanel()) return the correct
result. To elaborate further, a API::UIClient client must override both canRunBeforeUnloadConfirmPanel()
and runBeforeUnloadConfirmPanel() to support running a beforeunload confirm dialog. When mapping
the Cocoa SPI, WKUIDelegatePrivate, to API::UIClient we implement API::UIClient::canRunBeforeUnloadConfirmPanel()
in terms of whether the Cocoa delegate responds at runtime to the selector -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:.
We need to do such runtime checks before we pass the API::UIClient to the page. Otherwise, querying
API::UIClient::canRunBeforeUnloadConfirmPanel() will return the wrong result.
* UIProcess/API/gtk/WebKitUIClient.cpp: Modified runBeforeUnloadConfirmPanel() to take a SecurityOriginData object.
* UIProcess/Cocoa/UIDelegate.h: Add declarations for API::UIClient overrides: canRunBeforeUnloadConfirmPanel()
and runBeforeUnloadConfirmPanel(). Add a bit to m_delegateMethods as to whether the Cocoa delegate
responds to selector -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:.
* UIProcess/Cocoa/UIDelegate.mm:
(WebKit::UIDelegate::setDelegate): Set the above m_delegateMethods bit if the Cocoa delegate responds
to selector -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:.
(WebKit::UIDelegate::UIClient::canRunBeforeUnloadConfirmPanel): Return whether the above m_delegateMethods
bit was set.
(WebKit::UIDelegate::UIClient::runBeforeUnloadConfirmPanel): Turn around and call -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler: (if applicable).
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::runBeforeUnloadConfirmPanel): Modified to take a SecurityOriginData object
and pass it to API::UIClient::runBeforeUnloadConfirmPanel().
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in: Add SecurityOriginData argument to message RunBeforeUnloadConfirmPanel.
Also pass the message for the panel as the last argument so as to make the order of arguments to message
RunBeforeUnloadConfirmPanel more closely match the order of arguments passed to other JavaScript dialog
messages (e.g. RunJavaScriptAlert) for consistency.
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::runBeforeUnloadConfirmPanel): Include the SecurityOriginData object for the
frame in message RunBeforeUnloadConfirmPanel.

Tools:

Implement the -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler: delegate
method in MiniBrowser to show a confirm panel as to whether to allow the unloading of the page when
unloading is initiated for a page that registered a onbeforeunload handler.

Modify TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm to test that the -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:
is called. Also fix style nit; pass YES instead of true to avoid implicit conversion from bool to BOOL
when invoking the completion handler in -_webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:.

Until we fix <https://bugs.webkit.org/show_bug.cgi?id=172614> the unit test in TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm
for -_webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler: is only run on Mac
as we do not have the infrastructure to simulate a click/tap on iOS and a click/tap on the page that
registered an onbeforeunload handler is required to show a confirm panel when the page will be unloaded.

* MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController _webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
* TestWebKitAPI/Tests/WebKit2/modal-alerts-in-new-about-blank-window.html:
* TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm:
(sawDialog):
(-[ModalAlertsUIDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
(-[ModalAlertsUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
(-[ModalAlertsUIDelegate _webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):

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

2 years agoUpdate libwebrtc configuration
achristensen@apple.com [Tue, 30 May 2017 20:56:41 +0000 (20:56 +0000)]
Update libwebrtc configuration
https://bugs.webkit.org/show_bug.cgi?id=172727

Reviewed by Geoffrey Garen.

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@217570 268f45cc-cd09-0410-ab3c-d52691b4dbfc

2 years agoSkip imported/w3c/web-platform-tests/innerText/getter.html.
ryanhaddad@apple.com [Tue, 30 May 2017 20:37:58 +0000 (20:37 +0000)]
Skip imported/w3c/web-platform-tests/innerText/getter.html.
https://bugs.webkit.org/show_bug.cgi?id=172514

Unreviewed test gardening.

* TestExpectations:

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

2 years agoconvertEnumerationToJS() should not stash ASCIILiteral strings in NeverDestroyed...
mark.lam@apple.com [Tue, 30 May 2017 20:34:47 +0000 (20:34 +0000)]
convertEnumerationToJS() should not stash ASCIILiteral strings in NeverDestroyed arrays.
https://bugs.webkit.org/show_bug.cgi?id=172724
<rdar://problem/31193201>

Reviewed by Chris Dumez.

Use MAKE_STATIC_STRING_IMPL instead, which is guaranteed to be thread-safe and
satisfies the promise of immortality promised by NeverDestroyed (while ASCIILiteral
does not always satisfy this promise).

Also converted the ASSERT in convertEnumerationToJS() to a RELEASE_ASSERT as a
debugging aid to check if it is ever passed an invalid enumerationValue.

No new tests because this is a speculative fix for an issue observed in the wild
whose root cause is not known yet.  This patch also adds a release assert to
gather more info about the nature of the issue.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateEnumerationImplementationContent):

* bindings/scripts/test/JS/JSTestCallbackInterface.cpp:
(WebCore::convertEnumerationToJS):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::convertEnumerationToJS):
* bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp:
(WebCore::convertEnumerationToJS):
* bindings/scripts/test/JS/JSTestStandaloneEnumeration.cpp:
(WebCore::convertEnumerationToJS):
- re-baselined these test results.

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

2 years agoREGRESSION(r216882): No image decoding is needed if the BitmapImage is created with...
commit-queue@webkit.org [Tue, 30 May 2017 20:02:09 +0000 (20:02 +0000)]
REGRESSION(r216882): No image decoding is needed if the BitmapImage is created with a NativeImage
https://bugs.webkit.org/show_bug.cgi?id=172670

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2017-05-30
Reviewed by Tim Horton.

Source/WebCore:

Test: fast/images/large-image-webkit-canvas.html

Check whether the BitmapImage has created an ImageDecoder before trying
to decode its image frame.

* platform/graphics/ImageSource.cpp:
(WebCore::ImageSource::shouldUseAsyncDecoding):

LayoutTests:

Use the css property -webkit-canvas to force capturing the canvas context
in a NativeImage. This NativeImage will be used to create a BitmapImage
which will be later used as the background-image of an element.

* fast/images/large-image-webkit-canvas-expected.html: Added.
* fast/images/large-image-webkit-canvas.html: Added.

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

2 years agoDictionary lookup disappears after a few seconds on observer.com
timothy_horton@apple.com [Tue, 30 May 2017 19:57:18 +0000 (19:57 +0000)]
Dictionary lookup disappears after a few seconds on observer.com
https://bugs.webkit.org/show_bug.cgi?id=172725
<rdar://problem/32328324>

Reviewed by Beth Dakin.

Only dismiss content-relative child windows on main frame loads,
not all subframes. This was causing e.g. dictionary popovers
relative to main-frame content to be dismissed when subframe
ads finished loading, which is likely the cause of most incidents
of this problem.

If the popover is relative to subframe content and the subframe
navigates out from under the popover, the popover will persist until
dismissed by the user (or one of the other automatic dismissal
mechanisms), but that seems preferable to the old behavior.

* UIProcess/Cocoa/WebViewImpl.h:
Remove an unimplemented and unused declaration.

* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::processDidExit):
Move dismissContentRelativeChildWindows call here from WebPageProxy.

* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didCommitLoadForFrame):
(WebKit::WebPageProxy::resetStateAfterProcessExited):
* UIProcess/mac/PageClientImpl.h:
* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::didCommitLoadForMainFrame):
(WebKit::PageClientImpl::navigationGestureDidBegin):
(WebKit::PageClientImpl::dismissContentRelativeChildWindows):
Remove dismissContentRelativeChildWindows from PageClient(Impl),
call it from inside PageClientImpl and other Mac-specific places
instead of inside ifdefs in WebPageProxy.

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

2 years agoChanged Text Expectations of imported/blink/storage/indexeddb/blob-valid-after-deleti...
jlewis3@apple.com [Tue, 30 May 2017 19:51:23 +0000 (19:51 +0000)]
Changed Text Expectations of imported/blink/storage/indexeddb/blob-valid-after-deletion.html
https://bugs.webkit.org/show_bug.cgi?id=172403

Unreviewed test gardening.

* platform/ios/TestExpectations:

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

2 years agoDon't use designated initializers in WebBackForwardListProxy.cpp
annulen@yandex.ru [Tue, 30 May 2017 18:34:55 +0000 (18:34 +0000)]
Don't use designated initializers in WebBackForwardListProxy.cpp
https://bugs.webkit.org/show_bug.cgi?id=172667

Reviewed by Alex Christensen.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::addItemFromUIProcess):
(WebKit::WebBackForwardListProxy::addItem):

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

2 years ago[WinCairo] TestWebKitAPI: ASSERTION FAILED: m_eglDisplay == EGL_NO_DISPLAY
commit-queue@webkit.org [Tue, 30 May 2017 18:29:55 +0000 (18:29 +0000)]
[WinCairo] TestWebKitAPI: ASSERTION FAILED: m_eglDisplay == EGL_NO_DISPLAY
https://bugs.webkit.org/show_bug.cgi?id=172702

Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2017-05-30
Reviewed by Alex Christensen.

EGL PlatformDisplay needs to be shut down before existing a
program on Windows.

* TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp:
(TestWebKitAPI::ScaleWebView::TearDown): Call shutDownWebKit().
* TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
(TestWebKitAPI::WebViewDestruction::TearDown): Ditto.

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

2 years agoRealtimeOutgoingVideoSource should not rotate muted frames
commit-queue@webkit.org [Tue, 30 May 2017 18:29:13 +0000 (18:29 +0000)]
RealtimeOutgoingVideoSource should not rotate muted frames
https://bugs.webkit.org/show_bug.cgi?id=172659

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

Source/WebCore:

Test: webrtc/video-rotation.html

When sending black frames, it is unnecessary to rotate frames.
Instead, it is better to create frame with the expected width and height.
Making sure libwebrtc rotated images are not null, as only YUV rotation is supported.

Adding internals API to test part of that code path.
Full coverage should be added when mock source is producing YUV images.

* Modules/mediastream/PeerConnectionBackend.h:
(WebCore::PeerConnectionBackend::applyRotationForOutgoingVideoSources):
* Modules/mediastream/RTCPeerConnection.h:
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
(WebCore::LibWebRTCPeerConnectionBackend::applyRotationForOutgoingVideoSources):
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h:
* platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp:
(WebCore::RealtimeOutgoingVideoSource::sendBlackFrames):
(WebCore::RealtimeOutgoingVideoSource::sendFrame):
* platform/mediastream/mac/RealtimeOutgoingVideoSource.h:
* testing/Internals.cpp:
(WebCore::Internals::Internals):
(WebCore::Internals::applyRotationForOutgoingVideoSources):
(WebCore::Internals::setCameraMediaStreamTrackOrientation):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

* webrtc/routines.js:
* webrtc/video-rotation-expected.txt: Added.
* webrtc/video-rotation.html: Added.

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

2 years agoUnreviewed typo correction.
bfulgham@apple.com [Tue, 30 May 2017 17:47:29 +0000 (17:47 +0000)]
Unreviewed typo correction.

* loader/ResourceLoadObserver.cpp:
(WebCore::ResourceLoadObserver::logFrameNavigation): I used an extra colon in my comment.

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

2 years agoMark js/intl-datetimeformat.html as failing.
ryanhaddad@apple.com [Tue, 30 May 2017 17:39:10 +0000 (17:39 +0000)]
Mark js/intl-datetimeformat.html as failing.
https://bugs.webkit.org/show_bug.cgi?id=172720

Unreviewed test gardening.

* js/script-tests/intl-datetimeformat.js:
* platform/mac/TestExpectations:

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

2 years agosync-builedbot.js fails to schedule the second request to test with a patch
rniwa@webkit.org [Tue, 30 May 2017 17:09:36 +0000 (17:09 +0000)]
sync-builedbot.js fails to schedule the second request to test with a patch
https://bugs.webkit.org/show_bug.cgi?id=172701

Reviewed by Antti Koivisto.

The bug was caused by an assertion failure in BuildbotTriggerable's _pullBuildbotOnAllSyncers failing to
take into account that for a test group with a patch could be associated with two syncers, one to build
a patch and another to run tests. Fixed the bug by differentiating the two types of syncers by buildSyncer
and testSyncer per test group.

* server-tests/tools-sync-buildbot-integration-tests.js: Extended a test case so that it would hit the
assertion without the fix.

* tools/js/buildbot-triggerable.js:
(BuildbotTriggerable.prototype.syncOnce): Use the right kind of the syncer to schedule a build or a test.
(BuildbotTriggerable.prototype._pullBuildbotOnAllSyncers): Associate a given syncer based on the kind of
the build request it processed, and assert accordingly.

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

2 years agoREGRESSION(r217515): Correct iterator invalidation bug (AGAIN)
bfulgham@apple.com [Tue, 30 May 2017 16:57:20 +0000 (16:57 +0000)]
REGRESSION(r217515): Correct iterator invalidation bug (AGAIN)
https://bugs.webkit.org/show_bug.cgi?id=172722
<rdar://problem/32462876>

Reviewed by Zalan Bujtas.

Over-enthusiastic clean-up during r217515 re-introduced a bug caused by holding a reference
to an iterator that gets invalidated while handling the frame navigation. This patch returns
to the copy/set behavior used prior to r217515.

* loader/ResourceLoadObserver.cpp:
(WebCore::ResourceLoadObserver::logFrameNavigation): Make a copy of the returned value, since
the iterator will be invalidated during the function call. Then set the copy back in the data
store with the updated counts.

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

2 years ago[Win] fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html is flaky.
pvollan@apple.com [Tue, 30 May 2017 15:41:26 +0000 (15:41 +0000)]
[Win] fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html is flaky.
https://bugs.webkit.org/show_bug.cgi?id=172709

Reviewed by Brent Fulgham.

Source/WebKit/win:

Add method to exit fullscreen mode.

* Interfaces/IWebViewPrivate.idl:
* WebView.cpp:
(WebView::exitFullscreenIfNeeded):
* WebView.h:

Tools:

Exit fullscreen mode after a fullscreen test.

* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):

LayoutTests:

* platform/win/TestExpectations:

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

2 years agoASSERTION FAILED: !needsLayout() in com.apple.WebCore: WebCore::FrameView::paintConte...
antti@apple.com [Tue, 30 May 2017 15:33:02 +0000 (15:33 +0000)]
ASSERTION FAILED: !needsLayout() in com.apple.WebCore: WebCore::FrameView::paintContents in fast/events/tabindex-focus-blur-all.html on WK1
https://bugs.webkit.org/show_bug.cgi?id=172713

Reviewed by Zalan Bujtas.

* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):

    Remove forced display from plugin resource load delegate. It is testing some long-obsolete
    Safari WK1 behavior. Forcing display from this resource load delegate will hit the assertion
    because on Mac WK1 it may get invoked from middle of a layout.

    Painting code skips out after the assert so it doesn't indicate unsafe access of any sort.

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

2 years agoAdd a WPE EWS queue
clopez@igalia.com [Tue, 30 May 2017 14:43:43 +0000 (14:43 +0000)]
Add a WPE EWS queue
https://bugs.webkit.org/show_bug.cgi?id=172693

Reviewed by Carlos Garcia Campos.

* QueueStatusServer/config/queues.py:
* QueueStatusServer/model/queues.py: Capitalize the name of the
port on the tooltip of the bubbles. Do the same for the GTK port.
(Queue.display_name):
* Scripts/webkitpy/common/config/ews.json: Update the watcher mail
for the GTK+ EWS also. Set for both ports as watcher the alias
bugs-noreply@webkitgtk.org that maintainers of both ports follow.
* Scripts/webkitpy/common/config/ports.py:
(DeprecatedPort.port):
(WpePort):
(WpePort.build_webkit_command):
(WpePort.run_webkit_tests_command):
* Scripts/webkitpy/common/config/ports_unittest.py:
(DeprecatedPortTest):
(DeprecatedPortTest.test_wpe_port):
* Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
(test_ews_name):

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

2 years ago[GTK] Test cases for typehead in form menu lists should start from known state
aperez@igalia.com [Tue, 30 May 2017 14:33:20 +0000 (14:33 +0000)]
[GTK] Test cases for typehead in form menu lists should start from known state
https://bugs.webkit.org/show_bug.cgi?id=171792

Reviewed by Carlos Garcia Campos.

Since r215188 opening a popup menu in a form pre-selects the active
element to mimic GtkComboxBox behavior, but the layout test implicitly
assumed that type ahead search always started the beginning of the
list, which is no longer true now that GTK+ is informed of which one
is the active element.

* platform/gtk/fast/forms/menulist-typeahead-find.html: Reset menu
list to the initial state (no element selected, unfocused) at the
beginning of testTypeAheadFunction().

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

2 years ago[WinCairo] TestWebKitAPI: SHOULD NEVER BE REACHED in WebCore::cairoSurfaceSize
commit-queue@webkit.org [Tue, 30 May 2017 14:31:25 +0000 (14:31 +0000)]
[WinCairo] TestWebKitAPI: SHOULD NEVER BE REACHED in WebCore::cairoSurfaceSize
https://bugs.webkit.org/show_bug.cgi?id=172699

Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2017-05-30
Reviewed by Brent Fulgham.

Tests: WebCore.BitmapImageEmptyFrameTest in TestWebKitAPI

* platform/graphics/cairo/CairoUtilities.cpp:
(WebCore::cairoSurfaceSize): Added a case for win32 surface type.

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

2 years agoREGRESSION(r191402?): Safari, Mail crash at com.apple.WebKit: WebKit::WebContextMenuL...
antti@apple.com [Tue, 30 May 2017 14:02:48 +0000 (14:02 +0000)]
REGRESSION(r191402?): Safari, Mail crash at com.apple.WebKit: WebKit::WebContextMenuListenerProxy::invalidate + 4
https://bugs.webkit.org/show_bug.cgi?id=172704

Reviewed by Andreas Kling.

r191402 made WebContextMenuProxy non-refcounted. However there are several potential ways for WebContextMenuProxyMac::show()
to re-enter WebPageProxy and delete itself. This patch partially reverts r191402 bringing refcounting back and protects
WebContextMenuProxy during show().

Speculative fix. No test, can't repro the crash.

* UIProcess/PageClient.h:
* UIProcess/WebContextMenuProxy.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::internalShowContextMenu):

    Protect WebContextMenuProxy during show().

* UIProcess/WebPageProxy.h:
* UIProcess/gtk/WebContextMenuProxyGtk.h:
(WebKit::WebContextMenuProxyGtk::create):
* UIProcess/ios/PageClientImplIOS.h:
* UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::createContextMenuProxy):
* UIProcess/mac/PageClientImpl.h:
* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::createContextMenuProxy):
* UIProcess/mac/WebContextMenuProxyMac.h:
(WebKit::WebContextMenuProxyMac::create):

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

2 years ago[GTK][WPE][GSTREAMER_GL] Do not use cairo to copy video textures to an accelerated...
magomez@igalia.com [Tue, 30 May 2017 13:02:47 +0000 (13:02 +0000)]
[GTK][WPE][GSTREAMER_GL] Do not use cairo to copy video textures to an accelerated canvas
https://bugs.webkit.org/show_bug.cgi?id=172542

Reviewed by Žan Doberšek.

When drawing gstreamer-gl video frames into an accelerated canvas, we are currently using cairo to copy
the video textures into a new texture that will be painted into de destination canvas. While this eases
the code, it doesn't allow us to control the copy process. This is a problem because in order to use
gstreamer-gl properly, we will need to perform colorspace transformations during the copy. So, remove
this cairo copy and use VideoTextureCopierGStreamer instead.

The usage of VideoTextureCopierGStreamer is pretty much the same than in the webgl case, except that
no destination texture is provided. For that case, add a custom texture to hold the result that can
be requested after the copy.

Covered by existent tests.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::copyVideoTextureToPlatformTexture):
(WebCore::MediaPlayerPrivateGStreamerBase::nativeImageForCurrentTime):
(WebCore::MediaPlayerPrivateGStreamerBase::prepareContextForCairoPaint): Deleted.
(WebCore::MediaPlayerPrivateGStreamerBase::paintToCairoSurface): Deleted.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
(WebCore::MediaPlayerPrivateGStreamerBase::gstGLDisplay):
* platform/graphics/gstreamer/VideoTextureCopierGStreamer.cpp:
(WebCore::VideoTextureCopierGStreamer::VideoTextureCopierGStreamer):
(WebCore::VideoTextureCopierGStreamer::~VideoTextureCopierGStreamer):
(WebCore::VideoTextureCopierGStreamer::copyVideoTextureToPlatformTexture):
* platform/graphics/gstreamer/VideoTextureCopierGStreamer.h:
(WebCore::VideoTextureCopierGStreamer::resultTexture):

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

2 years agoInvalidate the LayerTreeHost when destroying the DrawingAreaWPE object.
zandobersek@gmail.com [Tue, 30 May 2017 11:03:00 +0000 (11:03 +0000)]
Invalidate the LayerTreeHost when destroying the DrawingAreaWPE object.

Rubber-stamped by Carlos Garcia Campos.

* WebProcess/WebPage/wpe/DrawingAreaWPE.cpp:
(WebKit::DrawingAreaWPE::~DrawingAreaWPE): Invalidate the LayerTreeHost
object, properly deconstructing the graphics pipeline.

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

2 years agoCrash on display-contents-replaced-001.html
antti@apple.com [Tue, 30 May 2017 08:35:40 +0000 (08:35 +0000)]
Crash on display-contents-replaced-001.html
https://bugs.webkit.org/show_bug.cgi?id=172596

Reviewed by Andreas Kling.

Source/WebCore:

This is crashing because some code can't handle display:contents on form controls. Turns
out the draft specification tell us to disable it for them in any case.

See https://drafts.csswg.org/css-display-3/#unbox

* css/StyleResolver.cpp:
(WebCore::hasEffectiveDisplayNoneForDisplayContents):

    For certain HTML elements (replaced elements, form controls) display:contents should
    behave like display:none.
    Also disable it for SVG and MathML elements.

(WebCore::StyleResolver::adjustRenderStyle):

    Also compute to display:none when there is no associated element (pseudos etc).

LayoutTests:

* TestExpectations: Enable the test.

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

2 years ago[GCrypt] RSA-OAEP support
zandobersek@gmail.com [Tue, 30 May 2017 08:27:49 +0000 (08:27 +0000)]
[GCrypt] RSA-OAEP support
https://bugs.webkit.org/show_bug.cgi?id=171222

Reviewed by Michael Catanzaro.

Source/WebCore:

Add RSA-OAEP support for configurations that use libgcrypt.

The encryption operation embeds the plain-text data into a data s-expression,
specifying OAEP as the padding method of choice and also adding information
about the hash algorithm and any label data. This is then passed to the
gcry_pk_encrypt() call together with the provided key, returning the enc-val
s-expression containing the resulting cipher text. That's retrieved from the
relevant MPI and returned to the caller.

The decryption operation embeds the cipher-text data into an enc-val
s-expression, again specifying the hash algorithm and also filling in any
label data. This is then passed, along with the key, to the gcry_pk_decrypt()
call. The returned data s-expression contains the decrypted plain-text data
inside the 'value' MPI, from which this data is extracted and returned to the
caller.

No new tests -- the revelant tests are passing and are unskipped, apart from
the ones using PKSC#8 and SPKI formats.

* crypto/gcrypt/CryptoAlgorithmRSA_OAEPGCrypt.cpp:
(WebCore::hashAlgorithmName):
(WebCore::mpiData):
(WebCore::gcryptEncrypt):
(WebCore::gcryptDecrypt):
(WebCore::CryptoAlgorithmRSA_OAEP::platformEncrypt):
(WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt):

LayoutTests:

* platform/gtk/TestExpectations: Enable the RSA-OAEP layout tests that we pass.

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

2 years agoUnreviewed follow-up to r217546. Address some review comments that I forgot about.
zandobersek@gmail.com [Tue, 30 May 2017 08:06:46 +0000 (08:06 +0000)]
Unreviewed follow-up to r217546. Address some review comments that I forgot about.

* crypto/gcrypt/CryptoAlgorithmRSAES_PKCS1_v1_5GCrypt.cpp:
(WebCore::gcryptEncrypt): Use quotations when referencing s-expression names in
comments to avoid confusion.
(WebCore::gcryptDecrypt): Ditto.

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

2 years ago[GCrypt] RSAES-PKCS1-v1_5 support
zandobersek@gmail.com [Tue, 30 May 2017 07:45:10 +0000 (07:45 +0000)]
[GCrypt] RSAES-PKCS1-v1_5 support
https://bugs.webkit.org/show_bug.cgi?id=171219

Reviewed by Michael Catanzaro.

Source/WebCore:

Add RSAES-PKCS1-v1_5 support for configurations that use libgcrypt.

The encryption operation embeds the plain-text data into a data s-expression,
specifying PKCS#1 as the padding method of choice. That's passed to the
gcry_pk_encrypt() call together with the specified key. The returned enc-val
expression contains the 'a' MPI from which the data is extracted and returned.

The decryption operation goes in reverse -- the cipher-text data is embedded
into an enc-val s-expression that again also specifies PKCS#1 as the padding
method. The s-expression is passed to gcry_pk_decrypt() together with the
specified key. The returned data s-expression contains the decrypted text
inside the 'value' parameter, so the data is extracted from that and returned
to the caller.

No new tests -- the revelant tests are passing and are unskipped, apart from
the ones using PKCS#8 and SPKI formats.

* crypto/gcrypt/CryptoAlgorithmRSAES_PKCS1_v1_5GCrypt.cpp:
(WebCore::mpiData):
(WebCore::gcryptEncrypt):
(WebCore::gcryptDecrypt):
(WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformEncrypt):
(WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt):

LayoutTests:

* platform/gtk/TestExpectations: Enable the RSAES-PKCS1-v1_5 layout tests that we pass.

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

2 years ago[GCrypt] RSASSA-PKCS1-v1_5 support
zandobersek@gmail.com [Tue, 30 May 2017 07:27:35 +0000 (07:27 +0000)]
[GCrypt] RSASSA-PKCS1-v1_5 support
https://bugs.webkit.org/show_bug.cgi?id=171220

Reviewed by Michael Catanzaro.

Source/WebCore:

Add RSASSA-PKSC1-V_15 support for configurations that use libgcrypt.

The signing operation first digests data with the specified hash algorithm.
That's then embedded in the data s-expression. That's then passed to the
gcry_pk_sign() call together with the specified key, returning a sig-val
s-expression containing the signature. The signature data is then retrieved
from the relevant MPI and returned to the caller.

The verification operation first digests data with the specified hash
algorithm. That's then embedded in the data s-expression. A sig-val
s-expression is constructed, embedding the signature data. The data and
sig-val s-expressions are passed to the gcry_sexp_verify() call which returns
the resulting error code. The verification succeeds if the returned value is
GPG_ERR_NO_ERROR, fails if it's GPG_ERR_BAD_SIGNATURE, or errors out with an
OperationError otherwise.

No new tests -- the revelant tests are passing and are unskipped, apart from
the ones using PKCS#8 and SPKI formats.

* crypto/gcrypt/CryptoAlgorithmRSASSA_PKCS1_v1_5GCrypt.cpp:
(WebCore::hashCryptoDigestAlgorithm):
(WebCore::hashAlgorithmName):
(WebCore::mpiData):
(WebCore::gcryptSign):
(WebCore::gcryptVerify):
(WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformSign):
(WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify):

LayoutTests:

* platform/gtk/TestExpectations: Enable the RSASSA-PKCS1-v1_5 layout tests that we pass.

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

2 years ago[GTK] Web Inspector: Add DOM breakpoint image for GTK+
commit-queue@webkit.org [Tue, 30 May 2017 07:25:00 +0000 (07:25 +0000)]
[GTK] Web Inspector: Add DOM breakpoint image for GTK+
https://bugs.webkit.org/show_bug.cgi?id=169326

Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2017-05-30
Reviewed by Carlos Garcia Campos.

* UserInterface/Images/gtk/DOMBreakpoint.svg: Added.

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

2 years agoFix UI glitches with a custom analysis test group with a patch
rniwa@webkit.org [Tue, 30 May 2017 05:03:43 +0000 (05:03 +0000)]
Fix UI glitches with a custom analysis test group with a patch
https://bugs.webkit.org/show_bug.cgi?id=172694

Reviewed by Sam Weinig.

Fix the following UI glitches with perf try bots:
 - Retrying an A/B testing with a patch fails.
 - A patch specified in an test group does not get specified in the configurator.
 - Drag & dropping a patch doesn't work.
 - Results for custom analysis tasks don't get shown.

* public/api/test-groups.php:
(main): Fix a bug that test group's platform does not match that of the request'ed platform. Since each test
group is associated with platform, just use that instead of querying test_configurations. This resulted in
the configurator not being able to find a triggerable in some cases.

* public/v3/components/custom-analysis-task-configurator.js:
(CustomAnalysisTaskConfigurator):
(CustomAnalysisTaskConfigurator.prototype.setCommitSets): Add patches in the commit set.
(CustomAnalysisTaskConfigurator.prototype._setUploadedFilesToUploader): Now clears the exiting uploaded files
Also renamed from _setUploadedFilesIfEmpty.
(CustomAnalysisTaskConfigurator.prototype._setPatchFiles): Added.
(CustomAnalysisTaskConfigurator.prototype.didConstructShadowTree): We no longer update the list of roots
for the comparsion when a new root is added to the baseline.
(CustomAnalysisTaskConfigurator.prototype._configureComparison): Copy over the list of patches and roots when
starting to configure the comparsion.

* public/v3/components/instant-file-uploader.js:
(InstantFileUploader.prototype.clear): Added.
(InstantFileUploader.prototype.didConstructShadowTree): Added event handlers for dragover & drop events to
allow specifying a patch and root using drag & drop. Unfortunately, this still doesn't work in WebKit due to
a bug in our shadow DOM implementation.
(InstantFileUploader.prototype._didFileInputChange):
(InstantFileUploader.prototype._uploadFiles): Extracted from _didFileInputChange.

* public/v3/pages/analysis-task-page.js:
(AnalysisTaskTestGroupPane.prototype.setAnalysisResults): No longer takes metric.
(AnalysisTaskTestGroupPane.cssTemplate): Removed unused rules. Also disallow flexing on the list of test groups
to avoid the name of a test froup from overflowing on top of the results pane.
(AnalysisTaskPage.prototype._assignTestResultsIfPossible): Set setAnalysisResults even when metric is not set
as is the case for a custom analysis task.
(AnalysisTaskPage.prototype._retryCurrentTestGroup): Use createWithCustomConfiguration to allow retrying of
an A/B testing with a patch in a custom analysis task.
(AnalysisTaskPage.prototype._createTestGroupAfterVerifyingCommitSetList):

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

2 years ago[WPE] Mark a couple of tests as slow/timing out
csaavedra@igalia.com [Mon, 29 May 2017 18:20:26 +0000 (18:20 +0000)]
[WPE] Mark a couple of tests as slow/timing out

Unreviewed gardening. These are all known ones.
* platform/wpe/TestExpectations:

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

2 years ago[WPE] Marking workers/bomb.html test as slow.
csaavedra@igalia.com [Mon, 29 May 2017 17:35:47 +0000 (17:35 +0000)]
[WPE] Marking workers/bomb.html test as slow.

Unreviewed gardening.

* platform/wpe/TestExpectations:

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

2 years ago[GTK] Remove unneeded forward declaration
csaavedra@igalia.com [Mon, 29 May 2017 16:17:04 +0000 (16:17 +0000)]
[GTK] Remove unneeded forward declaration

Rubber-stamped by Zan Dobersek.

* UIProcess/API/C/gtk/WKAPICastGtk.h: Remove WebGrammarDetail as
its header is included in the same file.

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

2 years agoUnreviewed. Bumping the WPEBackend-mesa dependency version.
zandobersek@gmail.com [Mon, 29 May 2017 16:05:36 +0000 (16:05 +0000)]
Unreviewed. Bumping the WPEBackend-mesa dependency version.

* wpe/jhbuild.modules: Use the latest version that uses proper GLib
priorities for IPC communication.

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

2 years agoUse the parent box style to adjust RenderStyle for alignment.
commit-queue@webkit.org [Mon, 29 May 2017 14:09:37 +0000 (14:09 +0000)]
Use the parent box style to adjust RenderStyle for alignment.
https://bugs.webkit.org/show_bug.cgi?id=172215

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

Source/WebCore:

The css-flexbox spec defined align-self in terms of the parent
element, which is what this code did.

The css-align spec defines these properties in terms of the style of
the containing box instead, which means display: contents styles
should not be used for this adjustment, but the parent box style
instead.

For example, align-items is defined as:

> This property specifies the default align-self for all of the boxes
> (including anonymous boxes) participating in this box’s formatting
> context.

Note that the css-align spec was recently updated to align (no pun
intended) with Gecko, and make the |auto| value compute to itself.
This patch puts us in a more recent spec than before, but not totally
up-to-date.

Tests: imported/w3c/web-platform-tests/css/css-display-3/display-contents-alignment-001.html
       imported/w3c/web-platform-tests/css/css-display-3/display-contents-alignment-002.html

* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
(WebCore::StyleResolver::adjustStyleForAlignment):

LayoutTests:

* TestExpectations:

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

2 years agoUnreviewed, disable faster Interpreter::getOpcodeID for ARM_THUMB2 with non-Darwin...
utatane.tea@gmail.com [Mon, 29 May 2017 10:37:58 +0000 (10:37 +0000)]
Unreviewed, disable faster Interpreter::getOpcodeID for ARM_THUMB2 with non-Darwin OSes
https://bugs.webkit.org/show_bug.cgi?id=172686

Because of test failures.

* wtf/Platform.h:

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

2 years agoUnreviewed Windows test gardening, update expected results after r217418.
pvollan@apple.com [Mon, 29 May 2017 09:03:02 +0000 (09:03 +0000)]
Unreviewed Windows test gardening, update expected results after r217418.

* platform/win/fast/block/float/032-expected.txt:

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