WebKit-https.git
4 years agoPDFPlugins are clipped in link previews (and remain so when opened)
timothy_horton@apple.com [Thu, 6 Aug 2015 01:06:14 +0000 (01:06 +0000)]
PDFPlugins are clipped in link previews (and remain so when opened)
https://bugs.webkit.org/show_bug.cgi?id=147708
<rdar://problem/22055130>

Reviewed by Simon Fraser.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:processPool:configuration:webView:]):
(-[WKView _supportsArbitraryLayoutModes]):
(-[WKView _didCommitLoadForMainFrame]):
(-[WKView _setLayoutMode:]):
(-[WKView _setViewScale:]):
Avoid using any layout mode other than "ViewSize" for main frame PluginDocuments,
because they will often end up behaving incorrectly (especially with PDFPlugin,
which is even more special in that it takes over application of page scale).

Save any incoming changes to the viewScale and layoutMode, and re-apply
them once we load something in the main frame that is *not* a PluginDocument.

* UIProcess/API/mac/WKViewInternal.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::scalePage):
Make sure to reset WebCore's page scale if the main frame contains a
PluginDocument that takes care of page scale itself.

(WebKit::WebPage::didCommitLoad):
Do the same thing as what we do in WKView _didCommitLoadForMainFrame,
but without the UI process round-trip, to avoid an ugly flash.

* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didCommitLoad):
* UIProcess/WebFrameProxy.h:
(WebKit::WebFrameProxy::containsPluginDocument):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didCommitLoadForFrame):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::didCommitLoadForMainFrame):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
Plumb and keep track of whether the main frame contains a PluginDocument or not.

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

4 years agoTry to fix the build
timothy_horton@apple.com [Thu, 6 Aug 2015 00:26:43 +0000 (00:26 +0000)]
Try to fix the build

* WebIconDatabase.h:

* Modules/webdatabase/Database.cpp:
(WebCore::Database::performOpenAndVerify):
* Modules/webdatabase/Database.h:

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

4 years agoDelete duplicate forward-declaration
mmaxfield@apple.com [Thu, 6 Aug 2015 00:02:55 +0000 (00:02 +0000)]
Delete duplicate forward-declaration
https://bugs.webkit.org/show_bug.cgi?id=147701

Reviewed by Simon Fraser.

No new tests because there is no behavior change.

* platform/spi/cocoa/CoreTextSPI.h:

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

4 years agoWeb Inspector: REGRESSION (r187900): Breakpoint context menu is broken in Debugger tab
mattbaker@apple.com [Wed, 5 Aug 2015 23:56:49 +0000 (23:56 +0000)]
Web Inspector: REGRESSION (r187900): Breakpoint context menu is broken in Debugger tab
https://bugs.webkit.org/show_bug.cgi?id=147699

Reviewed by Timothy Hatcher.

* UserInterface/Views/SourceCodeTextEditor.js:
Skip only the separator and "Reveal in Debugger tab" menu items.

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

4 years agoWeb Inspector: use super calls in more places
commit-queue@webkit.org [Wed, 5 Aug 2015 23:55:10 +0000 (23:55 +0000)]
Web Inspector: use super calls in more places
https://bugs.webkit.org/show_bug.cgi?id=147696

Patch by Brian Burg <bburg@apple.com> on 2015-08-05
Reviewed by Timothy Hatcher.

A few opportunities for super calls were overlooked when converting to classes.

* UserInterface/Views/BreakpointTreeElement.js:
(WebInspector.BreakpointTreeElement.prototype.onattach):
(WebInspector.BreakpointTreeElement.prototype.ondetach):
* UserInterface/Views/CallFrameTreeElement.js:
(WebInspector.CallFrameTreeElement.prototype.onattach):
(WebInspector.CallFrameTreeElement):
* UserInterface/Views/DebuggerTabContentView.js:
(WebInspector.DebuggerTabContentView.prototype.showDetailsSidebarPanels):
* UserInterface/Views/ProfileNodeTreeElement.js:
(WebInspector.ProfileNodeTreeElement.prototype.onattach):
* UserInterface/Views/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype.shown):
(WebInspector.SourceCodeTextEditor.prototype.hidden):
(WebInspector.SourceCodeTextEditor.prototype.canBeFormatted):
* UserInterface/Views/SourceCodeTreeElement.js:
(WebInspector.SourceCodeTreeElement.prototype.onattach):
* UserInterface/Views/TimelineRecordTreeElement.js:
(WebInspector.TimelineRecordTreeElement.prototype.onattach):
(WebInspector.TimelineRecordTreeElement):

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

4 years ago[Win] Allow display of mixed content on Windows by default
bfulgham@apple.com [Wed, 5 Aug 2015 23:50:19 +0000 (23:50 +0000)]
[Win] Allow display of mixed content on Windows by default
https://bugs.webkit.org/show_bug.cgi?id=147693
<rdar://problem/22059707>

Reviewed by Alex Christensen.

* Interfaces/IWebPreferencesPrivate.idl: Add preference accessor
to allow getting/setting use of insecure content.
* WebPreferenceKeysPrivate.h: Add new key for preference.
* WebPreferences.cpp: Implement preference accessor.
* WebPreferences.h:
* WebView.cpp: Set WebCore settings to match prefernces for
loading mixed content.

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

4 years agoMove the last DatabaseBackendBase functions over to Database
andersca@apple.com [Wed, 5 Aug 2015 23:50:06 +0000 (23:50 +0000)]
Move the last DatabaseBackendBase functions over to Database
https://bugs.webkit.org/show_bug.cgi?id=147706

Reviewed by Tim Horton.

* Modules/webdatabase/Database.cpp:
(WebCore::Database::~Database):
(WebCore::Database::setExpectedVersion):
(WebCore::Database::getActualVersionForTransaction):
(WebCore::Database::version):
(WebCore::Database::stringIdentifier):
(WebCore::Database::displayName):
(WebCore::Database::estimatedSize):
(WebCore::Database::fileName):
(WebCore::Database::details):
(WebCore::Database::maximumSize):
(WebCore::Database::databaseDebugName):
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::databaseDebugName): Deleted.
(WebCore::DatabaseBackendBase::~DatabaseBackendBase): Deleted.
(WebCore::DatabaseBackendBase::version): Deleted.
(WebCore::DatabaseBackendBase::securityOrigin): Deleted.
(WebCore::DatabaseBackendBase::stringIdentifier): Deleted.
(WebCore::DatabaseBackendBase::displayName): Deleted.
(WebCore::DatabaseBackendBase::estimatedSize): Deleted.
(WebCore::DatabaseBackendBase::fileName): Deleted.
(WebCore::DatabaseBackendBase::details): Deleted.
(WebCore::DatabaseBackendBase::setExpectedVersion): Deleted.
(WebCore::DatabaseBackendBase::getActualVersionForTransaction): Deleted.
(WebCore::DatabaseBackendBase::maximumSize): Deleted.
* Modules/webdatabase/DatabaseBackendBase.h:
(WebCore::DatabaseBackendBase::opened): Deleted.
(WebCore::DatabaseBackendBase::isNew): Deleted.
(WebCore::DatabaseBackendBase::sqliteDatabase): Deleted.
(WebCore::DatabaseBackendBase::expectedVersion): Deleted.
* Modules/webdatabase/SQLTransactionClient.cpp:
(WebCore::SQLTransactionClient::didCommitWriteTransaction):
(WebCore::SQLTransactionClient::didExceedQuota):
* Modules/webdatabase/SQLTransactionClient.h:

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

4 years agoUnreviewed, roll out http://trac.webkit.org/changeset/187972.
fpizlo@apple.com [Wed, 5 Aug 2015 23:42:57 +0000 (23:42 +0000)]
Unreviewed, roll out trac.webkit.org/changeset/187972.

Source/JavaScriptCore:

* bytecode/SamplingTool.cpp:
(JSC::SamplingTool::doRun):
(JSC::SamplingTool::notifyOfScope):
* bytecode/SamplingTool.h:
* dfg/DFGThreadData.h:
* dfg/DFGWorklist.cpp:
(JSC::DFG::Worklist::~Worklist):
(JSC::DFG::Worklist::isActiveForVM):
(JSC::DFG::Worklist::enqueue):
(JSC::DFG::Worklist::compilationState):
(JSC::DFG::Worklist::waitUntilAllPlansForVMAreReady):
(JSC::DFG::Worklist::removeAllReadyPlansForVM):
(JSC::DFG::Worklist::completeAllReadyPlansForVM):
(JSC::DFG::Worklist::visitWeakReferences):
(JSC::DFG::Worklist::removeDeadPlans):
(JSC::DFG::Worklist::queueLength):
(JSC::DFG::Worklist::dump):
(JSC::DFG::Worklist::runThread):
* dfg/DFGWorklist.h:
* disassembler/Disassembler.cpp:
* heap/CopiedSpace.cpp:
(JSC::CopiedSpace::doneFillingBlock):
(JSC::CopiedSpace::doneCopying):
* heap/CopiedSpace.h:
* heap/CopiedSpaceInlines.h:
(JSC::CopiedSpace::recycleBorrowedBlock):
(JSC::CopiedSpace::allocateBlockForCopyingPhase):
* heap/HeapTimer.h:
* heap/MachineStackMarker.cpp:
(JSC::ActiveMachineThreadsManager::Locker::Locker):
(JSC::ActiveMachineThreadsManager::add):
(JSC::ActiveMachineThreadsManager::remove):
(JSC::ActiveMachineThreadsManager::ActiveMachineThreadsManager):
(JSC::MachineThreads::~MachineThreads):
(JSC::MachineThreads::addCurrentThread):
(JSC::MachineThreads::removeThreadIfFound):
(JSC::MachineThreads::tryCopyOtherThreadStack):
(JSC::MachineThreads::tryCopyOtherThreadStacks):
(JSC::MachineThreads::gatherConservativeRoots):
* heap/MachineStackMarker.h:
* interpreter/JSStack.cpp:
(JSC::stackStatisticsMutex):
(JSC::JSStack::addToCommittedByteCount):
(JSC::JSStack::committedByteCount):
* jit/JITThunks.h:
* profiler/ProfilerDatabase.h:

Source/WebCore:

* Modules/webaudio/AsyncAudioDecoder.cpp:
(WebCore::AsyncAudioDecoder::AsyncAudioDecoder):
(WebCore::AsyncAudioDecoder::runLoop):
* Modules/webaudio/AsyncAudioDecoder.h:
* Modules/webaudio/AudioContext.h:
* Modules/webaudio/MediaStreamAudioSource.cpp:
(WebCore::MediaStreamAudioSource::addAudioConsumer):
(WebCore::MediaStreamAudioSource::removeAudioConsumer):
(WebCore::MediaStreamAudioSource::setAudioFormat):
(WebCore::MediaStreamAudioSource::consumeAudio):
* Modules/webaudio/MediaStreamAudioSource.h:
* Modules/webdatabase/Database.cpp:
(WebCore::Database::close):
(WebCore::Database::runTransaction):
(WebCore::Database::inProgressTransactionCompleted):
(WebCore::Database::hasPendingTransaction):
* Modules/webdatabase/DatabaseTask.h:
* Modules/webdatabase/DatabaseThread.cpp:
(WebCore::DatabaseThread::start):
(WebCore::DatabaseThread::databaseThread):
* Modules/webdatabase/DatabaseThread.h:
* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::setDatabaseDirectoryPath):
(WebCore::DatabaseTracker::canEstablishDatabase):
(WebCore::DatabaseTracker::retryCanEstablishDatabase):
(WebCore::DatabaseTracker::hasEntryForOrigin):
(WebCore::DatabaseTracker::getMaxSizeForDatabase):
(WebCore::DatabaseTracker::closeAllDatabases):
(WebCore::DatabaseTracker::fullPathForDatabase):
(WebCore::DatabaseTracker::origins):
(WebCore::DatabaseTracker::databaseNamesForOrigin):
(WebCore::DatabaseTracker::detailsForNameAndOrigin):
(WebCore::DatabaseTracker::setDatabaseDetails):
(WebCore::DatabaseTracker::doneCreatingDatabase):
(WebCore::DatabaseTracker::addOpenDatabase):
(WebCore::DatabaseTracker::removeOpenDatabase):
(WebCore::DatabaseTracker::getOpenDatabases):
(WebCore::DatabaseTracker::originLockFor):
(WebCore::DatabaseTracker::quotaForOrigin):
(WebCore::DatabaseTracker::setQuota):
(WebCore::DatabaseTracker::deleteOrigin):
(WebCore::DatabaseTracker::deleteDatabase):
(WebCore::DatabaseTracker::deleteDatabaseFile):
(WebCore::DatabaseTracker::removeDeletedOpenedDatabases):
(WebCore::DatabaseTracker::deleteDatabaseFileIfEmpty):
(WebCore::DatabaseTracker::openDatabaseMutex):
(WebCore::DatabaseTracker::setClient):
(WebCore::notificationMutex):
(WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged):
(WebCore::DatabaseTracker::notifyDatabasesChanged):
* Modules/webdatabase/DatabaseTracker.h:
* Modules/webdatabase/OriginLock.h:
* Modules/webdatabase/SQLCallbackWrapper.h:
(WebCore::SQLCallbackWrapper::clear):
(WebCore::SQLCallbackWrapper::unwrap):
(WebCore::SQLCallbackWrapper::hasCallback):
* Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::doCleanup):
(WebCore::SQLTransactionBackend::enqueueStatementBackend):
(WebCore::SQLTransactionBackend::getNextStatement):
* Modules/webdatabase/SQLTransactionBackend.h:
* bindings/js/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::scheduleExecutionTermination):
(WebCore::WorkerScriptController::isExecutionTerminating):
* bindings/js/WorkerScriptController.h:
* dom/default/PlatformMessagePortChannel.cpp:
(WebCore::MessagePortChannel::postMessageToRemote):
(WebCore::MessagePortChannel::tryGetMessageFromRemote):
(WebCore::MessagePortChannel::isConnectedTo):
(WebCore::MessagePortChannel::hasPendingActivity):
(WebCore::MessagePortChannel::locallyEntangledPort):
(WebCore::PlatformMessagePortChannel::setRemotePort):
(WebCore::PlatformMessagePortChannel::entangledChannel):
(WebCore::PlatformMessagePortChannel::closeInternal):
* dom/default/PlatformMessagePortChannel.h:
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::removeAllIcons):
(WebCore::IconDatabase::synchronousIconForPageURL):
(WebCore::IconDatabase::synchronousNativeIconForPageURL):
(WebCore::IconDatabase::synchronousIconURLForPageURL):
(WebCore::IconDatabase::retainIconForPageURL):
(WebCore::IconDatabase::performRetainIconForPageURL):
(WebCore::IconDatabase::releaseIconForPageURL):
(WebCore::IconDatabase::performReleaseIconForPageURL):
(WebCore::IconDatabase::setIconDataForIconURL):
(WebCore::IconDatabase::setIconURLForPageURL):
(WebCore::IconDatabase::synchronousLoadDecisionForIconURL):
(WebCore::IconDatabase::synchronousIconDataKnownForIconURL):
(WebCore::IconDatabase::pageURLMappingCount):
(WebCore::IconDatabase::retainedPageURLCount):
(WebCore::IconDatabase::iconRecordCount):
(WebCore::IconDatabase::iconRecordCountWithData):
(WebCore::IconDatabase::wakeSyncThread):
(WebCore::IconDatabase::isOpenBesidesMainThreadCallbacks):
(WebCore::IconDatabase::databasePath):
(WebCore::IconDatabase::getOrCreatePageURLRecord):
(WebCore::IconDatabase::iconDatabaseSyncThread):
(WebCore::IconDatabase::performOpenInitialization):
(WebCore::IconDatabase::performURLImport):
(WebCore::IconDatabase::syncThreadMainLoop):
(WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
(WebCore::IconDatabase::readFromDatabase):
(WebCore::IconDatabase::writeToDatabase):
(WebCore::IconDatabase::pruneUnretainedIcons):
(WebCore::IconDatabase::cleanupSyncThread):
* loader/icon/IconDatabase.h:
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::shouldHandleWheelEventSynchronously):
(WebCore::ScrollingTree::commitNewTreeState):
(WebCore::ScrollingTree::setMainFramePinState):
(WebCore::ScrollingTree::mainFrameScrollPosition):
(WebCore::ScrollingTree::setMainFrameScrollPosition):
(WebCore::ScrollingTree::isPointInNonFastScrollableRegion):
(WebCore::ScrollingTree::isRubberBandInProgress):
(WebCore::ScrollingTree::setMainFrameIsRubberBanding):
(WebCore::ScrollingTree::isScrollSnapInProgress):
(WebCore::ScrollingTree::setMainFrameIsScrollSnapping):
(WebCore::ScrollingTree::setCanRubberBandState):
(WebCore::ScrollingTree::rubberBandsAtLeft):
(WebCore::ScrollingTree::rubberBandsAtRight):
(WebCore::ScrollingTree::rubberBandsAtBottom):
(WebCore::ScrollingTree::rubberBandsAtTop):
(WebCore::ScrollingTree::setScrollPinningBehavior):
(WebCore::ScrollingTree::scrollPinningBehavior):
(WebCore::ScrollingTree::willWheelEventStartSwipeGesture):
(WebCore::ScrollingTree::latchedNode):
(WebCore::ScrollingTree::setLatchedNode):
(WebCore::ScrollingTree::clearLatchedNode):
* page/scrolling/ScrollingTree.h:
* platform/MemoryPressureHandler.h:
* platform/audio/HRTFDatabaseLoader.cpp:
(WebCore::HRTFDatabaseLoader::loadAsynchronously):
(WebCore::HRTFDatabaseLoader::waitForLoaderThreadCompletion):
* platform/audio/HRTFDatabaseLoader.h:
* platform/cocoa/MemoryPressureHandlerCocoa.mm:
(WebCore::MemoryPressureHandler::setReceivedMemoryPressure):
(WebCore::MemoryPressureHandler::clearMemoryPressure):
(WebCore::MemoryPressureHandler::shouldWaitForMemoryClearMessage):
(WebCore::MemoryPressureHandler::respondToMemoryPressureIfNeeded):
* platform/graphics/DisplayRefreshMonitor.cpp:
(WebCore::DisplayRefreshMonitor::displayDidRefresh):
* platform/graphics/DisplayRefreshMonitor.h:
(WebCore::DisplayRefreshMonitor::setMonotonicAnimationStartTime):
(WebCore::DisplayRefreshMonitor::mutex):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::setDelayCallbacks):
(WebCore::MediaPlayerPrivateAVFoundation::clearMainThreadPendingFlag):
(WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::AVFWrapper::callbackContext):
(WebCore::AVFWrapper::~AVFWrapper):
(WebCore::AVFWrapper::mapLock):
(WebCore::AVFWrapper::addToMap):
(WebCore::AVFWrapper::removeFromMap):
(WebCore::AVFWrapper::periodicTimeObserverCallback):
(WebCore::AVFWrapper::processNotification):
(WebCore::AVFWrapper::loadPlayableCompletionCallback):
(WebCore::AVFWrapper::loadMetadataCompletionCallback):
(WebCore::AVFWrapper::seekCompletedCallback):
(WebCore::AVFWrapper::processCue):
(WebCore::AVFWrapper::legibleOutputCallback):
(WebCore::AVFWrapper::processShouldWaitForLoadingOfResource):
(WebCore::AVFWrapper::resourceLoaderShouldWaitForLoadingOfRequestedResource):
* platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:
(WebCore::InbandTextTrackPrivateGStreamer::handleSample):
(WebCore::InbandTextTrackPrivateGStreamer::notifyTrackOfSample):
* platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
(WebCore::TrackPrivateBaseGStreamer::tagsChanged):
(WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged):
* platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
* platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
(WebCore::DisplayRefreshMonitorMac::requestRefreshCallback):
(WebCore::DisplayRefreshMonitorMac::displayLinkFired):
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::addListener):
(WebCore::MediaPlayerPrivateMediaFoundation::removeListener):
(WebCore::MediaPlayerPrivateMediaFoundation::notifyDeleted):
(WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback::Invoke):
(WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback::onMediaPlayerDeleted):
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
* platform/ios/LegacyTileCache.h:
* platform/ios/LegacyTileCache.mm:
(WebCore::LegacyTileCache::setTilesOpaque):
(WebCore::LegacyTileCache::doLayoutTiles):
(WebCore::LegacyTileCache::setCurrentScale):
(WebCore::LegacyTileCache::commitScaleChange):
(WebCore::LegacyTileCache::layoutTilesNow):
(WebCore::LegacyTileCache::layoutTilesNowForRect):
(WebCore::LegacyTileCache::removeAllNonVisibleTiles):
(WebCore::LegacyTileCache::removeAllTiles):
(WebCore::LegacyTileCache::removeForegroundTiles):
(WebCore::LegacyTileCache::setContentReplacementImage):
(WebCore::LegacyTileCache::contentReplacementImage):
(WebCore::LegacyTileCache::tileCreationTimerFired):
(WebCore::LegacyTileCache::setNeedsDisplayInRect):
(WebCore::LegacyTileCache::updateTilingMode):
(WebCore::LegacyTileCache::setTilingMode):
(WebCore::LegacyTileCache::doPendingRepaints):
(WebCore::LegacyTileCache::flushSavedDisplayRects):
(WebCore::LegacyTileCache::prepareToDraw):
* platform/ios/LegacyTileLayerPool.h:
* platform/ios/LegacyTileLayerPool.mm:
(WebCore::LegacyTileLayerPool::addLayer):
(WebCore::LegacyTileLayerPool::takeLayerWithSize):
(WebCore::LegacyTileLayerPool::setCapacity):
(WebCore::LegacyTileLayerPool::prune):
(WebCore::LegacyTileLayerPool::drain):
* platform/network/curl/CurlDownload.cpp:
(WebCore::CurlDownloadManager::add):
(WebCore::CurlDownloadManager::remove):
(WebCore::CurlDownloadManager::getActiveDownloadCount):
(WebCore::CurlDownloadManager::getPendingDownloadCount):
(WebCore::CurlDownloadManager::stopThreadIfIdle):
(WebCore::CurlDownloadManager::updateHandleList):
(WebCore::CurlDownload::~CurlDownload):
(WebCore::CurlDownload::init):
(WebCore::CurlDownload::getTempPath):
(WebCore::CurlDownload::getUrl):
(WebCore::CurlDownload::getResponse):
(WebCore::CurlDownload::closeFile):
(WebCore::CurlDownload::didReceiveHeader):
(WebCore::CurlDownload::didReceiveData):
(WebCore::CurlDownload::didFail):
* platform/network/curl/CurlDownload.h:
* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::cookieJarPath):
(WebCore::sharedResourceMutex):
(WebCore::curl_lock_callback):
(WebCore::curl_unlock_callback):
* platform/network/ios/QuickLook.mm:
(WebCore::QLDirectoryAttributes):
(qlPreviewConverterDictionaryMutex):
(WebCore::addQLPreviewConverterWithFileForURL):
(WebCore::qlPreviewConverterUTIForURL):
(WebCore::removeQLPreviewConverterForURL):
(WebCore::safeQLURLForDocumentURLAndResourceURL):
* platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::close):
(WebCore::SQLiteDatabase::maximumSize):
(WebCore::SQLiteDatabase::setMaximumSize):
(WebCore::SQLiteDatabase::pageSize):
(WebCore::SQLiteDatabase::freeSpaceSize):
(WebCore::SQLiteDatabase::totalSize):
(WebCore::SQLiteDatabase::runIncrementalVacuumCommand):
(WebCore::SQLiteDatabase::setAuthorizer):
* platform/sql/SQLiteDatabase.h:
(WebCore::SQLiteDatabase::databaseMutex):
* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare):
(WebCore::SQLiteStatement::step):
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::start):
(WebCore::WorkerThread::workerThread):
(WebCore::WorkerThread::stop):
* workers/WorkerThread.h:

Source/WebKit:

* Storage/StorageAreaSync.cpp:
(WebCore::StorageAreaSync::syncTimerFired):
(WebCore::StorageAreaSync::markImported):
(WebCore::StorageAreaSync::blockUntilImportComplete):
(WebCore::StorageAreaSync::performSync):
* Storage/StorageAreaSync.h:
* Storage/StorageTracker.cpp:
(WebCore::StorageTracker::setDatabaseDirectoryPath):
(WebCore::StorageTracker::finishedImportingOriginIdentifiers):
(WebCore::StorageTracker::syncImportOriginIdentifiers):
(WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
(WebCore::StorageTracker::setOriginDetails):
(WebCore::StorageTracker::syncSetOriginDetails):
(WebCore::StorageTracker::origins):
(WebCore::StorageTracker::deleteAllOrigins):
(WebCore::StorageTracker::syncDeleteAllOrigins):
(WebCore::StorageTracker::deleteOrigin):
(WebCore::StorageTracker::syncDeleteOrigin):
(WebCore::StorageTracker::canDeleteOrigin):
(WebCore::StorageTracker::cancelDeletingOrigin):
(WebCore::StorageTracker::diskUsageForOrigin):
* Storage/StorageTracker.h:

Source/WebKit/ios:

* WebCoreSupport/WebFixedPositionContent.mm:
(WebFixedPositionContentDataLock):
(-[WebFixedPositionContent scrollOrZoomChanged:]):
(-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
(-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
(-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
(-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):

Source/WebKit/mac:

* Storage/WebDatabaseManager.mm:
(transactionBackgroundTaskIdentifierLock):
(+[WebDatabaseManager startBackgroundTask]):
(+[WebDatabaseManager endBackgroundTask]):
* WebView/WebView.mm:
(-[WebView _synchronizeCustomFixedPositionLayoutRect]):
(-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
(-[WebView _setCustomFixedPositionLayoutRect:]):
(-[WebView _fetchCustomFixedPositionLayoutRect:]):
* WebView/WebViewData.h:

Source/WebKit/win:

* Plugins/PluginMainThreadScheduler.cpp:
(WebCore::PluginMainThreadScheduler::scheduleCall):
(WebCore::PluginMainThreadScheduler::registerPlugin):
(WebCore::PluginMainThreadScheduler::unregisterPlugin):
(WebCore::PluginMainThreadScheduler::dispatchCallsForPlugin):
* Plugins/PluginMainThreadScheduler.h:
* WebIconDatabase.cpp:
(WebIconDatabase::didRemoveAllIcons):
(WebIconDatabase::didImportIconURLForPageURL):
(WebIconDatabase::deliverNotifications):
* WebLocalizableStrings.cpp:
(mainBundleLocStrings):
(frameworkLocStringsMutex):
(findCachedString):
(cacheString):

Source/WebKit2:

* DatabaseProcess/DatabaseProcess.cpp:
(WebKit::DatabaseProcess::postDatabaseTask):
(WebKit::DatabaseProcess::performNextDatabaseTask):
* DatabaseProcess/DatabaseProcess.h:
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::shutdown):
(WebKit::UniqueIDBDatabase::postMainThreadTask):
(WebKit::UniqueIDBDatabase::performNextMainThreadTask):
(WebKit::UniqueIDBDatabase::postDatabaseTask):
(WebKit::UniqueIDBDatabase::performNextDatabaseTask):
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
* Platform/IPC/Connection.cpp:
(IPC::Connection::sendSyncMessage):
(IPC::Connection::sendSyncMessageFromSecondaryThread):
(IPC::Connection::waitForSyncReply):
(IPC::Connection::processIncomingSyncReply):
(IPC::Connection::connectionDidClose):
* Platform/IPC/Connection.h:
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::appendUpdate):
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h:
* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::createCompositingThread):
(WebKit::ThreadedCompositor::runCompositingThread):
(WebKit::ThreadedCompositor::terminateCompositingThread):
* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h:
* Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm:
(WebKit::CustomProtocolManager::addCustomProtocol):
(WebKit::CustomProtocolManager::removeCustomProtocol):
(WebKit::CustomProtocolManager::registerScheme):
(WebKit::CustomProtocolManager::unregisterScheme):
(WebKit::CustomProtocolManager::supportsScheme):
(WebKit::CustomProtocolManager::protocolForID):
* Shared/Network/CustomProtocols/CustomProtocolManager.h:
* Shared/linux/SeccompFilters/SeccompBroker.cpp:
* WebProcess/Plugins/PluginProcessConnectionManager.cpp:
(WebKit::PluginProcessConnectionManager::getPluginProcessConnection):
(WebKit::PluginProcessConnectionManager::removePluginProcessConnection):
(WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
* WebProcess/Plugins/PluginProcessConnectionManager.h:
* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::addScrollingTreeForPage):
(WebKit::EventDispatcher::removeScrollingTreeForPage):
(WebKit::EventDispatcher::wheelEvent):
* WebProcess/WebPage/EventDispatcher.h:
* WebProcess/soup/WebKitSoupRequestInputStream.cpp:
(webkitSoupRequestInputStreamReadAsync):
(webkitSoupRequestInputStreamAddData):

Source/WTF:

* wtf/Atomics.cpp:
(WTF::getSwapLock):
(WTF::atomicStep):
* wtf/MessageQueue.h:
(WTF::MessageQueue::infiniteTime):
(WTF::MessageQueue<DataType>::append):
(WTF::MessageQueue<DataType>::appendAndKill):
(WTF::MessageQueue<DataType>::appendAndCheckEmpty):
(WTF::MessageQueue<DataType>::prepend):
(WTF::MessageQueue<DataType>::removeIf):
(WTF::MessageQueue<DataType>::isEmpty):
(WTF::MessageQueue<DataType>::kill):
(WTF::MessageQueue<DataType>::killed):
* wtf/ParallelJobsGeneric.cpp:
(WTF::ParallelEnvironment::ThreadPrivate::execute):
(WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
(WTF::ParallelEnvironment::ThreadPrivate::workerThread):
* wtf/ParallelJobsGeneric.h:
* wtf/RunLoop.cpp:
(WTF::RunLoop::performWork):
(WTF::RunLoop::dispatch):
* wtf/RunLoop.h:
* wtf/ThreadSpecificWin.cpp:
(WTF::destructorsList):
(WTF::destructorsMutex):
(WTF::threadSpecificKeyCreate):
(WTF::threadSpecificKeyDelete):
(WTF::ThreadSpecificThreadExit):
* wtf/Threading.cpp:
(WTF::threadEntryPoint):
(WTF::createThread):
* wtf/ThreadingPrimitives.h:
* wtf/ThreadingPthreads.cpp:
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::identifierByPthreadHandle):
(WTF::establishIdentifierForPthreadHandle):
(WTF::changeThreadPriority):
(WTF::waitForThreadCompletion):
(WTF::detachThread):
(WTF::threadDidExit):
(WTF::currentThread):
(WTF::Mutex::Mutex):
(WTF::Mutex::~Mutex):
(WTF::Mutex::lock):
(WTF::Mutex::tryLock):
(WTF::Mutex::unlock):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::DeprecatedMutex::DeprecatedMutex): Deleted.
(WTF::DeprecatedMutex::~DeprecatedMutex): Deleted.
(WTF::DeprecatedMutex::lock): Deleted.
(WTF::DeprecatedMutex::tryLock): Deleted.
(WTF::DeprecatedMutex::unlock): Deleted.
* wtf/ThreadingWin.cpp:
(WTF::initializeCurrentThreadInternal):
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::storeThreadHandleByIdentifier):
(WTF::threadHandleForIdentifier):
(WTF::clearThreadHandleForIdentifier):
(WTF::currentThread):
(WTF::Mutex::Mutex):
(WTF::Mutex::~Mutex):
(WTF::Mutex::lock):
(WTF::Mutex::tryLock):
(WTF::Mutex::unlock):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::DeprecatedMutex::DeprecatedMutex): Deleted.
(WTF::DeprecatedMutex::~DeprecatedMutex): Deleted.
(WTF::DeprecatedMutex::lock): Deleted.
(WTF::DeprecatedMutex::tryLock): Deleted.
(WTF::DeprecatedMutex::unlock): Deleted.
* wtf/WorkQueue.h:
* wtf/dtoa.cpp:
* wtf/dtoa.h:
* wtf/efl/DispatchQueueEfl.cpp:
(DispatchQueue::dispatch):
(DispatchQueue::performWork):
(DispatchQueue::performTimerWork):
(DispatchQueue::insertTimerWorkItem):
(DispatchQueue::wakeUpThread):
(DispatchQueue::getNextTimeOut):
* wtf/efl/DispatchQueueEfl.h:
* wtf/efl/RunLoopEfl.cpp:
(WTF::RunLoop::wakeUpEvent):
(WTF::RunLoop::wakeUp):
* wtf/threads/BinarySemaphore.cpp:
(WTF::BinarySemaphore::signal):
(WTF::BinarySemaphore::wait):
* wtf/threads/BinarySemaphore.h:
* wtf/win/WorkQueueWin.cpp:
(WTF::WorkQueue::handleCallback):
(WTF::WorkQueue::platformInvalidate):
(WTF::WorkQueue::dispatch):
(WTF::WorkQueue::timerCallback):
(WTF::WorkQueue::dispatchAfter):

Tools:

* DumpRenderTree/JavaScriptThreading.cpp:
(javaScriptThreadsMutex):
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
* TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
(TestWebKitAPI::TEST):

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

4 years agoMove more functions from DatabaseBackendBase to Database
andersca@apple.com [Wed, 5 Aug 2015 23:23:30 +0000 (23:23 +0000)]
Move more functions from DatabaseBackendBase to Database
https://bugs.webkit.org/show_bug.cgi?id=147705

Reviewed by Tim Horton.

* Modules/webdatabase/Database.cpp:
(WebCore::guidMutex):
(WebCore::guidToVersionMap):
(WebCore::updateGuidVersionMap):
(WebCore::guidToDatabaseMap):
(WebCore::guidForOriginAndName):
(WebCore::Database::Database):
(WebCore::DoneCreatingDatabaseOnExitCaller::DoneCreatingDatabaseOnExitCaller):
(WebCore::DoneCreatingDatabaseOnExitCaller::~DoneCreatingDatabaseOnExitCaller):
(WebCore::DoneCreatingDatabaseOnExitCaller::setOpenSucceeded):
(WebCore::Database::performOpenAndVerify):
(WebCore::Database::closeDatabase):
(WebCore::Database::getCachedVersion):
(WebCore::Database::setCachedVersion):
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::version):
(WebCore::formatErrorMessage): Deleted.
(WebCore::guidMutex): Deleted.
(WebCore::guidToVersionMap): Deleted.
(WebCore::updateGuidVersionMap): Deleted.
(WebCore::guidToDatabaseMap): Deleted.
(WebCore::guidForOriginAndName): Deleted.
(WebCore::DatabaseBackendBase::DatabaseBackendBase): Deleted.
(WebCore::DatabaseBackendBase::closeDatabase): Deleted.
(WebCore::DoneCreatingDatabaseOnExitCaller::DoneCreatingDatabaseOnExitCaller): Deleted.
(WebCore::DoneCreatingDatabaseOnExitCaller::~DoneCreatingDatabaseOnExitCaller): Deleted.
(WebCore::DoneCreatingDatabaseOnExitCaller::setOpenSucceeded): Deleted.
(WebCore::DatabaseBackendBase::performOpenAndVerify): Deleted.
(WebCore::DatabaseBackendBase::getCachedVersion): Deleted.
(WebCore::DatabaseBackendBase::setCachedVersion): Deleted.
* Modules/webdatabase/DatabaseBackendBase.h:

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

4 years agoMove more functions from DatabaseBackendBase to Database
andersca@apple.com [Wed, 5 Aug 2015 23:17:18 +0000 (23:17 +0000)]
Move more functions from DatabaseBackendBase to Database
https://bugs.webkit.org/show_bug.cgi?id=147703

Reviewed by Tim Horton.

* Modules/webdatabase/Database.cpp:
(WebCore::fullyQualifiedInfoTableName):
(WebCore::setTextValueInDatabase):
(WebCore::retrieveTextResultFromDatabase):
(WebCore::Database::getVersionFromDatabase):
(WebCore::Database::setVersionInDatabase):
(WebCore::Database::performGetTableNames):
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::performOpenAndVerify):
(WebCore::DatabaseBackendBase::getActualVersionForTransaction):
(WebCore::DatabaseBackendBase::databaseInfoTableName): Deleted.
(WebCore::fullyQualifiedInfoTableName): Deleted.
(WebCore::retrieveTextResultFromDatabase): Deleted.
(WebCore::setTextValueInDatabase): Deleted.
(WebCore::DatabaseBackendBase::getVersionFromDatabase): Deleted.
(WebCore::DatabaseBackendBase::setVersionInDatabase): Deleted.
* Modules/webdatabase/DatabaseBackendBase.h:

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

4 years agoBuild DumpRenderTree with CMake.
achristensen@apple.com [Wed, 5 Aug 2015 23:02:25 +0000 (23:02 +0000)]
Build DumpRenderTree with CMake.
https://bugs.webkit.org/show_bug.cgi?id=147519

Reviewed by Brent Fulgham.

Source/WebCore:

* CMakeLists.txt:
WebCoreTestSupport is a static library and should not be linked with WebCore.

Source/WebKit:

* CMakeLists.txt:
* PlatformMac.cmake:
* PlatformWin.cmake:
Make the libraries WebKit links with private, which means that CMake will not make everything
that links with WebKit link with everything WebKit links with.

Source/WebKit/win:

* WebView.cpp:
Include JSScriptProfile.h to export toJS(ExecState*, JSDomGlobalObject*, JSC::Profile*) from WebKit.dll.

Tools:

* CMakeLists.txt:
Build the DumpRenderTree directory now that it builds successfully.
* DumpRenderTree/CMakeLists.txt:
Added missing source file and don't link with WebCore.lib.
* DumpRenderTree/PlatformWin.cmake:
Added sources to DumpRenderTreeLib and made DumpRenderTree only build DLLLauncherMain.cpp.
* WinLauncher/CMakeLists.txt:
We need libcmt now that we are not linking with WebCore.lib.

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

4 years agoMove some more DatabaseBackendBase functions to Database
andersca@apple.com [Wed, 5 Aug 2015 22:58:52 +0000 (22:58 +0000)]
Move some more DatabaseBackendBase functions to Database
https://bugs.webkit.org/show_bug.cgi?id=147702

Reviewed by Tim Horton.

* Modules/webdatabase/Database.cpp:
(WebCore::formatErrorMessage):
(WebCore::Database::disableAuthorizer):
(WebCore::Database::enableAuthorizer):
(WebCore::Database::setAuthorizerPermissions):
(WebCore::Database::lastActionChangedDatabase):
(WebCore::Database::lastActionWasInsert):
(WebCore::Database::resetDeletes):
(WebCore::Database::hadDeletes):
(WebCore::Database::resetAuthorizer):
(WebCore::Database::incrementalVacuumIfNeeded):
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::disableAuthorizer): Deleted.
(WebCore::DatabaseBackendBase::enableAuthorizer): Deleted.
(WebCore::DatabaseBackendBase::setAuthorizerPermissions): Deleted.
(WebCore::DatabaseBackendBase::lastActionChangedDatabase): Deleted.
(WebCore::DatabaseBackendBase::lastActionWasInsert): Deleted.
(WebCore::DatabaseBackendBase::resetDeletes): Deleted.
(WebCore::DatabaseBackendBase::hadDeletes): Deleted.
(WebCore::DatabaseBackendBase::resetAuthorizer): Deleted.
(WebCore::DatabaseBackendBase::incrementalVacuumIfNeeded): Deleted.
* Modules/webdatabase/DatabaseBackendBase.h:

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

4 years agoAdd a second font-fallback performance test
mmaxfield@apple.com [Wed, 5 Aug 2015 22:57:52 +0000 (22:57 +0000)]
Add a second font-fallback performance test
https://bugs.webkit.org/show_bug.cgi?id=147692

Reviewed by Ryosuke Niwa.

This test is smaller, but has more realistic content. Also, it uses the "lang" attribute.

* Layout/font-fallback-2.html: Added.
* Layout/resources/font-fallback-2.html: Added.

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

4 years ago[Frame flattening] Return early when child RenderView is not available.
zalan@apple.com [Wed, 5 Aug 2015 22:39:09 +0000 (22:39 +0000)]
[Frame flattening] Return early when child RenderView is not available.
https://bugs.webkit.org/show_bug.cgi?id=147697

Reviewed by Simon Fraser.

No change in functionality.

* rendering/RenderFrameBase.cpp:
(WebCore::RenderFrameBase::peformLayoutWithFlattening):

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

4 years agoRemove more dead database code
andersca@apple.com [Wed, 5 Aug 2015 22:33:34 +0000 (22:33 +0000)]
Remove more dead database code
https://bugs.webkit.org/show_bug.cgi?id=147698

Reviewed by Tim Horton.

* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::interrupt): Deleted.
(WebCore::DatabaseBackendBase::isInterrupted): Deleted.
* Modules/webdatabase/DatabaseBackendBase.h:
* Modules/webdatabase/SQLStatementBackend.cpp:
(WebCore::SQLStatementBackend::execute):
* Modules/webdatabase/SQLTransaction.cpp:
(WebCore::SQLTransaction::computeNextStateAndCleanupIfNeeded):
* Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::computeNextStateAndCleanupIfNeeded):
* platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::setFullsync):
(WebCore::SQLiteDatabase::SQLiteDatabase): Deleted.
(WebCore::SQLiteDatabase::interrupt): Deleted.
(WebCore::SQLiteDatabase::isInterrupted): Deleted.
* platform/sql/SQLiteDatabase.h:
* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare): Deleted.
(WebCore::SQLiteStatement::step): Deleted.

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

4 years agoFix Windows build.
simon.fraser@apple.com [Wed, 5 Aug 2015 22:20:06 +0000 (22:20 +0000)]
Fix Windows build.

* WebIconDatabase.h:

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

4 years agoBytecodegenerator emits crappy code for returns in a lexical scope.
saambarati1@gmail.com [Wed, 5 Aug 2015 21:45:20 +0000 (21:45 +0000)]
Bytecodegenerator emits crappy code for returns in a lexical scope.
https://bugs.webkit.org/show_bug.cgi?id=147688

Reviewed by Mark Lam.

When returning, we only need to emit complex pop scopes if we're in
a finally block. Otherwise, we can just return like normal. This saves
us from inefficiently emitting unnecessary pop scopes.

* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::isInFinallyBlock):
(JSC::BytecodeGenerator::hasFinaliser): Deleted.
* bytecompiler/NodesCodegen.cpp:
(JSC::ReturnNode::emitBytecode):

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

4 years agoMove platform/ios-simulator/ios/fast/events/touch tests to fast/events/touch
simon.fraser@apple.com [Wed, 5 Aug 2015 21:45:08 +0000 (21:45 +0000)]
Move platform/ios-simulator/ios/fast/events/touch tests to fast/events/touch

* fast/events/touch/document-create-touch-list-ios-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/document-create-touch-list-ios-expected.txt.
* fast/events/touch/document-create-touch-list-ios.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/document-create-touch-list-ios.html.
* fast/events/touch/gesture-event-basic-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/gesture-event-basic-expected.txt.
* fast/events/touch/gesture-event-basic.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/gesture-event-basic.html.
* fast/events/touch/input-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/input-touch-target.html.
* fast/events/touch/inserted-fragment-touch-target-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/inserted-fragment-touch-target-expected.txt.
* fast/events/touch/inserted-fragment-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/inserted-fragment-touch-target.html.
* fast/events/touch/moved-touch-target-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/moved-touch-target-expected.txt.
* fast/events/touch/moved-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/moved-touch-target.html.
* fast/events/touch/multi-touch-some-without-handlers.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/multi-touch-some-without-handlers.html.
* fast/events/touch/ontouchstart-active-selector.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/ontouchstart-active-selector.html.
* fast/events/touch/removed-fragment-touch-target-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/removed-fragment-touch-target-expected.txt.
* fast/events/touch/removed-fragment-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/removed-fragment-touch-target.html.
* fast/events/touch/removed-touch-target-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/removed-touch-target-expected.txt.
* fast/events/touch/removed-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/removed-touch-target.html.
* fast/events/touch/resources/misc-touch-helpers.js: Renamed from LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/misc-touch-helpers.js.
* fast/events/touch/script-tests/document-create-touch-list-ios.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/document-create-touch-list-ios.js.
* fast/events/touch/script-tests/input-touch-target.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/input-touch-target.js.
* fast/events/touch/script-tests/multi-touch-some-without-handlers.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/multi-touch-some-without-handlers.js.
* fast/events/touch/script-tests/text-node-touch-target.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/text-node-touch-target.js.
* fast/events/touch/script-tests/textarea-touch-target.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/textarea-touch-target.js.
* fast/events/touch/script-tests/touch-event-frames.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/touch-event-frames.js.
* fast/events/touch/script-tests/touch-event-pageXY.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/touch-event-pageXY.js.
* fast/events/touch/script-tests/zoomed-touch-event-pageXY.js: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/script-tests/zoomed-touch-event-pageXY.js.
* fast/events/touch/text-node-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/text-node-touch-target.html.
* fast/events/touch/textarea-touch-target.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/textarea-touch-target.html.
* fast/events/touch/touch-event-frames-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/touch-event-frames-expected.txt.
* fast/events/touch/touch-event-frames.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/touch-event-frames.html.
* fast/events/touch/touch-event-pageXY-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/touch-event-pageXY-expected.txt.
* fast/events/touch/touch-event-pageXY.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/touch-event-pageXY.html.
* fast/events/touch/touch-scaled-scrolled.html:
* fast/events/touch/zoomed-touch-event-pageXY-expected.txt: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/zoomed-touch-event-pageXY-expected.txt.
* fast/events/touch/zoomed-touch-event-pageXY.html: Renamed from LayoutTests/platform/ios-simulator/ios/fast/events/touch/zoomed-touch-event-pageXY.html.
* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk2/TestExpectations:
* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/ios/fast/events/touch/script-tests/TEMPLATE.html: Removed.
* platform/mac/TestExpectations:

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

4 years agoRemove non-existant tests from iOS TestExpectations files.
simon.fraser@apple.com [Wed, 5 Aug 2015 21:44:58 +0000 (21:44 +0000)]
Remove non-existant tests from iOS TestExpectations files.

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

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

4 years agoUnreviewed, fix Windows.
fpizlo@apple.com [Wed, 5 Aug 2015 21:42:45 +0000 (21:42 +0000)]
Unreviewed, fix Windows.

* wtf/ThreadSpecificWin.cpp:
(WTF::destructorsList):
(WTF::destructorsMutex):
(WTF::threadSpecificKeyCreate):
(WTF::threadSpecificKeyDelete):
(WTF::ThreadSpecificThreadExit):

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

4 years agoFix build.
andersca@apple.com [Wed, 5 Aug 2015 21:38:26 +0000 (21:38 +0000)]
Fix build.

* platform/cf/CoreMediaSoftLink.cpp:
* platform/cf/CoreMediaSoftLink.h:

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

4 years agoWeb Inspector: remove unused Object.deprecatedAddConstructorFunctions
commit-queue@webkit.org [Wed, 5 Aug 2015 21:17:37 +0000 (21:17 +0000)]
Web Inspector: remove unused Object.deprecatedAddConstructorFunctions
https://bugs.webkit.org/show_bug.cgi?id=147690

Patch by Brian Burg <bburg@apple.com> on 2015-08-05
Reviewed by Timothy Hatcher.

This is no longer used following the conversion to ES6 classes.

* UserInterface/Base/Object.js:
(WebInspector.Object.deprecatedAddConstructorFunctions): Deleted.

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

4 years agoFix build.
andersca@apple.com [Wed, 5 Aug 2015 20:44:50 +0000 (20:44 +0000)]
Fix build.

* platform/graphics/mac/FontCacheMac.mm:
(WebCore::lookupCTFont):

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

4 years agoChange openDatabase to return a Database instead of a DatabaseBackendBase
andersca@apple.com [Wed, 5 Aug 2015 20:34:49 +0000 (20:34 +0000)]
Change openDatabase to return a Database instead of a DatabaseBackendBase
https://bugs.webkit.org/show_bug.cgi?id=147691

Reviewed by Tim Horton.

* Modules/webdatabase/AbstractDatabaseServer.h:
* Modules/webdatabase/Database.cpp:
(WebCore::Database::create): Deleted.
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::openDatabaseBackend):
(WebCore::DatabaseManager::openDatabase):
* Modules/webdatabase/DatabaseManager.h:
* Modules/webdatabase/DatabaseServer.cpp:
(WebCore::DatabaseServer::openDatabase):
(WebCore::DatabaseServer::createDatabase):
* Modules/webdatabase/DatabaseServer.h:

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

4 years ago[OS X] Migrate to CTFontCreateForCharactersWithLanguage from [NSFont findFontLike...
mmaxfield@apple.com [Wed, 5 Aug 2015 20:07:37 +0000 (20:07 +0000)]
[OS X] Migrate to CTFontCreateForCharactersWithLanguage from [NSFont findFontLike:forString:withRange:inLanguage]
https://bugs.webkit.org/show_bug.cgi?id=147483

Reviewed by Dean Jackson.

[NSFont findFontLike:forString:withRange:inLanguage] doesn't properly handle its last argument. In
addition, we want to be moving away from NSFont in the first place and on to Core Text. This new
CoreText function correctly handles its language argument, which is required for language-specific
font fallback.

This patch rolls r187707 back in which was rolled out in r187802 due to test flakiness. This patch
fixes the flakiness.

No new tests because there is no behavior change.

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::purgeInactiveFontData):
* platform/graphics/FontCache.h:
(WebCore::FontCache::platformPurgeInactiveFontData):
* platform/graphics/mac/FontCacheMac.mm:
(WebCore::fallbackDedupSet):
(WebCore::FontCache::platformPurgeInactiveFontData):
(WebCore::lookupCTFont):
(WebCore::FontCache::systemFallbackForCharacters):
* platform/spi/cocoa/CoreTextSPI.h:
* platform/spi/mac/NSFontSPI.h:

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

4 years agoFix the twitter links on the status page
benjamin@webkit.org [Wed, 5 Aug 2015 20:04:07 +0000 (20:04 +0000)]
Fix the twitter links on the status page

* status.html:

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

4 years agoAdd the Intl API to the status page
benjamin@webkit.org [Wed, 5 Aug 2015 19:57:13 +0000 (19:57 +0000)]
Add the Intl API to the status page

* features.json:
Andy VanWagoner landed the skeleton of the API and it is
enabled by default.

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

4 years agoAppScale: Use https URLs for subresources and links
ap@apple.com [Wed, 5 Aug 2015 19:54:12 +0000 (19:54 +0000)]
AppScale: Use https URLs for subresources and links
https://bugs.webkit.org/show_bug.cgi?id=147686

Reviewed by Ryosuke Niwa.

* QueueStatusServer/filters/webkit_extras.py:
* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/flakiness_dashboard.js:
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
* TestResultServer/static-dashboards/treemap.js:
* TestResultServer/static-dashboards/ui.js:

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

4 years agoGet rid of DatabaseBackend as another step towards merging Database and DatabaseBacke...
andersca@apple.com [Wed, 5 Aug 2015 19:31:35 +0000 (19:31 +0000)]
Get rid of DatabaseBackend as another step towards merging Database and DatabaseBackendBase
https://bugs.webkit.org/show_bug.cgi?id=147687

Reviewed by Tim Horton.

* CMakeLists.txt:
* Modules/webdatabase/ChangeVersionWrapper.cpp:
(WebCore::ChangeVersionWrapper::performPreflight):
(WebCore::ChangeVersionWrapper::performPostflight):
* Modules/webdatabase/Database.cpp:
(WebCore::Database::Database):
(WebCore::Database::close):
(WebCore::Database::from): Deleted.
(WebCore::Database::backend): Deleted.
* Modules/webdatabase/Database.h:
* Modules/webdatabase/DatabaseBackend.cpp: Removed.
(WebCore::DatabaseBackend::DatabaseBackend): Deleted.
* Modules/webdatabase/DatabaseBackend.h: Removed.
* Modules/webdatabase/DatabaseManager.cpp:
* Modules/webdatabase/DatabaseServer.cpp:
* Modules/webdatabase/DatabaseTask.cpp:
(WebCore::DatabaseTask::DatabaseTask):
(WebCore::DatabaseOpenTask::DatabaseOpenTask):
(WebCore::DatabaseOpenTask::doPerformTask):
(WebCore::DatabaseOpenTask::debugTaskName):
(WebCore::DatabaseCloseTask::DatabaseCloseTask):
(WebCore::DatabaseCloseTask::doPerformTask):
(WebCore::DatabaseCloseTask::debugTaskName):
(WebCore::DatabaseTransactionTask::DatabaseTransactionTask):
(WebCore::DatabaseTransactionTask::~DatabaseTransactionTask):
(WebCore::DatabaseTransactionTask::doPerformTask):
(WebCore::DatabaseTransactionTask::debugTaskName):
(WebCore::DatabaseTableNamesTask::DatabaseTableNamesTask):
(WebCore::DatabaseTableNamesTask::doPerformTask):
(WebCore::DatabaseTableNamesTask::debugTaskName):
(WebCore::DatabaseBackend::DatabaseOpenTask::DatabaseOpenTask): Deleted.
(WebCore::DatabaseBackend::DatabaseOpenTask::doPerformTask): Deleted.
(WebCore::DatabaseBackend::DatabaseOpenTask::debugTaskName): Deleted.
(WebCore::DatabaseBackend::DatabaseCloseTask::DatabaseCloseTask): Deleted.
(WebCore::DatabaseBackend::DatabaseCloseTask::doPerformTask): Deleted.
(WebCore::DatabaseBackend::DatabaseCloseTask::debugTaskName): Deleted.
(WebCore::DatabaseBackend::DatabaseTransactionTask::DatabaseTransactionTask): Deleted.
(WebCore::DatabaseBackend::DatabaseTransactionTask::~DatabaseTransactionTask): Deleted.
(WebCore::DatabaseBackend::DatabaseTransactionTask::doPerformTask): Deleted.
(WebCore::DatabaseBackend::DatabaseTransactionTask::debugTaskName): Deleted.
(WebCore::DatabaseBackend::DatabaseTableNamesTask::DatabaseTableNamesTask): Deleted.
(WebCore::DatabaseBackend::DatabaseTableNamesTask::doPerformTask): Deleted.
(WebCore::DatabaseBackend::DatabaseTableNamesTask::debugTaskName): Deleted.
* Modules/webdatabase/DatabaseTask.h:
(WebCore::DatabaseTask::database):
* Modules/webdatabase/SQLStatementBackend.cpp:
(WebCore::SQLStatementBackend::execute):
* Modules/webdatabase/SQLStatementBackend.h:
* Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::executeSQL):
(WebCore::SQLTransactionBackend::openTransactionAndPreflight):
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:

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

4 years agoWebInspectorProxy should make WKWebView first responder
rniwa@webkit.org [Wed, 5 Aug 2015 19:21:25 +0000 (19:21 +0000)]
WebInspectorProxy should make WKWebView first responder
https://bugs.webkit.org/show_bug.cgi?id=147676

Reviewed by Timothy Hatcher.

Revert r181927 now that WKWebView forwards the first responder role to WKView as needed.

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformBringToFront):
(WebKit::WebInspectorProxy::platformAttach):

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

4 years agoRename Mutex to DeprecatedMutex
fpizlo@apple.com [Wed, 5 Aug 2015 19:20:22 +0000 (19:20 +0000)]
Rename Mutex to DeprecatedMutex
https://bugs.webkit.org/show_bug.cgi?id=147675

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

* bytecode/SamplingTool.cpp:
(JSC::SamplingTool::doRun):
(JSC::SamplingTool::notifyOfScope):
* bytecode/SamplingTool.h:
* dfg/DFGThreadData.h:
* dfg/DFGWorklist.cpp:
(JSC::DFG::Worklist::~Worklist):
(JSC::DFG::Worklist::isActiveForVM):
(JSC::DFG::Worklist::enqueue):
(JSC::DFG::Worklist::compilationState):
(JSC::DFG::Worklist::waitUntilAllPlansForVMAreReady):
(JSC::DFG::Worklist::removeAllReadyPlansForVM):
(JSC::DFG::Worklist::completeAllReadyPlansForVM):
(JSC::DFG::Worklist::visitWeakReferences):
(JSC::DFG::Worklist::removeDeadPlans):
(JSC::DFG::Worklist::queueLength):
(JSC::DFG::Worklist::dump):
(JSC::DFG::Worklist::runThread):
* dfg/DFGWorklist.h:
* disassembler/Disassembler.cpp:
* heap/CopiedSpace.cpp:
(JSC::CopiedSpace::doneFillingBlock):
(JSC::CopiedSpace::doneCopying):
* heap/CopiedSpace.h:
* heap/CopiedSpaceInlines.h:
(JSC::CopiedSpace::recycleBorrowedBlock):
(JSC::CopiedSpace::allocateBlockForCopyingPhase):
* heap/HeapTimer.h:
* heap/MachineStackMarker.cpp:
(JSC::ActiveMachineThreadsManager::Locker::Locker):
(JSC::ActiveMachineThreadsManager::add):
(JSC::ActiveMachineThreadsManager::remove):
(JSC::ActiveMachineThreadsManager::ActiveMachineThreadsManager):
(JSC::MachineThreads::~MachineThreads):
(JSC::MachineThreads::addCurrentThread):
(JSC::MachineThreads::removeThreadIfFound):
(JSC::MachineThreads::tryCopyOtherThreadStack):
(JSC::MachineThreads::tryCopyOtherThreadStacks):
(JSC::MachineThreads::gatherConservativeRoots):
* heap/MachineStackMarker.h:
* interpreter/JSStack.cpp:
(JSC::stackStatisticsMutex):
(JSC::JSStack::addToCommittedByteCount):
(JSC::JSStack::committedByteCount):
* jit/JITThunks.h:
* profiler/ProfilerDatabase.h:

Source/WebCore:

No new tests because this is just a renaming.

* Modules/webaudio/AsyncAudioDecoder.cpp:
(WebCore::AsyncAudioDecoder::AsyncAudioDecoder):
(WebCore::AsyncAudioDecoder::runLoop):
* Modules/webaudio/AsyncAudioDecoder.h:
* Modules/webaudio/AudioContext.h:
* Modules/webaudio/MediaStreamAudioSource.cpp:
(WebCore::MediaStreamAudioSource::addAudioConsumer):
(WebCore::MediaStreamAudioSource::removeAudioConsumer):
(WebCore::MediaStreamAudioSource::setAudioFormat):
(WebCore::MediaStreamAudioSource::consumeAudio):
* Modules/webaudio/MediaStreamAudioSource.h:
* Modules/webdatabase/Database.cpp:
(WebCore::Database::close):
(WebCore::Database::runTransaction):
(WebCore::Database::inProgressTransactionCompleted):
(WebCore::Database::hasPendingTransaction):
* Modules/webdatabase/DatabaseBackend.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
(WebCore::DatabaseBackendBase::performOpenAndVerify):
(WebCore::DatabaseBackendBase::isInterrupted):
* Modules/webdatabase/DatabaseContext.cpp:
(WebCore::DatabaseContext::databaseThread):
(WebCore::DatabaseContext::setPaused):
* Modules/webdatabase/DatabaseContext.h:
* Modules/webdatabase/DatabaseTask.h:
* Modules/webdatabase/DatabaseThread.cpp:
(WebCore::DatabaseThread::start):
(WebCore::DatabaseThread::setPaused):
(WebCore::DatabaseThread::handlePausedQueue):
(WebCore::DatabaseThread::databaseThread):
* Modules/webdatabase/DatabaseThread.h:
* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::setDatabaseDirectoryPath):
(WebCore::DatabaseTracker::canEstablishDatabase):
(WebCore::DatabaseTracker::retryCanEstablishDatabase):
(WebCore::DatabaseTracker::hasEntryForOrigin):
(WebCore::DatabaseTracker::getMaxSizeForDatabase):
(WebCore::DatabaseTracker::closeAllDatabases):
(WebCore::DatabaseTracker::interruptAllDatabasesForContext):
(WebCore::DatabaseTracker::fullPathForDatabase):
(WebCore::DatabaseTracker::origins):
(WebCore::DatabaseTracker::databaseNamesForOrigin):
(WebCore::DatabaseTracker::detailsForNameAndOrigin):
(WebCore::DatabaseTracker::setDatabaseDetails):
(WebCore::DatabaseTracker::doneCreatingDatabase):
(WebCore::DatabaseTracker::addOpenDatabase):
(WebCore::DatabaseTracker::removeOpenDatabase):
(WebCore::DatabaseTracker::getOpenDatabases):
(WebCore::DatabaseTracker::originLockFor):
(WebCore::DatabaseTracker::quotaForOrigin):
(WebCore::DatabaseTracker::setQuota):
(WebCore::DatabaseTracker::deleteOrigin):
(WebCore::DatabaseTracker::deleteDatabase):
(WebCore::DatabaseTracker::deleteDatabaseFile):
(WebCore::DatabaseTracker::removeDeletedOpenedDatabases):
(WebCore::DatabaseTracker::deleteDatabaseFileIfEmpty):
(WebCore::DatabaseTracker::openDatabaseMutex):
(WebCore::DatabaseTracker::setDatabasesPaused):
(WebCore::DatabaseTracker::setClient):
(WebCore::notificationMutex):
(WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged):
(WebCore::DatabaseTracker::notifyDatabasesChanged):
* Modules/webdatabase/DatabaseTracker.h:
* Modules/webdatabase/OriginLock.h:
* Modules/webdatabase/SQLCallbackWrapper.h:
(WebCore::SQLCallbackWrapper::clear):
(WebCore::SQLCallbackWrapper::unwrap):
(WebCore::SQLCallbackWrapper::hasCallback):
* Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::doCleanup):
(WebCore::SQLTransactionBackend::enqueueStatementBackend):
(WebCore::SQLTransactionBackend::getNextStatement):
* Modules/webdatabase/SQLTransactionBackend.h:
* bindings/js/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::scheduleExecutionTermination):
(WebCore::WorkerScriptController::isExecutionTerminating):
* bindings/js/WorkerScriptController.h:
* dom/default/PlatformMessagePortChannel.cpp:
(WebCore::MessagePortChannel::postMessageToRemote):
(WebCore::MessagePortChannel::tryGetMessageFromRemote):
(WebCore::MessagePortChannel::isConnectedTo):
(WebCore::MessagePortChannel::hasPendingActivity):
(WebCore::MessagePortChannel::locallyEntangledPort):
(WebCore::PlatformMessagePortChannel::setRemotePort):
(WebCore::PlatformMessagePortChannel::entangledChannel):
(WebCore::PlatformMessagePortChannel::closeInternal):
* dom/default/PlatformMessagePortChannel.h:
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::removeAllIcons):
(WebCore::IconDatabase::synchronousIconForPageURL):
(WebCore::IconDatabase::synchronousNativeIconForPageURL):
(WebCore::IconDatabase::synchronousIconURLForPageURL):
(WebCore::IconDatabase::retainIconForPageURL):
(WebCore::IconDatabase::performRetainIconForPageURL):
(WebCore::IconDatabase::releaseIconForPageURL):
(WebCore::IconDatabase::performReleaseIconForPageURL):
(WebCore::IconDatabase::setIconDataForIconURL):
(WebCore::IconDatabase::setIconURLForPageURL):
(WebCore::IconDatabase::synchronousLoadDecisionForIconURL):
(WebCore::IconDatabase::synchronousIconDataKnownForIconURL):
(WebCore::IconDatabase::pageURLMappingCount):
(WebCore::IconDatabase::retainedPageURLCount):
(WebCore::IconDatabase::iconRecordCount):
(WebCore::IconDatabase::iconRecordCountWithData):
(WebCore::IconDatabase::wakeSyncThread):
(WebCore::IconDatabase::isOpenBesidesMainThreadCallbacks):
(WebCore::IconDatabase::databasePath):
(WebCore::IconDatabase::getOrCreatePageURLRecord):
(WebCore::IconDatabase::iconDatabaseSyncThread):
(WebCore::IconDatabase::performOpenInitialization):
(WebCore::IconDatabase::performURLImport):
(WebCore::IconDatabase::syncThreadMainLoop):
(WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
(WebCore::IconDatabase::readFromDatabase):
(WebCore::IconDatabase::writeToDatabase):
(WebCore::IconDatabase::pruneUnretainedIcons):
(WebCore::IconDatabase::cleanupSyncThread):
* loader/icon/IconDatabase.h:
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::shouldHandleWheelEventSynchronously):
(WebCore::ScrollingTree::commitNewTreeState):
(WebCore::ScrollingTree::setMainFramePinState):
(WebCore::ScrollingTree::mainFrameScrollPosition):
(WebCore::ScrollingTree::setMainFrameScrollPosition):
(WebCore::ScrollingTree::isPointInNonFastScrollableRegion):
(WebCore::ScrollingTree::isRubberBandInProgress):
(WebCore::ScrollingTree::setMainFrameIsRubberBanding):
(WebCore::ScrollingTree::isScrollSnapInProgress):
(WebCore::ScrollingTree::setMainFrameIsScrollSnapping):
(WebCore::ScrollingTree::setCanRubberBandState):
(WebCore::ScrollingTree::rubberBandsAtLeft):
(WebCore::ScrollingTree::rubberBandsAtRight):
(WebCore::ScrollingTree::rubberBandsAtBottom):
(WebCore::ScrollingTree::rubberBandsAtTop):
(WebCore::ScrollingTree::setScrollPinningBehavior):
(WebCore::ScrollingTree::scrollPinningBehavior):
(WebCore::ScrollingTree::willWheelEventStartSwipeGesture):
(WebCore::ScrollingTree::latchedNode):
(WebCore::ScrollingTree::setLatchedNode):
(WebCore::ScrollingTree::clearLatchedNode):
* page/scrolling/ScrollingTree.h:
* platform/MemoryPressureHandler.h:
* platform/audio/HRTFDatabaseLoader.cpp:
(WebCore::HRTFDatabaseLoader::loadAsynchronously):
(WebCore::HRTFDatabaseLoader::waitForLoaderThreadCompletion):
* platform/audio/HRTFDatabaseLoader.h:
* platform/cocoa/MemoryPressureHandlerCocoa.mm:
(WebCore::MemoryPressureHandler::setReceivedMemoryPressure):
(WebCore::MemoryPressureHandler::clearMemoryPressure):
(WebCore::MemoryPressureHandler::shouldWaitForMemoryClearMessage):
(WebCore::MemoryPressureHandler::respondToMemoryPressureIfNeeded):
* platform/graphics/DisplayRefreshMonitor.cpp:
(WebCore::DisplayRefreshMonitor::displayDidRefresh):
* platform/graphics/DisplayRefreshMonitor.h:
(WebCore::DisplayRefreshMonitor::setMonotonicAnimationStartTime):
(WebCore::DisplayRefreshMonitor::mutex):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::setDelayCallbacks):
(WebCore::MediaPlayerPrivateAVFoundation::clearMainThreadPendingFlag):
(WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::AVFWrapper::callbackContext):
(WebCore::AVFWrapper::~AVFWrapper):
(WebCore::AVFWrapper::mapLock):
(WebCore::AVFWrapper::addToMap):
(WebCore::AVFWrapper::removeFromMap):
(WebCore::AVFWrapper::periodicTimeObserverCallback):
(WebCore::AVFWrapper::processNotification):
(WebCore::AVFWrapper::loadPlayableCompletionCallback):
(WebCore::AVFWrapper::loadMetadataCompletionCallback):
(WebCore::AVFWrapper::seekCompletedCallback):
(WebCore::AVFWrapper::processCue):
(WebCore::AVFWrapper::legibleOutputCallback):
(WebCore::AVFWrapper::processShouldWaitForLoadingOfResource):
(WebCore::AVFWrapper::resourceLoaderShouldWaitForLoadingOfRequestedResource):
* platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:
(WebCore::InbandTextTrackPrivateGStreamer::handleSample):
(WebCore::InbandTextTrackPrivateGStreamer::notifyTrackOfSample):
* platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
(WebCore::TrackPrivateBaseGStreamer::tagsChanged):
(WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged):
* platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
* platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
(WebCore::DisplayRefreshMonitorMac::requestRefreshCallback):
(WebCore::DisplayRefreshMonitorMac::displayLinkFired):
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::addListener):
(WebCore::MediaPlayerPrivateMediaFoundation::removeListener):
(WebCore::MediaPlayerPrivateMediaFoundation::notifyDeleted):
(WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback::Invoke):
(WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback::onMediaPlayerDeleted):
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
* platform/ios/LegacyTileCache.h:
* platform/ios/LegacyTileCache.mm:
(WebCore::LegacyTileCache::setTilesOpaque):
(WebCore::LegacyTileCache::doLayoutTiles):
(WebCore::LegacyTileCache::setCurrentScale):
(WebCore::LegacyTileCache::commitScaleChange):
(WebCore::LegacyTileCache::layoutTilesNow):
(WebCore::LegacyTileCache::layoutTilesNowForRect):
(WebCore::LegacyTileCache::removeAllNonVisibleTiles):
(WebCore::LegacyTileCache::removeAllTiles):
(WebCore::LegacyTileCache::removeForegroundTiles):
(WebCore::LegacyTileCache::setContentReplacementImage):
(WebCore::LegacyTileCache::contentReplacementImage):
(WebCore::LegacyTileCache::tileCreationTimerFired):
(WebCore::LegacyTileCache::setNeedsDisplayInRect):
(WebCore::LegacyTileCache::updateTilingMode):
(WebCore::LegacyTileCache::setTilingMode):
(WebCore::LegacyTileCache::doPendingRepaints):
(WebCore::LegacyTileCache::flushSavedDisplayRects):
(WebCore::LegacyTileCache::prepareToDraw):
* platform/ios/LegacyTileLayerPool.h:
* platform/ios/LegacyTileLayerPool.mm:
(WebCore::LegacyTileLayerPool::addLayer):
(WebCore::LegacyTileLayerPool::takeLayerWithSize):
(WebCore::LegacyTileLayerPool::setCapacity):
(WebCore::LegacyTileLayerPool::prune):
(WebCore::LegacyTileLayerPool::drain):
* platform/network/curl/CurlDownload.cpp:
(WebCore::CurlDownloadManager::add):
(WebCore::CurlDownloadManager::remove):
(WebCore::CurlDownloadManager::getActiveDownloadCount):
(WebCore::CurlDownloadManager::getPendingDownloadCount):
(WebCore::CurlDownloadManager::stopThreadIfIdle):
(WebCore::CurlDownloadManager::updateHandleList):
(WebCore::CurlDownload::~CurlDownload):
(WebCore::CurlDownload::init):
(WebCore::CurlDownload::getTempPath):
(WebCore::CurlDownload::getUrl):
(WebCore::CurlDownload::getResponse):
(WebCore::CurlDownload::closeFile):
(WebCore::CurlDownload::didReceiveHeader):
(WebCore::CurlDownload::didReceiveData):
(WebCore::CurlDownload::didFail):
* platform/network/curl/CurlDownload.h:
* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::cookieJarPath):
(WebCore::sharedResourceMutex):
(WebCore::curl_lock_callback):
(WebCore::curl_unlock_callback):
* platform/network/ios/QuickLook.mm:
(WebCore::QLDirectoryAttributes):
(qlPreviewConverterDictionaryMutex):
(WebCore::addQLPreviewConverterWithFileForURL):
(WebCore::qlPreviewConverterUTIForURL):
(WebCore::removeQLPreviewConverterForURL):
(WebCore::safeQLURLForDocumentURLAndResourceURL):
* platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::close):
(WebCore::SQLiteDatabase::interrupt):
(WebCore::SQLiteDatabase::maximumSize):
(WebCore::SQLiteDatabase::setMaximumSize):
(WebCore::SQLiteDatabase::pageSize):
(WebCore::SQLiteDatabase::freeSpaceSize):
(WebCore::SQLiteDatabase::totalSize):
(WebCore::SQLiteDatabase::runIncrementalVacuumCommand):
(WebCore::SQLiteDatabase::setAuthorizer):
* platform/sql/SQLiteDatabase.h:
(WebCore::SQLiteDatabase::databaseMutex):
* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare):
(WebCore::SQLiteStatement::step):
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::start):
(WebCore::WorkerThread::workerThread):
(WebCore::WorkerThread::stop):
* workers/WorkerThread.h:

Source/WebKit:

* Storage/StorageAreaSync.cpp:
(WebCore::StorageAreaSync::syncTimerFired):
(WebCore::StorageAreaSync::markImported):
(WebCore::StorageAreaSync::blockUntilImportComplete):
(WebCore::StorageAreaSync::performSync):
* Storage/StorageAreaSync.h:
* Storage/StorageTracker.cpp:
(WebCore::StorageTracker::setDatabaseDirectoryPath):
(WebCore::StorageTracker::finishedImportingOriginIdentifiers):
(WebCore::StorageTracker::syncImportOriginIdentifiers):
(WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
(WebCore::StorageTracker::setOriginDetails):
(WebCore::StorageTracker::syncSetOriginDetails):
(WebCore::StorageTracker::origins):
(WebCore::StorageTracker::deleteAllOrigins):
(WebCore::StorageTracker::syncDeleteAllOrigins):
(WebCore::StorageTracker::deleteOrigin):
(WebCore::StorageTracker::syncDeleteOrigin):
(WebCore::StorageTracker::canDeleteOrigin):
(WebCore::StorageTracker::cancelDeletingOrigin):
(WebCore::StorageTracker::diskUsageForOrigin):
* Storage/StorageTracker.h:

Source/WebKit/ios:

* WebCoreSupport/WebFixedPositionContent.mm:
(WebFixedPositionContentDataLock):
(-[WebFixedPositionContent scrollOrZoomChanged:]):
(-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
(-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
(-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
(-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):

Source/WebKit/mac:

* Storage/WebDatabaseManager.mm:
(transactionBackgroundTaskIdentifierLock):
(+[WebDatabaseManager startBackgroundTask]):
(+[WebDatabaseManager endBackgroundTask]):
* WebView/WebView.mm:
(-[WebView _synchronizeCustomFixedPositionLayoutRect]):
(-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
(-[WebView _setCustomFixedPositionLayoutRect:]):
(-[WebView _fetchCustomFixedPositionLayoutRect:]):
* WebView/WebViewData.h:

Source/WebKit/win:

* Plugins/PluginMainThreadScheduler.cpp:
(WebCore::PluginMainThreadScheduler::scheduleCall):
(WebCore::PluginMainThreadScheduler::registerPlugin):
(WebCore::PluginMainThreadScheduler::unregisterPlugin):
(WebCore::PluginMainThreadScheduler::dispatchCallsForPlugin):
* Plugins/PluginMainThreadScheduler.h:
* WebIconDatabase.cpp:
(WebIconDatabase::didRemoveAllIcons):
(WebIconDatabase::didImportIconURLForPageURL):
(WebIconDatabase::deliverNotifications):
* WebLocalizableStrings.cpp:
(mainBundleLocStrings):
(frameworkLocStringsMutex):
(findCachedString):
(cacheString):

Source/WebKit2:

* DatabaseProcess/DatabaseProcess.cpp:
(WebKit::DatabaseProcess::postDatabaseTask):
(WebKit::DatabaseProcess::performNextDatabaseTask):
* DatabaseProcess/DatabaseProcess.h:
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::shutdown):
(WebKit::UniqueIDBDatabase::postMainThreadTask):
(WebKit::UniqueIDBDatabase::performNextMainThreadTask):
(WebKit::UniqueIDBDatabase::postDatabaseTask):
(WebKit::UniqueIDBDatabase::performNextDatabaseTask):
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
* Platform/IPC/Connection.cpp:
(IPC::Connection::sendSyncMessage):
(IPC::Connection::sendSyncMessageFromSecondaryThread):
(IPC::Connection::waitForSyncReply):
(IPC::Connection::processIncomingSyncReply):
(IPC::Connection::connectionDidClose):
* Platform/IPC/Connection.h:
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::appendUpdate):
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h:
* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::createCompositingThread):
(WebKit::ThreadedCompositor::runCompositingThread):
(WebKit::ThreadedCompositor::terminateCompositingThread):
* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h:
* Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm:
(WebKit::CustomProtocolManager::addCustomProtocol):
(WebKit::CustomProtocolManager::removeCustomProtocol):
(WebKit::CustomProtocolManager::registerScheme):
(WebKit::CustomProtocolManager::unregisterScheme):
(WebKit::CustomProtocolManager::supportsScheme):
(WebKit::CustomProtocolManager::protocolForID):
* Shared/Network/CustomProtocols/CustomProtocolManager.h:
* Shared/linux/SeccompFilters/SeccompBroker.cpp:
* WebProcess/Plugins/PluginProcessConnectionManager.cpp:
(WebKit::PluginProcessConnectionManager::getPluginProcessConnection):
(WebKit::PluginProcessConnectionManager::removePluginProcessConnection):
(WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
* WebProcess/Plugins/PluginProcessConnectionManager.h:
* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::addScrollingTreeForPage):
(WebKit::EventDispatcher::removeScrollingTreeForPage):
(WebKit::EventDispatcher::wheelEvent):
* WebProcess/WebPage/EventDispatcher.h:
* WebProcess/soup/WebKitSoupRequestInputStream.cpp:
(webkitSoupRequestInputStreamReadAsync):
(webkitSoupRequestInputStreamAddData):

Source/WTF:

* wtf/Atomics.cpp:
(WTF::getSwapLock):
(WTF::atomicStep):
* wtf/MessageQueue.h:
(WTF::MessageQueue::infiniteTime):
(WTF::MessageQueue<DataType>::append):
(WTF::MessageQueue<DataType>::appendAndKill):
(WTF::MessageQueue<DataType>::appendAndCheckEmpty):
(WTF::MessageQueue<DataType>::prepend):
(WTF::MessageQueue<DataType>::removeIf):
(WTF::MessageQueue<DataType>::isEmpty):
(WTF::MessageQueue<DataType>::kill):
(WTF::MessageQueue<DataType>::killed):
* wtf/ParallelJobsGeneric.cpp:
(WTF::ParallelEnvironment::ThreadPrivate::execute):
(WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
(WTF::ParallelEnvironment::ThreadPrivate::workerThread):
* wtf/ParallelJobsGeneric.h:
* wtf/RunLoop.cpp:
(WTF::RunLoop::performWork):
(WTF::RunLoop::dispatch):
* wtf/RunLoop.h:
* wtf/Threading.cpp:
(WTF::threadEntryPoint):
(WTF::createThread):
* wtf/ThreadingPrimitives.h:
* wtf/ThreadingPthreads.cpp:
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::identifierByPthreadHandle):
(WTF::establishIdentifierForPthreadHandle):
(WTF::changeThreadPriority):
(WTF::waitForThreadCompletion):
(WTF::detachThread):
(WTF::threadDidExit):
(WTF::currentThread):
(WTF::DeprecatedMutex::DeprecatedMutex):
(WTF::DeprecatedMutex::~DeprecatedMutex):
(WTF::DeprecatedMutex::lock):
(WTF::DeprecatedMutex::tryLock):
(WTF::DeprecatedMutex::unlock):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::Mutex::Mutex): Deleted.
(WTF::Mutex::~Mutex): Deleted.
(WTF::Mutex::lock): Deleted.
(WTF::Mutex::tryLock): Deleted.
(WTF::Mutex::unlock): Deleted.
* wtf/ThreadingWin.cpp:
(WTF::initializeCurrentThreadInternal):
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::storeThreadHandleByIdentifier):
(WTF::threadHandleForIdentifier):
(WTF::clearThreadHandleForIdentifier):
(WTF::currentThread):
(WTF::DeprecatedMutex::DeprecatedMutex):
(WTF::DeprecatedMutex::~DeprecatedMutex):
(WTF::DeprecatedMutex::lock):
(WTF::DeprecatedMutex::tryLock):
(WTF::DeprecatedMutex::unlock):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::Mutex::Mutex): Deleted.
(WTF::Mutex::~Mutex): Deleted.
(WTF::Mutex::lock): Deleted.
(WTF::Mutex::tryLock): Deleted.
(WTF::Mutex::unlock): Deleted.
* wtf/WorkQueue.h:
* wtf/dtoa.cpp:
* wtf/dtoa.h:
* wtf/efl/DispatchQueueEfl.cpp:
(DispatchQueue::dispatch):
(DispatchQueue::performWork):
(DispatchQueue::performTimerWork):
(DispatchQueue::insertTimerWorkItem):
(DispatchQueue::wakeUpThread):
(DispatchQueue::getNextTimeOut):
* wtf/efl/DispatchQueueEfl.h:
* wtf/efl/RunLoopEfl.cpp:
(WTF::RunLoop::wakeUpEvent):
(WTF::RunLoop::wakeUp):
* wtf/threads/BinarySemaphore.cpp:
(WTF::BinarySemaphore::signal):
(WTF::BinarySemaphore::wait):
* wtf/threads/BinarySemaphore.h:
* wtf/win/WorkQueueWin.cpp:
(WTF::WorkQueue::handleCallback):
(WTF::WorkQueue::platformInvalidate):
(WTF::WorkQueue::dispatch):
(WTF::WorkQueue::timerCallback):
(WTF::WorkQueue::dispatchAfter):

Tools:

* DumpRenderTree/JavaScriptThreading.cpp:
(javaScriptThreadsMutex):
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
* TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
(TestWebKitAPI::TEST):

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

4 years agoAdding in MediaPrivateMediaStreamEngine to default compile
mdaiter@apple.com [Wed, 5 Aug 2015 18:40:08 +0000 (18:40 +0000)]
Adding in MediaPrivateMediaStreamEngine to default compile
https://bugs.webkit.org/show_bug.cgi?id=146790
<rdar://problem/21747289>

Reviewed by Eric Carlson.

* WebCore.xcodeproj/project.pbxproj:
* platform/mediastream/MediaStreamPrivate.h:
(WebCore::MediaStreamPrivate::MediaStreamPrivate):

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

4 years agoRemove m_synchronizer from MediaPlayerPrivateMediaStream
mdaiter@apple.com [Wed, 5 Aug 2015 18:35:55 +0000 (18:35 +0000)]
Remove m_synchronizer from MediaPlayerPrivateMediaStream
https://bugs.webkit.org/show_bug.cgi?id=147637

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::playInternal): Deleted.

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

4 years agoReplace JSFunctionNameScope with JSLexicalEnvironment for the function name scope.
saambarati1@gmail.com [Wed, 5 Aug 2015 18:29:25 +0000 (18:29 +0000)]
Replace JSFunctionNameScope with JSLexicalEnvironment for the function name scope.
https://bugs.webkit.org/show_bug.cgi?id=147657

Reviewed by Mark Lam.

This kills the last of the name scope objects. Function name scopes are
now built on top of the scoping mechanisms introduced with ES6 block scoping.
A name scope is now just a JSLexicalEnvironment.  We treat assignments to the
function name scoped variable carefully depending on if the function is in
strict mode. If we're in strict mode, then we treat the variable exactly
like a "const" variable. If we're not in strict mode, we can't treat
this variable like like ES6 "const" because that would cause the bytecode
generator to throw an exception when it shouldn't.

* CMakeLists.txt:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecode/BytecodeList.json:
* bytecode/BytecodeUseDef.h:
(JSC::computeUsesForBytecodeOffset):
(JSC::computeDefsForBytecodeOffset):
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::initializeDefaultParameterValuesAndSetupFunctionScopeStack):
(JSC::BytecodeGenerator::pushLexicalScope):
(JSC::BytecodeGenerator::pushLexicalScopeInternal):
(JSC::BytecodeGenerator::variable):
(JSC::BytecodeGenerator::resolveType):
(JSC::BytecodeGenerator::emitThrowTypeError):
(JSC::BytecodeGenerator::emitPushFunctionNameScope):
(JSC::BytecodeGenerator::pushScopedControlFlowContext):
(JSC::BytecodeGenerator::emitPushCatchScope):
* bytecompiler/BytecodeGenerator.h:
* bytecompiler/NodesCodegen.cpp:
* debugger/DebuggerScope.cpp:
* dfg/DFGOperations.cpp:
* interpreter/Interpreter.cpp:
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
* jit/JIT.h:
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_to_string):
(JSC::JIT::emit_op_catch):
(JSC::JIT::emit_op_push_name_scope): Deleted.
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emitSlow_op_to_string):
(JSC::JIT::emit_op_catch):
(JSC::JIT::emit_op_push_name_scope): Deleted.
* jit/JITOperations.cpp:
(JSC::pushNameScope): Deleted.
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
* llint/LLIntSlowPaths.h:
* llint/LowLevelInterpreter.asm:
* parser/Nodes.cpp:
* runtime/CommonSlowPaths.cpp:
* runtime/Executable.cpp:
(JSC::ScriptExecutable::newCodeBlockFor):
* runtime/JSFunctionNameScope.cpp: Removed.
* runtime/JSFunctionNameScope.h: Removed.
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildren):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::withScopeStructure):
(JSC::JSGlobalObject::strictEvalActivationStructure):
(JSC::JSGlobalObject::activationStructure):
(JSC::JSGlobalObject::directArgumentsStructure):
(JSC::JSGlobalObject::scopedArgumentsStructure):
(JSC::JSGlobalObject::outOfBandArgumentsStructure):
(JSC::JSGlobalObject::functionNameScopeStructure): Deleted.
* runtime/JSNameScope.cpp: Removed.
* runtime/JSNameScope.h: Removed.
* runtime/JSObject.cpp:
(JSC::JSObject::toThis):
(JSC::JSObject::seal):
(JSC::JSObject::isFunctionNameScopeObject): Deleted.
* runtime/JSObject.h:
* runtime/JSScope.cpp:
(JSC::JSScope::isCatchScope):
(JSC::JSScope::isFunctionNameScopeObject):
(JSC::resolveModeName):
* runtime/JSScope.h:
* runtime/JSSymbolTableObject.cpp:
* runtime/SymbolTable.h:
* runtime/VM.cpp:

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

4 years agoWeb Inspector: Convert miscellaneous view widgets to use ES6 classes
burg@cs.washington.edu [Wed, 5 Aug 2015 18:24:20 +0000 (18:24 +0000)]
Web Inspector: Convert miscellaneous view widgets to use ES6 classes
https://bugs.webkit.org/show_bug.cgi?id=147658

Reviewed by Joseph Pecoraro.

Along the way, inline a few style class names.

Elided mechanical changes from the Changelog.

* UserInterface/Base/Test.js:
* UserInterface/Views/CSSStyleDeclarationSection.js:
* UserInterface/Views/ConsolePrompt.js:
* UserInterface/Views/ContentBrowser.js:
* UserInterface/Views/ContentViewContainer.js:
* UserInterface/Views/DOMTreeDataGridNode.js:
* UserInterface/Views/IndeterminateProgressSpinner.js:
* UserInterface/Views/NavigationBar.js:
* UserInterface/Views/ProbeSetDataGridNode.js:
* UserInterface/Views/QuickConsoleNavigationBar.js:
* UserInterface/Views/Toolbar.js:

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

4 years agoWeb Inspector: Convert remaining ContentViews to use ES6 classes
burg@cs.washington.edu [Wed, 5 Aug 2015 18:12:35 +0000 (18:12 +0000)]
Web Inspector: Convert remaining ContentViews to use ES6 classes
https://bugs.webkit.org/show_bug.cgi?id=147534

Reviewed by Joseph Pecoraro.

Along the way, inline a few style class names.

Elided mechanical changes from the Changelog.

* UserInterface/Views/ApplicationCacheFrameContentView.js:
* UserInterface/Views/ClusterContentView.js:
* UserInterface/Views/ConsoleTabContentView.js:
* UserInterface/Views/ContentBrowserTabContentView.js: Rearrange initialization
of the tab's content browser to comply with TDZ rules for using `this`.
* UserInterface/Views/ContentFlowDOMTreeContentView.js:
* UserInterface/Views/ContentView.js:
* UserInterface/Views/ContentViewContainer.js:
* UserInterface/Views/CookieStorageContentView.js:
* UserInterface/Views/DOMStorageContentView.js:
* UserInterface/Views/DOMTreeContentView.js:
* UserInterface/Views/DatabaseContentView.js:
* UserInterface/Views/DatabaseTableContentView.js:
* UserInterface/Views/DebuggerTabContentView.js:
* UserInterface/Views/ElementsTabContentView.js:
* UserInterface/Views/FontResourceContentView.js:
* UserInterface/Views/FrameDOMTreeContentView.js:
* UserInterface/Views/GenericResourceContentView.js:
* UserInterface/Views/ImageResourceContentView.js:
* UserInterface/Views/IndexedDatabaseObjectStoreContentView.js:
* UserInterface/Views/LogContentView.js:
* UserInterface/Views/NetworkGridContentView.js:
* UserInterface/Views/NetworkTabContentView.js:
* UserInterface/Views/NewTabContentView.js:
* UserInterface/Views/ResourceClusterContentView.js:
* UserInterface/Views/ResourceContentView.js:
* UserInterface/Views/ResourcesTabContentView.js:
* UserInterface/Views/ScriptContentView.js:
* UserInterface/Views/SearchTabContentView.js:
* UserInterface/Views/SettingsTabContentView.js:
* UserInterface/Views/StorageTabContentView.js:
* UserInterface/Views/TabContentView.js:
* UserInterface/Views/TextContentView.js:
* UserInterface/Views/TextResourceContentView.js:
* UserInterface/Views/TimelineRecordingContentView.js:

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

4 years agoMark failing scrolling test.
bfulgham@apple.com [Wed, 5 Aug 2015 18:09:00 +0000 (18:09 +0000)]
Mark failing scrolling test.

* platform/mac/TestExpectations:

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

4 years agoUpdate the WebKit nightly icon
timothy@apple.com [Wed, 5 Aug 2015 17:30:42 +0000 (17:30 +0000)]
Update the WebKit nightly icon
https://bugs.webkit.org/show_bug.cgi?id=147684

Reviewed by Sam Weinig.

* WebKitLauncher/webkit.icns: Replaced.

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

4 years agoUnreviewed test gardening.
bfulgham@apple.com [Wed, 5 Aug 2015 16:16:34 +0000 (16:16 +0000)]
Unreviewed test gardening.

Skip new latched scrolling test on WK1 due to timeout. Check in some minor clean-ups in
the test based on feedback from Antti and others:

* platform/mac/TestExpectations:
* platform/mac/fast/scrolling/scroll-div-with-nested-nonscrollable-iframe.html:

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

4 years agoBuild fix after 187961
wenson_hsieh@apple.com [Wed, 5 Aug 2015 16:15:40 +0000 (16:15 +0000)]
Build fix after 187961

* platform/mac/ThemeMac.mm:
(WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):

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

4 years agoREGRESSION (r185111): Clicking phone numbers doesn't prompt to call sometimes
dbates@webkit.org [Wed, 5 Aug 2015 16:05:55 +0000 (16:05 +0000)]
REGRESSION (r185111): Clicking phone numbers doesn't prompt to call sometimes
https://bugs.webkit.org/show_bug.cgi?id=147678
<rdar://problem/21827815>

Reviewed by Brady Eidson.

Source/WebCore:

Fixes an issue where a non-user-initiated navigation of the main frame to a phone link (tel URL)
may be ignored. The navigation is ignored if the page was reloaded as a result of a web content
process crash, its lifetime exceeded the back-forward cache expiration interval, or a person
quits and opens Safari again, among other scenarios.

* history/HistoryItem.cpp:
(WebCore::HistoryItem::setShouldOpenExternalURLsPolicy): Added.
(WebCore::HistoryItem::shouldOpenExternalURLsPolicy): Added.
* history/HistoryItem.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadDifferentDocumentItem): Apply the "should open external URLs" policy
from the history item, if applicable. Also, be more explicit when instantiating a NavigationAction
so as to help make it straightforward to reduce the number of NavigationAction constructors we have
in the future.
* loader/HistoryController.cpp:
(WebCore::HistoryController::saveDocumentState): Save the "should open external URLs" policy to
the history item.
(WebCore::HistoryController::restoreDocumentState): Apply the "should open external URLs" policy
from the history item to the document loader.
(WebCore::HistoryController::initializeItem): Update the "should open external URLs" policy of
the history item to reflect the policy of the document loader associated with the current frame.

Source/WebKit2:

Teach WebKit to save and restore the "should open external URLs" policy.

* Shared/SessionState.cpp:
(WebKit::isValidEnum): Added.
(WebKit::PageState::encode): Modified to encode the "should open external URLs" policy.
(WebKit::PageState::decode): Modified to decode the "should open external URLs" policy.
* Shared/SessionState.h: Added ShouldOpenExternalURLsPolicy to PageState (defaults to WebCore::ShouldOpenExternalURLsPolicy::ShouldNotAllow).
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _killWebContentProcessAndResetState]): Added; used in the unit test TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm.
* UIProcess/API/Cocoa/WKWebViewPrivate.h: Declare -[WKWebView _killWebContentProcessAndResetState].
* UIProcess/mac/LegacySessionStateCoding.cpp: Defined constant sessionHistoryEntryShouldOpenExternalURLsPolicyKey.
(WebKit::encodeSessionHistory): Modified to encode the "should open external URLs" policy.
(WebKit::decodeSessionHistoryEntry): Modified to decode the "should open external URLs" policy.
* WebProcess/WebCoreSupport/SessionStateConversion.cpp:
(WebKit::toPageState): Copy "should open external URLs" policy from specified history item.
(WebKit::toHistoryItem): Apply "should open external URLs" policy from PageState to HistoryItem.

Tools:

Add a test to ensure that we restore the "should open external URLs" policy on
page reload after the web content process crashes.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html: Added.
* TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
(TEST):

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

4 years agoCheckboxes and radio buttons should scale when zooming or pinching to zoom
wenson_hsieh@apple.com [Wed, 5 Aug 2015 16:03:06 +0000 (16:03 +0000)]
Checkboxes and radio buttons should scale when zooming or pinching to zoom
https://bugs.webkit.org/show_bug.cgi?id=147405

Reviewed by Dean Jackson.

Refactors paintButton and paintToggleButton to use a temporary buffer when rendering
if the controls are zoomed. This affects checkboxes, radio buttons, and normal (push)
buttons.

* platform/mac/ThemeMac.h:
* platform/mac/ThemeMac.mm:
(WebCore::paintToggleButton): Refactored to use drawCellOrFocusRingWithViewIntoContext.
(WebCore::paintButton): Refactored to use drawCellOrFocusRingWithViewIntoContext.
(WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext): Draws a given button cell
    and/or its focus ring into the given context, optionally using an offscreen buffer.
    This is a static function in ThemeMac so it can be accessed later on by
    RenderThemeMac when painting search fields that scale with zoom.
(WebCore::ThemeMac::paint):
(WebCore::buttonFocusRectOutlineWidth): Deleted. Made this value into a const float.

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

4 years agoWeb Inspector: Allow users to duplicate rules in the Rules sidebar panel
drousso@apple.com [Wed, 5 Aug 2015 14:07:51 +0000 (14:07 +0000)]
Web Inspector: Allow users to duplicate rules in the Rules sidebar panel
https://bugs.webkit.org/show_bug.cgi?id=147361

Reviewed by Timothy Hatcher.

Adds context menu option to non-inherited rules that, when clicked, creates
a new rule with the same selector and no properties, and then focuses it.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Models/DOMNodeStyles.js:
(WebInspector.DOMNodeStyles.prototype.addRuleWithSelector.addedRule):
(WebInspector.DOMNodeStyles.prototype.addRuleWithSelector):
* UserInterface/Views/CSSStyleDeclarationSection.js:
(WebInspector.CSSStyleDeclarationSection.prototype.get _currentSelectorText):
(WebInspector.CSSStyleDeclarationSection.prototype._handleContextMenuEvent):
* UserInterface/Views/RulesStyleDetailsPanel.js:
(WebInspector.RulesStyleDetailsPanel.prototype.cssStyleDeclarationSectionFocusNextNewInspectorRule):

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

4 years agoWeb Inspector: Improve Support for PropertyName Iterator (Reflect.enumerate) in Inspector
commit-queue@webkit.org [Wed, 5 Aug 2015 14:04:47 +0000 (14:04 +0000)]
Web Inspector: Improve Support for PropertyName Iterator (Reflect.enumerate) in Inspector
https://bugs.webkit.org/show_bug.cgi?id=147679

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-05
Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

Improve native iterator support for the PropertyName Iterator by
allowing inspection of the internal object within the iterator
and peeking of the next upcoming values of the iterator.

* inspector/JSInjectedScriptHost.cpp:
(Inspector::JSInjectedScriptHost::subtype):
(Inspector::JSInjectedScriptHost::getInternalProperties):
(Inspector::JSInjectedScriptHost::iteratorEntries):
* runtime/JSPropertyNameIterator.h:
(JSC::JSPropertyNameIterator::iteratedValue):

LayoutTests:

* inspector/model/remote-object-expected.txt:
* inspector/model/remote-object.html:

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

4 years agoNetwork cache fetches should have timeout
antti@apple.com [Wed, 5 Aug 2015 10:27:18 +0000 (10:27 +0000)]
Network cache fetches should have timeout
https://bugs.webkit.org/show_bug.cgi?id=147631

Reviewed by Andreas Kling.

System might be under heavy I/O pressure. If it takes long time to get data from disk we should load from network instead.

This patch introduces 1.5s timeout for disk reads. If the last dispatched cache read takes longer than that we cancel all
active and pending reads and just load those resources from network.

* NetworkProcess/cache/NetworkCacheStorage.cpp:
(WebKit::NetworkCache::Storage::ReadOperation::ReadOperation):
(WebKit::NetworkCache::Storage::ReadOperation::cancel):
(WebKit::NetworkCache::Storage::ReadOperation::finish):

    Factor to functions.

(WebKit::NetworkCache::Storage::Storage):
(WebKit::NetworkCache::Storage::updateFileModificationTime):
(WebKit::NetworkCache::Storage::dispatchReadOperation):
(WebKit::NetworkCache::Storage::finishReadOperation):
(WebKit::NetworkCache::Storage::cancelAllReadOperations):
(WebKit::NetworkCache::Storage::dispatchPendingReadOperations):
(WebKit::NetworkCache::Storage::dispatchPendingWriteOperations):

    Also make dispatch functions transfer the operation ownership.

(WebKit::NetworkCache::shouldStoreBodyAsBlob):
(WebKit::NetworkCache::Storage::dispatchWriteOperation):
* NetworkProcess/cache/NetworkCacheStorage.h:

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

4 years agoBuild fix after r187928.
achristensen@apple.com [Wed, 5 Aug 2015 05:32:46 +0000 (05:32 +0000)]
Build fix after r187928.

* CMakeLists.txt:
Typo. Set libGLESv2 compile definitions instead of libEGL, which are set separately.

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

4 years agoPut Yosemite mac editing results in the correct location.
simon.fraser@apple.com [Wed, 5 Aug 2015 05:27:06 +0000 (05:27 +0000)]
Put Yosemite mac editing results in the correct location.

* platform/mac-yosemite/editing/mac/attributed-string/anchor-element-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/anchor-element-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/basic-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/basic-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/font-size-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/font-size-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/font-style-variant-effect-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/font-style-variant-effect-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/font-weight-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/font-weight-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/letter-spacing-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/letter-spacing-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/text-decorations-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/text-decorations-expected.txt.
* platform/mac-yosemite/editing/mac/attributed-string/vertical-align-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/editing/mac/editing/attributed-string/vertical-align-expected.txt.

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

4 years agoMove some Windows results for Mac editing tests (confused? I am) to the right places.
simon.fraser@apple.com [Wed, 5 Aug 2015 04:57:36 +0000 (04:57 +0000)]
Move some Windows results for Mac editing tests (confused? I am) to the right places.

* platform/win/editing/mac/input/devanagari-ligature-expected.txt: Renamed from LayoutTests/platform/win/platform/mac/editing/input/devanagari-ligature-expected.txt.
* platform/win/editing/mac/spelling/autocorrection-at-beginning-of-word-1-expected.txt: Renamed from LayoutTests/platform/win/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt.
* platform/win/editing/mac/spelling/autocorrection-at-beginning-of-word-2-expected.txt: Renamed from LayoutTests/platform/win/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt.
* platform/win/editing/mac/spelling/delete-autocorrected-word-2-expected.txt: Renamed from LayoutTests/platform/win/platform/mac/editing/spelling/delete-autocorrected-word-2-expected.txt.

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

4 years agoMove Mavericks and Yosemite editing/mac results into the right place.
simon.fraser@apple.com [Wed, 5 Aug 2015 04:32:34 +0000 (04:32 +0000)]
Move Mavericks and Yosemite editing/mac results into the right place.

* platform/mac-mavericks/editing/mac/attributed-string/anchor-element-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/anchor-element-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/basic-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/basic-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/font-size-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-size-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/font-style-variant-effect-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/font-weight-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-weight-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/letter-spacing-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/letter-spacing-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/text-decorations-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/text-decorations-expected.txt.
* platform/mac-mavericks/editing/mac/attributed-string/vertical-align-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/vertical-align-expected.txt.
* platform/mac-mavericks/editing/mac/input/devanagari-ligature-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/input/devanagari-ligature-expected.txt.
* platform/mac-mavericks/editing/mac/spelling/autocorrection-at-beginning-of-word-1-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt.
* platform/mac-mavericks/editing/mac/spelling/autocorrection-at-beginning-of-word-2-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt.
* platform/mac-mavericks/editing/mac/spelling/delete-autocorrected-word-2-expected.txt: Renamed from LayoutTests/platform/mac-mavericks/platform/mac/editing/spelling/delete-autocorrected-word-2-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/anchor-element-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/anchor-element-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/basic-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/basic-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/font-size-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/font-size-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/font-style-variant-effect-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/font-weight-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/font-weight-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/letter-spacing-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/letter-spacing-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/text-decorations-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/text-decorations-expected.txt.
* platform/mac-yosemite/editing/mac/editing/attributed-string/vertical-align-expected.txt: Renamed from LayoutTests/platform/mac-yosemite/platform/mac/editing/attributed-string/vertical-align-expected.txt.

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

4 years agoAX: tree item children returned from ranged getter are different from full array...
commit-queue@webkit.org [Wed, 5 Aug 2015 03:38:58 +0000 (03:38 +0000)]
AX: tree item children returned from ranged getter are different from full array of children
https://bugs.webkit.org/show_bug.cgi?id=147660

Source/WebCore:

Patch by Doug Russell <d_russell@apple.com> on 2015-08-04
Reviewed by Chris Fleizach.

Add an isTreeItem() check in ranged element getter so that it matches the logic in
the getter for the full children array. This prevents returning a row as a child
when only the rows contents should be returned. This prevents navigation issues on
websites without aria outlines.

Test: accessibility/mac/aria-tree-item-children.html

* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityArrayAttributeValues:index:maxCount:]):

LayoutTests:

Add an isTreeItem() check in ranged element getter so that it matches the logic in
the getter for the full children array. This prevents returning a row as a child
when only the rows contents should be returned. This prevents navigation issues on
websites without aria outlines.

Patch by Doug Russell <d_russell@apple.com> on 2015-08-04
Reviewed by Chris Fleizach.

* accessibility/mac/aria-tree-item-children-expected.txt: Added.
* accessibility/mac/aria-tree-item-children.html: Added.

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

4 years ago[EFL] Editing tests have been broken since r186694
commit-queue@webkit.org [Wed, 5 Aug 2015 03:33:18 +0000 (03:33 +0000)]
[EFL] Editing tests have been broken since r186694
https://bugs.webkit.org/show_bug.cgi?id=146888

Patch by Hunseop Jeong <hs85.jeong@samsung.com> on 2015-08-04
Reviewed by Brent Fulgham.

Tools:

Restored some codes for the context click on GTK+ and EFL port.

* WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::EventSendingController::contextClick): Seperated the codes using the PLATFORM guard.

LayoutTests:

Unskip the failure tests related with r186694.

* platform/efl/TestExpectations:

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

4 years agoEl Capitan test result gardening.
ap@apple.com [Wed, 5 Aug 2015 03:29:10 +0000 (03:29 +0000)]
El Capitan test result gardening.

Update for a font change.

* platform/mac-yosemite/fast/text/crash-complex-text-surrogate-expected.txt: Copied from LayoutTests/platform/mac/fast/text/crash-complex-text-surrogate-expected.txt.
* platform/mac/fast/text/crash-complex-text-surrogate-expected.txt:

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

4 years agoMove platform/mac/editing tests to editing/mac
simon.fraser@apple.com [Wed, 5 Aug 2015 01:39:10 +0000 (01:39 +0000)]
Move platform/mac/editing tests to editing/mac

* TestExpectations:
* editing/mac/attributed-string/anchor-element-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/anchor-element-expected.txt.
* editing/mac/attributed-string/anchor-element.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/anchor-element.html.
* editing/mac/attributed-string/basic-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/basic-expected.txt.
* editing/mac/attributed-string/basic.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/basic.html.
* editing/mac/attributed-string/font-size-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-size-expected.txt.
* editing/mac/attributed-string/font-size.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-size.html.
* editing/mac/attributed-string/font-style-variant-effect-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt.
* editing/mac/attributed-string/font-style-variant-effect.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-style-variant-effect.html.
* editing/mac/attributed-string/font-weight-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-weight-expected.txt.
* editing/mac/attributed-string/font-weight.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/font-weight.html.
* editing/mac/attributed-string/letter-spacing-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/letter-spacing-expected.txt.
* editing/mac/attributed-string/letter-spacing.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/letter-spacing.html.
* editing/mac/attributed-string/resources/dump-attributed-string.js: Renamed from LayoutTests/platform/mac/editing/attributed-string/resources/dump-attributed-string.js.
(.):
* editing/mac/attributed-string/text-decorations-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/text-decorations-expected.txt.
* editing/mac/attributed-string/text-decorations.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/text-decorations.html.
* editing/mac/attributed-string/vertical-align-expected.txt: Renamed from LayoutTests/platform/mac/editing/attributed-string/vertical-align-expected.txt.
* editing/mac/attributed-string/vertical-align.html: Renamed from LayoutTests/platform/mac/editing/attributed-string/vertical-align.html.
* editing/mac/deleting/backward-delete-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/backward-delete-expected.txt.
* editing/mac/deleting/backward-delete.html: Renamed from LayoutTests/platform/mac/editing/deleting/backward-delete.html.
* editing/mac/dictionary-lookup/dictionary-lookup-expected.txt: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-expected.txt.
* editing/mac/dictionary-lookup/dictionary-lookup-input-expected.txt: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-input-expected.txt.
* editing/mac/dictionary-lookup/dictionary-lookup-input.html: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-input.html.
* editing/mac/dictionary-lookup/dictionary-lookup-inside-selection-expected.txt: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-inside-selection-expected.txt.
* editing/mac/dictionary-lookup/dictionary-lookup-inside-selection.html: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-inside-selection.html.
* editing/mac/dictionary-lookup/dictionary-lookup-outside-selection-expected.txt: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-outside-selection-expected.txt.
* editing/mac/dictionary-lookup/dictionary-lookup-outside-selection.html: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-outside-selection.html.
* editing/mac/dictionary-lookup/dictionary-lookup-rtl-expected.txt: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-rtl-expected.txt.
* editing/mac/dictionary-lookup/dictionary-lookup-rtl.html: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup-rtl.html.
* editing/mac/dictionary-lookup/dictionary-lookup.html: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/dictionary-lookup.html.
* editing/mac/dictionary-lookup/resources/lookup-test.js: Renamed from LayoutTests/platform/mac/editing/dictionary-lookup/lookup-test.js.
(runTest):
* editing/mac/input/5576619-expected.png: Renamed from LayoutTests/platform/mac/editing/input/5576619-expected.png.
* editing/mac/input/5576619-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/5576619-expected.txt.
* editing/mac/input/5576619.html: Renamed from LayoutTests/platform/mac/editing/input/5576619.html.
* editing/mac/input/NSBackgroundColor-transparent-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/NSBackgroundColor-transparent-expected.txt.
* editing/mac/input/NSBackgroundColor-transparent.html: Renamed from LayoutTests/platform/mac/editing/input/NSBackgroundColor-transparent.html.
* editing/mac/input/bold-node-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/bold-node-expected.txt.
* editing/mac/input/bold-node.html: Renamed from LayoutTests/platform/mac/editing/input/bold-node.html.
* editing/mac/input/caret-primary-bidi-expected.txt: Renamed from LayoutTests/platform/mac/platform/mac/editing/input/caret-primary-bidi-expected.txt.
* editing/mac/input/caret-primary-bidi.html: Renamed from LayoutTests/platform/mac/editing/input/caret-primary-bidi.html.
* editing/mac/input/crash-for-empty-text-alternative-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/crash-for-empty-text-alternative-expected.txt.
* editing/mac/input/crash-for-empty-text-alternative.html: Renamed from LayoutTests/platform/mac/editing/input/crash-for-empty-text-alternative.html.
* editing/mac/input/devanagari-ligature-expected.png: Renamed from LayoutTests/platform/mac/editing/input/devanagari-ligature-expected.png.
* editing/mac/input/devanagari-ligature-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/devanagari-ligature-expected.txt.
* editing/mac/input/devanagari-ligature.html: Renamed from LayoutTests/platform/mac/editing/input/devanagari-ligature.html.
* editing/mac/input/edit-dictated-text-with-alternative-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/edit-dictated-text-with-alternative-expected.txt.
* editing/mac/input/edit-dictated-text-with-alternative.html: Renamed from LayoutTests/platform/mac/editing/input/edit-dictated-text-with-alternative.html.
* editing/mac/input/firstrectforcharacterrange-caret-in-br-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-caret-in-br-expected.txt.
* editing/mac/input/firstrectforcharacterrange-caret-in-br.html: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-caret-in-br.html.
* editing/mac/input/firstrectforcharacterrange-plain-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt.
* editing/mac/input/firstrectforcharacterrange-plain.html: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-plain.html.
* editing/mac/input/firstrectforcharacterrange-styled-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt.
* editing/mac/input/firstrectforcharacterrange-styled.html: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-styled.html.
* editing/mac/input/firstrectforcharacterrange-vertical-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-vertical-expected.txt.
* editing/mac/input/firstrectforcharacterrange-vertical.html: Renamed from LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-vertical.html.
* editing/mac/input/hangul-enter-confirms-and-sends-keypress-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/hangul-enter-confirms-and-sends-keypress-expected.txt.
* editing/mac/input/hangul-enter-confirms-and-sends-keypress.html: Renamed from LayoutTests/platform/mac/editing/input/hangul-enter-confirms-and-sends-keypress.html.
* editing/mac/input/insert-delete-smp-symbol-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/insert-delete-smp-symbol-expected.txt.
* editing/mac/input/insert-delete-smp-symbol.html: Renamed from LayoutTests/platform/mac/editing/input/insert-delete-smp-symbol.html.
* editing/mac/input/insert-dictated-text-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/insert-dictated-text-expected.txt.
* editing/mac/input/insert-dictated-text.html: Renamed from LayoutTests/platform/mac/editing/input/insert-dictated-text.html.
* editing/mac/input/kotoeri-enter-to-confirm-and-newline-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/kotoeri-enter-to-confirm-and-newline-expected.txt.
* editing/mac/input/kotoeri-enter-to-confirm-and-newline.html: Renamed from LayoutTests/platform/mac/editing/input/kotoeri-enter-to-confirm-and-newline.html.
* editing/mac/input/maxlength-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/maxlength-expected.txt.
* editing/mac/input/maxlength.html: Renamed from LayoutTests/platform/mac/editing/input/maxlength.html.
* editing/mac/input/range-for-empty-document-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/range-for-empty-document-expected.txt.
* editing/mac/input/range-for-empty-document.html: Renamed from LayoutTests/platform/mac/editing/input/range-for-empty-document.html.
* editing/mac/input/replace-invalid-range-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/replace-invalid-range-expected.txt.
* editing/mac/input/replace-invalid-range.html: Renamed from LayoutTests/platform/mac/editing/input/replace-invalid-range.html.
* editing/mac/input/resources/first-page.html: Renamed from LayoutTests/platform/mac/editing/input/resources/first-page.html.
* editing/mac/input/resources/hangul.js: Renamed from LayoutTests/platform/mac/editing/input/hangul.js.
(hangul):
* editing/mac/input/resources/kotoeri.js: Renamed from LayoutTests/platform/mac/editing/input/kotoeri.js.
(kotoeri):
* editing/mac/input/resources/logger.js: Renamed from LayoutTests/platform/mac/editing/input/logger.js.
(log):
* editing/mac/input/resources/other-page.html: Renamed from LayoutTests/platform/mac/editing/input/resources/other-page.html.
* editing/mac/input/secure-input-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/secure-input-expected.txt.
* editing/mac/input/secure-input.html: Renamed from LayoutTests/platform/mac/editing/input/secure-input.html.
* editing/mac/input/selected-composed-text-painting-expected.html: Renamed from LayoutTests/platform/mac/editing/input/selected-composed-text-painting-expected.html.
* editing/mac/input/selected-composed-text-painting.html: Renamed from LayoutTests/platform/mac/editing/input/selected-composed-text-painting.html.
* editing/mac/input/selection-change-closes-typing-2-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/selection-change-closes-typing-2-expected.txt.
* editing/mac/input/selection-change-closes-typing-2.html: Renamed from LayoutTests/platform/mac/editing/input/selection-change-closes-typing-2.html.
* editing/mac/input/selection-change-closes-typing-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/selection-change-closes-typing-expected.txt.
* editing/mac/input/selection-change-closes-typing.html: Renamed from LayoutTests/platform/mac/editing/input/selection-change-closes-typing.html.
* editing/mac/input/text-control-ime-input-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/text-control-ime-input-expected.txt.
* editing/mac/input/text-control-ime-input.html: Renamed from LayoutTests/platform/mac/editing/input/text-control-ime-input.html.
* editing/mac/input/text-input-controller-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/text-input-controller-expected.txt.
* editing/mac/input/text-input-controller.html: Renamed from LayoutTests/platform/mac/editing/input/text-input-controller.html.
* editing/mac/input/unconfirmed-text-navigation-with-page-cache-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/unconfirmed-text-navigation-with-page-cache-expected.txt.
* editing/mac/input/unconfirmed-text-navigation-with-page-cache.html: Renamed from LayoutTests/platform/mac/editing/input/unconfirmed-text-navigation-with-page-cache.html.
* editing/mac/input/undo-grouping-on-text-insertion-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/undo-grouping-on-text-insertion-expected.txt.
* editing/mac/input/undo-grouping-on-text-insertion.html: Renamed from LayoutTests/platform/mac/editing/input/undo-grouping-on-text-insertion.html.
* editing/mac/input/wrapped-line-char-rect-expected.txt: Renamed from LayoutTests/platform/mac/editing/input/wrapped-line-char-rect-expected.txt.
* editing/mac/input/wrapped-line-char-rect.html: Renamed from LayoutTests/platform/mac/editing/input/wrapped-line-char-rect.html.
* editing/mac/pasteboard/5583362-expected.png: Renamed from LayoutTests/platform/mac/editing/pasteboard/5583362-expected.png.
* editing/mac/pasteboard/5583362-expected.txt: Renamed from LayoutTests/platform/mac/editing/pasteboard/5583362-expected.txt.
* editing/mac/pasteboard/5583362.html: Renamed from LayoutTests/platform/mac/editing/pasteboard/5583362.html.
* editing/mac/pasteboard/dataTransfer-set-data-file-url-expected.png: Renamed from LayoutTests/platform/mac/editing/pasteboard/dataTransfer-set-data-file-url-expected.png.
* editing/mac/pasteboard/dataTransfer-set-data-file-url-expected.txt: Renamed from LayoutTests/platform/mac/editing/pasteboard/dataTransfer-set-data-file-url-expected.txt.
* editing/mac/pasteboard/dataTransfer-set-data-file-url.html: Renamed from LayoutTests/platform/mac/editing/pasteboard/dataTransfer-set-data-file-url.html.
* editing/mac/pasteboard/drag-selections-to-contenteditable-expected.txt: Renamed from LayoutTests/platform/mac/editing/pasteboard/drag-selections-to-contenteditable-expected.txt.
* editing/mac/pasteboard/drag-selections-to-contenteditable.html: Renamed from LayoutTests/platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html.
* editing/mac/pasteboard/paste-and-match-style-selector-event-expected.txt: Renamed from LayoutTests/platform/mac/editing/pasteboard/paste-and-match-style-selector-event-expected.txt.
* editing/mac/pasteboard/paste-and-match-style-selector-event.html: Renamed from LayoutTests/platform/mac/editing/pasteboard/paste-and-match-style-selector-event.html.
* editing/mac/pasteboard/text-precomposed-expected.txt: Renamed from LayoutTests/platform/mac/editing/pasteboard/text-precomposed-expected.txt.
* editing/mac/pasteboard/text-precomposed.html: Renamed from LayoutTests/platform/mac/editing/pasteboard/text-precomposed.html.
* editing/mac/selection/25228-expected.png: Renamed from LayoutTests/platform/mac/editing/selection/25228-expected.png.
* editing/mac/selection/25228-expected.txt: Renamed from LayoutTests/platform/mac/editing/selection/25228-expected.txt.
* editing/mac/selection/25228.html: Renamed from LayoutTests/platform/mac/editing/selection/25228.html.
* editing/mac/selection/context-menu-select-editability-expected.txt: Renamed from LayoutTests/platform/mac/editing/selection/context-menu-select-editability-expected.txt.
* editing/mac/selection/context-menu-select-editability.html: Renamed from LayoutTests/platform/mac/editing/selection/context-menu-select-editability.html.
* editing/mac/selection/doubleclick-should-not-expand-across-lines-expected.txt: Renamed from LayoutTests/platform/mac/editing/selection/doubleclick-should-not-expand-across-lines-expected.txt.
* editing/mac/selection/doubleclick-should-not-expand-across-lines.html: Renamed from LayoutTests/platform/mac/editing/selection/doubleclick-should-not-expand-across-lines.html.
* editing/mac/selection/script-tests/TEMPLATE.html: Renamed from LayoutTests/platform/mac/editing/selection/script-tests/TEMPLATE.html.
* editing/mac/selection/script-tests/doubleclick-should-not-expand-across-lines.js: Renamed from LayoutTests/platform/mac/editing/selection/script-tests/doubleclick-should-not-expand-across-lines.js.
(description.doubleClickOnElement):
(doubleClickAt):
(selectionShouldBe):
* editing/mac/selection/word-thai-expected.txt: Renamed from LayoutTests/platform/mac/editing/selection/word-thai-expected.txt.
* editing/mac/selection/word-thai.html: Renamed from LayoutTests/platform/mac/editing/selection/word-thai.html.
* editing/mac/spelling/autocorrection-at-beginning-of-word-1-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.png.
* editing/mac/spelling/autocorrection-at-beginning-of-word-1-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt.
* editing/mac/spelling/autocorrection-at-beginning-of-word-1.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1.html.
* editing/mac/spelling/autocorrection-at-beginning-of-word-2-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.png.
* editing/mac/spelling/autocorrection-at-beginning-of-word-2-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt.
* editing/mac/spelling/autocorrection-at-beginning-of-word-2.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2.html.
* editing/mac/spelling/autocorrection-blockquote-crash-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt.
* editing/mac/spelling/autocorrection-blockquote-crash.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-blockquote-crash.html.
* editing/mac/spelling/autocorrection-contraction-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-contraction-expected.png.
* editing/mac/spelling/autocorrection-contraction-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-contraction-expected.txt.
* editing/mac/spelling/autocorrection-contraction.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-contraction.html.
* editing/mac/spelling/autocorrection-delete-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-delete-expected.png.
* editing/mac/spelling/autocorrection-delete-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-delete-expected.txt.
* editing/mac/spelling/autocorrection-delete.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-delete.html.
* editing/mac/spelling/autocorrection-in-textarea-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-in-textarea-expected.txt.
* editing/mac/spelling/autocorrection-in-textarea.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-in-textarea.html.
* editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.png.
* editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.txt.
* editing/mac/spelling/autocorrection-removing-underline-after-paste.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html.
* editing/mac/spelling/autocorrection-removing-underline-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-expected.png.
* editing/mac/spelling/autocorrection-removing-underline-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-expected.txt.
* editing/mac/spelling/autocorrection-removing-underline.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline.html.
* editing/mac/spelling/autocorrection-respets-undo-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-respets-undo-expected.txt.
* editing/mac/spelling/autocorrection-respets-undo.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-respets-undo.html.
* editing/mac/spelling/autocorrection-simple-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-simple-expected.png.
* editing/mac/spelling/autocorrection-simple-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-simple-expected.txt.
* editing/mac/spelling/autocorrection-simple.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-simple.html.
* editing/mac/spelling/autocorrection-with-multi-line-text-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-with-multi-line-text-expected.txt.
* editing/mac/spelling/autocorrection-with-multi-line-text.html: Renamed from LayoutTests/platform/mac/editing/spelling/autocorrection-with-multi-line-text.html.
* editing/mac/spelling/click-autocorrected-word-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/click-autocorrected-word-expected.png.
* editing/mac/spelling/click-autocorrected-word-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/click-autocorrected-word-expected.txt.
* editing/mac/spelling/click-autocorrected-word.html: Renamed from LayoutTests/platform/mac/editing/spelling/click-autocorrected-word.html.
* editing/mac/spelling/delete-autocorrected-word-1-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png.
* editing/mac/spelling/delete-autocorrected-word-1-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.txt.
* editing/mac/spelling/delete-autocorrected-word-1.html: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-1.html.
* editing/mac/spelling/delete-autocorrected-word-2-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-2-expected.png.
* editing/mac/spelling/delete-autocorrected-word-2-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-2-expected.txt.
* editing/mac/spelling/delete-autocorrected-word-2.html: Renamed from LayoutTests/platform/mac/editing/spelling/delete-autocorrected-word-2.html.
* editing/mac/spelling/delete-into-autocorrected-word-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/delete-into-autocorrected-word-expected.png.
* editing/mac/spelling/delete-into-autocorrected-word-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/delete-into-autocorrected-word-expected.txt.
* editing/mac/spelling/delete-into-autocorrected-word.html: Renamed from LayoutTests/platform/mac/editing/spelling/delete-into-autocorrected-word.html.
* editing/mac/spelling/editing-word-with-marker-1-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/editing-word-with-marker-1-expected.txt.
* editing/mac/spelling/editing-word-with-marker-1.html: Renamed from LayoutTests/platform/mac/editing/spelling/editing-word-with-marker-1.html.
* editing/mac/spelling/forward-delete-into-autocorrected-word-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.png.
* editing/mac/spelling/forward-delete-into-autocorrected-word-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.txt.
* editing/mac/spelling/forward-delete-into-autocorrected-word.html: Renamed from LayoutTests/platform/mac/editing/spelling/forward-delete-into-autocorrected-word.html.
* editing/mac/spelling/move-cursor-to-autocorrected-word-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.png.
* editing/mac/spelling/move-cursor-to-autocorrected-word-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.txt.
* editing/mac/spelling/move-cursor-to-autocorrected-word.html: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-autocorrected-word.html.
* editing/mac/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.png: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.png.
* editing/mac/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.txt.
* editing/mac/spelling/move-cursor-to-beginning-of-autocorrected-word.html: Renamed from LayoutTests/platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word.html.
* editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt: Renamed from LayoutTests/platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt.
* editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation.html: Renamed from LayoutTests/platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation.html.
* platform/mac-wk2/TestExpectations:
* platform/mac-wk2/editing/mac/spelling/autocorrection-contraction-expected.png: Renamed from LayoutTests/platform/mac-wk2/platform/mac/editing/spelling/autocorrection-contraction-expected.png.
* platform/mac-wk2/editing/mac/spelling/autocorrection-contraction-expected.txt: Renamed from LayoutTests/platform/mac-wk2/platform/mac/editing/spelling/autocorrection-contraction-expected.txt.
* platform/mac/TestExpectations:
* platform/mac/editing/input/caret-primary-bidi-expected.txt: Removed.
* platform/win/editing/mac/spelling/autocorrection-contraction-expected.txt: Renamed from LayoutTests/platform/win/platform/mac/editing/spelling/autocorrection-contraction-expected.txt.
* platform/wk2/TestExpectations:

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

4 years agoCTTE the database task code
andersca@apple.com [Wed, 5 Aug 2015 01:32:38 +0000 (01:32 +0000)]
CTTE the database task code
https://bugs.webkit.org/show_bug.cgi?id=147673

Reviewed by Andreas Kling.

* Modules/webdatabase/Database.cpp:
(WebCore::Database::openAndVerifyVersion):
(WebCore::Database::markAsDeletedAndClose):
(WebCore::Database::tableNames):
* Modules/webdatabase/DatabaseTask.cpp:
(WebCore::DatabaseTask::DatabaseTask):
(WebCore::DatabaseTask::performTask):
(WebCore::DatabaseBackend::DatabaseOpenTask::DatabaseOpenTask):
(WebCore::DatabaseBackend::DatabaseOpenTask::doPerformTask):
(WebCore::DatabaseBackend::DatabaseCloseTask::DatabaseCloseTask):
(WebCore::DatabaseBackend::DatabaseCloseTask::doPerformTask):
(WebCore::DatabaseBackend::DatabaseTransactionTask::DatabaseTransactionTask):
(WebCore::DatabaseBackend::DatabaseTableNamesTask::DatabaseTableNamesTask):
(WebCore::DatabaseBackend::DatabaseTableNamesTask::doPerformTask):
* Modules/webdatabase/DatabaseTask.h:
(WebCore::DatabaseTask::database):
* Modules/webdatabase/DatabaseThread.cpp:
(WebCore::SameDatabasePredicate::operator()):

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

4 years agoREGRESSION (r173784): [Mac] Correct latching error for non-scrollable iframe nested...
bfulgham@apple.com [Wed, 5 Aug 2015 01:26:16 +0000 (01:26 +0000)]
REGRESSION (r173784): [Mac] Correct latching error for non-scrollable iframe nested inside scrollable div.
https://bugs.webkit.org/show_bug.cgi?id=147668
<rdar://problem/21870332>

Reviewed by Simon Fraser.

Source/WebCore:

Test: platform/mac/fast/scrolling/scroll-div-with-nested-nonscrollable-iframe.html

When we are wrapping up processing of the wheel event for a given frame, if the current latching context
does NOT apply to the current frame (e.g., because it's latched to an enclosing frame) we should not pass
wheel events directly to the latched elements scrollable container. Instead, we should just give the current
frame an opportunity to perform any custom wheel event handling and return, so that the enclosing (latched)
frame can do the rest of its event handling.

If we don't do this, we incorrectly ask the enclosing frame to process the event, then return claiming that
we handled the event, preventing the enclosing frame from doing its part of the processing.

* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::platformCompleteWheelEvent):

LayoutTests:

* platform/mac/fast/scrolling/resources/background.html: Added.
* platform/mac/fast/scrolling/scroll-div-with-nested-nonscrollable-iframe-expected.txt: Added.
* platform/mac/fast/scrolling/scroll-div-with-nested-nonscrollable-iframe.html: Added.

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

4 years agoWeb Inspector: Layout & Rendering timeline grid should show TimelineRecord parent...
mattbaker@apple.com [Wed, 5 Aug 2015 01:25:00 +0000 (01:25 +0000)]
Web Inspector: Layout & Rendering timeline grid should show TimelineRecord parent/child relationships
https://bugs.webkit.org/show_bug.cgi?id=147468

Reviewed by Brian Burg.

Layout timeline data grid now shows record nesting for Layout and Composite events.

* UserInterface/Controllers/TimelineManager.js:
(WebInspector.TimelineManager.prototype.eventRecorded):
* UserInterface/Models/TimelineRecord.js:
(WebInspector.TimelineRecord.prototype.get parent):
(WebInspector.TimelineRecord.prototype.set parent):
Preserve timeline record parent/child relationship.

* UserInterface/Views/LayoutTimelineView.js:
(WebInspector.LayoutTimelineView):
Style change for disclosure triangle support.
(WebInspector.LayoutTimelineView.prototype._layoutTimelineRecordAdded):
Only process immediate children of the rendering frame record.

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

4 years agoSoft link libGLESv2 and libEGL on Windows again
achristensen@apple.com [Wed, 5 Aug 2015 01:15:22 +0000 (01:15 +0000)]
Soft link libGLESv2 and libEGL on Windows again
https://bugs.webkit.org/show_bug.cgi?id=147671

Reviewed by Dean Jackson.

Source/ThirdParty/ANGLE:

* CMakeLists.txt:
Clean up some warnings when compiling with CMake.
* include/EGL/egl.h:
* include/EGL/eglsoftlinking.h:
* include/GLES2/gl2.h:
Soft link egl optionally.

Source/WebCore:

* platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::initializeEGLDisplay):
Fail gracefully if libEGL is not found.

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

4 years agoRemove another unused database function
andersca@apple.com [Wed, 5 Aug 2015 01:08:30 +0000 (01:08 +0000)]
Remove another unused database function
https://bugs.webkit.org/show_bug.cgi?id=147670

Reviewed by Daniel Bates.

This was used back when we had WebSQL support in workers, we can safely remove all these functions now.

* Modules/webdatabase/AbstractDatabaseServer.h:
* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::interruptAllDatabasesForContext): Deleted.
* Modules/webdatabase/DatabaseManager.h:
* Modules/webdatabase/DatabaseServer.cpp:
(WebCore::DatabaseServer::interruptAllDatabasesForContext): Deleted.
* Modules/webdatabase/DatabaseServer.h:
* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::interruptAllDatabasesForContext): Deleted.
* Modules/webdatabase/DatabaseTracker.h:

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

4 years agoRemove database thread pause code
andersca@apple.com [Wed, 5 Aug 2015 00:57:51 +0000 (00:57 +0000)]
Remove database thread pause code
https://bugs.webkit.org/show_bug.cgi?id=147669

Reviewed by Daniel Bates.

Source/WebCore:

We now grab power assertions while running SQLite transactions,
and this code isn't used at all with modern WebKit so let's just get rid of it.

* Modules/webdatabase/DatabaseContext.cpp:
(WebCore::DatabaseContext::DatabaseContext): Deleted.
(WebCore::DatabaseContext::databaseThread): Deleted.
(WebCore::DatabaseContext::setPaused): Deleted.
* Modules/webdatabase/DatabaseContext.h:
* Modules/webdatabase/DatabaseTask.cpp:
(WebCore::Database::DatabaseTransactionTask::shouldPerformWhilePaused): Deleted.
* Modules/webdatabase/DatabaseTask.h:
* Modules/webdatabase/DatabaseThread.cpp:
(WebCore::DatabaseThread::DatabaseThread): Deleted.
(WebCore::DatabaseThread::requestTermination): Deleted.
(WebCore::DatabaseUnpauseTask::DatabaseUnpauseTask): Deleted.
(WebCore::DatabaseUnpauseTask::shouldPerformWhilePaused): Deleted.
(WebCore::DatabaseUnpauseTask::doPerformTask): Deleted.
(WebCore::DatabaseUnpauseTask::debugTaskName): Deleted.
(WebCore::DatabaseThread::setPaused): Deleted.
(WebCore::DatabaseThread::handlePausedQueue): Deleted.
(WebCore::DatabaseThread::databaseThread): Deleted.
* Modules/webdatabase/DatabaseThread.h:
* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::setDatabasesPaused): Deleted.
* Modules/webdatabase/DatabaseTracker.h:

Source/WebKit/ios:

* Misc/WebUIKitSupport.mm:
(WebKitSetBackgroundAndForegroundNotificationNames):
(applicationDidEnterBackground): Deleted.
(applicationWillEnterForeground): Deleted.

Source/WebKit/mac:

* Storage/WebDatabaseManager.mm:
(WebKitSetWebDatabasePaused): Deleted.
* Storage/WebDatabaseManagerInternal.h:

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

4 years agoInstall twisted package for http server when necessary.
commit-queue@webkit.org [Wed, 5 Aug 2015 00:46:43 +0000 (00:46 +0000)]
Install twisted package for http server when necessary.
https://bugs.webkit.org/show_bug.cgi?id=147082

Patch by Dewei Zhu <dewei_zhu@apple.com> on 2015-08-04
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
* Scripts/webkitpy/thirdparty/__init__.py:
(AutoinstallImportHook.find_module):
(AutoinstallImportHook._install_twisted):

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

4 years agoWeb Inspector: "No Filter Results" overlaps other UI elements when docked Inspector...
drousso@apple.com [Wed, 5 Aug 2015 00:41:31 +0000 (00:41 +0000)]
Web Inspector: "No Filter Results" overlaps other UI elements when docked Inspector is small
https://bugs.webkit.org/show_bug.cgi?id=147659

Reviewed by Timothy Hatcher.

Hide overflow of empty content label containers in navigation sidebars.

* UserInterface/Views/NavigationSidebarPanel.css:
(.sidebar > .panel.navigation > .empty-content-placeholder):

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

4 years agoSubframes with no current HistoryItem should not prevent page-caching
cdumez@apple.com [Wed, 5 Aug 2015 00:28:09 +0000 (00:28 +0000)]
Subframes with no current HistoryItem should not prevent page-caching
https://bugs.webkit.org/show_bug.cgi?id=147649
<rdar://problem/21614832>

Reviewed by Andreas Kling.

Source/WebCore:

Subframes with no current HistoryItem should not prevent page-caching.
We need one for the main frame as this is the key in the PageCache.
However, there is no reason to require one for subframes.

This is a common reason for page-caching failures nowadays.

Frames do no have a current HistoryItem until something has been loaded in them.

Test: http/tests/navigation/page-cache-iframe-no-current-historyItem.html

* history/PageCache.cpp:
(WebCore::logCanCacheFrameDecision):
(WebCore::PageCache::canCachePageContainingThisFrame):

LayoutTests:

Add a layout test that covers page-caching of a page that contains an
iframe with no current HistoryItem. The sub-frame has no current
HistoryItem because its URL is invalid: "http://".

* http/tests/navigation/page-cache-iframe-no-current-historyItem-expected.txt: Added.
* http/tests/navigation/page-cache-iframe-no-current-historyItem.html: Added.
New test.

* platform/mac-wk1/TestExpectations:
Skip the new test on Mac WK1. The page is still not cacheable on Mac WK1
because WebFrameLoaderClient::canCachePage() returns false if the frame
does not contain HTML at the moment.

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

4 years ago[Win] Build fix after r187908
bfulgham@apple.com [Wed, 5 Aug 2015 00:27:12 +0000 (00:27 +0000)]
[Win] Build fix after r187908

* platform/win/WindowsTouch.h: If WINVER is set properly, we
don't need these definitions.

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

4 years agoFix script paths in these tests.
simon.fraser@apple.com [Wed, 5 Aug 2015 00:08:51 +0000 (00:08 +0000)]
Fix script paths in these tests.

* tiled-drawing/scrolling/non-fast-region/destroy-element-with-multiple-handlers-crash.html:
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-crash.html:
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-parent-crash.html:

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

4 years agoFix quirks with CMake and VS2015
achristensen@apple.com [Tue, 4 Aug 2015 23:58:35 +0000 (23:58 +0000)]
Fix quirks with CMake and VS2015
https://bugs.webkit.org/show_bug.cgi?id=147663

Reviewed by Brent Fulgham.

.:

* Source/cmake/OptionsWindows.cmake:
Hide some warnings.  Using the same variable names in nested scopes is ok for now.
Disable INTL for now.

Source/WTF:

* wtf/Platform.h:
Build fix after r187908

WebKitLibraries:

* win/tools/vsprops/common.props:
Hide some warnings.  Using the same variable names in nested scopes is ok for now.

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

4 years agoMedia Session: add a focus manager that WebKit clients can use to access the focused...
mrajca@apple.com [Tue, 4 Aug 2015 23:55:09 +0000 (23:55 +0000)]
Media Session: add a focus manager that WebKit clients can use to access the focused media element
https://bugs.webkit.org/show_bug.cgi?id=147629

Reviewed by Tim Horton.

* Shared/API/APIObject.h: Added a new type for the focus manager.
* Shared/API/c/WKBase.h: Added a new type for the focus manager.
* UIProcess/API/C/WKAPICast.h: Added a new type for the focus manager.
* UIProcess/API/C/WKContext.cpp: The "global" focus manager is accessed via WKContext.
(WKContextGetMediaSessionFocusManager):
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKMediaSessionFocusManager.cpp: Added C wrapper for WebMediaSessionFocusManager.
(WKMediaSessionFocusManagerGetTypeID):
(WKMediaSessionFocusManagerIsFocusedContentMediaElementPaused):
* UIProcess/API/C/WKMediaSessionFocusManager.h: Added C wrapper for WebMediaSessionFocusManager.
* UIProcess/WebMediaSessionFocusManager.cpp: Added to keep track of the focused media element in the UI process and let clients query this state.
(WebKit::WebMediaSessionFocusManager::supplementName):
(WebKit::WebMediaSessionFocusManager::create):
(WebKit::WebMediaSessionFocusManager::WebMediaSessionFocusManager):
(WebKit::WebMediaSessionFocusManager::refWebContextSupplement):
(WebKit::WebMediaSessionFocusManager::derefWebContextSupplement):
(WebKit::WebMediaSessionFocusManager::isFocusedContentMediaElementPaused): Check if the media element on the focused page is paused.
(WebKit::WebMediaSessionFocusManager::setFocusedMediaElement): Keep track of the focused page / media element pair.
(WebKit::WebMediaSessionFocusManager::clearFocusedMediaElement): Reset the focused page / media element pair.
* UIProcess/WebMediaSessionFocusManager.h: Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::isMediaElementPaused): Updated to take a UnsignedCallback.
(WebKit::WebPageProxy::focusedContentMediaElementDidChange): Store the focused media element in the focus manager.
* UIProcess/WebPageProxy.h:
* UIProcess/WebProcessPool.cpp: Added WebMediaSessionFocusManager as a supplement.
* UIProcess/WebProcessPool.h: WebMediaSessionFocusManager is a supplement, so include its header.
* WebKit2.xcodeproj/project.pbxproj: Added new sources and ran sort-xcode-project.

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

4 years agoRemove an unused Database function
andersca@apple.com [Tue, 4 Aug 2015 23:44:25 +0000 (23:44 +0000)]
Remove an unused Database function
https://bugs.webkit.org/show_bug.cgi?id=147661

Reviewed by Simon Fraser.

* Modules/webdatabase/Database.cpp:
(WebCore::Database::closeImmediately): Deleted.
* Modules/webdatabase/Database.h:

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

4 years agoFix the build.
simon.fraser@apple.com [Tue, 4 Aug 2015 23:37:29 +0000 (23:37 +0000)]
Fix the build.

* Plugins/WebNetscapePluginStream.h:

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

4 years agoUnreviewed gardening. Marked appcache test as flakey.
joepeck@webkit.org [Tue, 4 Aug 2015 23:30:43 +0000 (23:30 +0000)]
Unreviewed gardening. Marked appcache test as flakey.

I was unable to reduce flakiness of this in an acceptable fashion,
just mark it as pass/fail.

* TestExpectations:

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

4 years ago[Win] Update Apple Windows build for VS2015
bfulgham@apple.com [Tue, 4 Aug 2015 23:10:36 +0000 (23:10 +0000)]
[Win] Update Apple Windows build for VS2015
https://bugs.webkit.org/show_bug.cgi?id=147653

Reviewed by Dean Jackson.

Source/JavaScriptCore:

* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Drive-by-fix.
Show JSC files in proper project locations in IDE.

Source/WebKit/win:

* WebView.cpp:
(WebView::setCacheModel): Add explicit 'get' to satisfy compiler.

Source/WTF:

* WTF.vcxproj/WTF.vcxproj.filters: Drive-by-fix to place files in
proper project locations in the IDE.
* wtf/Platform.h: Don't define the _HAS_EXCEPTIONS macro when building with
Visual Studio 2015.

Tools:

* DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/PluginTest.h: If building with
something older than VS2015, define snprintf as _snprintf.
* DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props:
Remove unneeded macro definition for snprintf.
* Scripts/webkitpy/common/system/platforminfo.py:
(PlatformInfo._determine_win_version): Recognize Windows 10.
* Scripts/webkitpy/port/win.py:
(WinPort): Ditto.
* Scripts/webkitpy/port/win_unittest.py:
(WinPortTest.test_baseline_search_path): Include Windows 10 in tests.
(WinPortTest._assert_version): Ditto.

WebKitLibraries:

* win/tools/vsprops/common.props: Fix build flags to use Windows 7
(WINVER=0x601) as minimum build target for 64-bit builds.

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

4 years agoCrash when following a Google search link to Twitter with Limit Adult Content enabled.
beidson@apple.com [Tue, 4 Aug 2015 23:08:55 +0000 (23:08 +0000)]
Crash when following a Google search link to Twitter with Limit Adult Content enabled.
<rdar://problem/22123707> and https://bugs.webkit.org/show_bug.cgi?id=147651

Reviewed by Sam Weinig.

No new tests (Doesn't occur in a tested config).

For now, we'll skip the application cache for main resource loads if parental controls are enabled.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::willSendRequest):
(WebCore::DocumentLoader::startLoadingMainResource):

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

4 years agoMove platform/mac-wk2/tiled-drawing to tiled-drawing/
simon.fraser@apple.com [Tue, 4 Aug 2015 22:53:28 +0000 (22:53 +0000)]
Move platform/mac-wk2/tiled-drawing to tiled-drawing/

* TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* tiled-drawing/background-transparency-toggle-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/background-transparency-toggle-expected.txt.
* tiled-drawing/background-transparency-toggle.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/background-transparency-toggle.html.
* tiled-drawing/crash-reloading-with-position-fixed-content-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/crash-reloading-with-position-fixed-content-expected.txt.
* tiled-drawing/crash-reloading-with-position-fixed-content.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/crash-reloading-with-position-fixed-content.html.
* tiled-drawing/fixed-background-scroll-repaint-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-background-scroll-repaint-expected.txt.
* tiled-drawing/fixed-background-scroll-repaint.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-background-scroll-repaint.html.
* tiled-drawing/fixed-layout-size-fixed-attachment-cover-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-layout-size-fixed-attachment-cover-expected.html.
* tiled-drawing/fixed-layout-size-fixed-attachment-cover.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-layout-size-fixed-attachment-cover.html.
* tiled-drawing/fixed-layout-size-fixed-attachment-local-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-layout-size-fixed-attachment-local-expected.html.
* tiled-drawing/fixed-layout-size-fixed-attachment-local.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-layout-size-fixed-attachment-local.html.
* tiled-drawing/header-and-footer-hit-testing-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-expected.txt.
* tiled-drawing/header-and-footer-hit-testing-in-frame-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame-expected.txt.
* tiled-drawing/header-and-footer-hit-testing-in-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html.
* tiled-drawing/header-and-footer-hit-testing-with-page-scale-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale-expected.txt.
* tiled-drawing/header-and-footer-hit-testing-with-page-scale.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html.
* tiled-drawing/header-and-footer-hit-testing.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html.
* tiled-drawing/resources/bordered-image.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/bordered-image.png.
* tiled-drawing/resources/go-back.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/go-back.html.
* tiled-drawing/resources/green-blue.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/green-blue.png.
* tiled-drawing/resources/green.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/green.png.
* tiled-drawing/resources/greenbox.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/greenbox.png.
* tiled-drawing/resources/iframe-to-hit-test.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html.
* tiled-drawing/resources/scroll-and-load-page.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/resources/scroll-and-load-page.html.
* tiled-drawing/scrolling/clamp-out-of-bounds-scrolls-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/clamp-out-of-bounds-scrolls-expected.txt.
* tiled-drawing/scrolling/clamp-out-of-bounds-scrolls.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/clamp-out-of-bounds-scrolls.html.
* tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt.
* tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-div-latched-div.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div.html.
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt.
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe.html.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe.html.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe.html.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-select-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-select-expected.txt.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-select.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-select.html.
* tiled-drawing/scrolling/fast-scroll-mainframe-zoom-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-mainframe-zoom-expected.txt.
* tiled-drawing/scrolling/fast-scroll-mainframe-zoom.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-mainframe-zoom.html.
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt.
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html.
* tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt.
* tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt.
* tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler.html.
* tiled-drawing/scrolling/fast-scroll-select-latched-select.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-composited-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-composited-expected.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-composited.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-composited.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-negative-z-index-fixed-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-negative-z-index-fixed-expected.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-negative-z-index-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-negative-z-index-fixed.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-background-no-image.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-no-image.html.
* tiled-drawing/scrolling/fixed-background/fixed-background-removal-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-removal-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-background-removal.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-background-removal.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed.html.
* tiled-drawing/scrolling/fixed-background/fixed-body-background.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-body-background.html.
* tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-html-background.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-html-background.html.
* tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.png.
* tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt.
* tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background.html.
* tiled-drawing/scrolling/fixed/absolute-inside-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/absolute-inside-fixed-expected.txt.
* tiled-drawing/scrolling/fixed/absolute-inside-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/absolute-inside-fixed.html.
* tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed-expected.txt.
* tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed.html.
* tiled-drawing/scrolling/fixed/fixed-in-overflow-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-in-overflow-expected.txt.
* tiled-drawing/scrolling/fixed/fixed-in-overflow.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-in-overflow.html.
* tiled-drawing/scrolling/fixed/fixed-position-out-of-view-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-position-out-of-view-expected.txt.
* tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex-expected.txt.
* tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex.html.
* tiled-drawing/scrolling/fixed/fixed-position-out-of-view.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/fixed-position-out-of-view.html.
* tiled-drawing/scrolling/fixed/four-bars-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars-expected.txt.
* tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt.
* tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer.html.
* tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt.
* tiled-drawing/scrolling/fixed/four-bars-zoomed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars-zoomed.html.
* tiled-drawing/scrolling/fixed/four-bars.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/four-bars.html.
* tiled-drawing/scrolling/fixed/negative-scroll-offset-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/negative-scroll-offset-expected.txt.
* tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view-expected.txt.
* tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view.html.
* tiled-drawing/scrolling/fixed/negative-scroll-offset.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/negative-scroll-offset.html.
* tiled-drawing/scrolling/fixed/nested-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/nested-fixed-expected.txt.
* tiled-drawing/scrolling/fixed/nested-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/nested-fixed.html.
* tiled-drawing/scrolling/fixed/percentage-inside-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/percentage-inside-fixed-expected.txt.
* tiled-drawing/scrolling/fixed/percentage-inside-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed/percentage-inside-fixed.html.
* tiled-drawing/scrolling/frames/coordinated-frame-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt.
* tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt.
* tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html.
* tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt.
* tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html.
* tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt.
* tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html.
* tiled-drawing/scrolling/frames/coordinated-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/coordinated-frame.html.
* tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt.
* tiled-drawing/scrolling/frames/fixed-inside-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/fixed-inside-frame.html.
* tiled-drawing/scrolling/frames/frameset-frame-scrollability-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/frameset-frame-scrollability-expected.txt.
* tiled-drawing/scrolling/frames/frameset-frame-scrollability.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/frameset-frame-scrollability.html.
* tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability-expected.txt.
* tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability.html.
* tiled-drawing/scrolling/frames/orphaned-subtree-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/orphaned-subtree-expected.txt.
* tiled-drawing/scrolling/frames/orphaned-subtree.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/orphaned-subtree.html.
* tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt.
* tiled-drawing/scrolling/frames/remove-coordinated-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/remove-coordinated-frame.html.
* tiled-drawing/scrolling/frames/resources/autoscrolling-frame-with-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/autoscrolling-frame-with-fixed.html.
* tiled-drawing/scrolling/frames/resources/doc-with-sticky.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html.
* tiled-drawing/scrolling/frames/resources/frameset-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/frameset-frame.html.
* tiled-drawing/scrolling/frames/resources/layouting-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/layouting-frame.html.
* tiled-drawing/scrolling/frames/resources/leaf-frame.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/leaf-frame.html.
* tiled-drawing/scrolling/frames/resources/scrollable-page.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/scrollable-page.html.
* tiled-drawing/scrolling/frames/resources/subframe-inside-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources/subframe-inside-fixed.html.
* tiled-drawing/scrolling/frames/scroll-region-after-frame-layout-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/scroll-region-after-frame-layout-expected.txt.
* tiled-drawing/scrolling/frames/scroll-region-after-frame-layout.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/scroll-region-after-frame-layout.html.
* tiled-drawing/scrolling/iframe_in_iframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/iframe_in_iframe-expected.txt.
* tiled-drawing/scrolling/iframe_in_iframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/iframe_in_iframe.html.
* tiled-drawing/scrolling/non-fast-region/compute-region-inside-delete-renderer-crash-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/compute-region-inside-delete-renderer-crash-expected.txt.
* tiled-drawing/scrolling/non-fast-region/compute-region-inside-delete-renderer-crash.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/compute-region-inside-delete-renderer-crash.html.
* tiled-drawing/scrolling/non-fast-region/destroy-element-with-multiple-handlers-crash-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-element-with-multiple-handlers-crash-expected.txt.
* tiled-drawing/scrolling/non-fast-region/destroy-element-with-multiple-handlers-crash.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-element-with-multiple-handlers-crash.html.
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-crash-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-crash-expected.txt.
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-crash.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-crash.html.
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-parent-crash-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-parent-crash-expected.txt.
* tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-parent-crash.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/destroy-wheel-element-parent-crash.html.
* tiled-drawing/scrolling/non-fast-region/handlers-in-iframes-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/handlers-in-iframes-expected.txt.
* tiled-drawing/scrolling/non-fast-region/handlers-in-iframes.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/handlers-in-iframes.html.
* tiled-drawing/scrolling/non-fast-region/resources/gain-wheel-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/resources/gain-wheel-handler.html.
* tiled-drawing/scrolling/non-fast-region/resources/lose-wheel-handler.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/resources/lose-wheel-handler.html.
* tiled-drawing/scrolling/non-fast-region/resources/wheel-handler-region-helper.js: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/resources/wheel-handler-region-helper.js.
(rectsAsString):
(dumpRegion):
* tiled-drawing/scrolling/non-fast-region/top-content-inset-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/top-content-inset-expected.txt.
* tiled-drawing/scrolling/non-fast-region/top-content-inset-header-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/top-content-inset-header-expected.txt.
* tiled-drawing/scrolling/non-fast-region/top-content-inset-header.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/top-content-inset-header.html.
* tiled-drawing/scrolling/non-fast-region/top-content-inset.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/top-content-inset.html.
* tiled-drawing/scrolling/non-fast-region/wheel-event-plugin-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-event-plugin-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-fixed-child-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-fixed-child-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-fixed-child.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-fixed-child.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-columns-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-columns-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-columns.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-columns.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-overflow-scroll-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-overflow-scroll-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-overflow-scroll.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-overflow-scroll.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-region-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-region-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-in-region.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-in-region.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-inside-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-inside-fixed-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-inside-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-inside-fixed.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-on-document-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-on-document-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-on-document.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-on-document.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-on-fixed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-on-fixed-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-on-fixed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-on-fixed.html.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-region-basic-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-region-basic-expected.txt.
* tiled-drawing/scrolling/non-fast-region/wheel-handler-region-basic.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/wheel-handler-region-basic.html.
* tiled-drawing/scrolling/null-parent-back-crash-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/null-parent-back-crash-expected.txt.
* tiled-drawing/scrolling/null-parent-back-crash.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/null-parent-back-crash.html.
* tiled-drawing/scrolling/overflow-scroll-reduced-content-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/overflow-scroll-reduced-content-expected.txt.
* tiled-drawing/scrolling/overflow-scroll-reduced-content.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/overflow-scroll-reduced-content.html.
* tiled-drawing/scrolling/overflow-scroll-zero-delta-wheel-events-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/overflow-scroll-zero-delta-wheel-events-expected.txt.
* tiled-drawing/scrolling/overflow-scroll-zero-delta-wheel-events.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/overflow-scroll-zero-delta-wheel-events.html.
* tiled-drawing/scrolling/resources/inner_content.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources/inner_content.html.
* tiled-drawing/scrolling/resources/select_iframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources/select_iframe.html.
* tiled-drawing/scrolling/resources/testContent.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources/testContent.html.
* tiled-drawing/scrolling/resources/testImage.png: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources/testImage.png.
* tiled-drawing/scrolling/root-overflow-with-mousewheel-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/root-overflow-with-mousewheel-expected.txt.
* tiled-drawing/scrolling/root-overflow-with-mousewheel.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/root-overflow-with-mousewheel.html.
* tiled-drawing/scrolling/scroll-snap/resources/horizontal-mainframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/resources/horizontal-mainframe.html.
* tiled-drawing/scrolling/scroll-snap/resources/vertical-mainframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/resources/vertical-mainframe.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated-expected.txt.
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html.
* tiled-drawing/scrolling/scrolling-tree-after-scroll-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scrolling-tree-after-scroll-expected.txt.
* tiled-drawing/scrolling/scrolling-tree-after-scroll.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scrolling-tree-after-scroll.html.
* tiled-drawing/scrolling/scrolling-tree-slow-scrolling-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scrolling-tree-slow-scrolling-expected.txt.
* tiled-drawing/scrolling/scrolling-tree-slow-scrolling.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scrolling-tree-slow-scrolling.html.
* tiled-drawing/scrolling/slow-scrolling-background-toggle-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling-background-toggle-expected.txt.
* tiled-drawing/scrolling/slow-scrolling-background-toggle.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling-background-toggle.html.
* tiled-drawing/scrolling/slow-scrolling-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling-expected.txt.
* tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle-expected.txt.
* tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html.
* tiled-drawing/scrolling/slow-scrolling.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/slow-scrolling.html.
* tiled-drawing/scrolling/stateless-scrolling-no-rubber-band-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/stateless-scrolling-no-rubber-band-expected.txt.
* tiled-drawing/scrolling/stateless-scrolling-no-rubber-band.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/stateless-scrolling-no-rubber-band.html.
* tiled-drawing/scrolling/sticky/negative-scroll-offset-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/negative-scroll-offset-expected.txt.
* tiled-drawing/scrolling/sticky/negative-scroll-offset.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/negative-scroll-offset.html.
* tiled-drawing/scrolling/sticky/sticky-horizontal-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-horizontal-expected.txt.
* tiled-drawing/scrolling/sticky/sticky-horizontal.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-horizontal.html.
* tiled-drawing/scrolling/sticky/sticky-layers-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-layers-expected.txt.
* tiled-drawing/scrolling/sticky/sticky-layers.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-layers.html.
* tiled-drawing/scrolling/sticky/sticky-vertical-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-vertical-expected.txt.
* tiled-drawing/scrolling/sticky/sticky-vertical.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky/sticky-vertical.html.
* tiled-drawing/scrolling/wheel-events-with-no-delta-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/wheel-events-with-no-delta-expected.txt.
* tiled-drawing/scrolling/wheel-events-with-no-delta.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/wheel-events-with-no-delta.html.
* tiled-drawing/simple-document-with-margin-tiles-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles-expected.txt.
* tiled-drawing/simple-document-with-margin-tiles.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles.html.
* tiled-drawing/tile-coverage-after-scroll-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll-expected.txt.
* tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt.
* tiled-drawing/tile-coverage-after-scroll-speculative.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll-speculative.html.
* tiled-drawing/tile-coverage-after-scroll.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll.html.
* tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt.
* tiled-drawing/tile-coverage-scroll-to-bottom.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-scroll-to-bottom.html.
* tiled-drawing/tile-coverage-slow-scrolling-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling-expected.txt.
* tiled-drawing/tile-coverage-slow-scrolling.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling.html.
* tiled-drawing/tile-coverage-speculative-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-speculative-expected.txt.
* tiled-drawing/tile-coverage-speculative.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-speculative.html.
* tiled-drawing/tile-size-slow-zoomed-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-size-slow-zoomed-expected.txt.
* tiled-drawing/tile-size-slow-zoomed.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tile-size-slow-zoomed.html.
* tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt.
* tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html.
* tiled-drawing/tiled-drawing-zoom-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-zoom-expected.txt.
* tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt.
* tiled-drawing/tiled-drawing-zoom-scrolled.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-zoom-scrolled.html.
* tiled-drawing/tiled-drawing-zoom.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/tiled-drawing-zoom.html.
* tiled-drawing/toggle-to-fixed-background-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/toggle-to-fixed-background-expected.txt.
* tiled-drawing/toggle-to-fixed-background.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/toggle-to-fixed-background.html.
* tiled-drawing/top-content-inset-fixed-attachment-body-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-body-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-body.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-body.html.
* tiled-drawing/top-content-inset-fixed-attachment-cover-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-cover-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-cover-local-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-cover-local-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-cover-local.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-cover-local.html.
* tiled-drawing/top-content-inset-fixed-attachment-cover.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-cover.html.
* tiled-drawing/top-content-inset-fixed-attachment-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-local-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-local-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-local.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-local.html.
* tiled-drawing/top-content-inset-fixed-attachment-positioned-expected.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-positioned-expected.html.
* tiled-drawing/top-content-inset-fixed-attachment-positioned.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment-positioned.html.
* tiled-drawing/top-content-inset-fixed-attachment.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/top-content-inset-fixed-attachment.html.
* tiled-drawing/use-tiled-drawing-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/use-tiled-drawing-expected.txt.
* tiled-drawing/use-tiled-drawing.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/use-tiled-drawing.html.
* tiled-drawing/visible-rect-content-inset-expected.txt: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/visible-rect-content-inset-expected.txt.
* tiled-drawing/visible-rect-content-inset.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/visible-rect-content-inset.html.
* tiled-drawing/window-server-snapshots-work-expected-mismatch.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/window-server-snapshots-work-expected-mismatch.html.
* tiled-drawing/window-server-snapshots-work.html: Renamed from LayoutTests/platform/mac-wk2/tiled-drawing/window-server-snapshots-work.html.

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

4 years agoMove /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
simon.fraser@apple.com [Tue, 4 Aug 2015 22:52:42 +0000 (22:52 +0000)]
Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/

* TestExpectations:
* accessibility/ios-simulator/accessibility-aria-table-children-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-aria-table-children-expected.txt.
* accessibility/ios-simulator/accessibility-aria-table-children.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-aria-table-children.html.
* accessibility/ios-simulator/accessibility-crash-in-axcontainer-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-crash-in-axcontainer-expected.txt.
* accessibility/ios-simulator/accessibility-crash-in-axcontainer.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-crash-in-axcontainer.html.
* accessibility/ios-simulator/accessibility-hint-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-hint-expected.txt.
* accessibility/ios-simulator/accessibility-hint.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/accessibility-hint.html.
* accessibility/ios-simulator/aria-label-with-internal-text-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/aria-label-with-internal-text-expected.txt.
* accessibility/ios-simulator/aria-label-with-internal-text.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/aria-label-with-internal-text.html.
* accessibility/ios-simulator/aria-pressed-state-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/aria-pressed-state-expected.txt.
* accessibility/ios-simulator/aria-pressed-state.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/aria-pressed-state.html.
* accessibility/ios-simulator/centerpoint-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/centerpoint-expected.txt.
* accessibility/ios-simulator/centerpoint.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/centerpoint.html.
* accessibility/ios-simulator/disabled-states-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/disabled-states-expected.txt.
* accessibility/ios-simulator/disabled-states.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/disabled-states.html.
* accessibility/ios-simulator/dom-focus-fires-on-correct-element-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/dom-focus-fires-on-correct-element-expected.txt.
* accessibility/ios-simulator/dom-focus-fires-on-correct-element.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/dom-focus-fires-on-correct-element.html.
* accessibility/ios-simulator/element-paths-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/element-paths-expected.txt.
* accessibility/ios-simulator/element-paths.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/element-paths.html.
* accessibility/ios-simulator/file-upload-button-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/file-upload-button-expected.txt.
* accessibility/ios-simulator/file-upload-button.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/file-upload-button.html.
* accessibility/ios-simulator/focus-change-notifications-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/focus-change-notifications-expected.txt.
* accessibility/ios-simulator/focus-change-notifications.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/focus-change-notifications.html.
* accessibility/ios-simulator/header-elements-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/header-elements-expected.txt.
* accessibility/ios-simulator/header-elements.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/header-elements.html.
* accessibility/ios-simulator/identifier-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/identifier-expected.txt.
* accessibility/ios-simulator/identifier.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/identifier.html.
* accessibility/ios-simulator/iframe-access-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt.
* accessibility/ios-simulator/iframe-access.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/iframe-access.html.
* accessibility/ios-simulator/internal-link-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/internal-link-expected.txt.
* accessibility/ios-simulator/internal-link.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/internal-link.html.
* accessibility/ios-simulator/landmark-type-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/landmark-type-expected.txt.
* accessibility/ios-simulator/landmark-type.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/landmark-type.html.
* accessibility/ios-simulator/link-with-images-text-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/link-with-images-text-expected.txt.
* accessibility/ios-simulator/link-with-images-text.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/link-with-images-text.html.
* accessibility/ios-simulator/link-with-only-image-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/link-with-only-image-expected.txt.
* accessibility/ios-simulator/link-with-only-image.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/link-with-only-image.html.
* accessibility/ios-simulator/math-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/math-expected.txt.
* accessibility/ios-simulator/math.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/math.html.
* accessibility/ios-simulator/mixed-checkboxes-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/mixed-checkboxes-expected.txt.
* accessibility/ios-simulator/mixed-checkboxes.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/mixed-checkboxes.html.
* accessibility/ios-simulator/no-child-link-header-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/no-child-link-header-expected.txt.
* accessibility/ios-simulator/no-child-link-header.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/no-child-link-header.html.
* accessibility/ios-simulator/non-contiguous-link-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/non-contiguous-link-expected.txt.
* accessibility/ios-simulator/non-contiguous-link.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/non-contiguous-link.html.
* accessibility/ios-simulator/out-of-bounds-child-access-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/out-of-bounds-child-access-expected.txt.
* accessibility/ios-simulator/out-of-bounds-child-access.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/out-of-bounds-child-access.html.
* accessibility/ios-simulator/password-value-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/password-value-expected.txt.
* accessibility/ios-simulator/password-value.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/password-value.html.
* accessibility/ios-simulator/placeholder-value-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/placeholder-value-expected.txt.
* accessibility/ios-simulator/placeholder-value.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/placeholder-value.html.
* accessibility/ios-simulator/popup-button-value-label-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/popup-button-value-label-expected.txt.
* accessibility/ios-simulator/popup-button-value-label.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/popup-button-value-label.html.
* accessibility/ios-simulator/progressbar-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/progressbar-expected.txt.
* accessibility/ios-simulator/progressbar.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/progressbar.html.
* accessibility/ios-simulator/radio-button-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/radio-button-expected.txt.
* accessibility/ios-simulator/radio-button.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/radio-button.html.
* accessibility/ios-simulator/scroll-in-overflow-div-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/scroll-in-overflow-div-expected.txt.
* accessibility/ios-simulator/scroll-in-overflow-div.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/scroll-in-overflow-div.html.
* accessibility/ios-simulator/secure-text-field-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/secure-text-field-expected.txt.
* accessibility/ios-simulator/secure-text-field.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/secure-text-field.html.
* accessibility/ios-simulator/selected-buttons-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/selected-buttons-expected.txt.
* accessibility/ios-simulator/selected-buttons.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/selected-buttons.html.
* accessibility/ios-simulator/selected-text-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/selected-text-expected.txt.
* accessibility/ios-simulator/selected-text.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/selected-text.html.
* accessibility/ios-simulator/spinbutton-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/spinbutton-expected.txt.
* accessibility/ios-simulator/spinbutton.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/spinbutton.html.
* accessibility/ios-simulator/svg-group-element-with-title-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/svg-group-element-with-title-expected.txt.
* accessibility/ios-simulator/svg-group-element-with-title.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/svg-group-element-with-title.html.
* accessibility/ios-simulator/svg-path-crash-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/svg-path-crash-expected.txt.
* accessibility/ios-simulator/svg-path-crash.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/svg-path-crash.html.
* accessibility/ios-simulator/tab-role-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/tab-role-expected.txt.
* accessibility/ios-simulator/tab-role.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/tab-role.html.
* accessibility/ios-simulator/table-cell-for-row-col-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/table-cell-for-row-col-expected.txt.
* accessibility/ios-simulator/table-cell-for-row-col.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/table-cell-for-row-col.html.
* accessibility/ios-simulator/table-cell-ranges-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/table-cell-ranges-expected.txt.
* accessibility/ios-simulator/table-cell-ranges.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/table-cell-ranges.html.
* accessibility/ios-simulator/tables-lists-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/tables-lists-expected.txt.
* accessibility/ios-simulator/tables-lists.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/tables-lists.html.
* accessibility/ios-simulator/text-line-no-ignored-elements-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-line-no-ignored-elements-expected.txt.
* accessibility/ios-simulator/text-line-no-ignored-elements.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-line-no-ignored-elements.html.
* accessibility/ios-simulator/text-marker-list-item-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-marker-list-item-expected.txt.
* accessibility/ios-simulator/text-marker-list-item.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-marker-list-item.html.
* accessibility/ios-simulator/text-marker-validation-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-marker-validation-expected.txt.
* accessibility/ios-simulator/text-marker-validation.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-marker-validation.html.
* accessibility/ios-simulator/text-role-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-role-expected.txt.
* accessibility/ios-simulator/text-role.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/text-role.html.
* accessibility/ios-simulator/textfield-in-axvalue-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/textfield-in-axvalue-expected.txt.
* accessibility/ios-simulator/textfield-in-axvalue.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/textfield-in-axvalue.html.
* accessibility/ios-simulator/toggle-button-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/toggle-button-expected.txt.
* accessibility/ios-simulator/toggle-button.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/toggle-button.html.
* accessibility/ios-simulator/url-test-expected.txt: Renamed from LayoutTests/platform/ios-simulator/accessibility/url-test-expected.txt.
* accessibility/ios-simulator/url-test.html: Renamed from LayoutTests/platform/ios-simulator/accessibility/url-test.html.
* platform/ios-simulator/TestExpectations:

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

4 years agoImprove some LayoutTests/inspector flakey output for tests with InspectorTest.reloadPage
commit-queue@webkit.org [Tue, 4 Aug 2015 22:50:48 +0000 (22:50 +0000)]
Improve some LayoutTests/inspector flakey output for tests with InspectorTest.reloadPage
https://bugs.webkit.org/show_bug.cgi?id=147655

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-04
Reviewed by Timothy Hatcher.

Source/WebInspectorUI:

* UserInterface/Base/Test.js:
(InspectorTest.reloadPage):
Immediately mark the page as reloading so that any logs that may happen
before the callback for PageAgent.reload wait to be sent after the page
load. What was happening in flakey results was that the logs were
happening before this callback, and therefore getting logged and then
resent after page load and getting relogged.

LayoutTests:

* TestExpectations:

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

4 years agoWeb Inspector: Existing text after completions do not have their completion style...
drousso@apple.com [Tue, 4 Aug 2015 22:48:42 +0000 (22:48 +0000)]
Web Inspector: Existing text after completions do not have their completion style removed once hint is applied
https://bugs.webkit.org/show_bug.cgi?id=147536

Reviewed by Timothy Hatcher.

No longer applies a class to the text after the completion hint.

* UserInterface/Controllers/CodeMirrorCompletionController.css:
(.CodeMirror .CodeMirror-lines .completion-hint):
* UserInterface/Controllers/CodeMirrorCompletionController.js:
(WebInspector.CodeMirrorCompletionController.prototype._applyCompletionHint.update):
(WebInspector.CodeMirrorCompletionController.prototype._applyCompletionHint):
(WebInspector.CodeMirrorCompletionController.prototype._removeCompletionHint.clearMarker):
(WebInspector.CodeMirrorCompletionController.prototype._removeCompletionHint.update):
(WebInspector.CodeMirrorCompletionController.prototype._removeCompletionHint):

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

4 years agoWeb Inspector: Don't show 'Reveal In Debugger Tab' menu item if already in Debugger tab
mattbaker@apple.com [Tue, 4 Aug 2015 22:46:46 +0000 (22:46 +0000)]
Web Inspector: Don't show 'Reveal In Debugger Tab' menu item if already in Debugger tab
https://bugs.webkit.org/show_bug.cgi?id=147554

Reviewed by Timothy Hatcher.

Check current tab before appending context menu items.

* UserInterface/Base/Main.js:
(WebInspector.isShowingDebuggerTab):
* UserInterface/Views/SourceCodeTextEditor.js:

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

4 years agoWeb Inspector: buttons in new tab screen lack hover styles
drousso@apple.com [Tue, 4 Aug 2015 22:45:37 +0000 (22:45 +0000)]
Web Inspector: buttons in new tab screen lack hover styles
https://bugs.webkit.org/show_bug.cgi?id=145355

Reviewed by Timothy Hatcher.

Added hover brightness filter to new tab buttons.

* UserInterface/Views/NewTabContentView.css:
(.new-tab.tab.content-view > .tab-item:not(.disabled):hover > .box):
(.new-tab.tab.content-view > .tab-item:not(.disabled):active > .box):

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

4 years agoAdded buffer to AVMediaCaptureSource
mdaiter@apple.com [Tue, 4 Aug 2015 22:45:04 +0000 (22:45 +0000)]
Added buffer to AVMediaCaptureSource
https://bugs.webkit.org/show_bug.cgi?id=147454
<rdar://problem/22079502>

Reviewed by Jer Noble.

* platform/mediastream/mac/AVMediaCaptureSource.h:
(WebCore::AVMediaCaptureSource::buffer):
(WebCore::AVMediaCaptureSource::setBuffer):
* platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::captureOutputDidOutputSampleBufferFromConnection):

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

4 years agoWeb Inspector: Object previews for SVG elements shows SVGAnimatedString instead of...
commit-queue@webkit.org [Tue, 4 Aug 2015 22:40:23 +0000 (22:40 +0000)]
Web Inspector: Object previews for SVG elements shows SVGAnimatedString instead of text
https://bugs.webkit.org/show_bug.cgi?id=147328

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-04
Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

* inspector/InjectedScriptSource.js:
Use classList and classList.toString instead of className.

LayoutTests:

* inspector/model/remote-object-expected.txt:
* inspector/model/remote-object.html:

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

4 years agoNeedless assignment of usingDot
mdaiter@apple.com [Tue, 4 Aug 2015 22:36:51 +0000 (22:36 +0000)]
Needless assignment of usingDot
https://bugs.webkit.org/show_bug.cgi?id=147514

Reviewed by Eric Carlson.

* platform/graphics/mac/GraphicsContextMac.mm:
(WebCore::GraphicsContext::drawLineForDocumentMarker): Deleted.

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

4 years agoWeb Inspector: Merge the styles sidebar navigation bar into a selectable item in...
drousso@apple.com [Tue, 4 Aug 2015 22:32:08 +0000 (22:32 +0000)]
Web Inspector: Merge the styles sidebar navigation bar into a selectable item in the elements sidebar
https://bugs.webkit.org/show_bug.cgi?id=146878

Reviewed by Timothy Hatcher.

Replaced the default navigationItem of the CSSStyleDetailsSidebarPanel with a
ScopeRadioButtonNavigationItem that will open a select element containing the labels
of each style sidebar when reselected.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Main.html:
* UserInterface/Views/ComputedStyleDetailsPanel.js:
(WebInspector.ComputedStyleDetailsPanel):
* UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
(.sidebar > .panel.details.css-style > .content):
* UserInterface/Views/CSSStyleDetailsSidebarPanel.js:
(WebInspector.CSSStyleDetailsSidebarPanel):
(WebInspector.CSSStyleDetailsSidebarPanel.prototype.computedStyleDetailsPanelShowProperty):
(WebInspector.CSSStyleDetailsSidebarPanel.prototype._panelMatchingIdentifier):
(WebInspector.CSSStyleDetailsSidebarPanel.prototype._handleSelectedItemChanged):
(WebInspector.CSSStyleDetailsSidebarPanel.prototype.visibilityDidChange):
(WebInspector.CSSStyleDetailsSidebarPanel.prototype._navigationItemSelected): Deleted.
* UserInterface/Views/DOMDetailsSidebarPanel.js:
(WebInspector.DOMDetailsSidebarPanel):
* UserInterface/Views/DetailsSidebarPanel.js:
(WebInspector.DetailsSidebarPanel):
* UserInterface/Views/MetricsStyleDetailsPanel.js:
(WebInspector.MetricsStyleDetailsPanel):
* UserInterface/Views/NavigationBar.js:
(WebInspector.NavigationBar.prototype._mouseDown):
* UserInterface/Views/RulesStyleDetailsPanel.js:
(WebInspector.RulesStyleDetailsPanel):
* UserInterface/Views/ScopeRadioButtonNavigationItem.css: Added.
* UserInterface/Views/ScopeRadioButtonNavigationItem.js: Added.
* UserInterface/Views/SidebarPanel.js:
(WebInspector.SidebarPanel):
* UserInterface/Views/StyleDetailsPanel.js:
(WebInspector.StyleDetailsPanel):

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

4 years agoFix Windows build after r187886.
achristensen@apple.com [Tue, 4 Aug 2015 22:17:07 +0000 (22:17 +0000)]
Fix Windows build after r187886.

* Plugins/PluginStream.h:
Befriend PluginView.

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

4 years agoshouldParseTelephoneNumbersInNode() does not need to check for Comment nodes
cdumez@apple.com [Tue, 4 Aug 2015 21:47:45 +0000 (21:47 +0000)]
shouldParseTelephoneNumbersInNode() does not need to check for Comment nodes
https://bugs.webkit.org/show_bug.cgi?id=147630

Reviewed by Sam Weinig.

shouldParseTelephoneNumbersInNode() does not need to check for Comment
nodes. We already know the input is a ContainerNode and a Comment is
NOT a ContainerNode. Also, we were already doing a isElementNode()
check before calling disallowTelephoneNumberParsing().

I also updated the function to use a for loop for clarity and dropped
the isElementNode() check as calling hasTagName() / isLink() on a
ContainerNode is as fast all calling it on an Element nowadays.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::disallowTelephoneNumberParsing):
(WebCore::shouldParseTelephoneNumbersInNode):

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

4 years ago[Mac] Do not require a video track for AirPlay
eric.carlson@apple.com [Tue, 4 Aug 2015 21:46:40 +0000 (21:46 +0000)]
[Mac] Do not require a video track for AirPlay
https://bugs.webkit.org/show_bug.cgi?id=147647

Reviewed by Jer Noble.

* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.handleReadyStateChange): Call updateWirelessTargetAvailable().
(Controller.prototype.updateHasVideo): Don't call updateWirelessTargetAvailable().
(Controller.prototype.updateWirelessTargetAvailable): Don't require video.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setReadyState): Call updateMediaState when we reach HAVE_METADATA.
(WebCore::HTMLMediaElement::mediaState): Don't require video, only that the file can play.

* html/MediaElementSession.cpp:
(WebCore::MediaElementSession::showPlaybackTargetPicker): Check readyState instead of hasVideo.

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

4 years agoGet rid of ReasonForCallingAllowPlugins since it's not used anywhere
andersca@apple.com [Tue, 4 Aug 2015 21:41:02 +0000 (21:41 +0000)]
Get rid of ReasonForCallingAllowPlugins since it's not used anywhere
https://bugs.webkit.org/show_bug.cgi?id=147648

Reviewed by Andreas Kling.

Source/WebCore:

* dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::rendererIsNeeded):
* html/parser/HTMLParserOptions.cpp:
(WebCore::HTMLParserOptions::HTMLParserOptions):
* loader/FrameLoaderTypes.h:
* loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::requestPlugin):
(WebCore::SubframeLoader::createJavaAppletWidget):
(WebCore::SubframeLoader::allowPlugins):
* loader/SubframeLoader.h:
* plugins/DOMMimeType.cpp:
(WebCore::DOMMimeType::enabledPlugin):

Source/WebKit/mac:

* WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::getPluginInfo):
* WebView/WebFrame.mm:
(-[WebFrame _canProvideDocumentSource]):

Source/WebKit/win:

* WebView.cpp:
(WebView::canShowMIMEType):

Source/WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::objectContentType):
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::getPluginInfo):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):
(WebKit::WebPage::canPluginHandleResponse):
(WebKit::WebPage::canShowMIMEType):

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

4 years ago[ES6] Support Module Syntax
utatane.tea@gmail.com [Tue, 4 Aug 2015 21:26:49 +0000 (21:26 +0000)]
[ES6] Support Module Syntax
https://bugs.webkit.org/show_bug.cgi?id=147422

Reviewed by Saam Barati.

Source/JavaScriptCore:

This patch introduces ES6 Modules syntax parsing part.
In this patch, ASTBuilder just produces the corresponding nodes to the ES6 Modules syntax,
and this patch does not include the code generator part.

Modules require 2 phase parsing. In the first pass, we just analyze the dependent modules
and do not execute the body or construct the AST. And after analyzing all the dependent
modules, we will parse the dependent modules next.
After all analyzing part is done, we will start the second pass. In the second pass, we
will parse the module, produce the AST, and execute the body.
If we don't do so, we need to create all the ASTs in the module's dependent graph at first
because the given module can be executed after the all dependent modules are executed. It
means that we need to hold so many parser arenas. To avoid this, the first pass only extracts
the dependent modules' information.

In this patch, we don't add this analyzing part yet. This patch only implements the second pass.
This patch aims at just implementing the syntax parsing functionality correctly.
After this patch is landed, we will create the ModuleDependencyAnalyzer that inherits SyntaxChecker
to collect the dependent modules fast[1].

To test the parsing, we added the "checkModuleSyntax" function into jsc shell.
By using this, we can parse the given string as the module.

[1]: https://bugs.webkit.org/show_bug.cgi?id=147353

* bytecompiler/NodesCodegen.cpp:
(JSC::ModuleProgramNode::emitBytecode):
(JSC::ImportDeclarationNode::emitBytecode):
(JSC::ExportAllDeclarationNode::emitBytecode):
(JSC::ExportDefaultDeclarationNode::emitBytecode):
(JSC::ExportLocalDeclarationNode::emitBytecode):
(JSC::ExportNamedDeclarationNode::emitBytecode):
* jsc.cpp:
(GlobalObject::finishCreation):
(functionCheckModuleSyntax):
* parser/ASTBuilder.h:
(JSC::ASTBuilder::createModuleSpecifier):
(JSC::ASTBuilder::createImportSpecifier):
(JSC::ASTBuilder::createImportSpecifierList):
(JSC::ASTBuilder::appendImportSpecifier):
(JSC::ASTBuilder::createImportDeclaration):
(JSC::ASTBuilder::createExportAllDeclaration):
(JSC::ASTBuilder::createExportDefaultDeclaration):
(JSC::ASTBuilder::createExportLocalDeclaration):
(JSC::ASTBuilder::createExportNamedDeclaration):
(JSC::ASTBuilder::createExportSpecifier):
(JSC::ASTBuilder::createExportSpecifierList):
(JSC::ASTBuilder::appendExportSpecifier):
* parser/Keywords.table:
* parser/NodeConstructors.h:
(JSC::ModuleSpecifierNode::ModuleSpecifierNode):
(JSC::ImportSpecifierNode::ImportSpecifierNode):
(JSC::ImportDeclarationNode::ImportDeclarationNode):
(JSC::ExportAllDeclarationNode::ExportAllDeclarationNode):
(JSC::ExportDefaultDeclarationNode::ExportDefaultDeclarationNode):
(JSC::ExportLocalDeclarationNode::ExportLocalDeclarationNode):
(JSC::ExportNamedDeclarationNode::ExportNamedDeclarationNode):
(JSC::ExportSpecifierNode::ExportSpecifierNode):
* parser/Nodes.cpp:
(JSC::ModuleProgramNode::ModuleProgramNode):
* parser/Nodes.h:
(JSC::ModuleProgramNode::startColumn):
(JSC::ModuleProgramNode::endColumn):
(JSC::ModuleSpecifierNode::moduleName):
(JSC::ImportSpecifierNode::importedName):
(JSC::ImportSpecifierNode::localName):
(JSC::ImportSpecifierListNode::specifiers):
(JSC::ImportSpecifierListNode::append):
(JSC::ImportDeclarationNode::specifierList):
(JSC::ImportDeclarationNode::moduleSpecifier):
(JSC::ExportAllDeclarationNode::moduleSpecifier):
(JSC::ExportDefaultDeclarationNode::declaration):
(JSC::ExportLocalDeclarationNode::declaration):
(JSC::ExportSpecifierNode::exportedName):
(JSC::ExportSpecifierNode::localName):
(JSC::ExportSpecifierListNode::specifiers):
(JSC::ExportSpecifierListNode::append):
(JSC::ExportNamedDeclarationNode::specifierList):
(JSC::ExportNamedDeclarationNode::moduleSpecifier):
* parser/Parser.cpp:
(JSC::Parser<LexerType>::Parser):
(JSC::Parser<LexerType>::parseInner):
(JSC::Parser<LexerType>::parseModuleSourceElements):
(JSC::Parser<LexerType>::parseVariableDeclaration):
(JSC::Parser<LexerType>::parseVariableDeclarationList):
(JSC::Parser<LexerType>::createBindingPattern):
(JSC::Parser<LexerType>::tryParseDestructuringPatternExpression):
(JSC::Parser<LexerType>::parseDestructuringPattern):
(JSC::Parser<LexerType>::parseForStatement):
(JSC::Parser<LexerType>::parseFormalParameters):
(JSC::Parser<LexerType>::parseFunctionParameters):
(JSC::Parser<LexerType>::parseFunctionDeclaration):
(JSC::Parser<LexerType>::parseClassDeclaration):
(JSC::Parser<LexerType>::parseModuleSpecifier):
(JSC::Parser<LexerType>::parseImportClauseItem):
(JSC::Parser<LexerType>::parseImportDeclaration):
(JSC::Parser<LexerType>::parseExportSpecifier):
(JSC::Parser<LexerType>::parseExportDeclaration):
(JSC::Parser<LexerType>::parseMemberExpression):
* parser/Parser.h:
(JSC::isIdentifierOrKeyword):
(JSC::ModuleScopeData::create):
(JSC::ModuleScopeData::exportedBindings):
(JSC::ModuleScopeData::exportName):
(JSC::ModuleScopeData::exportBinding):
(JSC::Scope::Scope):
(JSC::Scope::setIsModule):
(JSC::Scope::moduleScopeData):
(JSC::Parser::matchContextualKeyword):
(JSC::Parser::matchIdentifierOrKeyword):
(JSC::Parser::isofToken): Deleted.
* parser/ParserModes.h:
* parser/ParserTokens.h:
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::createModuleSpecifier):
(JSC::SyntaxChecker::createImportSpecifier):
(JSC::SyntaxChecker::createImportSpecifierList):
(JSC::SyntaxChecker::appendImportSpecifier):
(JSC::SyntaxChecker::createImportDeclaration):
(JSC::SyntaxChecker::createExportAllDeclaration):
(JSC::SyntaxChecker::createExportDefaultDeclaration):
(JSC::SyntaxChecker::createExportLocalDeclaration):
(JSC::SyntaxChecker::createExportNamedDeclaration):
(JSC::SyntaxChecker::createExportSpecifier):
(JSC::SyntaxChecker::createExportSpecifierList):
(JSC::SyntaxChecker::appendExportSpecifier):
* runtime/CommonIdentifiers.cpp:
(JSC::CommonIdentifiers::CommonIdentifiers):
* runtime/CommonIdentifiers.h:
* runtime/Completion.cpp:
(JSC::checkModuleSyntax):
* runtime/Completion.h:
* tests/stress/modules-syntax-error-with-names.js: Added.
(shouldThrow):
* tests/stress/modules-syntax-error.js: Added.
(shouldThrow):
(checkModuleSyntaxError.checkModuleSyntaxError.checkModuleSyntaxError):
* tests/stress/modules-syntax.js: Added.
(prototype.checkModuleSyntax):
(checkModuleSyntax):
* tests/stress/tagged-templates-syntax.js:

LayoutTests:

'export' and 'import' are changed from FutureReservedWord to Keyword in ES6.
http://www.ecma-international.org/ecma-262/6.0/#sec-keywords
And restrict 'super' use under the Script / Module contexts.

* js/dom/reserved-words-as-property-expected.txt:
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt:
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:

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

4 years agoFix debug CMake build on Windows after r187818.
achristensen@apple.com [Tue, 4 Aug 2015 21:00:30 +0000 (21:00 +0000)]
Fix debug CMake build on Windows after r187818.

* PlatformWin.cmake:
Debug *AllInOne.cpp object files in WebCore require /bigobj to compile successfully.

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

4 years agoUnreviewed, update email addresses in contributors.json and watchlist.
burg@cs.washington.edu [Tue, 4 Aug 2015 20:50:38 +0000 (20:50 +0000)]
Unreviewed, update email addresses in contributors.json and watchlist.

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

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

4 years agoWeb Inspector: timeline overview should visually distinguish selection bounds outside...
mattbaker@apple.com [Tue, 4 Aug 2015 20:49:36 +0000 (20:49 +0000)]
Web Inspector: timeline overview should visually distinguish selection bounds outside the visible duration
https://bugs.webkit.org/show_bug.cgi?id=132764

Reviewed by Brian Burg.

* UserInterface/Views/TimelineRuler.css:
(.timeline-ruler > .selection-handle.clamped):
Added style for selection handle outside visible range.
* UserInterface/Views/TimelineRuler.js:
(WebInspector.TimelineRuler.prototype._updateSelection):
Toggle style class and add tool tip showing the handle's value when outside the visible range.

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

4 years agoImplement NPAPI redirect handling
commit-queue@webkit.org [Tue, 4 Aug 2015 20:48:47 +0000 (20:48 +0000)]
Implement NPAPI redirect handling
https://bugs.webkit.org/show_bug.cgi?id=138675
rdar://problem/15779101

Patch by Jeffrey Pfau, updated and tweaked by me.

Patch by Alexey Proskuryakov <ap@apple.com> on 2015-08-04
Reviewed by Anders Carlsson.

Source/WebCore:

Test: http/tests/plugins/get-url-redirect-notify.html

* loader/NetscapePlugInStreamLoader.cpp:
(WebCore::NetscapePlugInStreamLoader::init):
(WebCore::NetscapePlugInStreamLoader::willSendRequest):
(WebCore::NetscapePlugInStreamLoader::didReceiveResponse):
* loader/NetscapePlugInStreamLoader.h:
* loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::init):
(WebCore::ResourceLoader::isSubresourceLoader):
(WebCore::ResourceLoader::willSendRequestInternal):
(WebCore::ResourceLoader::willSendRequest):
(WebCore::ResourceLoader::didSendData):
* loader/ResourceLoader.h:
* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::isSubresourceLoader):
(WebCore::SubresourceLoader::willSendRequestInternal):
(WebCore::SubresourceLoader::willSendRequest): Deleted.
* loader/SubresourceLoader.h:
* plugins/npapi.h:
* plugins/npfunctions.h:

Source/WebKit/mac:

* Plugins/Hosted/HostedNetscapePluginStream.h:
(WebKit::HostedNetscapePluginStream::streamID):
* Plugins/Hosted/HostedNetscapePluginStream.mm:
(WebKit::HostedNetscapePluginStream::didFinishLoading):
(WebKit::HostedNetscapePluginStream::willSendRequest):
(WebKit::HostedNetscapePluginStream::didReceiveResponse):
* Plugins/WebNetscapePluginStream.h:
* Plugins/WebNetscapePluginStream.mm:
(WebNetscapePluginStream::stop):
(WebNetscapePluginStream::willSendRequest):
(WebNetscapePluginStream::didReceiveResponse):

Source/WebKit/win:

* Plugins/PluginStream.cpp:
(WebCore::PluginStream::sendJavaScriptStream):
(WebCore::PluginStream::willSendRequest):
(WebCore::PluginStream::didReceiveResponse):
* Plugins/PluginStream.h:

Source/WebKit2:

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::loadURL):
(WebKit::PluginControllerProxy::continueStreamLoad):
(WebKit::PluginControllerProxy::cancelStreamLoad):
(WebKit::PluginControllerProxy::didEvaluateJavaScript):
(WebKit::PluginControllerProxy::streamWillSendRequest):
(WebKit::PluginControllerProxy::streamDidReceiveResponse):
* PluginProcess/PluginControllerProxy.h:
* PluginProcess/PluginControllerProxy.messages.in:
* WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::willSendRequest):
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_ConvertPoint):
(WebKit::NPN_URLRedirectResponse):
(WebKit::initializeBrowserFuncs):
(WebKit::netscapeBrowserFuncs):
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::getAuthenticationInfo):
(WebKit::NetscapePlugin::registerRedirect):
(WebKit::NetscapePlugin::urlRedirectResponse):
(WebKit::NetscapePlugin::setIsPlayingAudio):
(WebKit::NetscapePlugin::NPP_URLNotify):
(WebKit::NetscapePlugin::NPP_URLRedirectNotify):
(WebKit::NetscapePlugin::NPP_GetValue):
(WebKit::NetscapePlugin::didEvaluateJavaScript):
(WebKit::NetscapePlugin::streamWillSendRequest):
(WebKit::NetscapePlugin::streamDidReceiveResponse):
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
(WebKit::NetscapePluginStream::~NetscapePluginStream):
(WebKit::NetscapePluginStream::willSendRequest):
(WebKit::NetscapePluginStream::didReceiveResponse):
(WebKit::NetscapePluginStream::stop):
(WebKit::NetscapePluginStream::setURL):
(WebKit::NetscapePluginStream::cancel):
* WebProcess/Plugins/Netscape/NetscapePluginStream.h:
(WebKit::NetscapePluginStream::streamID):
(WebKit::NetscapePluginStream::npStream):
* WebProcess/Plugins/PDF/PDFPlugin.h:
* WebProcess/Plugins/Plugin.h:
* WebProcess/Plugins/PluginController.h:
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::didEvaluateJavaScript):
(WebKit::PluginProxy::streamWillSendRequest):
(WebKit::PluginProxy::streamDidReceiveResponse):
(WebKit::PluginProxy::setPluginIsPlayingAudio):
(WebKit::PluginProxy::continueStreamLoad):
(WebKit::PluginProxy::cancelStreamLoad):
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::Stream::streamID):
(WebKit::PluginView::Stream::Stream):
(WebKit::PluginView::Stream::cancel):
(WebKit::PluginView::Stream::continueLoad):
(WebKit::buildHTTPHeaders):
(WebKit::lastModifiedDateMS):
(WebKit::PluginView::Stream::willSendRequest):
(WebKit::PluginView::Stream::didReceiveResponse):
(WebKit::PluginView::cancelStreamLoad):
(WebKit::PluginView::continueStreamLoad):
(WebKit::PluginView::cancelManualStreamLoad):
* WebProcess/Plugins/PluginView.h:

Tools:

* DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
* DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
* DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
(PluginTest::NPP_URLNotify):
(PluginTest::NPP_URLRedirectNotify):
(PluginTest::NPP_GetValue):
(PluginTest::NPN_GetURLNotify):
(PluginTest::NPN_PostURLNotify):
(PluginTest::NPN_GetValue):
(PluginTest::NPN_ReleaseVariantValue):
(PluginTest::NPN_URLRedirectResponse):
(PluginTest::NPN_ConvertPoint):
* DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
* DumpRenderTree/TestNetscapePlugIn/Tests/URLRedirect.cpp: Added.
(URLRedirect::URLRedirect):
(URLRedirect::ScriptableObject::hasMethod):
(URLRedirect::ScriptableObject::get):
(URLRedirect::ScriptableObject::serviceAsync):
(URLRedirect::ScriptableObject::invoke):
(URLRedirect::NPP_GetValue):
(URLRedirect::NPP_URLNotify):
(URLRedirect::NPP_URLRedirectNotify):
* DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NP_GetEntryPoints):
(NPP_URLNotify):
(NPP_URLRedirectNotify):
(NPP_GetValue):

LayoutTests:

* http/tests/plugins/get-url-redirect-notify-expected.txt: Added.
* http/tests/plugins/get-url-redirect-notify.html: Added.
* platform/wk2/http/tests/plugins: Added.
* platform/wk2/http/tests/plugins/get-url-redirect-notify-expected.txt: Added.

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

4 years agoRenderTheme::paint() should take RenderBox instead of RenderObject.
zalan@apple.com [Tue, 4 Aug 2015 20:46:06 +0000 (20:46 +0000)]
RenderTheme::paint() should take RenderBox instead of RenderObject.
https://bugs.webkit.org/show_bug.cgi?id=147638

Reviewed by Andreas Kling.

No change in functionality.

* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::updateControlStatesForRenderer): ->RenderBox too.
(WebCore::RenderTheme::isActive): Remove redundant code.
* rendering/RenderTheme.h:

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

4 years agoRender to GraphicsContext MediaPlayerPrivateMediaStreamAVFObjC
mdaiter@apple.com [Tue, 4 Aug 2015 20:39:06 +0000 (20:39 +0000)]
Render to GraphicsContext MediaPlayerPrivateMediaStreamAVFObjC
https://bugs.webkit.org/show_bug.cgi?id=147643

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::paint):

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

4 years agoAdded ability to create images from buffers for MediaStream paint methods
mdaiter@apple.com [Tue, 4 Aug 2015 20:29:36 +0000 (20:29 +0000)]
Added ability to create images from buffers for MediaStream paint methods
https://bugs.webkit.org/show_bug.cgi?id=147642

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::createImageFromSampleBuffer):

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

4 years agoMove Matt Daiter to committers.
timothy_horton@apple.com [Tue, 4 Aug 2015 20:29:20 +0000 (20:29 +0000)]
Move Matt Daiter to committers.

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

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

4 years agoAdd image variable rendered by paint methods for MediaStream
mdaiter@apple.com [Tue, 4 Aug 2015 20:24:39 +0000 (20:24 +0000)]
Add image variable rendered by paint methods for MediaStream
https://bugs.webkit.org/show_bug.cgi?id=147645

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:

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

4 years agoLayout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html...
bfulgham@apple.com [Tue, 4 Aug 2015 20:01:51 +0000 (20:01 +0000)]
Layout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html is failing
https://bugs.webkit.org/show_bug.cgi?id=147646

* platform/win/TestExpectations: Skip failing test.

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

4 years agoRenderTheme::baselinePosition() should take RenderBox instead of RenderObject.
zalan@apple.com [Tue, 4 Aug 2015 19:47:56 +0000 (19:47 +0000)]
RenderTheme::baselinePosition() should take RenderBox instead of RenderObject.
https://bugs.webkit.org/show_bug.cgi?id=147632

Reviewed by Andreas Kling.

It eliminates some redundant type checking and casting.

No change in functionality.

* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::baselinePosition):
* platform/efl/RenderThemeEfl.h:
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::baselinePosition):
* rendering/RenderTheme.h:
* rendering/RenderThemeGtk.cpp:
(WebCore::RenderThemeGtk::baselinePosition):
* rendering/RenderThemeGtk.h:
* rendering/RenderThemeIOS.h:
* rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::baselinePosition):
* rendering/RenderThemeSafari.cpp:
(WebCore::RenderThemeSafari::baselinePosition):
* rendering/RenderThemeSafari.h:

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

4 years agoUnreviewed, rolling out r187815 and r187817.
commit-queue@webkit.org [Tue, 4 Aug 2015 19:11:46 +0000 (19:11 +0000)]
Unreviewed, rolling out r187815 and r187817.
https://bugs.webkit.org/show_bug.cgi?id=147644

Caused lots of Windows crashes (Requested by smfr on #webkit).

Reverted changesets:

"[WTF] Turn tryMakeString(), makeString() into variadic
templates"
https://bugs.webkit.org/show_bug.cgi?id=147142
http://trac.webkit.org/changeset/187815

"Unreviewed build fix."
http://trac.webkit.org/changeset/187817

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

4 years ago[Win] build-webkit and MSBuild fight over BuildOutput.htm, causing build failures.
bfulgham@apple.com [Tue, 4 Aug 2015 19:10:38 +0000 (19:10 +0000)]
[Win] build-webkit and MSBuild fight over BuildOutput.htm, causing build failures.
https://bugs.webkit.org/show_bug.cgi?id=147636

Reviewed by Alex Christensen.

We no longer need build-webkit to manually troll the log data and pipe it to stdout; MSBuild is already doing this properly.
Stop the build-webkit script from interacting with BuildOutput.htm, thereby preventing a potential build failure (especially
on EWS machines)

* Scripts/build-webkit:

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

4 years agoWeb Inspector: Convert DataGrid and DataGridNode classes to ES6 classes
burg@cs.washington.edu [Tue, 4 Aug 2015 19:10:14 +0000 (19:10 +0000)]
Web Inspector: Convert DataGrid and DataGridNode classes to ES6 classes
https://bugs.webkit.org/show_bug.cgi?id=147439

Reviewed by Joseph Pecoraro.

Along the way, inline a few style class names.

Elided mechanical changes from the Changelog.

* UserInterface/Views/DOMTreeDataGrid.js:
* UserInterface/Views/DataGrid.js:
* UserInterface/Views/DatabaseTableContentView.js:
* UserInterface/Views/IndexedDatabaseEntryDataGridNode.js:
* UserInterface/Views/LayerTreeDataGridNode.js:
* UserInterface/Views/LayoutTimelineDataGrid.js:
* UserInterface/Views/LayoutTimelineDataGridNode.js:
* UserInterface/Views/ProbeSetDataGrid.js:
* UserInterface/Views/ProfileNodeDataGridNode.js:
* UserInterface/Views/RenderingFrameTimelineDataGridNode.js:
* UserInterface/Views/ResourceTimelineDataGridNode.js:
* UserInterface/Views/ScriptTimelineDataGrid.js:
* UserInterface/Views/ScriptTimelineDataGridNode.js:
* UserInterface/Views/SourceCodeTimelineTimelineDataGridNode.js:
* UserInterface/Views/TimelineDataGrid.js:
* UserInterface/Views/TimelineDataGridNode.js: Move a function definition out
of an else branch, since this is not allowed in ES6 strict mode.

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