WebKit-https.git
7 years agoRemove unused CodeBlock::m_additionalIdentifiers member.
akling@apple.com [Sat, 18 Jan 2014 23:20:12 +0000 (23:20 +0000)]
Remove unused CodeBlock::m_additionalIdentifiers member.
<https://webkit.org/b/127237>

Reviewed by Anders Carlsson.

* bytecode/CodeBlock.h:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
(JSC::CodeBlock::shrinkToFit):

    Remove m_additionalIdentifiers, nothing uses it.

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

7 years agoRemove two unused CodeBlock functions.
akling@apple.com [Sat, 18 Jan 2014 23:10:29 +0000 (23:10 +0000)]
Remove two unused CodeBlock functions.
<https://webkit.org/b/127235>

Kill copyPostParseDataFrom() and copyPostParseDataFromAlternative()
since they are not used.

Reviewed by Anders Carlsson.

* bytecode/CodeBlock.cpp:
* bytecode/CodeBlock.h:

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

7 years agoCodeBlock: Size m_exceptionHandlers to fit from creation.
akling@apple.com [Sat, 18 Jan 2014 23:09:48 +0000 (23:09 +0000)]
CodeBlock: Size m_exceptionHandlers to fit from creation.
<https://webkit.org/b/127234>

Avoid allocation churn for CodeBlock::m_exceptionHandlers.

Reviewed by Anders Carlsson.

* bytecode/CodeBlock.h:

    Removed unused CodeBlock::allocateHandlers() function.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):

    Use resizeToFit() instead of grow() for m_exceptionHandlers
    since we know it's never going to change size.

(JSC::CodeBlock::shrinkToFit):

    No need to shrink m_exceptionHandlers here since it's already
    the perfect size.

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

7 years agoReplace a couple of uses of WTF::Function with std::function
andersca@apple.com [Sat, 18 Jan 2014 23:00:21 +0000 (23:00 +0000)]
Replace a couple of uses of WTF::Function with std::function
https://bugs.webkit.org/show_bug.cgi?id=127218

Reviewed by Andreas Kling.

Source/WebCore:

* WebCore.exp.in:
* page/scrolling/ScrollingThread.cpp:
(WebCore::ScrollingThread::dispatch):
(WebCore::ScrollingThread::dispatchBarrier):
(WebCore::ScrollingThread::shared):
(WebCore::ScrollingThread::createThreadIfNeeded):
(WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
* page/scrolling/ScrollingThread.h:
* page/scrolling/mac/ScrollingThreadMac.mm:
(WebCore::ScrollingThread::initializeRunLoop):

Source/WebKit2:

* Platform/IPC/mac/ConnectionMac.cpp:
(IPC::createDataAvailableSource):
* Platform/WorkQueue.h:
* Platform/mac/WorkQueueMac.cpp:
(WorkQueue::dispatch):
(WorkQueue::dispatchAfter):
* Shared/ChildProcess.cpp:
(WebKit::didCloseOnConnectionWorkQueue):
* UIProcess/Storage/LocalStorageDatabase.cpp:
(WebKit::LocalStorageDatabase::scheduleDatabaseUpdate):
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::dispatchAfterEnsuringUpdatedScrollPosition):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::dispatchAfterEnsuringUpdatedScrollPosition):

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

7 years agoModernize HTML parser code
andersca@apple.com [Sat, 18 Jan 2014 22:48:46 +0000 (22:48 +0000)]
Modernize HTML parser code
https://bugs.webkit.org/show_bug.cgi?id=127236

Reviewed by Andreas Kling.

* html/parser/AtomicHTMLToken.h:
* html/parser/CSSPreloadScanner.cpp:
(WebCore::CSSPreloadScanner::emitRule):
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::HTMLDocumentParser):
(WebCore::HTMLDocumentParser::detach):
(WebCore::HTMLDocumentParser::stopParsing):
(WebCore::HTMLDocumentParser::pumpTokenizer):
(WebCore::HTMLDocumentParser::insert):
(WebCore::HTMLDocumentParser::append):
(WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLElementStack.cpp:
(WebCore::HTMLElementStack::ElementRecord::ElementRecord):
(WebCore::HTMLElementStack::insertAbove):
(WebCore::HTMLElementStack::pushCommon):
* html/parser/HTMLElementStack.h:
(WebCore::HTMLElementStack::ElementRecord::releaseNext):
(WebCore::HTMLElementStack::ElementRecord::setNext):
* html/parser/HTMLMetaCharsetParser.cpp:
(WebCore::HTMLMetaCharsetParser::HTMLMetaCharsetParser):
* html/parser/HTMLMetaCharsetParser.h:
* html/parser/HTMLParserScheduler.h:
* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::StartTagScanner::createPreloadRequest):
(WebCore::TokenPreloadScanner::scan):
(WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
* html/parser/HTMLPreloadScanner.h:
* html/parser/HTMLResourcePreloader.cpp:
(WebCore::HTMLResourcePreloader::takeAndPreload):
(WebCore::HTMLResourcePreloader::preload):
* html/parser/HTMLResourcePreloader.h:
(WebCore::PreloadRequest::PreloadRequest):
* html/parser/HTMLScriptRunner.h:
* html/parser/HTMLToken.h:
(WebCore::HTMLToken::beginDOCTYPE):
(WebCore::HTMLToken::releaseDoctypeData):
* html/parser/HTMLTokenizer.h:
* html/parser/HTMLTreeBuilder.h:
* html/parser/HTMLViewSourceParser.cpp:
(WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
* html/parser/HTMLViewSourceParser.h:
* html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::init):
(WebCore::XSSAuditor::filterToken):
* html/parser/XSSAuditor.h:
* html/parser/XSSAuditorDelegate.h:
(WebCore::XSSInfo::XSSInfo):
* loader/TextResourceDecoder.cpp:
(WebCore::TextResourceDecoder::checkForHeadCharset):
(WebCore::TextResourceDecoder::checkForMetaCharset):
* loader/TextResourceDecoder.h:

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

7 years agoMake ElementData JIT friendly
benjamin@webkit.org [Sat, 18 Jan 2014 22:17:09 +0000 (22:17 +0000)]
Make ElementData JIT friendly
https://bugs.webkit.org/show_bug.cgi?id=127209

Reviewed by Geoffrey Garen.

The offsets of ElementData's flags were not accessible by the JIT. This patch
refactor ElementData to use explicit flags so that they can be used from
the code generators.

* dom/Element.cpp:
(WebCore::Element::synchronizeAllAttributes):
(WebCore::Element::synchronizeAttribute):
(WebCore::Element::attributeChanged):
(WebCore::Element::removeAttribute):
* dom/ElementData.cpp:
(WebCore::ElementData::destroy):
(WebCore::ElementData::ElementData):
(WebCore::ShareableElementData::ShareableElementData):
(WebCore::ShareableElementData::~ShareableElementData):
(WebCore::ElementData::arraySizeAndFlagsFromOther):
* dom/ElementData.h:
(WebCore::ElementData::hasName):
(WebCore::ElementData::isUnique):
(WebCore::ElementData::updateFlag):
(WebCore::ElementData::arraySize):
(WebCore::ElementData::setHasNameAttribute):
(WebCore::ElementData::styleAttributeIsDirty):
(WebCore::ElementData::setStyleAttributeIsDirty):
(WebCore::ElementData::presentationAttributeStyleIsDirty):
(WebCore::ElementData::setPresentationAttributeStyleIsDirty):
(WebCore::ElementData::animatedSVGAttributesAreDirty):
(WebCore::ElementData::setAnimatedSVGAttributesAreDirty):
(WebCore::ElementData::length):
(WebCore::ElementData::attributeBase):
(WebCore::ElementData::presentationAttributeStyle):
* dom/StyledElement.cpp:
(WebCore::StyledElement::synchronizeStyleAttributeInternal):
(WebCore::StyledElement::attributeChanged):
(WebCore::StyledElement::styleAttributeChanged):
(WebCore::StyledElement::inlineStyleChanged):
(WebCore::StyledElement::rebuildPresentationAttributeStyle):
* dom/StyledElement.h:
(WebCore::StyledElement::invalidateStyleAttribute):
(WebCore::StyledElement::presentationAttributeStyle):
* svg/SVGElement.cpp:
(WebCore::SVGElement::synchronizeAnimatedSVGAttribute):
* svg/SVGElement.h:
(WebCore::SVGElement::invalidateSVGAttributes):

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

7 years agoSubpixel layout: IntRect::infiniteRect() overflows when subpixel layout is enabled.
zalan@apple.com [Sat, 18 Jan 2014 21:24:25 +0000 (21:24 +0000)]
Subpixel layout: IntRect::infiniteRect() overflows when subpixel layout is enabled.
https://bugs.webkit.org/show_bug.cgi?id=126899

Reviewed by Tim Horton.

Use LayoutUnits when setting the infinite values on IntRect::infiniteRect() to ensure
it won't overflow later when the IntRect gets converted to LayoutRect.

Source/WebCore:

Covered by existing tests.

* platform/graphics/IntRect.h:
(WebCore::IntRect::infiniteRect):

LayoutTests:

* platform/mac/TestExpectations: Unskipping svg test (failed with subpixel on)

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

7 years agoRemove support for the viewsource attribute
andersca@apple.com [Sat, 18 Jan 2014 21:15:19 +0000 (21:15 +0000)]
Remove support for the viewsource attribute
https://bugs.webkit.org/show_bug.cgi?id=127232

Reviewed by Andreas Kling.

Source/WebCore:

The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
its own syntax highlighting) and not audited.

This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
patch will remove the code as well.

* html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::parseAttribute):

Source/WTF:

* wtf/FeatureDefines.h:

LayoutTests:

* .gitattributes:
* fast/frames/resources/viewsource-fake-image-file.png: Removed.
* fast/frames/resources/viewsource-frame-1.html: Removed.
* fast/frames/resources/viewsource-frame-2.html: Removed.
* fast/frames/resources/viewsource-frame-3.html: Removed.
* fast/frames/resources/viewsource-frame-4.html: Removed.
* fast/frames/resources/viewsource-frame-5.html: Removed.
* fast/frames/resources/viewsource-frame-unfinished-script.html: Removed.
* fast/frames/resources/viewsource-frame-unfinished-textarea.html: Removed.
* fast/frames/viewsource-attribute.html: Removed.
* fast/frames/viewsource-empty-attribute-value-expected.txt: Removed.
* fast/frames/viewsource-empty-attribute-value.html: Removed.
* fast/frames/viewsource-linebreak-expected.txt: Removed.
* fast/frames/viewsource-linebreak.html: Removed.
* fast/frames/viewsource-link-on-href-value-expected.txt: Removed.
* fast/frames/viewsource-link-on-href-value.html: Removed.
* fast/frames/viewsource-on-image-file.html: Removed.
* fast/frames/viewsource-plain-text-tags-expected.txt: Removed.
* fast/frames/viewsource-plain-text-tags.html: Removed.
* fast/frames/viewsource-unfinished-tags-expected.txt: Removed.
* fast/frames/viewsource-unfinished-tags.html: Removed.
* fast/frames/viewsource-xml-expected.txt: Removed.
* fast/frames/viewsource-xml.html: Removed.
* http/tests/security/resources/view-source-no-refresh.php: Removed.
* http/tests/security/view-source-javascript-url-in-document-expected.txt: Removed.
* http/tests/security/view-source-javascript-url-in-document.html: Removed.
* http/tests/security/view-source-no-javascript-url-expected.txt: Removed.
* http/tests/security/view-source-no-javascript-url.html: Removed.
* http/tests/security/view-source-no-refresh-expected.txt: Removed.
* http/tests/security/view-source-no-refresh.html: Removed.
* platform/efl/fast/frames/viewsource-attribute-expected.png: Removed.
* platform/efl/fast/frames/viewsource-attribute-expected.txt: Removed.
* platform/efl/fast/frames/viewsource-on-image-file-expected.png: Removed.
* platform/efl/fast/frames/viewsource-on-image-file-expected.txt: Removed.
* platform/mac/fast/frames/viewsource-attribute-expected.png: Removed.
* platform/mac/fast/frames/viewsource-attribute-expected.txt: Removed.
* platform/mac/fast/frames/viewsource-on-image-file-expected.png: Removed.
* platform/mac/fast/frames/viewsource-on-image-file-expected.txt: Removed.
* platform/win/TestExpectations:

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

7 years agoFlesh out session APIs (still not enabled at API level).
commit-queue@webkit.org [Sat, 18 Jan 2014 21:14:42 +0000 (21:14 +0000)]
Flesh out session APIs (still not enabled at API level).
https://bugs.webkit.org/show_bug.cgi?id=126918

Patch by Martin Hock <mhock@apple.com> on 2014-01-18
Reviewed by Alexey Proskuryakov.

* CMakeLists.txt:
* GNUmakefile.list.am:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::storageSession):
(WebKit::NetworkConnectionToWebProcess::startDownload):
(WebKit::NetworkConnectionToWebProcess::cookiesForDOM):
(WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM):
(WebKit::NetworkConnectionToWebProcess::cookiesEnabled):
(WebKit::NetworkConnectionToWebProcess::cookieRequestHeaderFieldValue):
(WebKit::NetworkConnectionToWebProcess::getRawCookies):
(WebKit::NetworkConnectionToWebProcess::deleteCookie):
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::initializeNetworkProcess):
(WebKit::NetworkProcess::ensurePrivateBrowsingSession):
(WebKit::NetworkProcess::destroyPrivateBrowsingSession):
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkProcess.messages.in:
* NetworkProcess/RemoteNetworkingContext.h:
* NetworkProcess/mac/RemoteNetworkingContext.mm:
(WebKit::RemoteNetworkingContext::storageSession):
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
* NetworkProcess/soup/RemoteNetworkingContextSoup.cpp:
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
* Shared/SessionTracker.cpp: Copied from Source/WebKit2/UIProcess/APISession.cpp.
(WebKit::sessionMap):
(WebKit::identifierBase):
(WebKit::SessionTracker::getSessionMap):
(WebKit::SessionTracker::getIdentifierBase):
(WebKit::SessionTracker::session):
(WebKit::SessionTracker::destroySession):
(WebKit::SessionTracker::setIdentifierBase):
* Shared/SessionTracker.h: Copied from Source/WebKit2/UIProcess/APISession.h.
(WebKit::SessionTracker::isEphemeralID):
* Shared/mac/CookieStorageShim.cpp:
(WebKit::webKitCookieStorageCopyRequestHeaderFieldsForURL):
* UIProcess/APISession.cpp:
(API::generateID):
(API::Session::defaultSession):
(API::Session::legacyPrivateSession):
(API::Session::Session):
(API::Session::create):
(API::Session::isEphemeral):
(API::Session::getID):
* UIProcess/APISession.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setAnyPageGroupMightHavePrivateBrowsingEnabled):
(WebKit::WebContext::createNewWebProcess):
(WebKit::WebContext::createWebPage):
* UIProcess/WebContext.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::create):
(WebKit::WebPageProxy::WebPageProxy):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::sessionID):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createWebPage):
* UIProcess/WebProcessProxy.h:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setPrivateBrowsingEnabled):
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::legacySessionID):
(WebKit::WebPlatformStrategies::cookiesForDOM):
(WebKit::WebPlatformStrategies::setCookiesFromDOM):
(WebKit::WebPlatformStrategies::cookiesEnabled):
(WebKit::WebPlatformStrategies::cookieRequestHeaderFieldValue):
(WebKit::WebPlatformStrategies::getRawCookies):
(WebKit::WebPlatformStrategies::deleteCookie):
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):
(WebKit::WebProcess::ensurePrivateBrowsingSession):
(WebKit::WebProcess::destroyPrivateBrowsingSession):
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:

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

7 years agoAdd a hasBreakpointFlag arg to the op_debug bytecode.
mark.lam@apple.com [Sat, 18 Jan 2014 21:11:56 +0000 (21:11 +0000)]
Add a hasBreakpointFlag arg to the op_debug bytecode.
https://bugs.webkit.org/show_bug.cgi?id=127230.

Reviewed by Geoffrey Garen.

This is in anticipation of upcoming changes to support bytecode level
breakpoints. This patch adds the flag to the op_debug bytecode and
initializes it, but does not use it yet.

* bytecode/Opcode.h:
(JSC::padOpcodeName):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitDebugHook):
* llint/LowLevelInterpreter.asm:

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

7 years agoXMLTreeViewer shouldn't use the view source mode
andersca@apple.com [Sat, 18 Jan 2014 20:35:07 +0000 (20:35 +0000)]
XMLTreeViewer shouldn't use the view source mode
https://bugs.webkit.org/show_bug.cgi?id=127229

Reviewed by Andreas Kling.

Add the relevant styles from view-source.css to XMLViewer.css.

* xml/XMLTreeViewer.cpp:
(WebCore::XMLTreeViewer::transformDocumentToTreeView):
* xml/XMLViewer.css:
(body):
(.comment):
(.tag):
(.attribute-name):
(.attribute-value):
* xml/XMLViewer.js:
(createComment):
(createTag):
(createAttribute):

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

7 years agoAnother build fix attempt for Windows and EFL WebKit1.
bburg@apple.com [Sat, 18 Jan 2014 20:32:14 +0000 (20:32 +0000)]
Another build fix attempt for Windows and EFL WebKit1.

Source/WebKit:

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/efl:

* ewk/ewk_paint_context.cpp:
(ewk_paint_context_paint_contents):
* ewk/ewk_view.cpp:
(_ewk_view_smart_repaints_process):

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

7 years agoUnreviewed build fix attempt for Windows.
bburg@apple.com [Sat, 18 Jan 2014 20:19:06 +0000 (20:19 +0000)]
Unreviewed build fix attempt for Windows.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

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

7 years agoJavaScriptCore uses PLATFORM(MAC) when it means OS(DARWIN)
berto@igalia.com [Sat, 18 Jan 2014 19:41:58 +0000 (19:41 +0000)]
JavaScriptCore uses PLATFORM(MAC) when it means OS(DARWIN)
https://bugs.webkit.org/show_bug.cgi?id=99683

Reviewed by Anders Carlsson.

* jit/ThunkGenerators.cpp:
* tools/CodeProfile.cpp:
(JSC::symbolName):
(JSC::CodeProfile::sample):

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

7 years agoRemove unused "touchDragDropEnabled" setting.
akling@apple.com [Sat, 18 Jan 2014 19:16:41 +0000 (19:16 +0000)]
Remove unused "touchDragDropEnabled" setting.
<https://webkit.org/b/127227>

Reviewed by Sam Weinig.

* page/Settings.in:

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

7 years agoWeb Inspector: Page should use std::unique_ptr for InspectorController
bburg@apple.com [Sat, 18 Jan 2014 19:15:33 +0000 (19:15 +0000)]
Web Inspector: Page should use std::unique_ptr for InspectorController
https://bugs.webkit.org/show_bug.cgi?id=127068

Reviewed by Joseph Pecoraro.

Source/WebCore:

Make Page and WorkerGlobalScope keep a std::unique_ptr to InspectorController
and WorkerInspectorController. Store page references and return controller
references where possible.

Convert call sites to use an InspectorController reference.
Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
Convert InspectorOverlay to keep Page references.

* WebCore.exp.in:
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsProfiling):
(WebCore::JSDOMWindowBase::supportsRichSourceInfo):
* dom/Node.cpp:
(WebCore::Node::inspect):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):
(WebCore::InspectorController::setInspectorFrontendClient):
(WebCore::InspectorController::hasInspectorFrontendClient):
(WebCore::InspectorController::connectFrontend):
(WebCore::InspectorController::disconnectFrontend):
(WebCore::InspectorController::inspectedPage):
(WebCore::InspectorController::developerExtrasEnabled):
* inspector/InspectorController.h:
* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::canAttachWindow):
(WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
(WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
(WebCore::InspectorFrontendClientLocal::openInNewTab):
(WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::InspectorOverlay):
(WebCore::InspectorOverlay::getHighlight):
(WebCore::InspectorOverlay::highlightQuad):
(WebCore::InspectorOverlay::update):
(WebCore::InspectorOverlay::buildObjectForHighlightedNode):
(WebCore::InspectorOverlay::drawQuadHighlight):
(WebCore::InspectorOverlay::overlayPage):
(WebCore::InspectorOverlay::reset):
* inspector/InspectorOverlay.h:
* inspector/InstrumentingAgents.cpp:
(WebCore::instrumentationForPage): remove null checks.
(WebCore::instrumentationForWorkerGlobalScope): remove null checks.
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
(WebCore::WorkerInspectorController::connectFrontend):
(WebCore::WorkerInspectorController::disconnectFrontend):
* inspector/WorkerInspectorController.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
(WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::showContextMenu):
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::addInspectElementItem):
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
* page/Page.cpp:
(WebCore::Page::Page):
* page/Page.h:
(WebCore::Page::inspectorController):
* page/PageDebuggable.cpp:
(WebCore::PageDebuggable::hasLocalDebugger):
(WebCore::PageDebuggable::parentProcessIdentifier):
(WebCore::PageDebuggable::connect):
(WebCore::PageDebuggable::disconnect):
(WebCore::PageDebuggable::dispatchMessageFromRemoteFrontend):
(WebCore::PageDebuggable::setIndicating):
* platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
(WebCore::CompositingCoordinator::syncDisplayState):
* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::inspectorHighlightRects):
(WebCore::Internals::inspectorHighlightObject):
(WebCore::Internals::emitInspectorDidBeginFrame):
(WebCore::Internals::emitInspectorDidCancelFrame):
(WebCore::Internals::openDummyInspectorFrontend):
(WebCore::Internals::closeDummyInspectorFrontend):
(WebCore::Internals::setInspectorResourcesDataSizeLimits):
(WebCore::Internals::setJavaScriptProfilingEnabled):
* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::WorkerGlobalScope):
* workers/WorkerGlobalScope.h: remove clearInspector().
(WebCore::WorkerGlobalScope::workerInspectorController):
* workers/WorkerMessagingProxy.cpp:
(WebCore::connectToWorkerGlobalScopeInspectorTask):
(WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
(WebCore::dispatchOnInspectorBackendTask):
* workers/WorkerThread.cpp:
(WebCore::WorkerThreadShutdownFinishTask::performTask):

Source/WebKit/efl:

Convert call sites to use a InspectorController reference.
Convert instantiations of InspectorFrontendClient to use std::unique_ptr.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::evaluateInWebInspector):
* WebCoreSupport/InspectorClientEfl.cpp:
(WebCore::InspectorClientEfl::openInspectorFrontend):
* ewk/ewk_view.cpp:
(ewk_view_inspector_show):
(ewk_view_inspector_close):

Source/WebKit/gtk:

Convert call sites to use a InspectorController reference.
Convert instantiations of InspectorFrontendClient to use std::unique_ptr.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::paintWebView):
* WebCoreSupport/InspectorClientGtk.cpp:
(WebKit::InspectorClient::openInspectorFrontend):
* webkit/webkitwebinspector.cpp:
(webkit_web_inspector_set_property):
(webkit_web_inspector_get_property):
(webkit_web_inspector_show):
(webkit_web_inspector_inspect_node):
(webkit_web_inspector_inspect_coordinates):
(webkit_web_inspector_close):
(webkit_web_inspector_execute_script):

Source/WebKit/mac:

Convert call sites to use a InspectorController reference.
Convert instantiations of InspectorFrontendClient to use std::unique_ptr.

* WebCoreSupport/WebInspectorClient.mm:
(WebInspectorClient::openInspectorFrontend):
(-[WebInspectorWindowController destroyInspectorView:]):
* WebInspector/WebInspector.mm:
(-[WebInspector showWindow]):
(-[WebInspector isJavaScriptProfilingEnabled]):
(-[WebInspector setJavaScriptProfilingEnabled:]):
(-[WebInspector close:]):
(-[WebInspector evaluateInFrontend:callId:script:]):
* WebInspector/WebNodeHighlighter.mm:
(-[WebNodeHighlighter highlight]):

Source/WebKit/win:

Convert call sites to use a InspectorController reference.

* WebCoreSupport/WebInspectorClient.cpp:
(WebInspectorClient::openInspectorFrontend):
(WebInspectorFrontendClient::destroyInspectorView):
(WebInspectorFrontendClient::onClose):
* WebInspector.cpp:
(WebInspector::show):
(WebInspector::close):
(WebInspector::isJavaScriptProfilingEnabled):
(WebInspector::setJavaScriptProfilingEnabled):
(WebInspector::evaluateInFrontend):
* WebNodeHighlight.cpp:
(WebNodeHighlight::update):

Source/WebKit2:

Convert call sites to use a InspectorController reference.

* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::drawRect):
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
(WebKit::WebInspectorFrontendClient::WebInspectorFrontendClient):
(WebKit::WebInspectorFrontendClient::closeWindow):
* WebProcess/WebPage/WebInspector.cpp:
(WebKit::WebInspector::createInspectorPage):
(WebKit::WebInspector::show):
(WebKit::WebInspector::close):
(WebKit::WebInspector::evaluateScriptForTest):
(WebKit::WebInspector::showConsole):
(WebKit::WebInspector::showResources):
(WebKit::WebInspector::showMainResourceForFrame):
(WebKit::WebInspector::startJavaScriptDebugging):
(WebKit::WebInspector::stopJavaScriptDebugging):
(WebKit::WebInspector::setJavaScriptProfilingEnabled):
(WebKit::WebInspector::startJavaScriptProfiling):
(WebKit::WebInspector::stopJavaScriptProfiling):
(WebKit::WebInspector::startPageProfiling):
(WebKit::WebInspector::stopPageProfiling):
(WebKit::WebInspector::dispatchMessageFromRemoteFrontend):
(WebKit::WebInspector::remoteFrontendConnected):
(WebKit::WebInspector::remoteFrontendDisconnected):

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

7 years agobuild.webkit.org/dashboard should have image diff links in test results popovers
ap@apple.com [Sat, 18 Jan 2014 18:57:59 +0000 (18:57 +0000)]
build.webkit.org/dashboard should have image diff links in test results popovers
https://bugs.webkit.org/show_bug.cgi?id=127188

Reviewed by Timothy Hatcher.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
(Buildbot.prototype.layoutTestImagesURLForIteration):
(Buildbot.prototype.layoutTestImageDiffURLForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.loadLayoutTestResults):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoLink):
(BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoText):
(BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):

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

7 years agomedia/video-size.html is flaky
ap@apple.com [Sat, 18 Jan 2014 18:50:42 +0000 (18:50 +0000)]
media/video-size.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=124932

* platform/efl/TestExpectations:
* platform/TestExpectations:
Moving flakiness expectation to cross-platform file, as it also fails on Mac in the same way.

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

7 years agomedia/video-display-aspect-ratio.html fails
ap@apple.com [Sat, 18 Jan 2014 18:43:42 +0000 (18:43 +0000)]
media/video-display-aspect-ratio.html fails
https://bugs.webkit.org/show_bug.cgi?id=35297

* platform/mac/TestExpectations: Marking as flaky.

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

7 years agoRemove ENABLE_THREADED_HTML_PARSER defines everywhere
andersca@apple.com [Sat, 18 Jan 2014 18:42:28 +0000 (18:42 +0000)]
Remove ENABLE_THREADED_HTML_PARSER defines everywhere
https://bugs.webkit.org/show_bug.cgi?id=127225

Reviewed by Andreas Kling.

This concludes the removal of over 8.8 million lines of threaded parser code.

.:

* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* Scripts/webkitperl/FeatureList.pm:

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

7 years agoMake WKRenderingProgressEvents a shareable API.
commit-queue@webkit.org [Sat, 18 Jan 2014 18:30:29 +0000 (18:30 +0000)]
Make WKRenderingProgressEvents a shareable API.
https://bugs.webkit.org/show_bug.cgi?id=127213

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-18
Reviewed by Dan Bernstein.

Move WKRenderingProgressEvents from UIProcess to Shared, so that an inject bundle
could also use this enum when listening to layout milestones.

* Shared/API/Cocoa/WKRenderingProgressEvents.h: Added.
(NS_OPTIONS):
* Shared/API/Cocoa/WKRenderingProgressEventsInternal.h: Added.
(renderingProgressEvents):
* UIProcess/API/Cocoa/WKBrowsingContextController.h: Move WKRenderingProgressEvents to Shared/API/Cocoa/WKRenderingProgressEvents.h.
* UIProcess/API/Cocoa/WKBrowsingContextController.mm: Move renderingProgressEvents() to WKRenderingProgressEventsInternal.h.
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInLoadDelegate.h: Add
    webProcessPlugInBrowserContextController:renderingProgressDidChange: to load delegate.
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
(didLayout):
(setUpPageLoaderClient): Also listen to didLayout callback for layout milestones.

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

7 years agoRemove the remaining threaded parser code
andersca@apple.com [Sat, 18 Jan 2014 18:25:30 +0000 (18:25 +0000)]
Remove the remaining threaded parser code
https://bugs.webkit.org/show_bug.cgi?id=127224

Reviewed by Andreas Kling.

* dom/Document.cpp:
(WebCore::Document::decrementActiveParserCount):
* html/parser/AtomicHTMLToken.h:
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::HTMLDocumentParser):
(WebCore::HTMLDocumentParser::detach):
(WebCore::HTMLDocumentParser::stopParsing):
(WebCore::HTMLDocumentParser::prepareToStopParsing):
(WebCore::HTMLDocumentParser::resumeParsingAfterYield):
(WebCore::HTMLDocumentParser::forcePlaintextForTextDocument):
(WebCore::HTMLDocumentParser::insert):
(WebCore::HTMLDocumentParser::append):
(WebCore::HTMLDocumentParser::end):
(WebCore::HTMLDocumentParser::finish):
(WebCore::HTMLDocumentParser::textPosition):
(WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLParserIdioms.cpp:
* html/parser/HTMLParserIdioms.h:
* html/parser/HTMLTokenizer.cpp:
* html/parser/HTMLTokenizer.h:
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::isLoading):
(WebCore::DocumentLoader::checkLoadComplete):
* page/Settings.in:

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

7 years agoRemove threaded parser code from the preload scanners
andersca@apple.com [Sat, 18 Jan 2014 18:06:03 +0000 (18:06 +0000)]
Remove threaded parser code from the preload scanners
https://bugs.webkit.org/show_bug.cgi?id=127222

Reviewed by Andreas Kling.

* html/parser/CSSPreloadScanner.cpp:
(WebCore::CSSPreloadScanner::CSSPreloadScanner):
Use nullptr.

(WebCore::CSSPreloadScanner::scan):
Move scanCommon here and simplify the code.

* html/parser/CSSPreloadScanner.h:
Remove scanCommon.

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::tagIdFor):
TagId is a strong enum now, update enum values.

(WebCore::TokenPreloadScanner::initiatorFor):
Ditto.

(WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
Ditto.

(WebCore::TokenPreloadScanner::StartTagScanner::match):
Indent this.

(WebCore::TokenPreloadScanner::StartTagScanner::processAttribute):
TagId is a strong enum now, update enum values.

(WebCore::TokenPreloadScanner::StartTagScanner::charset):
Ditto.

(WebCore::TokenPreloadScanner::StartTagScanner::resourceType):
Ditto.

(WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload):
Ditto.

(WebCore::TokenPreloadScanner::scan):
Merge scan and scanCommon.

* html/parser/HTMLPreloadScanner.h:

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

7 years agoAdding UnlinkedCodeBlock::opDebugBytecodeOffsetForLineAndColumn()..
mark.lam@apple.com [Sat, 18 Jan 2014 17:55:07 +0000 (17:55 +0000)]
Adding UnlinkedCodeBlock::opDebugBytecodeOffsetForLineAndColumn()..
https://bugs.webkit.org/show_bug.cgi?id=127127.

Reviewed by Geoffrey Garen.

In order to implement bytecode level breakpoints, we need a mechanism
for computing the best fit op_debug bytecode offset for any valid given
line and column value in the source. The "best fit" op_debug bytecode
in this case is defined below in the comment for
UnlinkedCodeBlock::opDebugBytecodeOffsetForLineAndColumn().

* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::opDebugBytecodeOffsetForLineAndColumn):
- Convert the line and column to unlinked line and column values and
  pass them to UnlinkedCodeBlock::opDebugBytecodeOffsetForLineAndColumn()
  to do the real work.

* bytecode/CodeBlock.h:
* bytecode/LineColumnInfo.h: Added.
(JSC::LineColumnInfo::operator <):
(JSC::LineColumnInfo::LineColumnPair::LineColumnPair):
(JSC::LineColumnInfo::operator ==):
(JSC::LineColumnInfo::operator !=):
(JSC::LineColumnInfo::operator <=):
(JSC::LineColumnInfo::operator >):
(JSC::LineColumnInfo::operator >=):
* bytecode/LineInfo.h: Removed.

* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedCodeBlock::decodeExpressionRangeLineAndColumn):
- Factored this out of expressionRangeForBytecodeOffset() so that it can
  be called from multiple places.
(JSC::dumpLineColumnEntry):
(JSC::UnlinkedCodeBlock::dumpExpressionRangeInfo):
(JSC::UnlinkedCodeBlock::dumpOpDebugLineColumnInfoList):
- Some dumpers for debugging use only.
(JSC::UnlinkedCodeBlock::expressionRangeForBytecodeOffset):
(JSC::UnlinkedCodeBlock::opDebugBytecodeOffsetForLineAndColumn):
- Finds the earliest op_debug bytecode whose line and column matches the
  specified line and column values. If an exact match is not found, then
  finds the nearest op_debug bytecode that precedes the specified line
  and column values. If there are more than one op_debug at that preceding
  line and column value, then the earliest of those op_debug bytecodes will
  be be selected. The offset of the selected bytecode will be returned.

  We want the earliest one because when we have multiple op_debug bytecodes
  that map to a given line and column, a debugger user would expect to break
  on the first one and step through the rest thereafter if needed.

(JSC::compareLineColumnInfo):
(JSC::UnlinkedCodeBlock::opDebugLineColumnInfoList):
- Creates the sorted opDebugLineColumnInfoList on demand. This list is
  stored in the UnlinkedCodeBlock's rareData.
* bytecode/UnlinkedCodeBlock.h:

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

7 years agoRemove Nix files from WebCore
akling@apple.com [Sat, 18 Jan 2014 17:19:38 +0000 (17:19 +0000)]
Remove Nix files from WebCore
https://bugs.webkit.org/show_bug.cgi?id=127176

Patch by Lauro Neto <lauro.neto@openbossa.org> on 2014-01-18
Reviewed by Anders Carlsson.

.:

* Source/cmake/OptionsNix.cmake: Removed.

Source/WebCore:

* PlatformNix.cmake: Removed.
* css/mediaControlsNix.css: Removed.
* css/mediaControlsNixFullscreen.css: Removed.
* editing/nix/EditorNix.cpp: Removed.
* page/nix/EventHandlerNix.cpp: Removed.
* platform/audio/nix/AudioBusNix.cpp: Removed.
* platform/audio/nix/AudioDestinationNix.cpp: Removed.
* platform/audio/nix/AudioDestinationNix.h: Removed.
* platform/audio/nix/FFTFrameNix.cpp: Removed.
* platform/graphics/nix/IconNix.cpp: Removed.
* platform/graphics/nix/ImageNix.cpp: Removed.
* platform/nix/CursorNix.cpp: Removed.
* platform/nix/DragDataNix.cpp: Removed.
* platform/nix/DragImageNix.cpp: Removed.
* platform/nix/ErrorsNix.cpp: Removed.
* platform/nix/ErrorsNix.h: Removed.
* platform/nix/FileSystemNix.cpp: Removed.
* platform/nix/GamepadsNix.cpp: Removed.
* platform/nix/LanguageNix.cpp: Removed.
* platform/nix/LocalizedStringsNix.cpp: Removed.
* platform/nix/MIMETypeRegistryNix.cpp: Removed.
* platform/nix/NixKeyboardUtilities.cpp: Removed.
* platform/nix/NixKeyboardUtilities.h: Removed.
* platform/nix/PasteboardNix.cpp: Removed.
* platform/nix/PlatformKeyboardEventNix.cpp: Removed.
* platform/nix/PlatformScreenNix.cpp: Removed.
* platform/nix/RenderThemeNix.cpp: Removed.
* platform/nix/RenderThemeNix.h: Removed.
* platform/nix/ScrollbarThemeNix.cpp: Removed.
* platform/nix/ScrollbarThemeNix.h: Removed.
* platform/nix/SharedTimerNix.cpp: Removed.
* platform/nix/SoundNix.cpp: Removed.
* platform/nix/TemporaryLinkStubs.cpp: Removed.
* platform/nix/WidgetNix.cpp: Removed.
* platform/nix/support/MultiChannelPCMData.cpp: Removed.
* platform/text/nix/TextBreakIteratorInternalICUNix.cpp: Removed.

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

7 years agoRemove DocumentParser::pinToMainThread() and related code
andersca@apple.com [Sat, 18 Jan 2014 17:11:46 +0000 (17:11 +0000)]
Remove DocumentParser::pinToMainThread() and related code
https://bugs.webkit.org/show_bug.cgi?id=127221

Reviewed by Andreas Kling.

* dom/Document.cpp:
(WebCore::Document::setContent):
* dom/DocumentParser.h:
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::HTMLDocumentParser):
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLParserOptions.cpp:
(WebCore::HTMLParserOptions::HTMLParserOptions):
* html/parser/HTMLParserOptions.h:
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTag):
* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::replaceDocument):

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

7 years agoRemove HTMLParserThread
andersca@apple.com [Sat, 18 Jan 2014 17:00:14 +0000 (17:00 +0000)]
Remove HTMLParserThread
https://bugs.webkit.org/show_bug.cgi?id=127220

Reviewed by Andreas Kling.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* html/parser/HTMLDocumentParser.cpp:
* html/parser/HTMLParserThread.cpp: Removed.
* html/parser/HTMLParserThread.h: Removed.

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

7 years agoGC soon after responding to fake memory pressure.
akling@apple.com [Sat, 18 Jan 2014 16:50:13 +0000 (16:50 +0000)]
GC soon after responding to fake memory pressure.
<https://webkit.org/b/127210>

Ask JSC to garbage collect "soon" after handling the fake memory
pressure signal on Mac. This seems to stabilize the post-pressure
numbers on Membuster3 a bit on my laptop. The difference is mostly
made up of JSC::CodeBlock objects.

Reviewed by Geoffrey Garen.

* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::install):

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

7 years agoRemove files only used by the threaded HTML parser
andersca@apple.com [Sat, 18 Jan 2014 16:48:59 +0000 (16:48 +0000)]
Remove files only used by the threaded HTML parser
https://bugs.webkit.org/show_bug.cgi?id=127219
<rdar://problem/13331277>

Reviewed by Andreas Kling.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* html/parser/AtomicHTMLToken.h:
* html/parser/BackgroundHTMLInputStream.cpp: Removed.
* html/parser/BackgroundHTMLInputStream.h: Removed.
* html/parser/BackgroundHTMLParser.cpp: Removed.
* html/parser/BackgroundHTMLParser.h: Removed.
* html/parser/CompactHTMLToken.cpp: Removed.
* html/parser/CompactHTMLToken.h: Removed.
* html/parser/HTMLDocumentParser.cpp:
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLIdentifier.cpp: Removed.
* html/parser/HTMLIdentifier.h: Removed.
* html/parser/HTMLParserIdioms.h:
* html/parser/HTMLPreloadScanner.h:
* html/parser/HTMLTreeBuilderSimulator.cpp: Removed.
* html/parser/HTMLTreeBuilderSimulator.h: Removed.

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

7 years agoInspector scripts are not compatible with Python v3
zandobersek@gmail.com [Sat, 18 Jan 2014 09:04:36 +0000 (09:04 +0000)]
Inspector scripts are not compatible with Python v3
https://bugs.webkit.org/show_bug.cgi?id=127128

Reviewed by Benjamin Poulain.

* inspector/scripts/generate-combined-inspector-json.py: Turn print statements into print function calls.
* inspector/scripts/jsmin.py: Try importing the StringIO class from the StringIO module (which will work for
Python v2) or, on import error, import the class from the io module (which will work for Python v3).

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

7 years ago[GTK] Bump the minimum required Clang version to 3.3
zandobersek@gmail.com [Sat, 18 Jan 2014 08:22:23 +0000 (08:22 +0000)]
[GTK] Bump the minimum required Clang version to 3.3
https://bugs.webkit.org/show_bug.cgi?id=127178

Reviewed by Martin Robinson.

* Source/autotools/CheckSystemAndBasicDependencies.m4: Require Clang 3.3 or later when using the Clang compiler to
build the GTK port. Building with Clang 3.2 doesn't work anymore and there's no point in fixing that, as we should
support the latest two versions of Clang (3.3 and 3.4), just like we do with GCC (4.7 and 4.8).

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

7 years agoUnreviewed, rolling out r162237 and r162241.
commit-queue@webkit.org [Sat, 18 Jan 2014 06:27:51 +0000 (06:27 +0000)]
Unreviewed, rolling out r162237 and r162241.
http://trac.webkit.org/changeset/162237
http://trac.webkit.org/changeset/162241
https://bugs.webkit.org/show_bug.cgi?id=127216

Broke lots of API tests (Requested by ap on #webkit).

* CMakeLists.txt:
* GNUmakefile.list.am:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::storageSession):
(WebKit::NetworkConnectionToWebProcess::startDownload):
(WebKit::NetworkConnectionToWebProcess::cookiesForDOM):
(WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM):
(WebKit::NetworkConnectionToWebProcess::cookiesEnabled):
(WebKit::NetworkConnectionToWebProcess::cookieRequestHeaderFieldValue):
(WebKit::NetworkConnectionToWebProcess::getRawCookies):
(WebKit::NetworkConnectionToWebProcess::deleteCookie):
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::initializeNetworkProcess):
(WebKit::NetworkProcess::ensurePrivateBrowsingSession):
(WebKit::NetworkProcess::destroyPrivateBrowsingSession):
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkProcess.messages.in:
* NetworkProcess/RemoteNetworkingContext.h:
* NetworkProcess/mac/RemoteNetworkingContext.mm:
(WebKit::privateBrowsingStorageSession):
(WebKit::RemoteNetworkingContext::storageSession):
(WebKit::RemoteNetworkingContext::privateBrowsingSession):
(WebKit::privateBrowsingStorageSessionIdentifierBase):
(WebKit::RemoteNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::RemoteNetworkingContext::destroyPrivateBrowsingSession):
* NetworkProcess/soup/RemoteNetworkingContextSoup.cpp:
(WebKit::RemoteNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::RemoteNetworkingContext::destroyPrivateBrowsingSession):
(WebKit::RemoteNetworkingContext::privateBrowsingSession):
* Shared/SessionTracker.cpp: Removed.
* Shared/SessionTracker.h: Removed.
* UIProcess/APISession.cpp:
(API::Session::Session):
(API::Session::create):
(API::Session::isEphemeral):
* UIProcess/APISession.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setAnyPageGroupMightHavePrivateBrowsingEnabled):
(WebKit::WebContext::createNewWebProcess):
(WebKit::WebContext::createWebPage):
* UIProcess/WebContext.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::create):
(WebKit::WebPageProxy::WebPageProxy):
* UIProcess/WebPageProxy.h:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createWebPage):
* UIProcess/WebProcessProxy.h:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setPrivateBrowsingEnabled):
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::cookiesForDOM):
(WebKit::WebPlatformStrategies::setCookiesFromDOM):
(WebKit::WebPlatformStrategies::cookiesEnabled):
(WebKit::WebPlatformStrategies::cookieRequestHeaderFieldValue):
(WebKit::WebPlatformStrategies::getRawCookies):
(WebKit::WebPlatformStrategies::deleteCookie):
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
(WebKit::privateSession):
(WebKit::identifierBase):
(WebKit::WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::destroyPrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
(WebKit::privateSession):
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::destroyPrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):
(WebKit::WebProcess::ensurePrivateBrowsingSession):
(WebKit::WebProcess::destroyPrivateBrowsingSession):
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:

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

7 years agoBuild fix for the CMake GTK+ build
mrobinson@webkit.org [Sat, 18 Jan 2014 05:33:34 +0000 (05:33 +0000)]
Build fix for the CMake GTK+ build

* PlatformGTK.cmake: We need to include ProgressTrackerClientGtk in the source list.

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

7 years agoUnreviewed build fix on EFL port after r162237
ryuan.choi@samsung.com [Sat, 18 Jan 2014 05:06:32 +0000 (05:06 +0000)]
Unreviewed build fix on EFL port after r162237

The EFL port disabled NETWORK_PROCESS yet and use -Werror=unused-function.

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
Guarded legacySessionID with ENABLE(NETWORK_PROCESS)

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

7 years agoMicro-optimize RenderBoxModelObject::computedCSSPadding().
akling@apple.com [Sat, 18 Jan 2014 02:31:25 +0000 (02:31 +0000)]
Micro-optimize RenderBoxModelObject::computedCSSPadding().
<https://webkit.org/b/127208>

Make computedCSSPadding() take the Length as a const reference
to avoid creating a temporary copy. This was showing up (0.2%)
on DoYouEvenBench.

Reviewed by Anders Carlsson.

* rendering/RenderBoxModelObject.h:
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::computedCSSPadding):

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

7 years agoFlesh out session APIs (still not enabled at API level).
commit-queue@webkit.org [Sat, 18 Jan 2014 02:17:52 +0000 (02:17 +0000)]
Flesh out session APIs (still not enabled at API level).
https://bugs.webkit.org/show_bug.cgi?id=126918

Patch by Martin Hock <mhock@apple.com> on 2014-01-17
Reviewed by Alexey Proskuryakov.

* CMakeLists.txt:
* GNUmakefile.list.am:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::storageSession):
(WebKit::NetworkConnectionToWebProcess::startDownload):
(WebKit::NetworkConnectionToWebProcess::cookiesForDOM):
(WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM):
(WebKit::NetworkConnectionToWebProcess::cookiesEnabled):
(WebKit::NetworkConnectionToWebProcess::cookieRequestHeaderFieldValue):
(WebKit::NetworkConnectionToWebProcess::getRawCookies):
(WebKit::NetworkConnectionToWebProcess::deleteCookie):
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::initializeNetworkProcess):
(WebKit::NetworkProcess::ensurePrivateBrowsingSession):
(WebKit::NetworkProcess::destroyPrivateBrowsingSession):
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkProcess.messages.in:
* NetworkProcess/RemoteNetworkingContext.h:
* NetworkProcess/mac/RemoteNetworkingContext.mm:
(WebKit::RemoteNetworkingContext::storageSession):
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
* NetworkProcess/soup/RemoteNetworkingContextSoup.cpp:
(WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
* Shared/SessionTracker.cpp: Copied from Source/WebKit2/UIProcess/APISession.cpp.
(WebKit::sessionMap):
(WebKit::identifierBase):
(WebKit::SessionTracker::getSessionMap):
(WebKit::SessionTracker::getIdentifierBase):
(WebKit::SessionTracker::session):
(WebKit::SessionTracker::destroySession):
(WebKit::SessionTracker::setIdentifierBase):
* Shared/SessionTracker.h: Copied from Source/WebKit2/UIProcess/APISession.h.
(WebKit::SessionTracker::isEphemeralID):
* UIProcess/APISession.cpp:
(API::generateID):
(API::Session::defaultSession):
(API::Session::legacyPrivateSession):
(API::Session::Session):
(API::Session::create):
(API::Session::isEphemeral):
(API::Session::getID):
* UIProcess/APISession.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setAnyPageGroupMightHavePrivateBrowsingEnabled):
(WebKit::WebContext::createNewWebProcess):
(WebKit::WebContext::createWebPage):
* UIProcess/WebContext.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::create):
(WebKit::WebPageProxy::WebPageProxy):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::sessionID):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createWebPage):
* UIProcess/WebProcessProxy.h:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setPrivateBrowsingEnabled):
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::legacySessionID):
(WebKit::WebPlatformStrategies::cookiesForDOM):
(WebKit::WebPlatformStrategies::setCookiesFromDOM):
(WebKit::WebPlatformStrategies::cookiesEnabled):
(WebKit::WebPlatformStrategies::cookieRequestHeaderFieldValue):
(WebKit::WebPlatformStrategies::getRawCookies):
(WebKit::WebPlatformStrategies::deleteCookie):
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
(WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
(WebKit::WebFrameNetworkingContext::storageSession):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):
(WebKit::WebProcess::ensurePrivateBrowsingSession):
(WebKit::WebProcess::destroyPrivateBrowsingSession):
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:

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

7 years agobuild.webkit.org/dashboard should have diff links in test results popovers
ap@apple.com [Sat, 18 Jan 2014 02:08:49 +0000 (02:08 +0000)]
build.webkit.org/dashboard should have diff links in test results popovers
https://bugs.webkit.org/show_bug.cgi?id=126986

Reviewed by Tim Horton.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
(Buildbot.prototype.layoutTestCrashLogURLForIteration):
(Buildbot.prototype.layoutTestStderrURLForIteration):
(Buildbot.prototype.layoutTestDiffURLForIteration):
(Buildbot.prototype.layoutTestPrettyDiffURLForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.loadLayoutTestResults):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):

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

7 years agoAdd a callOnMainThreadAndWait variant in SocketStreamHandle
andersca@apple.com [Sat, 18 Jan 2014 01:58:16 +0000 (01:58 +0000)]
Add a callOnMainThreadAndWait variant in SocketStreamHandle
https://bugs.webkit.org/show_bug.cgi?id=127180

Reviewed by Geoffrey Garen.

Source/WebCore:

WTF::callOnMainThreadAndWait was only used inside SocketStreamHandleCFNet.cpp,
so add an improved version there which is implemented in terms of callOnMainThread and
with the bonus of handling spurious wake-ups correctly (the old version didn't).

* platform/network/cf/SocketStreamHandle.h:
* platform/network/cf/SocketStreamHandleCFNet.cpp:
(WebCore::callOnMainThreadAndWait):
(WebCore::SocketStreamHandle::pacExecutionCallback):
(WebCore::SocketStreamHandle::readStreamCallback):
(WebCore::SocketStreamHandle::writeStreamCallback):

Source/WTF:

Remove callOnMainThreadAndWait from WTF.

* wtf/MainThread.cpp:
* wtf/MainThread.h:

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

7 years agoClean up PageCache classes
andersca@apple.com [Sat, 18 Jan 2014 01:47:19 +0000 (01:47 +0000)]
Clean up PageCache classes
https://bugs.webkit.org/show_bug.cgi?id=127202

Reviewed by Andreas Kling.

Source/WebCore:

* WebCore.exp.in:
* history/CachedFrame.cpp:
(WebCore::CachedFrameBase::~CachedFrameBase):
(WebCore::CachedFrame::CachedFrame):
(WebCore::CachedFrame::clear):
(WebCore::CachedFrame::setCachedFramePlatformData):
* history/CachedFrame.h:
* history/CachedPage.cpp:
(WebCore::CachedPage::CachedPage):
* history/CachedPage.h:
* history/HistoryItem.h:
(WebCore::HistoryItem::isInPageCache):
* history/PageCache.cpp:
(WebCore::PageCache::add):
(WebCore::PageCache::take):
(WebCore::PageCache::remove):
* history/PageCache.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::commitProvisionalLoad):
* loader/HistoryController.cpp:
(WebCore::HistoryController::invalidateCurrentItemCachedPage):

Source/WebKit/mac:

* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::savePlatformDataToCachedFrame):
(WebFrameLoaderClient::transitionToCommittedFromCachedFrame):

Source/WebKit/win:

* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::savePlatformDataToCachedFrame):

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

7 years agoWork around a preprocessor warning in mediaControlsApple.js
aestes@apple.com [Sat, 18 Jan 2014 01:18:04 +0000 (01:18 +0000)]
Work around a preprocessor warning in mediaControlsApple.js
https://bugs.webkit.org/show_bug.cgi?id=127204

Reviewed by Dan Bernstein.

* Modules/mediacontrols/mediaControlsApple.js: Changed '' to String().

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

7 years agoFix the iOS build after <http://trac.webkit.org/changeset/162184>
dbates@webkit.org [Sat, 18 Jan 2014 00:36:25 +0000 (00:36 +0000)]
Fix the iOS build after <trac.webkit.org/changeset/162184>
(https://bugs.webkit.org/show_bug.cgi?id=126856)

Remove symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(unsigned short const*, int).
Add symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView).

* WebCore.exp.in:

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

7 years agoRemove unused TOUCH_ADJUSTMENT code.
akling@apple.com [Sat, 18 Jan 2014 00:34:08 +0000 (00:34 +0000)]
Remove unused TOUCH_ADJUSTMENT code.
<https://webkit.org/b/127181>

Source/WebCore:

There are no ports using the ENABLE(TOUCH_ADJUSTMENT) feature
anymore, so nuke it from orbit.

Reviewed by Anders Carlsson.

* page/EventHandler.cpp:
* page/EventHandler.h:
* page/Settings.in:
* page/TouchAdjustment.cpp: Removed.
* page/TouchAdjustment.h: Removed.
* testing/Internals.cpp:
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit2:

Reviewed by Anders Carlsson.

* WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp:
(WebKit::WebPage::findZoomableAreaForPoint):

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

7 years agoNeed a way to test the tile cache with margins enabled
bdakin@apple.com [Sat, 18 Jan 2014 00:05:59 +0000 (00:05 +0000)]
Need a way to test the tile cache with margins enabled
https://bugs.webkit.org/show_bug.cgi?id=127194
-and corresponding-
<rdar://problem/15571327>

Reviewed by Tim Horton.

Source/WebCore:

This patch adds a new function to InternalSettings that will allow layout tests to
flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also
makes changing that setting take effect immediately.

To make this setting dynamic, we can no longer generate the Setting function, so
we have to export the symbol manually.
* WebCore.exp.in:

This new function on FrameView will call into RenderLayerBacking to add or remove
margins.
* page/FrameView.cpp:
(WebCore::FrameView::setBackgroundExtendsBeyondPage):
* page/FrameView.h:

Again, we’re no longer using the boiler-plate generated Setting functions, so now
we can call into FrameView to make the background extend.
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setBackgroundShouldExtendBeyondPage):
* page/Settings.h:
(WebCore::Settings::backgroundShouldExtendBeyondPage):
* page/Settings.in:

Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change
dynamic.
* platform/graphics/ca/mac/TileController.mm:
(WebCore::TileController::setTileMargins):

Move the call to TiledBacking::setTileMargins() into a helper function so that the
same code can be used for FrameView.
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::RenderLayerBacking):
(WebCore::RenderLayerBacking::setTiledBackingHasMargins):
* rendering/RenderLayerBacking.h:

New InternalSetting.
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
* testing/InternalSettings.h:
* testing/InternalSettings.idl:

Source/WebKit:

Attempt to keep Windows building.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

LayoutTests:

* platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles-expected.txt: Added.
* platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles.html: Added.

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

7 years agoFix build.
andersca@apple.com [Fri, 17 Jan 2014 23:49:10 +0000 (23:49 +0000)]
Fix build.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

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

7 years agoAdd the bare minimum support for branches to the bot-watchers dashboard
matthew_hanson@apple.com [Fri, 17 Jan 2014 23:43:29 +0000 (23:43 +0000)]
Add the bare minimum support for branches to the bot-watchers dashboard
https://bugs.webkit.org/show_bug.cgi?id=127124

This patch simply introduces the notion of branches into the bot-watchers dashboard.
Subsequent patches will build functionality on top of this simple bit of infrastructure.

Reviewed by Timothy Hatcher.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
(BuildbotQueue): store the branch property in the BuildbotQueue constructor
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
Initialize the Dashboard.Branch object

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

7 years agoRemove another unused FrameLoaderClient callback
andersca@apple.com [Fri, 17 Jan 2014 23:17:59 +0000 (23:17 +0000)]
Remove another unused FrameLoaderClient callback
https://bugs.webkit.org/show_bug.cgi?id=127192

Reviewed by Dan Bernstein.

Source/WebCore:

FrameLoaderClient::dispatchDocumentElementAvailable() was only used by the Chromium port, so remove it.

* html/ImageDocument.cpp:
(WebCore::ImageDocument::createDocumentStructure):
* html/MediaDocument.cpp:
(WebCore::MediaDocumentParser::createDocumentStructure):
* html/PluginDocument.cpp:
(WebCore::PluginDocumentParser::createDocumentStructure):
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
* loader/EmptyClients.h:
* loader/FrameLoader.cpp:
* loader/FrameLoader.h:
* loader/FrameLoaderClient.h:
* xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):

Source/WebKit/efl:

* WebCoreSupport/FrameLoaderClientEfl.cpp:
* WebCoreSupport/FrameLoaderClientEfl.h:

Source/WebKit/gtk:

* WebCoreSupport/FrameLoaderClientGtk.cpp:
* WebCoreSupport/FrameLoaderClientGtk.h:

Source/WebKit/mac:

* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameLoaderClient.mm:

Source/WebKit/win:

* WebCoreSupport/WebFrameLoaderClient.cpp:
* WebCoreSupport/WebFrameLoaderClient.h:

Source/WebKit/wince:

* WebCoreSupport/FrameLoaderClientWinCE.cpp:
* WebCoreSupport/FrameLoaderClientWinCE.h:

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

7 years agoRemove FrameLoaderClient::didPerformFirstNavigation()
andersca@apple.com [Fri, 17 Jan 2014 22:59:21 +0000 (22:59 +0000)]
Remove FrameLoaderClient::didPerformFirstNavigation()
https://bugs.webkit.org/show_bug.cgi?id=127191

Reviewed by Dan Bernstein.

Source/WebCore:

* loader/EmptyClients.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::FrameLoader):
* loader/FrameLoader.h:
* loader/FrameLoaderClient.h:
* loader/HistoryController.cpp:
(WebCore::HistoryController::updateBackForwardListClippedAtTarget):

Source/WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

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

7 years agoRemove didPerformFirstNavigation from all FrameLoaderClient subclasses
andersca@apple.com [Fri, 17 Jan 2014 22:49:12 +0000 (22:49 +0000)]
Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
https://bugs.webkit.org/show_bug.cgi?id=127190

Reviewed by Dan Bernstein.

Source/WebKit/efl:

According to the EFl maintainers, this is not used by any applications so it's safe to remove it.

* WebCoreSupport/FrameLoaderClientEfl.cpp:
* WebCoreSupport/FrameLoaderClientEfl.h:
* ewk/ewk_frame.cpp:
* ewk/ewk_frame_private.h:

Source/WebKit/gtk:

Removing this shouldn't have any bad effects, but if that is the case it's possible to
set the cache model in didCommitLoadForFrame, similar to what is done in r162224.

* WebCoreSupport/FrameLoaderClientGtk.cpp:
* WebCoreSupport/FrameLoaderClientGtk.h:

Source/WebKit/win:

* WebCoreSupport/WebFrameLoaderClient.cpp:
* WebCoreSupport/WebFrameLoaderClient.h:

Source/WebKit/wince:

* WebCoreSupport/FrameLoaderClientWinCE.cpp:
* WebCoreSupport/FrameLoaderClientWinCE.h:

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

7 years agoMove didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
andersca@apple.com [Fri, 17 Jan 2014 22:38:53 +0000 (22:38 +0000)]
Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
https://bugs.webkit.org/show_bug.cgi?id=127189

Reviewed by Dan Bernstein.

Source/WebCore:

* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::didPerformFirstNavigation):
Add an empty implementation of didPerformFirstNavigation() to make it easier to remove it from subclasses.

Source/WebKit/mac:

This is a first step towards completely eliminating the didPerformFirstNavigation() client callback.

* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameLoaderClient.mm:
Remove didPerformFirstNavigation() implementation.

* WebView/WebView.mm:
(-[WebView _checkDidPerformFirstNavigation]):
Check if we have both a current item and a previous item which indicates that we've navigated once.
The old code was called before there was a current item but since this is called from _didCommitLoadForFrame
we have to check that there's a current item as well.

(-[WebView _didCommitLoadForFrame:]):
Call _didCommitLoadForFrame.

* WebView/WebViewData.h:
Add new ivar.

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

7 years ago[CSS Regions] Minor fixes in regions performance tests
rego@igalia.com [Fri, 17 Jan 2014 22:22:13 +0000 (22:22 +0000)]
[CSS Regions] Minor fixes in regions performance tests
https://bugs.webkit.org/show_bug.cgi?id=127041

Reviewed by Ryosuke Niwa.

Fix minor issues in CSS Regions performance tests.

* Layout/RegionsAuto.html: Change type to lower case.
* Layout/RegionsAutoMaxHeight.html: Ditto.
* Layout/RegionsFixed.html: Ditto.
* Layout/RegionsFixedShort.html: Ditto.
* Layout/RegionsSelection.html: Ditto. Move test methods from regions.js.
* Layout/resources/regions.js: Remove moved methods.

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

7 years agoplatform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityCont...
cfleizach@apple.com [Fri, 17 Jan 2014 21:54:16 +0000 (21:54 +0000)]
platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
https://bugs.webkit.org/show_bug.cgi?id=127141

Reviewed by Alexey Proskuryakov.

Make sure to reset the notification handler each time.

* DumpRenderTree/AccessibilityController.cpp:
(AccessibilityController::resetToConsistentState):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
(AccessibilityController::platformResetToConsistentState):
* DumpRenderTree/ios/AccessibilityControllerIOS.mm:
(AccessibilityController::platformResetToConsistentState):
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::~AccessibilityController):
(AccessibilityController::platformResetToConsistentState):
(AccessibilityController::removeNotificationListener):
* DumpRenderTree/win/AccessibilityControllerWin.cpp:
(AccessibilityController::platformResetToConsistentState):

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

7 years ago[iOS] HTMLMediaSession should set AudioSession category
eric.carlson@apple.com [Fri, 17 Jan 2014 21:36:17 +0000 (21:36 +0000)]
[iOS] HTMLMediaSession should set AudioSession category
https://bugs.webkit.org/show_bug.cgi?id=127137

Reviewed by Sam Weinig.

* html/HTMLMediaSession.cpp:
(WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
(WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.

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

7 years agoHost DoYouEvenBench on webkit.org
rniwa@webkit.org [Fri, 17 Jan 2014 21:31:24 +0000 (21:31 +0000)]
Host DoYouEvenBench on webkit.org
https://bugs.webkit.org/show_bug.cgi?id=127185

Reviewed by Benjamin Poulain.

The previous patch didn't quite work due to cross-origin restrictions.
Simply add a hyperlink to a trac page.

* perf/DoYouEvenBench/index.html:

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

7 years agoMore iOS build fix.
ap@apple.com [Fri, 17 Jan 2014 21:24:21 +0000 (21:24 +0000)]
More iOS build fix.

* WebView/WebPreferences.mm: (-[WebPreferences _synchronizeWebStoragePolicyWithCookiePolicy]):
NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain is not part of NSHTTPCookieAcceptPolicy enum.

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

7 years agoFix the iOS build after <http://trac.webkit.org/changeset/162178>
dbates@webkit.org [Fri, 17 Jan 2014 21:13:55 +0000 (21:13 +0000)]
Fix the iOS build after <trac.webkit.org/changeset/162178>
(https://bugs.webkit.org/show_bug.cgi?id=127147)

Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
"Objective-C declarations may only appear in global scope".

* platform/audio/ios/MediaSessionManagerIOS.mm:

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

7 years ago[CSS Shapes] Stacked floats with shape-outside should allow inline content to interac...
bjonesbe@adobe.com [Fri, 17 Jan 2014 21:11:49 +0000 (21:11 +0000)]
[CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
https://bugs.webkit.org/show_bug.cgi?id=122576

Reviewed by David Hyatt.

Source/WebCore:

Make inline content interact with stacked floats with shape-outside
per the spec. This means that content can interact with floats on the
line that are not the outermost float.

This refactors ComputeFloatOffsetAdapter into a superclass and two
subclasses: one adaptor for determining the offset for float layout,
and one for determining the offset for inline layout.

The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
been updated to handle stacked floats with shape-outside properly and
has been considerably simplified in the process. It was previously
doing a whole bunch of unnecessary work.

Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
       fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
       fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html

* rendering/FloatingObjects.cpp:
(WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
(WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
(WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
(WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
(WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
(WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
(WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
(WebCore::FloatingObjects::logicalLeftOffset):
(WebCore::FloatingObjects::logicalRightOffset):
(WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
(WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
(WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
(WebCore::shapeInfoForFloat):
(WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
(WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
* rendering/line/LineWidth.cpp:
(WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
* rendering/shapes/ShapeOutsideInfo.cpp:
(WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
* rendering/shapes/ShapeOutsideInfo.h:

LayoutTests:

Tests for shape-outside on stacked floats and interaction with inline
content.

* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000-expected.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001-expected.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002-expected.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html: Added.

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

7 years agoHost DoYouEvenBench on webkit.org
rniwa@webkit.org [Fri, 17 Jan 2014 21:10:37 +0000 (21:10 +0000)]
Host DoYouEvenBench on webkit.org
https://bugs.webkit.org/show_bug.cgi?id=127185

Reviewed by Benjamin Poulain.

PerformanceTests:

Compute the resources directory relative to the benchmark-runner's location
so that we can load tests even if the runner HTML was located elsewhere.

* DoYouEvenBench/Full.html:
* DoYouEvenBench/resources/benchmark-runner.js:
(BenchmarkState._containingDirectory):

Websites/webkit.org:

Added webkit.org/perf/DoYouEvenBench.

* perf/DoYouEvenBench: Added.
* perf/DoYouEvenBench/index.html: Copied from PerformanceTests/DoYouEvenBench/Full.html.

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

7 years ago[GTK] Add CSS Grid Layout as experimental feature
rego@igalia.com [Fri, 17 Jan 2014 20:56:01 +0000 (20:56 +0000)]
[GTK] Add CSS Grid Layout as experimental feature
https://bugs.webkit.org/show_bug.cgi?id=127089

Reviewed by Martin Robinson.

Allow CSS Grid Layout to be enabled through the environment variable WEBKITGTK_EXPERIMENTAL_FEATURES.

Example: WEBKITGTK_EXPERIMENTAL_FEATURES="CSS_GRID_LAYOUT=1"

* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsConstructed): Use new experimental feature to enable or disable CSS Grid Layout.
* UIProcess/gtk/ExperimentalFeatures.cpp: Add new experimental feature.
* UIProcess/gtk/ExperimentalFeatures.h: Ditto.

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

7 years agoDoYouEvenBench: Move flightjs-example-app and todomvc into resources
rniwa@webkit.org [Fri, 17 Jan 2014 20:43:26 +0000 (20:43 +0000)]
DoYouEvenBench: Move flightjs-example-app and todomvc into resources
https://bugs.webkit.org/show_bug.cgi?id=127183

Rubber-stamped by Anders Carlsson.

* DoYouEvenBench/InteractiveRunner.html: Copied from PerformanceTests/DoYouEvenBench/benchmark.html.
* DoYouEvenBench/benchmark.html: Removed.
* DoYouEvenBench/flightjs-example-app: Removed.
* DoYouEvenBench/flightjs-example-app/LICENSE.md: Removed.
* DoYouEvenBench/flightjs-example-app/README.md: Removed.
* DoYouEvenBench/flightjs-example-app/app: Removed.
* DoYouEvenBench/flightjs-example-app/app/boot: Removed.
* DoYouEvenBench/flightjs-example-app/app/boot/page.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_data: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_data/compose_box.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_data/mail_items.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_data/move_to.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/compose_box.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/folders.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/mail_controls.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/mail_items.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/move_to_selector.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/component_ui/with_select.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/css: Removed.
* DoYouEvenBench/flightjs-example-app/app/css/custom.css: Removed.
* DoYouEvenBench/flightjs-example-app/app/data.js: Removed.
* DoYouEvenBench/flightjs-example-app/app/templates.js: Removed.
* DoYouEvenBench/flightjs-example-app/components: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/css: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.css: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.min.css: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.css: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.min.css: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/img: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings-white.png: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings.png: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/js: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.min.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/.gitignore: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/CHANGES: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/CONTRIBUTORS.md: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/LICENSE: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/README.md: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/component.json: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.min.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.min.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/package.json: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-kill.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-matchers.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/index.html: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine-html.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.css: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine_favicon.png: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/json2.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-array.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-date.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-function.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-object.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-string.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/.travis.yml: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/advice.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/component.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/compose.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/index.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/logger.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/registry.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/lib/utils.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/tools: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/tools/debug: Removed.
* DoYouEvenBench/flightjs-example-app/components/flight/tools/debug/debug.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight/LICENSE.md: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight/README.md: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight/bower.json: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib/jasmine-flight.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-jquery: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib: Removed.
* DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib/jasmine-jquery.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/jquery: Removed.
* DoYouEvenBench/flightjs-example-app/components/jquery/component.json: Removed.
* DoYouEvenBench/flightjs-example-app/components/jquery/composer.json: Removed.
* DoYouEvenBench/flightjs-example-app/components/jquery/jquery.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/jquery/jquery.min.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/mustache: Removed.
* DoYouEvenBench/flightjs-example-app/components/mustache/mustache.js: Removed.
* DoYouEvenBench/flightjs-example-app/components/requirejs: Removed.
* DoYouEvenBench/flightjs-example-app/components/requirejs/require.js: Removed.
* DoYouEvenBench/flightjs-example-app/index.html: Removed.
* DoYouEvenBench/flightjs-example-app/karma.conf.js: Removed.
* DoYouEvenBench/flightjs-example-app/package.json: Removed.
* DoYouEvenBench/flightjs-example-app/requireMain.js: Removed.
* DoYouEvenBench/resources/benchmark-runner.js:
* DoYouEvenBench/resources/flightjs-example-app: Copied from PerformanceTests/DoYouEvenBench/flightjs-example-app.
* DoYouEvenBench/resources/todomvc: Copied from PerformanceTests/DoYouEvenBench/todomvc.
* DoYouEvenBench/todomvc: Removed.
* DoYouEvenBench/todomvc/architecture-examples: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower.json: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular/angular.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/index.html: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/app.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers/todoCtrl.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoBlur.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoEscape.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoFocus.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services/todoStorage.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/readme.md: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config/testacular.conf.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/package.json: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/readme.md: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/directivesSpec.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/todoCtrlSpec.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower.json: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/index.html: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/app.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections/todos.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/models: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/models/todo.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers/router.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/app-view.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/todo-view.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/backbone/readme.md: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower.json: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/index.html: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/app.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/todo.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/router.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/readme.md: Removed.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/test.html: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower.json: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/css/app.css: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/index.html: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/js/app.js: Removed.
* DoYouEvenBench/todomvc/architecture-examples/jquery/readme.md: Removed.
* DoYouEvenBench/todomvc/labs: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower.json: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/LICENSE: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/README.md: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.min.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/ender.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/bower.json: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.min.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/index.html: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/js: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/js/app.jsx: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/js/footer.jsx: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/js/todoItem.jsx: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/js/utils.jsx: Removed.
* DoYouEvenBench/todomvc/labs/architecture-examples/react/readme.md: Removed.
* DoYouEvenBench/todomvc/license.md: Removed.
* DoYouEvenBench/todomvc/readme.md: Removed.
* DoYouEvenBench/todomvc/vanilla-examples: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower.json: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/index.html: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/app.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/controller.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/helpers.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/model.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/store.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/view.js: Removed.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/readme.md: Removed.
* Skipped:

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

7 years ago[CSS3] Add rendering support for -webkit-text-align-last
zoltan@webkit.org [Fri, 17 Jan 2014 20:33:04 +0000 (20:33 +0000)]
[CSS3] Add rendering support for -webkit-text-align-last
https://bugs.webkit.org/show_bug.cgi?id=99584

Reviewed by David Hyatt.

Source/WebCore:

Add support for the text-align-last CSS3 property, according to the latest specification:
http://dev.w3.org/csswg/css-text-3/#text-align-last-property

Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
       fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlockFlow::textAlignmentForLine):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayout):

LayoutTests:

* fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify-expected.html: Added.
* fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html: Added.
* fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify-expected.html: Added.
* fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html: Added.

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

7 years agoFix the iOS build after <http://trac.webkit.org/changeset/162208>
dbates@webkit.org [Fri, 17 Jan 2014 20:29:48 +0000 (20:29 +0000)]
Fix the iOS build after <trac.webkit.org/changeset/162208>
(https://bugs.webkit.org/show_bug.cgi?id=127139)

__MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.

* platform/network/cf/CookieJarCFNet.cpp:

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

7 years ago[GTK] Test /webkit/download/not-found fails in GTK Linux 64-bit Release bot
berto@igalia.com [Fri, 17 Jan 2014 20:26:29 +0000 (20:26 +0000)]
[GTK] Test /webkit/download/not-found fails in GTK Linux 64-bit Release bot
https://bugs.webkit.org/show_bug.cgi?id=82329

Reviewed by Carlos Garcia Campos.

Unskip, this is working fine now.

* Scripts/run-gtk-tests:
(TestRunner):

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

7 years ago[CSS Shapes] Basic shapes' computed position should be a horizontal and vertical...
betravis@adobe.com [Fri, 17 Jan 2014 20:13:33 +0000 (20:13 +0000)]
[CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
https://bugs.webkit.org/show_bug.cgi?id=127010

Reviewed by Rob Buis.

Source/WebCore:

This patch updates the computed position values used for blending to be a horizontal
left offset and a vertical top offset. When positions include a center, bottom, or
right position offset, it is converted to the appropriate top/left coordinate as
a calc expression. Serialized values still use the original bottom/right directions
when present, and also omit the top/left keywords where possible.

Updated parsing and animation tests.

* css/BasicShapeFunctions.cpp:
(WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
which includes an offset and whether the direction is from the top/left or bottom/right.
(WebCore::valueForBasicShape): Ditto.
(WebCore::convertToCenterCoordinate): Ditto.
(WebCore::basicShapeForValue): Ditto.
(WebCore::floatValueForCenterCoordinate): Ditto.
* page/animation/CSSPropertyAnimation.cpp:
(WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
* rendering/style/BasicShapes.cpp:
(WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
position offset for this center coordinate.
(WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
(WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
(WebCore::BasicShapeCircle::blend): Ditto.
(WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
(WebCore::BasicShapeEllipse::blend): Ditto.
(WebCore::BasicShapePolygon::blend): Ditto.
(WebCore::BasicShapeInsetRectangle::blend): Ditto.
(WebCore::BasicShapeInset::blend): Ditto.
* rendering/style/BasicShapes.h:
(WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
computed length, which is an offset from the top/left direction.
(WebCore::BasicShapeCenterCoordinate::direction):
(WebCore::BasicShapeCenterCoordinate::computedLength):
(WebCore::BasicShapeCenterCoordinate::blend):

LayoutTests:

Update existing parsing and animation tests. For parsing tests, top / left keywords
are omitted whenever possible. For animation tests, animations to bottom / right
offsets will use calc values based from the top / left direction.

* animations/resources/animation-test-helpers.js:
(parseBasicShape): Parse non-numerical arguments to the shape function.
(basicShapeParametersMatch): Match non-numerical arguments to the shape function.
* fast/shapes/parsing/parsing-shape-inside-expected.txt: Update serialized values
to omit top / left keywords when possible.
* fast/shapes/parsing/parsing-shape-outside-expected.txt: Update serialized values
to omit top / left keywords when possible.
* fast/shapes/parsing/parsing-test-utils.js: Modify shape parsing test expectations.
* fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: Ditto.
* fast/shapes/shape-outside-floats/shape-outside-animation.html: Ditto.

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

7 years agoString::is8Bit() crashes if m_impl is null, handle this.
andersca@apple.com [Fri, 17 Jan 2014 19:55:50 +0000 (19:55 +0000)]
String::is8Bit() crashes if m_impl is null, handle this.

* API/OpaqueJSString.h:
(OpaqueJSString::OpaqueJSString):

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

7 years agoMore non-Mac build fix.
ap@apple.com [Fri, 17 Jan 2014 19:34:13 +0000 (19:34 +0000)]
More non-Mac build fix.

* platform/network/cf/CookieJarCFNet.cpp:

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

7 years agoUnprefix text-emphasis CSS properties
mmaxfield@apple.com [Fri, 17 Jan 2014 19:32:59 +0000 (19:32 +0000)]
Unprefix text-emphasis CSS properties
https://bugs.webkit.org/show_bug.cgi?id=127160

Reviewed by Sam Weinig.

Source/WebCore:

Add synonym CSS properties. We don't want to delete the old ones because
we've shipped with them included.

Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html

* css/CSSPropertyNames.in:

LayoutTests:

Add a reftest to compare the prefixed and unprefixed properties

* fast/css3-text/css3-text-decoration/text-decoration-unprefix-expected.html: Added.
* fast/css3-text/css3-text-decoration/text-decoration-unprefix.html: Added.

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

7 years agoTry to fix the Windows build.
andersca@apple.com [Fri, 17 Jan 2014 19:25:43 +0000 (19:25 +0000)]
Try to fix the Windows build.

* API/OpaqueJSString.cpp:
(OpaqueJSString::~OpaqueJSString):
(OpaqueJSString::characters):
* API/OpaqueJSString.h:
(OpaqueJSString::OpaqueJSString):

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

7 years agoGet rid of OpaqueJSString::deprecatedCharacters()
andersca@apple.com [Fri, 17 Jan 2014 17:44:49 +0000 (17:44 +0000)]
Get rid of OpaqueJSString::deprecatedCharacters()
https://bugs.webkit.org/show_bug.cgi?id=127161

Reviewed by Sam Weinig.

Handle OpaqueJSString::m_string being either 8-bit or 16-bit and add extra
code paths for the 8-bit cases.

Unfortunately, JSStringGetCharactersPtr is still expected to return a 16-bit character pointer.
Handle this by storing a separate 16-bit string and initializing it on demand when JSStringGetCharactersPtr
is called and the backing string is 8-bit.

This has the nice side effect of making JSStringGetCharactersPtr thread-safe when it wasn't before.
(In theory, someone could have a JSStringRef backed by an 8-bit string and call JSStringGetCharactersPtr on it
causing an unsafe upconversion to a 16-bit string).

* API/JSStringRef.cpp:
(JSStringGetCharactersPtr):
Call OpaqueJSString::characters.

(JSStringGetUTF8CString):
Add a code path that handles 8-bit strings.

(JSStringIsEqual):
Call OpaqueJSString::equal.

* API/JSStringRefCF.cpp:
(JSStringCreateWithCFString):
Reformat the code to use an early return instead of putting most of the code inside the body of an if statement.

(JSStringCopyCFString):
Create an 8-bit CFStringRef if possible.

* API/OpaqueJSString.cpp:
(OpaqueJSString::create):
Use nullptr.

(OpaqueJSString::~OpaqueJSString):
Free m_characters.

(OpaqueJSString::characters):
Do the up-conversion and store the result in m_characters.

(OpaqueJSString::equal):
New helper function.

* API/OpaqueJSString.h:
(OpaqueJSString::is8Bit):
New function that returns whether a string is 8-bit or not.

(OpaqueJSString::characters8):
(OpaqueJSString::characters16):
Add getters.

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

7 years agoSupport WebSelections in WK2 on iOS.
enrica@apple.com [Fri, 17 Jan 2014 17:34:02 +0000 (17:34 +0000)]
Support WebSelections in WK2 on iOS.
https://bugs.webkit.org/show_bug.cgi?id=127015
<rdar://problem/15843090>

Reviewed by Dan Bernstein.

Removing unused variable in selectWithGesture that
causes Release build to fail after r162103.

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::selectWithGesture):

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

7 years agohttps://bugs.webkit.org/show_bug.cgi?id=127138
commit-queue@webkit.org [Fri, 17 Jan 2014 17:21:27 +0000 (17:21 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=127138
Add more delegate callback methods to WKWebProcessPlugInLoadDelegate.

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-17
Reviewed by Sam Weinig.

Add more WKWebProcessPlugInLoadDelegate callback methods so that a injected
bundle can listen/react to more frame loading events.

* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInLoadDelegate.h: Add more delegate callback methods for
    WKWebProcessPlugInLoadDelegate.
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
(didCommitLoadForFrame):
(didFinishDocumentLoadForFrame):
(didFailLoadWithErrorForFrame):
(didSameDocumentNavigationForFrame):
(didLayoutForFrame):
(setUpPageLoaderClient):

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

7 years agoUnreviewed EFL gardening
m.pakula@samsung.com [Fri, 17 Jan 2014 16:00:43 +0000 (16:00 +0000)]
Unreviewed EFL gardening

* platform/efl/js/dom/dom-static-property-for-in-iteration-expected.txt: Rebaseline after r153772 and r154057.
* platform/efl/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Rebaseline after r153772 and r154127.
* platform/efl/js/dom/global-constructors-attributes-expected.txt: Ditto.
* platform/efl/js/dom/global-constructors-attributes-shared-worker-expected.txt: Ditto.

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

7 years ago[GTK] WebKitGtk/testcopyandpaste fails in debug builds
berto@igalia.com [Fri, 17 Jan 2014 14:37:52 +0000 (14:37 +0000)]
[GTK] WebKitGtk/testcopyandpaste fails in debug builds
https://bugs.webkit.org/show_bug.cgi?id=127173

Reviewed by Carlos Garcia Campos.

Remove duplicate "PasteGlobalSelection" entry.

* editing/EditorCommand.cpp:
(WebCore::createCommandMap):

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

7 years agoPack ResourceRequest harder.
akling@apple.com [Fri, 17 Jan 2014 14:32:03 +0000 (14:32 +0000)]
Pack ResourceRequest harder.
<https://webkit.org/b/126982>

Re-arrange the members of ResourceRequest to reduce padding,
shrinking it by 8 bytes.

Reviewed by Anders Carlsson.

* platform/network/ResourceRequestBase.h:
(WebCore::ResourceRequestBase::ResourceRequestBase):

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

7 years ago[GTK] Test /webkit/webview/icon-uri times out in GTK Linux 64-bit Release bot
berto@igalia.com [Fri, 17 Jan 2014 14:04:11 +0000 (14:04 +0000)]
[GTK] Test /webkit/webview/icon-uri times out in GTK Linux 64-bit Release bot
https://bugs.webkit.org/show_bug.cgi?id=82328

Reviewed by Carlos Garcia Campos.

This was caused by the icon database being corrupted in the
Release bot. After removing it the test works fine so it can be
run again.

* Scripts/run-gtk-tests:
(TestRunner):

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

7 years agoRemove workaround for compilers not supporting deleted functions
commit-queue@webkit.org [Fri, 17 Jan 2014 12:24:16 +0000 (12:24 +0000)]
Remove workaround for compilers not supporting deleted functions
https://bugs.webkit.org/show_bug.cgi?id=127166

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-17
Reviewed by Andreas Kling.

Source/JavaScriptCore:

* inspector/InspectorAgentRegistry.h:

Source/WebCore:

* bindings/js/JSLazyEventListener.h:
* dom/ContainerNode.h:
* dom/Document.h:
* dom/Element.h:
* rendering/InlineFlowBox.h:
* rendering/InlineTextBox.h:
* rendering/RenderButton.h:
* rendering/RenderCombineText.h:
* rendering/RenderElement.h:
* rendering/RenderFieldset.h:
* rendering/RenderFileUploadControl.h:
* rendering/RenderFrame.h:
* rendering/RenderFrameBase.h:
* rendering/RenderFrameSet.h:
* rendering/RenderHTMLCanvas.h:
* rendering/RenderIFrame.h:
* rendering/RenderLineBreak.h:
* rendering/RenderListBox.h:
* rendering/RenderListMarker.h:
* rendering/RenderMedia.h:
* rendering/RenderMenuList.h:
* rendering/RenderSnapshottedPlugIn.h:
* rendering/RenderTableCell.h:
* rendering/RenderTableRow.h:
* rendering/RenderTableSection.h:
* rendering/RenderText.h:
* rendering/RenderTextControl.h:
* rendering/RenderTextControlMultiLine.h:
* rendering/RenderTextControlSingleLine.h:
* rendering/RenderVideo.h:
* rendering/RenderWidget.h:
* rendering/svg/RenderSVGBlock.h:
* rendering/svg/RenderSVGForeignObject.h:
* rendering/svg/RenderSVGImage.h:
* rendering/svg/RenderSVGInline.h:
* rendering/svg/RenderSVGRect.h:
* rendering/svg/RenderSVGResourceClipper.h:
* rendering/svg/RenderSVGResourceFilter.h:
* rendering/svg/RenderSVGResourceFilterPrimitive.h:
* rendering/svg/RenderSVGResourceGradient.h:
* rendering/svg/RenderSVGResourceLinearGradient.h:
* rendering/svg/RenderSVGResourceMarker.h:
* rendering/svg/RenderSVGResourceMasker.h:
* rendering/svg/RenderSVGResourcePattern.h:
* rendering/svg/RenderSVGResourceRadialGradient.h:
* rendering/svg/RenderSVGRoot.h:
* rendering/svg/RenderSVGShape.h:
* rendering/svg/RenderSVGTSpan.h:
* rendering/svg/RenderSVGText.h:
* rendering/svg/RenderSVGTextPath.h:
* rendering/svg/RenderSVGTransformableContainer.h:
* rendering/svg/RenderSVGViewportContainer.h:
* xml/XPathValue.h:

Source/WTF:

* wtf/Compiler.h:
* wtf/Noncopyable.h:
* wtf/PassRefPtr.h:

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

7 years ago[ATK] Modernize the for loops in ATK AX code
zandobersek@gmail.com [Fri, 17 Jan 2014 11:02:02 +0000 (11:02 +0000)]
[ATK] Modernize the for loops in ATK AX code
https://bugs.webkit.org/show_bug.cgi?id=127120

Reviewed by Mario Sanchez Prada.

Update the for loops to be range-based in ATK accessibility code.
This work is complementary to r161979.

* accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
(webkitAccessibleHypertextGetLink):
* accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
(webkitAccessibleTableGetColumnHeader):
(webkitAccessibleTableGetRowHeader):
* accessibility/atk/WebKitAccessibleUtil.cpp:
(accessibilityTitle):
(accessibilityDescription):
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(getNChildrenForTable):
(getChildForTable):
(getIndexInParentForCellInRow):

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

7 years agoUnreviewed EFL gardening
m.pakula@samsung.com [Fri, 17 Jan 2014 09:41:29 +0000 (09:41 +0000)]
Unreviewed EFL gardening

Fix wrong test expectations added in r162128.

* platform/efl-wk2/TestExpectations:

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

7 years agoBuild fix. Skip HTML files that are not tests.
rniwa@webkit.org [Fri, 17 Jan 2014 09:23:59 +0000 (09:23 +0000)]
Build fix. Skip HTML files that are not tests.

* Skipped:

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

7 years agoAllow grammar checking tests to be able to run asynchronously
g.czajkowski@samsung.com [Fri, 17 Jan 2014 09:18:58 +0000 (09:18 +0000)]
Allow grammar checking tests to be able to run asynchronously
https://bugs.webkit.org/show_bug.cgi?id=127099

Reviewed by Ryosuke Niwa.

Some grammar checking tests have already used asynchronous text checking path.
Due to WebKit tends to use asynchronous spell checking, this patch adapts grammar
checking tests that used synchronous path to be able to run asynchronously.

Additionally, the tests description was fixed.

* editing/spelling/grammar-edit-word-expected.txt:
* editing/spelling/grammar-edit-word.html:
* editing/spelling/grammar-expected.txt:
* editing/spelling/grammar-markers.html:
* editing/spelling/grammar.html:
* editing/spelling/markers-expected.txt:
* editing/spelling/markers.html:

* platform/mac-wk2/TestExpectations:
Marking markers.html as failing for mac-wk2 due to bug 125690.

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

7 years ago[Soup] Remove unnecessary using-directives for the std namespace
zandobersek@gmail.com [Fri, 17 Jan 2014 09:15:19 +0000 (09:15 +0000)]
[Soup] Remove unnecessary using-directives for the std namespace
https://bugs.webkit.org/show_bug.cgi?id=127122

Reviewed by Martin Robinson.

* platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
as no symbols from that namespace are in use in this implementation file.
* platform/network/soup/ResourceResponseSoup.cpp: Ditto.

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

7 years agoUnreviewed, rolling out r162185, r162186, and r162187.
commit-queue@webkit.org [Fri, 17 Jan 2014 08:16:50 +0000 (08:16 +0000)]
Unreviewed, rolling out r162185, r162186, and r162187.
http://trac.webkit.org/changeset/162185
http://trac.webkit.org/changeset/162186
http://trac.webkit.org/changeset/162187
https://bugs.webkit.org/show_bug.cgi?id=127164

Broke JSStringCreateWithCharactersNoCopy, as evidenced by a
JSC API test (Requested by ap on #webkit).

* API/JSStringRef.cpp:
(JSStringGetCharactersPtr):
(JSStringGetUTF8CString):
(JSStringIsEqual):
* API/JSStringRefCF.cpp:
(JSStringCreateWithCFString):
(JSStringCopyCFString):
* API/OpaqueJSString.cpp:
(OpaqueJSString::create):
(OpaqueJSString::identifier):
* API/OpaqueJSString.h:
(OpaqueJSString::create):
(OpaqueJSString::characters):
(OpaqueJSString::deprecatedCharacters):
(OpaqueJSString::OpaqueJSString):

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

7 years agoTest results popovers at http://build.webkit.org/dashboard should link to stderr
ap@apple.com [Fri, 17 Jan 2014 07:59:58 +0000 (07:59 +0000)]
Test results popovers at build.webkit.org/dashboard should link to stderr
https://bugs.webkit.org/show_bug.cgi?id=126929

Reviewed by Timothy Hatcher.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
(Buildbot.prototype.layoutTestCrashLogURLForIteration): Renamed for consistency.
(Buildbot.prototype.layoutTestStderrURLForIteration): Added.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.loadLayoutTestResults): Store has_stderr attribute.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
Add a link to stderr output if present.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
(.test-results-popover .additional-link): Style with light grey (will use the same style
for diff links).

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

7 years ago[SOUP] Add stubs for CustomProtocol classes
carlosgc@webkit.org [Fri, 17 Jan 2014 07:50:46 +0000 (07:50 +0000)]
[SOUP] Add stubs for CustomProtocol classes
https://bugs.webkit.org/show_bug.cgi?id=126343

Reviewed by Gustavo Noronha Silva.

* CMakeLists.txt:
* GNUmakefile.am:
* GNUmakefile.list.am:
* PlatformGTK.cmake:
* Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp: Added.
(WebKit::generateCustomProtocolID):
(WebKit::WebSoupRequestAsyncData::WebSoupRequestAsyncData):
(WebKit::WebSoupRequestAsyncData::~WebSoupRequestAsyncData):
(WebKit::WebSoupRequestAsyncData::requestFailed):
(WebKit::WebSoupRequestAsyncData::releaseTask):
(WebKit::CustomProtocolManager::supplementName):
(WebKit::CustomProtocolManager::CustomProtocolManager):
(WebKit::CustomProtocolManager::initializeConnection):
(WebKit::CustomProtocolManager::initialize):
* Shared/Network/NetworkProcessCreationParameters.cpp:
(WebKit::NetworkProcessCreationParameters::encode): Move
urlSchemesRegisteredForCustomProtocols encoding out of platform
ifdefs, since it's already guarded by ENABLE(CUSTOM_PROTOCOLS).
(WebKit::NetworkProcessCreationParameters::decode): Ditto.
* Shared/Network/NetworkProcessCreationParameters.h: Ditto.
* UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp: Added.
(WebKit::CustomProtocolManagerProxy::CustomProtocolManagerProxy):
(WebKit::CustomProtocolManagerProxy::startLoading):
(WebKit::CustomProtocolManagerProxy::stopLoading):

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

7 years agoOn iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
timothy_horton@apple.com [Fri, 17 Jan 2014 07:31:30 +0000 (07:31 +0000)]
On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
https://bugs.webkit.org/show_bug.cgi?id=126531
<rdar://problem/15745862>

Reviewed by Anders Carlsson.

Source/WebCore:

* platform/graphics/ca/mac/TileController.h:
* platform/graphics/ca/mac/TileController.mm:
(WebCore::TileController::tilesWouldChangeForVisibleRect):
(WebCore::TileController::scaledExposedRect):
(WebCore::TileController::computeTileCoverageRect):
(WebCore::TileController::revalidateTiles):
(WebCore::TileController::updateTileCoverageMap):
Scale the FrameView-space exposedRect into document space, to match the visibleRect.

Flipping on WKView's clipsToExposedRect now works correctly even in Safari
or MiniBrowser with zooming.

Source/WebKit2:

* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView _updateViewExposedRect]):
(-[WKContentView setViewportSize:]):
(-[WKContentView didFinishScrollTo:]):
(-[WKContentView didScrollTo:]):
(-[WKContentView didZoomToScale:]):
Because zooming is performed by the UIScrollView, we need to transform
the exposedRect's offset in order to get it in FrameView-relative coordinates.

* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::didFinishZooming):
Save the pageScaleFactor when it changes.

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

7 years ago[GTK] Remove the weak pointer added to the web view in WebKitPrintOperation
carlosgc@webkit.org [Fri, 17 Jan 2014 07:19:56 +0000 (07:19 +0000)]
[GTK] Remove the weak pointer added to the web view in WebKitPrintOperation
https://bugs.webkit.org/show_bug.cgi?id=127098

Reviewed by Martin Robinson.

If the print operation finishes and the web view is still alive,
the weak pointer added to the view should be removed.

* UIProcess/API/gtk/WebKitPrintOperation.cpp:
(_WebKitPrintOperationPrivate::~_WebKitPrintOperationPrivate):

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

7 years agoExport OpaqueJSString destructor.
andersca@apple.com [Fri, 17 Jan 2014 07:08:36 +0000 (07:08 +0000)]
Export OpaqueJSString destructor.

* API/OpaqueJSString.h:

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

7 years agoBuild fix.
andersca@apple.com [Fri, 17 Jan 2014 07:05:49 +0000 (07:05 +0000)]
Build fix.

* API/OpaqueJSString.h:

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

7 years agoGet rid of OpaqueJSString::deprecatedCharacters()
andersca@apple.com [Fri, 17 Jan 2014 06:50:26 +0000 (06:50 +0000)]
Get rid of OpaqueJSString::deprecatedCharacters()
https://bugs.webkit.org/show_bug.cgi?id=127161

Reviewed by Sam Weinig.

Handle OpaqueJSString::m_string being either 8-bit or 16-bit and add extra
code paths for the 8-bit cases.

Unfortunately, JSStringGetCharactersPtr is still expected to return a 16-bit character pointer.
Handle this by storing a separate 16-bit string and initializing it on demand when JSStringGetCharactersPtr
is called. This has the nice side effect of making JSStringGetCharactersPtr thread-safe when it wasn't before.
(In theory, someone could have a JSStringRef backed by an 8-bit string and call JSStringGetCharactersPtr on it
causing an unsafe upconversion to a 16-bit string).

* API/JSStringRef.cpp:
(JSStringGetCharactersPtr):
Call OpaqueJSString::characters.

(JSStringGetUTF8CString):
Add a code path that handles 8-bit strings.

(JSStringIsEqual):
Call OpaqueJSString::equal.

* API/JSStringRefCF.cpp:
(JSStringCreateWithCFString):
Reformat the code to use an early return instead of putting most of the code inside the body of an if statement.

(JSStringCopyCFString):
Create an 8-bit CFStringRef if possible.

* API/OpaqueJSString.cpp:
(OpaqueJSString::create):
Use nullptr.

(OpaqueJSString::~OpaqueJSString):
Free m_characters.

(OpaqueJSString::characters):
Do the up-conversion and store the result in m_characters.

(OpaqueJSString::equal):
New helper function.

* API/OpaqueJSString.h:
(OpaqueJSString::is8Bit):
New function that returns whether a string is 8-bit or not.

(OpaqueJSString::characters8):
(OpaqueJSString::characters16):
Add getters.

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

7 years agoTextBreakIterator's should support Latin-1 for all iterator types (Part 3)
weinig@apple.com [Fri, 17 Jan 2014 06:22:46 +0000 (06:22 +0000)]
TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
https://bugs.webkit.org/show_bug.cgi?id=126856

Reviewed by Ryosuke Niwa.

Change all the TextBreakIterator creation functions to take StringViews. Remove a few
now unnecessary up-conversions to UTF-16 in the process.

../WebCore:

* dom/CharacterData.cpp:
* editing/TextCheckingHelper.cpp:
* editing/VisibleUnits.cpp:
* platform/graphics/StringTruncator.cpp:
* platform/graphics/mac/ComplexTextController.cpp:
* platform/text/TextBoundaries.cpp:
* platform/text/TextBreakIterator.cpp:
* platform/text/TextBreakIterator.h:
* rendering/RenderText.cpp:

../WebKit/ios:

* Misc/WebNSStringDrawing.mm:

../WebKit2:

* UIProcess/efl/TextCheckerEfl.cpp:
(WebKit::nextWordOffset):
(WebKit::TextChecker::checkTextOfParagraph):

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

7 years agoAutomate DoYouEvenBench
rniwa@webkit.org [Fri, 17 Jan 2014 06:06:36 +0000 (06:06 +0000)]
Automate DoYouEvenBench
https://bugs.webkit.org/show_bug.cgi?id=124497

Reviewed by Geoffrey Garen.

PerformanceTests:

Enable DoYouEvenBench/Full.html on perf bots by default.

Put a space between the time and ms, and fixed a typo in runner.js so that the aggregator name will be reported.

* DoYouEvenBench/Full.html:
* Skipped:
* resources/runner.js:

Tools:

* Scripts/webkitpy/performance_tests/perftest.py:
(PerfTestMetric.__init__): Added the aggregator name as an argument.
(PerfTestMetric.aggregator): Added.
(PerfTest._metrics_regex): Made the subtest name match non-greedy so that the metric names will be
won't be eagerly parsed as a part of the subtest name. e.g. "Time" and "Total" in "a:Time:Total"
should be parsed as the metric and the aggregator respectively.
(PerfTest._run_with_driver): Pass in the aggregator name.
(PerfTest._ensure_metrics): Ditto. Also split the subtest name by / as required by DoYouEvenBench
which generates subtests of subtests within a single test file.

* Scripts/webkitpy/performance_tests/perftest_unittest.py:
(test_parse_output_with_subtests_and_total): Added.

* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(_generate_results_dict): Add the aggregator name to the JSON when one is available.

* Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
(TestWithSubtestsData): Added a sub test with an aggregator and a sub-sub test.

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

7 years ago[EFL][WK2] EwkView can not be shown without re-sizing once it is hidden.
eunmi15.lee@samsung.com [Fri, 17 Jan 2014 05:27:13 +0000 (05:27 +0000)]
[EFL][WK2] EwkView can not be shown without re-sizing once it is hidden.
https://bugs.webkit.org/show_bug.cgi?id=127084

Reviewed by Gyuyoung Kim.

Visibility of EwkView can not be controlled by evas_object_show/hide
because EwkView can be shown only if re-sizing is requested, so modify
codes to show EwkView directly if we do not wait for re-sizing.
Additionally, we have to set default value of m_pendingSurfaceResize
to true for accelerated mode to prevent to show black empty view for
the first request to show.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::EwkView):
(EwkView::handleEvasObjectShow):

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

7 years agoRun clang-modernize and let it add a bunch of missing overrides.
andersca@apple.com [Fri, 17 Jan 2014 03:23:06 +0000 (03:23 +0000)]
Run clang-modernize and let it add a bunch of missing overrides.

Rubber-stamped by Sam Weinig.

* dom/BeforeLoadEvent.h:
* dom/ClassNodeList.h:
* dom/Comment.h:
* dom/CompositionEvent.h:
* dom/DecodedDataDocumentParser.h:
* dom/DeviceMotionEvent.h:
* dom/DeviceOrientationEvent.h:
* dom/DocumentMarker.cpp:
* dom/DocumentType.h:
* dom/EntityReference.h:
* dom/FocusEvent.h:
* dom/HashChangeEvent.h:
* dom/MessageEvent.h:
* dom/MouseEvent.h:
* dom/MouseRelatedEvent.h:
* dom/MutationEvent.h:
* dom/NameNodeList.h:
* dom/Notation.h:
* dom/OverflowEvent.h:
* dom/PendingScript.h:
* dom/PopStateEvent.h:
* dom/ProcessingInstruction.h:
* dom/ScriptElement.h:
* dom/ScriptExecutionContext.cpp:
* dom/ScriptableDocumentParser.h:
* dom/ScriptedAnimationController.h:
* dom/StringCallback.cpp:
* dom/WheelEvent.h:
* html/FTPDirectoryDocument.h:
* html/FileInputType.cpp:
* html/HTMLAppletElement.h:
* html/HTMLBRElement.h:
* html/HTMLBaseElement.h:
* html/HTMLBodyElement.h:
* html/HTMLButtonElement.h:
* html/HTMLDocument.h:
* html/HTMLEmbedElement.h:
* html/HTMLFormControlsCollection.h:
* html/HTMLFrameElement.h:
* html/HTMLFrameSetElement.h:
* html/HTMLHRElement.h:
* html/HTMLIFrameElement.h:
* html/HTMLKeygenElement.cpp:
* html/HTMLKeygenElement.h:
* html/HTMLLinkElement.h:
* html/HTMLMarqueeElement.h:
* html/HTMLObjectElement.h:
* html/HTMLOutputElement.h:
* html/HTMLParamElement.h:
* html/HTMLScriptElement.h:
* html/HTMLStyleElement.h:
* html/HTMLSummaryElement.h:
* html/HTMLTrackElement.h:
* html/HTMLViewSourceDocument.h:
* html/ImageDocument.cpp:
* html/ImageDocument.h:
* html/MediaDocument.cpp:
* html/MediaDocument.h:
* html/MediaKeyEvent.h:
* html/PluginDocument.cpp:
* html/RadioNodeList.h:
* html/TextDocument.h:
* html/canvas/EXTDrawBuffers.h:
* html/canvas/EXTTextureFilterAnisotropic.h:
* html/canvas/OESElementIndexUint.h:
* html/canvas/OESStandardDerivatives.h:
* html/canvas/OESTextureFloat.h:
* html/canvas/OESTextureFloatLinear.h:
* html/canvas/OESTextureHalfFloat.h:
* html/canvas/OESTextureHalfFloatLinear.h:
* html/canvas/OESVertexArrayObject.h:
* html/canvas/WebGLBuffer.h:
* html/canvas/WebGLCompressedTextureATC.h:
* html/canvas/WebGLCompressedTexturePVRTC.h:
* html/canvas/WebGLCompressedTextureS3TC.h:
* html/canvas/WebGLContextEvent.h:
* html/canvas/WebGLContextObject.h:
* html/canvas/WebGLDebugRendererInfo.h:
* html/canvas/WebGLDebugShaders.h:
* html/canvas/WebGLDepthTexture.h:
* html/canvas/WebGLFramebuffer.cpp:
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLLoseContext.h:
* html/canvas/WebGLProgram.h:
* html/canvas/WebGLRenderbuffer.h:
* html/canvas/WebGLRenderingContext.cpp:
* html/canvas/WebGLRenderingContext.h:
* html/canvas/WebGLShader.h:
* html/canvas/WebGLSharedObject.h:
* html/canvas/WebGLTexture.h:
* html/canvas/WebGLVertexArrayObjectOES.h:
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLViewSourceParser.h:
* html/shadow/DetailsMarkerControl.h:
* html/shadow/MediaControls.h:
* html/shadow/MediaControlsApple.h:
* html/shadow/MeterShadowElement.h:
* html/shadow/ProgressShadowElement.h:
* html/shadow/SliderThumbElement.h:
* html/track/LoadableTextTrack.h:
* html/track/TrackEvent.h:
* svg/SVGAElement.h:
* svg/SVGAnimateColorElement.h:
* svg/SVGAnimateElement.h:
* svg/SVGAnimateMotionElement.h:
* svg/SVGAnimateTransformElement.h:
* svg/SVGAnimationElement.h:
* svg/SVGCircleElement.h:
* svg/SVGClipPathElement.h:
* svg/SVGComponentTransferFunctionElement.h:
* svg/SVGCursorElement.h:
* svg/SVGDefsElement.h:
* svg/SVGDescElement.h:
* svg/SVGEllipseElement.h:
* svg/SVGFEBlendElement.h:
* svg/SVGFEColorMatrixElement.h:
* svg/SVGFEComponentTransferElement.h:
* svg/SVGFECompositeElement.h:
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.h:
* svg/SVGFEDisplacementMapElement.h:
* svg/SVGFEDistantLightElement.h:
* svg/SVGFEDropShadowElement.h:
* svg/SVGFEFloodElement.h:
* svg/SVGFEGaussianBlurElement.h:
* svg/SVGFEImageElement.h:
* svg/SVGFELightElement.h:
* svg/SVGFEMergeElement.h:
* svg/SVGFEMergeNodeElement.h:
* svg/SVGFEMorphologyElement.h:
* svg/SVGFEOffsetElement.h:
* svg/SVGFEPointLightElement.h:
* svg/SVGFESpecularLightingElement.h:
* svg/SVGFESpotLightElement.h:
* svg/SVGFETileElement.h:
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.h:
* svg/SVGFontData.h:
* svg/SVGForeignObjectElement.h:
* svg/SVGGlyphElement.h:
* svg/SVGGlyphRefElement.h:
* svg/SVGGradientElement.h:
* svg/SVGHKernElement.h:
* svg/SVGImageElement.h:
* svg/SVGImageLoader.h:
* svg/SVGLineElement.h:
* svg/SVGLinearGradientElement.h:
* svg/SVGMPathElement.h:
* svg/SVGMarkerElement.h:
* svg/SVGMaskElement.h:
* svg/SVGMissingGlyphElement.h:
* svg/SVGPathBuilder.h:
* svg/SVGPathByteStreamBuilder.h:
* svg/SVGPathByteStreamSource.h:
* svg/SVGPathElement.h:
* svg/SVGPathSegArcAbs.h:
* svg/SVGPathSegArcRel.h:
* svg/SVGPathSegClosePath.h:
* svg/SVGPathSegCurvetoCubicAbs.h:
* svg/SVGPathSegCurvetoCubicRel.h:
* svg/SVGPathSegCurvetoCubicSmoothAbs.h:
* svg/SVGPathSegCurvetoCubicSmoothRel.h:
* svg/SVGPathSegCurvetoQuadraticAbs.h:
* svg/SVGPathSegCurvetoQuadraticRel.h:
* svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
* svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
* svg/SVGPathSegLinetoAbs.h:
* svg/SVGPathSegLinetoHorizontalAbs.h:
* svg/SVGPathSegLinetoHorizontalRel.h:
* svg/SVGPathSegLinetoRel.h:
* svg/SVGPathSegLinetoVerticalAbs.h:
* svg/SVGPathSegLinetoVerticalRel.h:
* svg/SVGPathSegListBuilder.h:
* svg/SVGPathSegListSource.h:
* svg/SVGPathSegMovetoAbs.h:
* svg/SVGPathSegMovetoRel.h:
* svg/SVGPathStringSource.h:
* svg/SVGPathTraversalStateBuilder.h:
* svg/SVGPatternElement.h:
* svg/SVGPolyElement.h:
* svg/SVGRadialGradientElement.h:
* svg/SVGRectElement.h:
* svg/SVGSVGElement.h:
* svg/SVGScriptElement.h:
* svg/SVGStopElement.h:
* svg/SVGStyleElement.h:
* svg/SVGSwitchElement.h:
* svg/SVGSymbolElement.h:
* svg/SVGTRefElement.h:
* svg/SVGTSpanElement.h:
* svg/SVGTextContentElement.h:
* svg/SVGTextElement.h:
* svg/SVGTextPathElement.h:
* svg/SVGTextPositioningElement.h:
* svg/SVGTitleElement.h:
* svg/SVGUseElement.h:
* svg/SVGVKernElement.h:
* svg/SVGViewElement.h:
* svg/SVGZoomEvent.h:
* svg/animation/SVGSMILElement.cpp:
* svg/animation/SVGSMILElement.h:
* svg/graphics/SVGImageChromeClient.h:
* svg/graphics/filters/SVGFEImage.h:
* svg/graphics/filters/SVGFilter.h:
* svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
* svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
* svg/properties/SVGPathSegListPropertyTearOff.h:

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

7 years agoplatform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityCont...
cfleizach@apple.com [Fri, 17 Jan 2014 02:32:37 +0000 (02:32 +0000)]
platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
https://bugs.webkit.org/show_bug.cgi?id=127141

Reviewed by Alexey Proskuryakov.

Don't assert that the notification handler needs to be cleaned up. Deallocing the controller should be enough to clean up as it is.

* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::~AccessibilityController):

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

7 years agoREGRESSION(r162145): media/video-controls-visible-audio-only.html fails
jer.noble@apple.com [Fri, 17 Jan 2014 02:12:19 +0000 (02:12 +0000)]
REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
https://bugs.webkit.org/show_bug.cgi?id=127147

Source/WebCore:

Reviewed by Eric Carlson.

Reset the MediaSessionManager's restrictions to their default values before
each run.

Add a new virtual method "resetRestrictions()" so that each port-specific
MediaSessionManager can reset the restrictions to their default values.
Call this from Internals::resetToConsistentState() so that tests which change
the restrictions don't affect later tests.

* platform/audio/MediaSessionManager.cpp:
(WebCore::MediaSessionManager::MediaSessionManager):
(WebCore::MediaSessionManager::resetRestrictions):
* platform/audio/MediaSessionManager.h:
(WebCore::MediaSessionManager::~MediaSessionManager):
* platform/audio/ios/MediaSessionManagerIOS.h:
* platform/audio/ios/MediaSessionManagerIOS.mm:
(WebCore::MediaSessionManageriOS::resetRestrictions):
* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):

LayoutTests:

Re-enable media/video-controls-visible-audio-only.html.

Reviewed by Eric Carlson.

* platform/mac/TestExpectations:

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

7 years agoBuild Fix: Use standard architectures when building for iOS
aestes@apple.com [Fri, 17 Jan 2014 01:58:42 +0000 (01:58 +0000)]
Build Fix: Use standard architectures when building for iOS

Even though we don't use the plug-in services on iOS, we still need
them to build (we won't install them). Be sure we specify valid iOS
architectures when doing so.

* Configurations/PluginService.32.xcconfig:
* Configurations/PluginService.64.xcconfig:

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

7 years agoCompile fix for WinCairo after r162138.
commit-queue@webkit.org [Fri, 17 Jan 2014 01:51:18 +0000 (01:51 +0000)]
Compile fix for WinCairo after r162138.
https://bugs.webkit.org/show_bug.cgi?id=127140

Patch by Alex Christensen <achristensen@webkit.org> on 2014-01-16
Reviewed by Beth Dakin.

* page/FrameView.cpp:
(WebCore::FrameView::extendedBackgroundRect):
Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.

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

7 years agoCrash when destroying WKInteractionView.
enrica@apple.com [Fri, 17 Jan 2014 01:45:21 +0000 (01:45 +0000)]
Crash when destroying WKInteractionView.
https://bugs.webkit.org/show_bug.cgi?id=127153
<rdar://problem/15840761>

Reviewed by Anders Carlsson.

UIWKSelectionAssistant is a RetainPtr and it is being
deallocated after the view and its gesture recognizers
have been destroyed.
The parent class UIWebSelectionAssistant assumes to be
deallocated before the view is gone.
We deallocate the interaction assistants explicitly to
fix the problem.

* UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView dealloc]):

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

7 years agoIDB: delete object store support
beidson@apple.com [Fri, 17 Jan 2014 01:20:12 +0000 (01:20 +0000)]
IDB: delete object store support
<rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123

Reviewed by Alexey Proskuryakov.

Source/WebCore:

* Modules/indexeddb/IDBTransactionBackendOperations.h:
(WebCore::DeleteObjectStoreOperation::transaction):

Source/WebKit2:

Pipe through Web -> Database -> Web process messaging for delete object store.
Perform dropping the object store in the backing store.

* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
(WebKit::DatabaseProcessIDBConnection::deleteObjectStore):
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:

* DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::didDeleteObjectStore):
(WebKit::UniqueIDBDatabase::deleteObjectStore):
(WebKit::UniqueIDBDatabase::deleteObjectStoreInBackingStore):
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:

* DatabaseProcess/IndexedDB/UniqueIDBDatabaseBackingStore.h:
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::deleteObjectStore):
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:

* WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
(WebKit::WebIDBServerConnection::deleteObjectStore):
(WebKit::WebIDBServerConnection::didDeleteObjectStore):
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:

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

7 years ago[iOS] MobileSafari build fix. Declare iOS-specific method mainFrameIconURL
dbates@webkit.org [Fri, 17 Jan 2014 01:09:07 +0000 (01:09 +0000)]
[iOS] MobileSafari build fix. Declare iOS-specific method mainFrameIconURL

For now, add mainFrameIconURL() to WebView.h. We should further investigate its
usage and API/SPI status.

* WebView/WebView.h:

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

7 years agoRemove Nix from WTF
benjamin@webkit.org [Fri, 17 Jan 2014 01:04:25 +0000 (01:04 +0000)]
Remove Nix from WTF
https://bugs.webkit.org/show_bug.cgi?id=127150

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-16
Reviewed by Alexey Proskuryakov.

* wtf/DisallowCType.h:
* wtf/FeatureDefines.h:
* wtf/Platform.h:
* wtf/PlatformNix.cmake: Removed.
* wtf/nix: Removed.

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