WebKit-https.git
7 years agoFTL: Refactor compileArithDiv and compileArithMod into one function.
commit-queue@webkit.org [Wed, 2 Oct 2013 18:52:19 +0000 (18:52 +0000)]
FTL: Refactor compileArithDiv and compileArithMod into one function.
https://bugs.webkit.org/show_bug.cgi?id=122205

Patch by Nadav Rotem <nrotem@apple.com> on 2013-10-02
Reviewed by Filip Pizlo.

* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileAddSub):
(JSC::FTL::LowerDFGToLLVM::compileArithDivMod):

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

7 years agoUpdate bindings test results.
andersca@apple.com [Wed, 2 Oct 2013 18:23:56 +0000 (18:23 +0000)]
Update bindings test results.

* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::JSTestActiveDOMObjectOwner::finalize):
* bindings/scripts/test/JS/JSTestActiveDOMObject.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetterOwner::finalize):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructorOwner::finalize):
* bindings/scripts/test/JS/JSTestEventConstructor.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTargetOwner::finalize):
* bindings/scripts/test/JS/JSTestEventTarget.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestExceptionOwner::finalize):
* bindings/scripts/test/JS/JSTestException.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterfaceOwner::finalize):
* bindings/scripts/test/JS/JSTestInterface.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListenerOwner::finalize):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructorOwner::finalize):
* bindings/scripts/test/JS/JSTestNamedConstructor.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::JSTestObjOwner::finalize):
* bindings/scripts/test/JS/JSTestObj.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
(WebCore::JSTestOverloadedConstructorsOwner::finalize):
* bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::JSTestTypedefsOwner::finalize):
* bindings/scripts/test/JS/JSTestTypedefs.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):

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

7 years agoRemove WebKit/qt.
andersca@apple.com [Wed, 2 Oct 2013 18:20:50 +0000 (18:20 +0000)]
Remove WebKit/qt.

Rubber-stamped by Andreas Kling.

* qt/Api/qhttpheader.cpp: Removed.
* qt/Api/qhttpheader_p.h: Removed.
* qt/Api/qwebdatabase.cpp: Removed.
* qt/Api/qwebdatabase.h: Removed.
* qt/Api/qwebdatabase_p.h: Removed.
* qt/Api/qwebelement.cpp: Removed.
* qt/Api/qwebelement.h: Removed.
* qt/Api/qwebelement_p.h: Removed.
* qt/Api/qwebhistory.cpp: Removed.
* qt/Api/qwebhistory.h: Removed.
* qt/Api/qwebhistory_p.h: Removed.
* qt/Api/qwebhistoryinterface.cpp: Removed.
* qt/Api/qwebhistoryinterface.h: Removed.
* qt/Api/qwebkitglobal.cpp: Removed.
* qt/Api/qwebkitglobal.h: Removed.
* qt/Api/qwebkitplatformplugin.h: Removed.
* qt/Api/qwebplugindatabase.cpp: Removed.
* qt/Api/qwebplugindatabase_p.h: Removed.
* qt/Api/qwebpluginfactory.cpp: Removed.
* qt/Api/qwebpluginfactory.h: Removed.
* qt/Api/qwebscriptworld.cpp: Removed.
* qt/Api/qwebscriptworld.h: Removed.
* qt/Api/qwebscriptworld_p.h: Removed.
* qt/Api/qwebsecurityorigin.cpp: Removed.
* qt/Api/qwebsecurityorigin.h: Removed.
* qt/Api/qwebsecurityorigin_p.h: Removed.
* qt/Api/qwebsettings.cpp: Removed.
* qt/Api/qwebsettings.h: Removed.
* qt/ChangeLog-2011-02-16: Removed.
* qt/WebCoreSupport/ChromeClientQt.cpp: Removed.
* qt/WebCoreSupport/ChromeClientQt.h: Removed.
* qt/WebCoreSupport/ContextMenuClientQt.cpp: Removed.
* qt/WebCoreSupport/ContextMenuClientQt.h: Removed.
* qt/WebCoreSupport/DragClientQt.cpp: Removed.
* qt/WebCoreSupport/DragClientQt.h: Removed.
* qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp: Removed.
* qt/WebCoreSupport/DumpRenderTreeSupportQt.h: Removed.
* qt/WebCoreSupport/EditorClientQt.cpp: Removed.
* qt/WebCoreSupport/EditorClientQt.h: Removed.
* qt/WebCoreSupport/FrameLoaderClientQt.cpp: Removed.
* qt/WebCoreSupport/FrameLoaderClientQt.h: Removed.
* qt/WebCoreSupport/FrameNetworkingContextQt.cpp: Removed.
* qt/WebCoreSupport/FrameNetworkingContextQt.h: Removed.
* qt/WebCoreSupport/FullScreenVideoQt.cpp: Removed.
* qt/WebCoreSupport/FullScreenVideoQt.h: Removed.
* qt/WebCoreSupport/GeolocationClientQt.cpp: Removed.
* qt/WebCoreSupport/GeolocationClientQt.h: Removed.
* qt/WebCoreSupport/GeolocationPermissionClientQt.cpp: Removed.
* qt/WebCoreSupport/GeolocationPermissionClientQt.h: Removed.
* qt/WebCoreSupport/IconDatabaseClientQt.cpp: Removed.
* qt/WebCoreSupport/IconDatabaseClientQt.h: Removed.
* qt/WebCoreSupport/InitWebCoreQt.cpp: Removed.
* qt/WebCoreSupport/InitWebCoreQt.h: Removed.
* qt/WebCoreSupport/InspectorClientQt.cpp: Removed.
* qt/WebCoreSupport/InspectorClientQt.h: Removed.
* qt/WebCoreSupport/InspectorServerQt.cpp: Removed.
* qt/WebCoreSupport/InspectorServerQt.h: Removed.
* qt/WebCoreSupport/NotificationPresenterClientQt.cpp: Removed.
* qt/WebCoreSupport/NotificationPresenterClientQt.h: Removed.
* qt/WebCoreSupport/PlatformStrategiesQt.cpp: Removed.
* qt/WebCoreSupport/PlatformStrategiesQt.h: Removed.
* qt/WebCoreSupport/PopupMenuQt.cpp: Removed.
* qt/WebCoreSupport/PopupMenuQt.h: Removed.
* qt/WebCoreSupport/QWebFrameAdapter.cpp: Removed.
* qt/WebCoreSupport/QWebFrameAdapter.h: Removed.
* qt/WebCoreSupport/QWebPageAdapter.cpp: Removed.
* qt/WebCoreSupport/QWebPageAdapter.h: Removed.
* qt/WebCoreSupport/QtPlatformPlugin.cpp: Removed.
* qt/WebCoreSupport/QtPlatformPlugin.h: Removed.
* qt/WebCoreSupport/QtPluginWidgetAdapter.cpp: Removed.
* qt/WebCoreSupport/QtPluginWidgetAdapter.h: Removed.
* qt/WebCoreSupport/QtPrintContext.cpp: Removed.
* qt/WebCoreSupport/QtPrintContext.h: Removed.
* qt/WebCoreSupport/SearchPopupMenuQt.cpp: Removed.
* qt/WebCoreSupport/SearchPopupMenuQt.h: Removed.
* qt/WebCoreSupport/TextCheckerClientQt.cpp: Removed.
* qt/WebCoreSupport/TextCheckerClientQt.h: Removed.
* qt/WebCoreSupport/TextureMapperLayerClientQt.cpp: Removed.
* qt/WebCoreSupport/TextureMapperLayerClientQt.h: Removed.
* qt/WebCoreSupport/UndoStepQt.cpp: Removed.
* qt/WebCoreSupport/UndoStepQt.h: Removed.
* qt/WebCoreSupport/WebEventConversion.cpp: Removed.
* qt/WebCoreSupport/WebEventConversion.h: Removed.
* qt/WidgetApi/qgraphicswebview.cpp: Removed.
* qt/WidgetApi/qgraphicswebview.h: Removed.
* qt/WidgetApi/qwebframe.cpp: Removed.
* qt/WidgetApi/qwebframe.h: Removed.
* qt/WidgetApi/qwebframe_p.h: Removed.
* qt/WidgetApi/qwebinspector.cpp: Removed.
* qt/WidgetApi/qwebinspector.h: Removed.
* qt/WidgetApi/qwebinspector_p.h: Removed.
* qt/WidgetApi/qwebpage.cpp: Removed.
* qt/WidgetApi/qwebpage.h: Removed.
* qt/WidgetApi/qwebpage_p.h: Removed.
* qt/WidgetApi/qwebview.cpp: Removed.
* qt/WidgetApi/qwebview.h: Removed.
* qt/WidgetApi/qwebviewaccessible.cpp: Removed.
* qt/WidgetApi/qwebviewaccessible_p.h: Removed.
* qt/WidgetSupport/DefaultFullScreenVideoHandler.cpp: Removed.
* qt/WidgetSupport/DefaultFullScreenVideoHandler.h: Removed.
* qt/WidgetSupport/FullScreenVideoWidget.cpp: Removed.
* qt/WidgetSupport/FullScreenVideoWidget.h: Removed.
* qt/WidgetSupport/InitWebKitQt.cpp: Removed.
* qt/WidgetSupport/InitWebKitQt.h: Removed.
* qt/WidgetSupport/InspectorClientWebPage.cpp: Removed.
* qt/WidgetSupport/InspectorClientWebPage.h: Removed.
* qt/WidgetSupport/PageClientQt.cpp: Removed.
* qt/WidgetSupport/PageClientQt.h: Removed.
* qt/WidgetSupport/QGraphicsWidgetPluginImpl.cpp: Removed.
* qt/WidgetSupport/QGraphicsWidgetPluginImpl.h: Removed.
* qt/WidgetSupport/QStyleFacadeImp.cpp: Removed.
* qt/WidgetSupport/QStyleFacadeImp.h: Removed.
* qt/WidgetSupport/QWebUndoCommand.cpp: Removed.
* qt/WidgetSupport/QWebUndoCommand.h: Removed.
* qt/WidgetSupport/QWidgetPluginImpl.cpp: Removed.
* qt/WidgetSupport/QWidgetPluginImpl.h: Removed.
* qt/WidgetSupport/QtFallbackWebPopup.cpp: Removed.
* qt/WidgetSupport/QtFallbackWebPopup.h: Removed.
* qt/WidgetSupport/QtWebComboBox.cpp: Removed.
* qt/WidgetSupport/QtWebComboBox.h: Removed.
* qt/declarative/declarative.pro: Removed.
* qt/declarative/experimental/experimental.pri: Removed.
* qt/declarative/experimental/plugin.cpp: Removed.
* qt/declarative/experimental/plugin.json: Removed.
* qt/declarative/experimental/qmldir: Removed.
* qt/declarative/plugin.cpp: Removed.
* qt/declarative/plugin.json: Removed.
* qt/declarative/plugins.qmltypes: Removed.
* qt/declarative/public.pri: Removed.
* qt/declarative/qmldir: Removed.
* qt/docs/qtwebkit-bridge.qdoc: Removed.
* qt/docs/qtwebkit-goes-mobile.qdoc: Removed.
* qt/docs/qtwebkit.qdoc: Removed.
* qt/docs/qwebview-diagram.png: Removed.
* qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: Removed.
* qt/docs/webkitsnippets/qtwebkit_build_snippet.qdoc: Removed.
* qt/docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Removed.
* qt/docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: Removed.
* qt/docs/webkitsnippets/qtwebkit_qwebview_snippet.cpp: Removed.
* qt/docs/webkitsnippets/simple/main.cpp: Removed.
* qt/docs/webkitsnippets/simple/simple.pro: Removed.
* qt/docs/webkitsnippets/webelement/main.cpp: Removed.
* qt/docs/webkitsnippets/webelement/webelement.pro: Removed.
* qt/docs/webkitsnippets/webpage/main.cpp: Removed.
* qt/docs/webkitsnippets/webpage/webpage.pro: Removed.
* qt/examples/examples.pro: Removed.
* qt/examples/platformplugin/README: Removed.
* qt/examples/platformplugin/WebNotificationPresenter.cpp: Removed.
* qt/examples/platformplugin/WebNotificationPresenter.h: Removed.
* qt/examples/platformplugin/WebPlugin.cpp: Removed.
* qt/examples/platformplugin/WebPlugin.h: Removed.
* qt/examples/platformplugin/platformplugin.pro: Removed.
* qt/examples/platformplugin/qwebkitplatformplugin.h: Removed.
* qt/tests/MIMESniffing/MIMESniffing.pro: Removed.
* qt/tests/MIMESniffing/TestData.h: Removed.
* qt/tests/MIMESniffing/resources.qrc: Removed.
* qt/tests/MIMESniffing/resources/application_atom+xml: Removed.
* qt/tests/MIMESniffing/resources/application_ogg: Removed.
* qt/tests/MIMESniffing/resources/application_pdf: Removed.
* qt/tests/MIMESniffing/resources/application_postscript: Removed.
* qt/tests/MIMESniffing/resources/application_rdf+xml: Removed.
* qt/tests/MIMESniffing/resources/application_rss+xml: Removed.
* qt/tests/MIMESniffing/resources/application_x-gzip: Removed.
* qt/tests/MIMESniffing/resources/application_x-rar-compressed: Removed.
* qt/tests/MIMESniffing/resources/application_zip: Removed.
* qt/tests/MIMESniffing/resources/audio_x-wave: Removed.
* qt/tests/MIMESniffing/resources/image_bmp: Removed.
* qt/tests/MIMESniffing/resources/image_gif: Removed.
* qt/tests/MIMESniffing/resources/image_jpeg: Removed.
* qt/tests/MIMESniffing/resources/image_png: Removed.
* qt/tests/MIMESniffing/resources/image_vnd.microsoft.icon: Removed.
* qt/tests/MIMESniffing/resources/image_webp: Removed.
* qt/tests/MIMESniffing/resources/text_html: Removed.
* qt/tests/MIMESniffing/resources/text_xml: Removed.
* qt/tests/MIMESniffing/resources/video_webm: Removed.
* qt/tests/MIMESniffing/tst_MIMESniffing.cpp: Removed.
* qt/tests/benchmarks/loading/loading.pro: Removed.
* qt/tests/benchmarks/loading/tst_loading.cpp: Removed.
* qt/tests/benchmarks/painting/painting.pro: Removed.
* qt/tests/benchmarks/painting/tst_painting.cpp: Removed.
* qt/tests/benchmarks/webgl/10000_triangles.html: Removed.
* qt/tests/benchmarks/webgl/tst_webgl.cpp: Removed.
* qt/tests/benchmarks/webgl/tst_webgl.qrc: Removed.
* qt/tests/benchmarks/webgl/webgl.pro: Removed.
* qt/tests/cmake/CMakeLists.txt: Removed.
* qt/tests/cmake/cmake.pro: Removed.
* qt/tests/hybridPixmap/hybridPixmap.pro: Removed.
* qt/tests/hybridPixmap/resources.qrc: Removed.
* qt/tests/hybridPixmap/test.html: Removed.
* qt/tests/hybridPixmap/tst_hybridPixmap.cpp: Removed.
* qt/tests/hybridPixmap/widget.cpp: Removed.
* qt/tests/hybridPixmap/widget.h: Removed.
* qt/tests/hybridPixmap/widget.ui: Removed.
* qt/tests/qgraphicswebview/qgraphicswebview.pro: Removed.
* qt/tests/qgraphicswebview/resources/greendiv.html: Removed.
* qt/tests/qgraphicswebview/resources/input_types.html: Removed.
* qt/tests/qgraphicswebview/resources/pointing_right.html: Removed.
* qt/tests/qgraphicswebview/resources/pointing_up.html: Removed.
* qt/tests/qgraphicswebview/resources/scrolltest_page.html: Removed.
* qt/tests/qgraphicswebview/tst_qgraphicswebview.cpp: Removed.
* qt/tests/qgraphicswebview/tst_qgraphicswebview.qrc: Removed.
* qt/tests/qobjectbridge/qobjectbridge.pro: Removed.
* qt/tests/qobjectbridge/tst_qobjectbridge.cpp: Removed.
* qt/tests/qwebelement/qwebelement.pro: Removed.
* qt/tests/qwebelement/resources/image.png: Removed.
* qt/tests/qwebelement/resources/style.css: Removed.
* qt/tests/qwebelement/resources/style2.css: Removed.
* qt/tests/qwebelement/tst_qwebelement.cpp: Removed.
* qt/tests/qwebelement/tst_qwebelement.qrc: Removed.
* qt/tests/qwebframe/qwebframe.pro: Removed.
* qt/tests/qwebframe/resources/image.png: Removed.
* qt/tests/qwebframe/resources/style.css: Removed.
* qt/tests/qwebframe/resources/test1.html: Removed.
* qt/tests/qwebframe/resources/test2.html: Removed.
* qt/tests/qwebframe/resources/testiframe.html: Removed.
* qt/tests/qwebframe/resources/testiframe2.html: Removed.
* qt/tests/qwebframe/tst_qwebframe.cpp: Removed.
* qt/tests/qwebframe/tst_qwebframe.qrc: Removed.
* qt/tests/qwebhistory/qwebhistory.pro: Removed.
* qt/tests/qwebhistory/resources/page1.html: Removed.
* qt/tests/qwebhistory/resources/page2.html: Removed.
* qt/tests/qwebhistory/resources/page3.html: Removed.
* qt/tests/qwebhistory/resources/page4.html: Removed.
* qt/tests/qwebhistory/resources/page5.html: Removed.
* qt/tests/qwebhistory/resources/page6.html: Removed.
* qt/tests/qwebhistory/tst_qwebhistory.cpp: Removed.
* qt/tests/qwebhistory/tst_qwebhistory.qrc: Removed.
* qt/tests/qwebhistoryinterface/qwebhistoryinterface.pro: Removed.
* qt/tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp: Removed.
* qt/tests/qwebinspector/qwebinspector.pro: Removed.
* qt/tests/qwebinspector/tst_qwebinspector.cpp: Removed.
* qt/tests/qwebpage/qwebpage.pro: Removed.
* qt/tests/qwebpage/resources/content.html: Removed.
* qt/tests/qwebpage/resources/frame_a.html: Removed.
* qt/tests/qwebpage/resources/frame_c.html: Removed.
* qt/tests/qwebpage/resources/framedindex.html: Removed.
* qt/tests/qwebpage/resources/iframe.html: Removed.
* qt/tests/qwebpage/resources/iframe2.html: Removed.
* qt/tests/qwebpage/resources/iframe3.html: Removed.
* qt/tests/qwebpage/resources/index.html: Removed.
* qt/tests/qwebpage/resources/script.html: Removed.
* qt/tests/qwebpage/resources/user.css: Removed.
* qt/tests/qwebpage/tst_qwebpage.cpp: Removed.
* qt/tests/qwebpage/tst_qwebpage.qrc: Removed.
* qt/tests/qwebplugindatabase/qwebplugindatabase.pro: Removed.
* qt/tests/qwebplugindatabase/tst_qwebplugindatabase.cpp: Removed.
* qt/tests/qwebsecurityorigin/qwebsecurityorigin.pro: Removed.
* qt/tests/qwebsecurityorigin/resources/test.html: Removed.
* qt/tests/qwebsecurityorigin/tst_qwebsecurityorigin.cpp: Removed.
* qt/tests/qwebsecurityorigin/tst_qwebsecurityorigin.qrc: Removed.
* qt/tests/qwebview/.gitignore: Removed.
* qt/tests/qwebview/qwebview.pro: Removed.
* qt/tests/qwebview/resources/frame_a.html: Removed.
* qt/tests/qwebview/resources/index.html: Removed.
* qt/tests/qwebview/resources/input_types.html: Removed.
* qt/tests/qwebview/resources/scrolltest_page.html: Removed.
* qt/tests/qwebview/tst_qwebview.cpp: Removed.
* qt/tests/qwebview/tst_qwebview.qrc: Removed.
* qt/tests/resources/image2.png: Removed.
* qt/tests/resources/test.swf: Removed.
* qt/tests/tests.pri: Removed.
* qt/tests/util.h: Removed.

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

7 years agoGet rid of Qt code from JavaScriptCore
andersca@apple.com [Wed, 2 Oct 2013 18:17:46 +0000 (18:17 +0000)]
Get rid of Qt code from JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=122223

Reviewed by Oliver Hunt.

* API/JSStringRefQt.cpp: Removed.
* API/JSStringRefQt.h: Removed.
* API/OpaqueJSString.h:
* DerivedSources.pri: Removed.
* JavaScriptCore.pri: Removed.
* JavaScriptCore.pro: Removed.
* LLIntOffsetsExtractor.pro: Removed.
* Target.pri: Removed.
* assembler/AbstractMacroAssembler.h:
* assembler/MacroAssembler.h:
(JSC::MacroAssembler::urshift32):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::shouldBlindForSpecificArch):
* assembler/MacroAssemblerX86Common.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileArithSub):
* heap/HeapTimer.cpp:
(JSC::HeapTimer::timerEvent):
* heap/HeapTimer.h:
* heap/IncrementalSweeper.cpp:
(JSC::IncrementalSweeper::scheduleTimer):
* heap/IncrementalSweeper.h:
* jit/JITArithmetic32_64.cpp:
(JSC::JIT::emitSub32Constant):
* jsc.cpp:
(main):
* jsc.pro: Removed.
* runtime/DateConstructor.cpp:
* runtime/GCActivityCallback.cpp:
(JSC::DefaultGCActivityCallback::DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::cancelTimer):
* runtime/GCActivityCallback.h:
* testRegExp.cpp:
(main):
* yarr/yarr.pri: Removed.

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

7 years agoRemove Qt-specific code in WebCore/{rendering,editing,history}.
akling@apple.com [Wed, 2 Oct 2013 18:08:44 +0000 (18:08 +0000)]
Remove Qt-specific code in WebCore/{rendering,editing,history}.
<https://webkit.org/b/122220>

Reviewed by Anders Carlsson.

Purge PLATFORM(QT) blocks and FooBarQt.* files.

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

7 years agoRemove Qt-specific code in common WebCore/{html,dom} files.
akling@apple.com [Wed, 2 Oct 2013 18:07:21 +0000 (18:07 +0000)]
Remove Qt-specific code in common WebCore/{html,dom} files.
<https://webkit.org/b/122219>

Reviewed by Anders Carlsson.

Purge PLATFORM(QT) blocks.

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

7 years agovideo-object-fit tests are flaky
ap@apple.com [Wed, 2 Oct 2013 18:06:28 +0000 (18:06 +0000)]
video-object-fit tests are flaky
https://bugs.webkit.org/show_bug.cgi?id=121803

* platform/mac/TestExpectations: Marking as such.

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

7 years agoFix the Mac WebKit2 build following <http://trac.webkit.org/changeset/139241>
dbates@webkit.org [Wed, 2 Oct 2013 18:06:05 +0000 (18:06 +0000)]
Fix the Mac WebKit2 build following <trac.webkit.org/changeset/139241>
(https://bugs.webkit.org/show_bug.cgi?id=104197)

WebContextMac.mm fails to compile when building with network process disabled.

The constants WebKit2HTTPProxyDefaultsKey and WebKit2HTTPSProxyDefaultsKey,
defined in WebContextMac.mm, should only be defined when building with the
network process enabled as these constants are only referenced from
ENABLE(NETWORK_PROCESS)-guard code.

* UIProcess/mac/WebContextMac.mm:

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

7 years agoRemove Qt code from WTF
andersca@apple.com [Wed, 2 Oct 2013 18:03:37 +0000 (18:03 +0000)]
Remove Qt code from WTF
https://bugs.webkit.org/show_bug.cgi?id=122221

Reviewed by Antti Koivisto.

I'm keeping the PLATFORM(QT) defines in Platform.h for now so we can assess if there are any
Qt only features that we can remove later.

* WTF.pri: Removed.
* WTF.pro: Removed.
* wtf/Assertions.cpp:
* wtf/CurrentTime.cpp:
* wtf/DisallowCType.h:
* wtf/FastMalloc.cpp:
* wtf/FeatureDefines.h:
* wtf/qt/MainThreadQt.cpp: Removed.
* wtf/qt/StringQt.cpp: Removed.
* wtf/text/AtomicString.h:
* wtf/text/StringImpl.cpp:
(WTF::StringImpl::~StringImpl):
* wtf/text/StringImpl.h:
* wtf/text/WTFString.cpp:
(WTF::String::format):
* wtf/text/WTFString.h:

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

7 years agoQuirksmode: CSS1: WebKit fails dynamic :first-letter test
ap@apple.com [Wed, 2 Oct 2013 18:02:56 +0000 (18:02 +0000)]
Quirksmode: CSS1: WebKit fails dynamic :first-letter test
https://bugs.webkit.org/show_bug.cgi?id=15602

* platform/mac/TestExpectations: Correcting Mac expectations too, now that we have results.

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

7 years agoQuirksmode: CSS1: WebKit fails dynamic :first-letter test
ap@apple.com [Wed, 2 Oct 2013 18:00:59 +0000 (18:00 +0000)]
Quirksmode: CSS1: WebKit fails dynamic :first-letter test
https://bugs.webkit.org/show_bug.cgi?id=15602

* platform/mac/fast/css/first-letter-block-change-expected.png: Added.
* platform/mac/fast/css/first-letter-block-change-expected.txt: Added.
Added expected results for Mac.

* platform/efl/TestExpectations: Corrected the expectation. This test is not
failing, it has no results.

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

7 years agoremove Qt from the main buildbot page.
lforschler@apple.com [Wed, 2 Oct 2013 17:26:48 +0000 (17:26 +0000)]
remove Qt from the main buildbot page.

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

7 years agoRemove Qt bots and EWS from trunk.
andersca@apple.com [Wed, 2 Oct 2013 17:16:07 +0000 (17:16 +0000)]
Remove Qt bots and EWS from trunk.
https://bugs.webkit.org/show_bug.cgi?id=122210.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2013-10-02
Reviewed by Allan Sandfeld Jensen.

Remove Qt buil dbots.

* BuildSlaveSupport/build.webkit.org-config/config.json:
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(appendCustomBuildFlags):
(RunGtkAPITests.getText2):
(Factory.__init__):
(TestFactory.__init__):
(BuildAndTestFactory.__init__):
(loadBuilderConfig):
* BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:

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

7 years agoRemove Qt bots and EWS from trunk.
andersca@apple.com [Wed, 2 Oct 2013 17:13:42 +0000 (17:13 +0000)]
Remove Qt bots and EWS from trunk.
https://bugs.webkit.org/show_bug.cgi?id=122210.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2013-10-02
Reviewed by Allan Sandfeld Jensen.

Remove Qt EWS bots.

* QueueStatusServer/config/queues.py:
* Scripts/webkitpy/common/config/ews.json:

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

7 years agoCTTE: DOMWrapperWorlds should be passed around by reference
weinig@apple.com [Wed, 2 Oct 2013 17:03:09 +0000 (17:03 +0000)]
CTTE: DOMWrapperWorlds should be passed around by reference
https://bugs.webkit.org/show_bug.cgi?id=122206

Reviewed by Andreas Kling.

../WebCore:

* bindings/js/DOMWrapperWorld.cpp:
(WebCore::DOMWrapperWorld::DOMWrapperWorld):
(WebCore::DOMWrapperWorld::~DOMWrapperWorld):
(WebCore::DOMWrapperWorld::clearWrappers):
(WebCore::normalWorld):
(WebCore::mainThreadNormalWorld):
* bindings/js/DOMWrapperWorld.h:
(WebCore::debuggerWorld):
(WebCore::pluginWorld):
(WebCore::currentWorld):
* bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::JSCSSStyleDeclaration::getPropertyCSSValue):
* bindings/js/JSCSSValueCustom.cpp:
(WebCore::JSCSSValueOwner::finalize):
* bindings/js/JSDOMBinding.h:
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
(WebCore::getInlineCachedWrapper):
(WebCore::setInlineCachedWrapper):
(WebCore::clearInlineCachedWrapper):
(WebCore::getCachedWrapper):
(WebCore::cacheWrapper):
(WebCore::uncacheWrapper):
(WebCore::jsStringWithCache):
* bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::JSDOMGlobalObject):
(WebCore::toJSDOMGlobalObject):
* bindings/js/JSDOMGlobalObject.h:
(WebCore::JSDOMGlobalObject::world):
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::JSDOMWindowBase):
(WebCore::toJSDOMWindow):
* bindings/js/JSDOMWindowBase.h:
* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::JSDOMWindowShell):
(WebCore::JSDOMWindowShell::setWindow):
(WebCore::toJSDOMWindowShell):
* bindings/js/JSDOMWindowShell.h:
(WebCore::JSDOMWindowShell::create):
(WebCore::JSDOMWindowShell::world):
* bindings/js/JSErrorHandler.cpp:
(WebCore::JSErrorHandler::JSErrorHandler):
* bindings/js/JSErrorHandler.h:
(WebCore::JSErrorHandler::create):
* bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::JSEventListener):
(WebCore::JSEventListener::handleEvent):
* bindings/js/JSEventListener.h:
(WebCore::JSEventListener::create):
(WebCore::JSEventListener::isolatedWorld):
* bindings/js/JSInjectedScriptHostCustom.cpp:
(WebCore::getJSListenerFunctions):
* bindings/js/JSLazyEventListener.cpp:
(WebCore::JSLazyEventListener::JSLazyEventListener):
* bindings/js/JSLazyEventListener.h:
* bindings/js/JSMutationCallback.cpp:
(WebCore::JSMutationCallback::JSMutationCallback):
(WebCore::JSMutationCallback::call):
* bindings/js/JSNodeCustom.cpp:
(WebCore::JSNodeOwner::finalize):
* bindings/js/JSPluginElementFunctions.h:
(WebCore::pluginElementCustomGetOwnPropertySlot):
* bindings/js/JSWorkerGlobalScopeBase.cpp:
(WebCore::JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase):
* bindings/js/ScheduledAction.cpp:
(WebCore::ScheduledAction::create):
(WebCore::ScheduledAction::ScheduledAction):
(WebCore::ScheduledAction::execute):
* bindings/js/ScheduledAction.h:
(WebCore::ScheduledAction::ScheduledAction):
* bindings/js/ScriptCachedFrameData.cpp:
(WebCore::ScriptCachedFrameData::restore):
* bindings/js/ScriptCachedFrameData.h:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::~ScriptController):
(WebCore::ScriptController::destroyWindowShell):
(WebCore::ScriptController::createWindowShell):
(WebCore::ScriptController::evaluateInWorld):
(WebCore::ScriptController::getAllWorlds):
(WebCore::ScriptController::initScript):
(WebCore::ScriptController::executeScriptInWorld):
(WebCore::ScriptController::shouldBypassMainWorldContentSecurityPolicy):
* bindings/js/ScriptController.h:
(WebCore::ScriptController::windowShell):
(WebCore::ScriptController::existingWindowShell):
(WebCore::ScriptController::globalObject):
* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::isContentScript):
* bindings/js/ScriptState.cpp:
(WebCore::execStateFromNode):
(WebCore::execStateFromPage):
* bindings/js/ScriptState.h:
* bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::transferArrayBuffers):
* bindings/js/WebCoreJSClientData.h:
(WebCore::WebCoreJSClientData::WebCoreJSClientData):
(WebCore::WebCoreJSClientData::normalWorld):
(WebCore::WebCoreJSClientData::getAllWorlds):
(WebCore::WebCoreJSClientData::rememberWorld):
(WebCore::WebCoreJSClientData::forgetWorld):
* bindings/js/WebCoreTypedArrayController.cpp:
(WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
* dom/Document.cpp:
(WebCore::Document::ensurePlugInsInjectedScript):
* dom/Document.h:
* dom/DocumentStyleSheetCollection.cpp:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::ensureIsolatedWorld):
(WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript):
(WebCore::HTMLMediaElement::didAddUserAgentShadowRoot):
* html/HTMLMediaElement.h:
* html/HTMLPlugInImageElement.cpp:
(WebCore::plugInImageElementIsolatedWorld):
(WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
* inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::didClearWindowObjectInWorld):
* inspector/InspectorAgent.h:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::didClearWindowObjectInWorld):
* inspector/InspectorController.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForEventListener):
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didClearWindowObjectInWorld):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
* inspector/InspectorPageAgent.h:
* loader/EmptyClients.h:
(WebCore::EmptyFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::dispatchDidClearWindowObjectsInAllWorlds):
(WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
(WebCore::FrameLoader::dispatchGlobalObjectAvailableInAllWorlds):
* loader/FrameLoader.h:
* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::dispatchGlobalObjectAvailable):
* page/CaptionUserPreferencesMediaAF.cpp:
* page/DOMWindowExtension.cpp:
(WebCore::DOMWindowExtension::DOMWindowExtension):
* page/DOMWindowExtension.h:
(WebCore::DOMWindowExtension::create):
(WebCore::DOMWindowExtension::world):
* page/Frame.cpp:
(WebCore::Frame::injectUserScripts):
(WebCore::Frame::injectUserScriptsForWorld):
* page/Frame.h:
* page/PageGroup.cpp:
(WebCore::PageGroup::addUserScriptToWorld):
(WebCore::PageGroup::addUserStyleSheetToWorld):
(WebCore::PageGroup::removeUserScriptFromWorld):
(WebCore::PageGroup::removeUserStyleSheetFromWorld):
(WebCore::PageGroup::removeUserScriptsFromWorld):
(WebCore::PageGroup::removeUserStyleSheetsFromWorld):
* page/PageGroup.h:

../WebKit/efl:

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
* WebCoreSupport/FrameLoaderClientEfl.h:

../WebKit/gtk:

* WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
* WebCoreSupport/FrameLoaderClientGtk.h:

../WebKit/mac:

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getWindowNPObject):
(WebKit::NetscapePluginInstanceProxy::getPluginElementNPObject):
(WebKit::NetscapePluginInstanceProxy::evaluate):
* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameLoaderClient.mm:
* WebView/WebFrame.mm:
(-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
(-[WebFrame _globalContextForScriptWorld:]):
(-[WebFrame jsWrapperForNode:inScriptWorld:]):
* WebView/WebScriptWorld.mm:
(+[WebScriptWorld standardWorld]):
(+[WebScriptWorld findOrCreateWorld:]):
* WebView/WebScriptWorldInternal.h:
* WebView/WebView.mm:
(-[WebView _injectOutlookQuirksScript]):
(+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
(+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
(+[WebView _removeUserScriptFromGroup:world:url:]):
(+[WebView _removeUserStyleSheetFromGroup:world:url:]):
(+[WebView _removeUserScriptsFromGroup:world:]):
(+[WebView _removeUserStyleSheetsFromGroup:world:]):

../WebKit/win:

* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
* WebCoreSupport/WebFrameLoaderClient.h:
* WebScriptWorld.cpp:
(WebScriptWorld::standardWorld):
(WebScriptWorld::findOrCreateWorld):
* WebScriptWorld.h:
(WebScriptWorld::world):

../WebKit/wince:

* WebCoreSupport/FrameLoaderClientWinCE.cpp:
(WebKit::FrameLoaderClientWinCE::dispatchDidClearWindowObjectInWorld):
* WebCoreSupport/FrameLoaderClientWinCE.h:

../WebKit2:

* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didClearWindowObjectForFrame):
(WebKit::InjectedBundlePageLoaderClient::globalObjectIsAvailableForFrame):
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
* WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp:
(WebKit::InjectedBundleScriptWorld::getOrCreate):
(WebKit::InjectedBundleScriptWorld::normalWorld):
(WebKit::InjectedBundleScriptWorld::coreWorld):
* WebProcess/InjectedBundle/InjectedBundleScriptWorld.h:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::windowScriptNPObject):
(WebKit::PluginView::pluginElementNPObject):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
(WebKit::WebFrameLoaderClient::dispatchGlobalObjectAvailable):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

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

7 years agoUnreviewed, removing references to the recently removed Modules/filesystem directory.
zandobersek@gmail.com [Wed, 2 Oct 2013 16:43:45 +0000 (16:43 +0000)]
Unreviewed, removing references to the recently removed Modules/filesystem directory.

* GNUmakefile.am:

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

7 years ago[CSS Regions] Activate all regions to have layers, as CSS Regions create a new stacki...
commit-queue@webkit.org [Wed, 2 Oct 2013 13:07:34 +0000 (13:07 +0000)]
[CSS Regions] Activate all regions to have layers, as CSS Regions create a new stacking context
https://bugs.webkit.org/show_bug.cgi?id=121828

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-10-02
Reviewed by Darin Adler.

Source/WebCore:

The CSS Regions specification says "CSS Regions create a new stacking context." (http://dev.w3.org/csswg/css-regions/).

Divs that create stacking contexts are painted after the divs that don't create stacking contexts.

Test: fast/regions/layers/stacking-context-paint-order.html: While the existing region-sibling-paint-order.html
test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
verifies that regions paint correctly when the next sibling doesn't create a stacking context.

* rendering/RenderBlock.cpp: Remove code that is not needed now that all regions have layers.
* rendering/RenderBlock.h: Remove code that is not needed now that all regions have layers.
* rendering/RenderBox.cpp: Remove code that is not needed now that all regions have layers.
* rendering/RenderBox.h: Remove code that is not needed now that all regions have layers.
* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::updateLayerToRegionMappings): Remove code that is not needed now that all regions have layers.
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::RenderRegion):
* rendering/RenderRegion.h:
(WebCore::RenderRegion::requiresLayer): Always. CSS Regions create Stacking Contexts. RenderMultiColumnSet
implements its own behaviour so the behaviour of each class is contained within its own files.
* rendering/RenderMultiColumnSet.h:
(WebCore::RenderMultiColumnSet::requiresLayer): RenderMultiColumnSet derives from RenderRegion, but unlike the
CSS Regions specification, the Multi-Columns CSS specification states that the column boxes do not establish new
Stacking Contexts.
* rendering/RenderTreeAsText.cpp:
(WebCore::writeRenderRegionList): There's no need to output " hasLayer" since all regions now have layers.

LayoutTests:

For the ref tests, the divs in the expected results coresponding to the regions now have a CSS style causing
them to also create Stacking Contexts.

Most of the tests in fast/regions/layers/ have been deleted because they aren't relevant anymore.

The change in most of the *-expected.txt files is that the " hasLayer" part has been removed (since all regions
now have layers).

Platform (efl, efl-wk2, gtk, mac-lion, mac-wk2, qt, qt-wk2) specific expectated results need to be generated again.

* fast/regions/autoheight-regions-mark-expected.txt:
* fast/regions/flow-content-basic-expected.html: Added. The test is now a ref test.
* fast/regions/flow-content-basic-vertical-expected.html: Added. The test is now a ref test.
* fast/regions/flow-content-basic-vertical-rl-expected.html: Added.The test is now a ref test.
* fast/regions/flow-content-basic-vertical-rl.html:
* fast/regions/flow-content-basic-vertical.html:
* fast/regions/flow-content-basic.html:
* fast/regions/flows-dependency-dynamic-remove-expected.txt:
* fast/regions/flows-dependency-same-flow-expected.txt:
* fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png: Removed.
* fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt: Removed.
* fast/regions/layers/dynamic-layer-added-with-no-layout.html: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl.html: Removed.
* fast/regions/layers/regions-promoted-to-layers.html: Removed.
* fast/regions/layers/stacking-context-paint-order-expected.html: Added.
* fast/regions/layers/stacking-context-paint-order.html: Added. While the existing region-sibling-paint-order.html
test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
verifies that regions paint correctly when the next sibling doesn't create a stacking context.
* fast/regions/region-sibling-paint-order-expected.html:
* fast/regions/region-sibling-paint-order.html:
* fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* fast/repaint/region-painting-composited-element-expected.html:
* fast/repaint/region-painting-in-composited-view-expected.html:
* fast/repaint/region-painting-in-composited-view.html:
* fast/repaint/region-painting-via-layout-expected.txt:
* platform/efl-wk2/TestExpectations:
* platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/efl/TestExpectations:
* platform/efl/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/efl/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-expected.png: Removed. The test is now a ref test.
* platform/efl/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/efl/fast/regions/region-dynamic-after-before-expected.txt:
* platform/efl/fast/regions/region-generated-content-before-after-expected.txt:
* platform/efl/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/efl/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/efl/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/efl/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/efl/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/gtk/TestExpectations:
* platform/gtk/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/gtk/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/gtk/fast/regions/region-dynamic-after-before-expected.txt:
* platform/gtk/fast/regions/region-generated-content-before-after-expected.txt:
* platform/gtk/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/gtk/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/gtk/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/gtk/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/gtk/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/mac-lion/TestExpectations:
* platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/mac-wk2/TestExpectations:
* platform/mac/fast/regions/flow-content-basic-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/mac/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt:
* platform/mac/fast/regions/region-dynamic-after-before-expected.txt:
* platform/mac/fast/regions/region-generated-content-before-after-expected.txt:
* platform/mac/fast/regions/text-region-split-small-pagination-expected.txt:
* platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt:
* platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
* platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/mac/fast/repaint/region-painting-invalidation-expected.txt:
* platform/qt-wk2/TestExpectations:
* platform/qt-wk2/fast/regions/flow-content-basic-expected.png: Removed.
* platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/qt/TestExpectations:
* platform/qt/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/qt/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/qt/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/qt/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/qt/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/qt/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/qt/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/qt/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.

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

7 years agoHTML listbox is not resized horizontally when zooming
reni@webkit.org [Wed, 2 Oct 2013 10:14:51 +0000 (10:14 +0000)]
HTML listbox is not resized horizontally when zooming
https://bugs.webkit.org/show_bug.cgi?id=20445

Reviewed by Darin Adler.

Source/WebCore:

If any style changes happens on a HTMLSelectElement, we need to set the m_optionsChanged property
of its renderer (RenderListBox) otherwise its size won't follow the changed content.

Test: fast/transforms/listbox-zoom.html

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::didRecalcStyle):
* html/HTMLSelectElement.h:

LayoutTests:

A test with a zoomed listbox is added to check whether the styleChange is catched.

* fast/transforms/listbox-zoom.html: Added.
* fast/transforms/listbox-zoom-expected.txt: Added.

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

7 years agoWeb Inspector: highlight newly added console messages in the Activity Viewer
graouts@apple.com [Wed, 2 Oct 2013 09:32:42 +0000 (09:32 +0000)]
Web Inspector: highlight newly added console messages in the Activity Viewer
https://bugs.webkit.org/show_bug.cgi?id=122093

Reviewed by Joseph Pecoraro.

Fade the appropriate console log button in the Activity Viewer for a short duration
to call attention to it when its count is incremented. The animation may be restarted
in-flight if the count is incremented as we were pulsing the opacity.

* UserInterface/DashboardView.css:
(.toolbar .dashboard > .item.pulsing):
(@-webkit-keyframes console-item-pulse):
New pulse animation for a console item in the Activity Viewer, the new "pulsing" CSS
class is applied in WebInspector.DashboardView.prototype._setConsoleItemValue().

* UserInterface/DashboardView.js:
(WebInspector.DashboardView.prototype.set logs):
(WebInspector.DashboardView.prototype.set issues):
(WebInspector.DashboardView.prototype.set errors):
Refactor setters to use the new WebInspector.DashboardView.prototype._setConsoleItemValue()
method.

(WebInspector.DashboardView.prototype._setConsoleItemValue):
We now set the ivar backing console item values in this new refactored method and additionally
apply an animation to the DOM element for the given item if its value is incremented such that
it pulses, subtly calling out the developer's attention to it.

* UserInterface/Utilities.js:
New Element.prototype.recalculateStyles() method to abstract the hack required to force
a style recalc on a given element.

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

7 years agocontenteditable justify commands applied to next paragraph as well
commit-queue@webkit.org [Wed, 2 Oct 2013 05:11:44 +0000 (05:11 +0000)]
contenteditable justify commands applied to next paragraph as well
https://bugs.webkit.org/show_bug.cgi?id=90611

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-10-01
Reviewed by Ryosuke Niwa.

Source/WebCore:

When the selection extends from first paragraph to start of next
paragraph then Justify command is applied to both the paragraph,
Instead it should be applied only to first paragraph.

Co-author: Sudarshan C P <sudarshan.cp@samsung.com>

Test: editing/execCommand/contenteditable-justify-next-paragraph.html

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyBlockStyle):
Adjusted visibleEnd to previous position.

LayoutTests:

Added a test for selecting one paragraph and the beginning of another
paragraph to ensure that only the first fully-selected paragraph should
be justified when justifying the selection.

* editing/execCommand/align-in-span-expected.txt: Updated.
* editing/execCommand/contenteditable-justify-next-paragraph-expected.txt: Added.
* editing/execCommand/contenteditable-justify-next-paragraph.html: Added.

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

7 years agoFlaky Test: media/media-element-play-after-eos.html
ap@apple.com [Wed, 2 Oct 2013 05:01:29 +0000 (05:01 +0000)]
Flaky Test: media/media-element-play-after-eos.html
https://bugs.webkit.org/show_bug.cgi?id=115048

* platform/mac/TestExpectations: Marking as such.

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

7 years agoMove mouse event dispatch from Node to Element.
akling@apple.com [Wed, 2 Oct 2013 04:20:06 +0000 (04:20 +0000)]
Move mouse event dispatch from Node to Element.
<https://webkit.org/b/122203>

Reviewed by Anders Carlsson.

We never dispatch mouse events on text or other non-element nodes,
so move the related logic to using Element.

Node::dispatchMouseEvent() moves to Element. I also changed the
relatedTarget argument to be an Element* since the related target
is never a Node either.

Most of this patch is *Node -> *Element renames in EventHandler.

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

7 years agoGenerate toCSSFooValue for CSS child values
gyuyoung.kim@samsung.com [Wed, 2 Oct 2013 04:17:20 +0000 (04:17 +0000)]
Generate toCSSFooValue for CSS child values
https://bugs.webkit.org/show_bug.cgi?id=122157

Reviewed by Darin Adler.

As a step to cleanup static_cast<> for CSSFooValue, this patch adds toCSSFooValue()
for "CSSAspectRatioValue, CSSBorderImageSliceValue, CSSFunctionValue, CSSInheritedValue,
CSSValueList, CSSVariableValue, and CSSFontFaceSrcValue".

To use CSS_VALUE_TYPE_CASTS, isFunctionValue(), isFontFaceSrcValue() are added to
generate toCSSFunctionValue, toCSSFontFaceSrcValue().

No new tests, no behavior changes.

* css/CSSAspectRatioValue.h:
* css/CSSBorderImageSliceValue.h:
* css/CSSFontFaceSrcValue.h:
* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::addFontFaceRule):
* css/CSSFunctionValue.h:
* css/CSSInheritedValue.h:
* css/CSSParser.cpp:
(WebCore::filterProperties):
(WebCore::CSSParser::addFillValue):
(WebCore::CSSParser::addAnimationValue):
(WebCore::CSSParser::createFontFaceRule):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::wrapValueInCommaSeparatedList):
* css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapNinePieceImage):
(WebCore::CSSToStyleMap::mapNinePieceImageSlice):
* css/CSSValue.cpp:
(WebCore::CSSValue::destroy):
* css/CSSValue.h:
(WebCore::CSSValue::isFunctionValue):
(WebCore::CSSValue::isFontFaceSrcValue):
* css/CSSValueList.h:
(WebCore::CSSValueListInspector::CSSValueListInspector):
* css/CSSVariableValue.h:
* css/DeprecatedStyleBuilder.cpp:
(WebCore::ApplyPropertyFillLayer::applyValue):
(WebCore::ApplyPropertyFontVariantLigatures::applyValue):
(WebCore::ApplyPropertyCounter::applyValue):
(WebCore::ApplyPropertyCursor::applyValue):
(WebCore::ApplyPropertyTextEmphasisStyle::applyValue):
(WebCore::ApplyPropertyAspectRatio::applyValue):
(WebCore::ApplyPropertyImageResolution::applyValue):
(WebCore::ApplyPropertyTextIndent::applyValue):
* css/MediaQueryEvaluator.cpp:
(WebCore::compareAspectRatioValue):
* css/SVGCSSStyleSelector.cpp:
(WebCore::StyleResolver::applySVGProperty):
* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::getLayeredShorthandValue):
* css/StyleResolver.cpp:
(WebCore::createGridPosition):
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::parseCustomFilterParameter):
(WebCore::StyleResolver::createCustomFilterOperationWithInlineSyntax):
* editing/EditingStyle.cpp:
(WebCore::HTMLTextDecorationEquivalent::valueIsPresentInStyle):
(WebCore::EditingStyle::mergeStyle):
(WebCore::StyleChange::extractTextStyles):
(WebCore::diffTextDecorations):
* editing/EditorCommand.cpp:
(WebCore::executeToggleStyleInList):
* svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::rebuildFontFace):

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

7 years agoFTL should use the new version of LLVM MCJIT memory manager APIs that take a SectionName
fpizlo@apple.com [Wed, 2 Oct 2013 02:22:56 +0000 (02:22 +0000)]
FTL should use the new version of LLVM MCJIT memory manager APIs that take a SectionName
https://bugs.webkit.org/show_bug.cgi?id=122193

Source/JavaScriptCore:

Reviewed by Geoffrey Garen.

Update our usage of the LLVM C API since the API is about to change.

* ftl/FTLCompile.cpp:
(JSC::FTL::mmAllocateCodeSection):
(JSC::FTL::mmAllocateDataSection):

WebKitLibraries:

Reviewed by Geoffrey Garen.

* LLVMIncludesMountainLion.tar.bz2:
* LLVMLibrariesMountainLion.tar.bz2:

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

7 years agoREGRESSION(156464): 50% regression on SunSpider/string-fasta
fpizlo@apple.com [Wed, 2 Oct 2013 02:19:34 +0000 (02:19 +0000)]
REGRESSION(156464): 50% regression on SunSpider/string-fasta
https://bugs.webkit.org/show_bug.cgi?id=122202

Source/JavaScriptCore:

Unreviewed, roll out r156464.

This is a progression on string-fasta, since it fixes the regression.

* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedFunctionExecutable::paramString):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::emitExpressionInfo):
* bytecompiler/NodesCodegen.cpp:
(JSC::ForInNode::emitBytecode):
(JSC::FuncExprNode::emitBytecode):
* parser/ASTBuilder.h:
(JSC::ASTBuilder::createFormalParameterList):
(JSC::ASTBuilder::createForInLoop):
(JSC::ASTBuilder::addVar):
* parser/NodeConstructors.h:
(JSC::CommaNode::CommaNode):
(JSC::ParameterNode::ParameterNode):
(JSC::ForInNode::ForInNode):
* parser/Nodes.cpp:
(JSC::FunctionParameters::create):
(JSC::FunctionParameters::FunctionParameters):
(JSC::FunctionParameters::~FunctionParameters):
* parser/Nodes.h:
(JSC::ExpressionNode::isDotAccessorNode):
(JSC::CommaNode::append):
(JSC::ParameterNode::ident):
(JSC::FunctionParameters::at):
(JSC::FunctionParameters::identifiers):
* parser/Parser.cpp:
(JSC::::Parser):
(JSC::::parseVarDeclaration):
(JSC::::parseVarDeclarationList):
(JSC::::parseForStatement):
(JSC::::parseFormalParameters):
(JSC::::parseAssignmentExpression):
* parser/Parser.h:
(JSC::Scope::declareParameter):
(JSC::Parser::declareParameter):
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::createFormalParameterList):
(JSC::SyntaxChecker::createForInLoop):
(JSC::SyntaxChecker::operatorStackPop):
* runtime/JSONObject.cpp:
* runtime/JSONObject.h:

LayoutTests:

Unreviewed, roll out r156464.

* js/destructuring-assignment-expected.txt: Removed.
* js/destructuring-assignment.html: Removed.
* js/mozilla/strict/13.1-expected.txt:
* js/mozilla/strict/regress-532254-expected.txt:
* js/mozilla/strict/script-tests/13.1.js:
* js/regress/destructuring-arguments-expected.txt: Removed.
* js/regress/destructuring-arguments-length-expected.txt: Removed.
* js/regress/destructuring-arguments-length.html: Removed.
* js/regress/destructuring-arguments.html: Removed.
* js/regress/destructuring-swap-expected.txt: Removed.
* js/regress/destructuring-swap.html: Removed.
* js/regress/script-tests/destructuring-arguments-length.js: Removed.
* js/regress/script-tests/destructuring-arguments.js: Removed.
* js/regress/script-tests/destructuring-swap.js: Removed.
* js/script-tests/destructuring-assignment.js: Removed.
* sputnik/Conformance/13_Function_Definition/S13_A5.html:

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

7 years agoFix singular labels for test failures.
timothy@apple.com [Wed, 2 Oct 2013 02:01:01 +0000 (02:01 +0000)]
Fix singular labels for test failures.

https://bugs.webkit.org/show_bug.cgi?id=122200

Reviewed by Joseph Pecoraro.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):

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

7 years agoDon't keep appending iterations each time the queue updates.
timothy@apple.com [Wed, 2 Oct 2013 01:00:34 +0000 (01:00 +0000)]
Don't keep appending iterations each time the queue updates.

https://bugs.webkit.org/show_bug.cgi?id=122198

Reviewed by Joseph Pecoraro.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
(BuildbotQueue.prototype.update):

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

7 years agoProperly sort iterations in the Dashboard by revision for out-of-order queues.
timothy@apple.com [Wed, 2 Oct 2013 00:36:18 +0000 (00:36 +0000)]
Properly sort iterations in the Dashboard by revision for out-of-order queues.

https://bugs.webkit.org/show_bug.cgi?id=122196

Reviewed by Brent Fulgham.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration):
(BuildbotIteration.prototype.update):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
(BuildbotQueue.prototype.update):
(BuildbotQueue.prototype.sortIterations):

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

7 years agoConvert PageGroup to using std::unique_ptr
weinig@apple.com [Wed, 2 Oct 2013 00:03:12 +0000 (00:03 +0000)]
Convert PageGroup to using std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=122184

Reviewed by Anders Carlsson.

* page/CaptionUserPreferences.cpp:
* page/CaptionUserPreferences.h:
* page/CaptionUserPreferencesMediaAF.cpp:
* page/CaptionUserPreferencesMediaAF.h:
* page/Frame.cpp:
* page/GroupSettings.h:
* page/Page.cpp:
* page/PageGroup.cpp:
* page/PageGroup.h:
* page/UserScriptTypes.h:
* page/UserStyleSheetTypes.h:
* workers/DedicatedWorkerGlobalScope.h:
* workers/DedicatedWorkerThread.cpp:
* workers/DedicatedWorkerThread.h:
* workers/SharedWorkerGlobalScope.cpp:
* workers/SharedWorkerGlobalScope.h:
* workers/SharedWorkerThread.cpp:
* workers/SharedWorkerThread.h:
* workers/WorkerGlobalScope.cpp:
* workers/WorkerGlobalScope.h:
* workers/WorkerThread.cpp:
* workers/WorkerThread.h:

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

7 years agoFix some exceptions seen in the Buildbot Dashboard when looking at unloaded iterations.
timothy@apple.com [Tue, 1 Oct 2013 23:45:38 +0000 (23:45 +0000)]
Fix some exceptions seen in the Buildbot Dashboard when looking at unloaded iterations.

Also fix some URLs to not have extras slashes and add a page title.

https://bugs.webkit.org/show_bug.cgi?id=122192

Reviewed by Joseph Pecoraro.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
(WebKitBuildbot.prototype.buildLogURLForIteration):
(WebKitBuildbot.prototype.layoutTestResultsURLForIteration):
(WebKitBuildbot.prototype.javascriptTestResultsURLForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html:

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

7 years agoTiled drawing GraphicsLayer tree dumps should match non-tiled more closely
timothy_horton@apple.com [Tue, 1 Oct 2013 23:42:50 +0000 (23:42 +0000)]
Tiled drawing GraphicsLayer tree dumps should match non-tiled more closely
https://bugs.webkit.org/show_bug.cgi?id=122172

Reviewed by Anders Carlsson.

No new tests, but will be tested by all of the compositing tests after bug 121859 lands.

* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::dumpProperties):
Only dump drawsContent and backgroundColor if the client says we should.
Provide the ability to skip over a layer in the dump, making it appear as if that layer's
children are direct decendents of that layer's parent.

* platform/graphics/GraphicsLayerClient.h:
(WebCore::GraphicsLayerClient::shouldSkipLayerInDump): Added.
(WebCore::GraphicsLayerClient::shouldDumpPropertyForLayer): Added.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::shouldSkipLayerInDump):
Added. Always skip the root tile cache's flattening layer, as it is
uninteresting and does not exist in the non-tiled-drawing compositing case.

(WebCore::RenderLayerBacking::shouldDumpPropertyForLayer):
Don't dump drawsContent on the root tile cache.
Don't dump backgroundcolor on the root tile cache, unless it is non-white.
This may require some WebKit2-specific rebaselines, but they will occur later.

* rendering/RenderLayerBacking.h:
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):
(WebCore::RenderLayerCompositor::layerTreeAsText):
If the root tile cache has no composited children, don't dump anything,
to match the traditional case where we drop out of compositing when
we have no reason to be compositing. Except, do dump the root tile cache's
layers if we're specifically being asked to dump tile caches.

* platform/mac-wk2/tiled-drawing/fixed-background/fixed-background-no-image-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-body-layer-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-opacity-html-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-positioned-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-transformed-html-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-zoomed-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-html-background-expected.txt:
* platform/mac-wk2/tiled-drawing/fixed-background/fixed-non-propagated-body-background-expected.txt:
* platform/mac-wk2/tiled-drawing/sticky/sticky-layers-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-coverage-speculative-expected.txt:
* platform/mac-wk2/tiled-drawing/tile-size-slow-zoomed-expected.txt:
* platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt:
* platform/mac-wk2/tiled-drawing/tiled-drawing-zoom-expected.txt:
* platform/mac-wk2/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt:
* platform/mac-wk2/tiled-drawing/use-tiled-drawing-expected.txt:
Rebaseline some tests given these changes.

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

7 years agoVariable event stream (for DFG OSR exit) should be explicit about where on the stack...
fpizlo@apple.com [Tue, 1 Oct 2013 23:28:51 +0000 (23:28 +0000)]
Variable event stream (for DFG OSR exit) should be explicit about where on the stack a SetLocal put a value
https://bugs.webkit.org/show_bug.cgi?id=122178

Reviewed by Geoffrey Garen.

Now if the DFG stores the value of a variable into the stack explicitly via a SetLocal,
it will record where on the stack it stored the value in addition to recording where on
the stack the bytecode would have done the SetLocal. Previously it just recorded the
format and the bytecode variable. Recording just the bytecode variable is currently fine
since the DFG always executes SetLocal's to the same stack location that the bytecode
would have used. But that prevents stack compression (webkit.org/b/122024) so this patch
allows the SetLocal to say both the bytecode variable that we're speaking of and the
actual stack location to which the SetLocal stored the value.

This had to touch a lot of code, so I took the opportunity to also resolve
webkit.org/b/108019.

* bytecode/Operands.h:
(JSC::Operands::hasOperand):
* dfg/DFGFlushFormat.h:
(JSC::DFG::dataFormatFor):
* dfg/DFGMinifiedID.h:
(JSC::DFG::MinifiedID::bits):
(JSC::DFG::MinifiedID::invalidID):
(JSC::DFG::MinifiedID::otherInvalidID):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileMovHint):
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::compileCurrentBlock):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::recordSetLocal):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGValueSource.cpp:
(JSC::DFG::ValueSource::dump):
* dfg/DFGValueSource.h:
(JSC::DFG::ValueSource::ValueSource):
(JSC::DFG::ValueSource::forFlushFormat):
(JSC::DFG::ValueSource::forDataFormat):
(JSC::DFG::ValueSource::isSet):
(JSC::DFG::ValueSource::kind):
(JSC::DFG::ValueSource::valueRecovery):
(JSC::DFG::ValueSource::id):
(JSC::DFG::ValueSource::virtualRegister):
* dfg/DFGVariableEvent.cpp:
(JSC::DFG::VariableEvent::dump):
(JSC::DFG::VariableEvent::dumpSpillInfo):
* dfg/DFGVariableEvent.h:
(JSC::DFG::VariableEvent::fillGPR):
(JSC::DFG::VariableEvent::fillPair):
(JSC::DFG::VariableEvent::fillFPR):
(JSC::DFG::VariableEvent::spill):
(JSC::DFG::VariableEvent::death):
(JSC::DFG::VariableEvent::setLocal):
(JSC::DFG::VariableEvent::movHint):
(JSC::DFG::VariableEvent::id):
(JSC::DFG::VariableEvent::gpr):
(JSC::DFG::VariableEvent::tagGPR):
(JSC::DFG::VariableEvent::payloadGPR):
(JSC::DFG::VariableEvent::fpr):
(JSC::DFG::VariableEvent::spillRegister):
(JSC::DFG::VariableEvent::bytecodeRegister):
(JSC::DFG::VariableEvent::machineRegister):
(JSC::DFG::VariableEvent::variableRepresentation):
* dfg/DFGVariableEventStream.cpp:
(JSC::DFG::VariableEventStream::reconstruct):

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

7 years agoFTL: split overflow checks into non-overflow arithmetic and an additional call to...
commit-queue@webkit.org [Tue, 1 Oct 2013 23:18:47 +0000 (23:18 +0000)]
FTL: split overflow checks into non-overflow arithmetic and an additional call to the overflow intrinsic check.
https://bugs.webkit.org/show_bug.cgi?id=122170

Patch by Nadav Rotem <nrotem@apple.com> on 2013-10-01
Reviewed by Filip Pizlo.

Overflow intrinsics are preventing SCEV and other LLVM analysis passes from analyzing loops. This patch changes the FTL-IR gen by splitting arithmetic calculations into two parts:
1. Generate the arithmetic calculation (that may overflow)
2. Generate the overflow check (that is only used by the OSR-exit logic).

We trust LLVM (SelectionDAG) to merge these calculations into a single opcode.

This JS function:

function foo() {
    for (i=0; i < 10000000; i++) { }
}

Is now compiled into this LLVM-IR:

"OSR exit continuation for @24<Int32>":           ; preds = %"Block #0", %"OSR exit continuation for @24<Int32>2"
  %4 = phi i64 [ %10, %"OSR exit continuation for @24<Int32>2" ], [ -281474976710656, %"Block #0" ]
  %5 = trunc i64 %4 to i32
  %6 = add i32 %5, 1
  %7 = tail call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %5, i32 1)
  %8 = extractvalue { i32, i1 } %7, 1
  br i1 %8, label %"OSR exit failCase for @24<Int32>1", label %"OSR exit continuation for @24<Int32>2"

 And into this assembly:

LBB0_1:                                 ## %OSR exit continuation for @24<Int32>
                                ## =>This Inner Loop Header: Depth=1
    movl  %ecx, %esi
    incl  %esi
    jo  LBB0_4

* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileAddSub):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):

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

7 years ago<http://webkit.org/b/122190> WebKit2 APIs returning CF and NS types should explicitly...
mrowe@apple.com [Tue, 1 Oct 2013 22:52:52 +0000 (22:52 +0000)]
<webkit.org/b/122190> WebKit2 APIs returning CF and NS types should explicitly declare whether they return retained objects.

This make the APIs easier to use under ARC and can help out the static analyzer.

Reviewed by Anders Carlsson.

* Shared/API/c/cf/WKErrorCF.h:
* Shared/API/c/cf/WKStringCF.h:
* Shared/API/c/cf/WKURLCF.h:
* Shared/API/c/cg/WKImageCG.h:
* Shared/API/c/mac/WKURLRequestNS.h:
* Shared/API/c/mac/WKURLResponseNS.h:
* UIProcess/API/C/cg/WKIconDatabaseCG.h:

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

7 years agoQuirksmode: CSS1: WebKit fails dynamic :first-letter test
joone.hur@intel.com [Tue, 1 Oct 2013 22:47:49 +0000 (22:47 +0000)]
Quirksmode: CSS1: WebKit fails dynamic :first-letter test
https://bugs.webkit.org/show_bug.cgi?id=15602

Reviewed by David Hyatt.

Source/WebCore:

CSS first-letter property does not work properly when the first letter is changed
by DOM scripting.
This patch allows to check if the existing first-letter is no longer the
first-letter. In this case, it deletes the old first-letter object and creates
a new one. For the remaining text, the oldRemainingText object is used
again for containing the full text(first letter + remaining text).

Test: fast/css/first-letter-block-change.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateFirstLetter):

LayoutTests:

Add a test case that ensures that CSS first-letter property should work
properly when the first letter is changed by DOM scripting.

* fast/css/first-letter-block-change.html: Added.
* platform/efl/TestExpectations:
* platform/gtk-wk1/fast/css/first-letter-block-change-expected.png: Added.
* platform/gtk-wk2/fast/css/first-letter-block-change-expected.png: Added.
* platform/gtk/fast/css/first-letter-block-change-expected.txt: Added.
* platform/mac/TestExpectations:

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

7 years ago[Win] Unreviewed gardening.
bfulgham@apple.com [Tue, 1 Oct 2013 22:45:30 +0000 (22:45 +0000)]
[Win] Unreviewed gardening.

* platform/win/TestExpectations: Update TestExpectations for two crashes that were not
previously logged, one image-only failure, another broken test due to the media changes.

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

7 years ago[Mac] Set NSApplication current event while sending events directly to views
ap@apple.com [Tue, 1 Oct 2013 22:45:17 +0000 (22:45 +0000)]
[Mac] Set NSApplication current event while sending events directly to views
https://bugs.webkit.org/show_bug.cgi?id=122179

Reviewed by Darin Adler.

DumpRenderTree and WebKitTestRunner send events directly to WebHMTLView or WKView,
which doesn't update [NSApp currentEvent]. But there are many places in WebKit that
use the current event.

* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController mouseDown:withModifiers:]):
(-[EventSendingController mouseUp:withModifiers:]):
(-[EventSendingController mouseMoveToX:Y:]):
(-[EventSendingController mouseScrollByX:andY:continuously:]):
(-[EventSendingController contextClick]):
(-[EventSendingController keyDown:withModifiers:withLocation:]):
* WebKitTestRunner/mac/EventSenderProxy.mm:
(WTR::EventSenderProxy::mouseDown):
(WTR::EventSenderProxy::mouseUp):
(WTR::EventSenderProxy::mouseMoveTo):
(WTR::EventSenderProxy::keyDown):
(WTR::EventSenderProxy::mouseScrollBy):
Update the current event. We were already using the SPI in WebKit.

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

7 years agoBuildbot Dashboard: Fix JSHint issue: 'perlTestResults' used out of scope.
commit-queue@webkit.org [Tue, 1 Oct 2013 22:34:11 +0000 (22:34 +0000)]
Buildbot Dashboard: Fix JSHint issue: 'perlTestResults' used out of scope.
https://bugs.webkit.org/show_bug.cgi?id=122183

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-10-01
Reviewed by Timothy Hatcher.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.update):

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

7 years agoMake tests for renderer base types non-virtual
antti@apple.com [Tue, 1 Oct 2013 22:29:34 +0000 (22:29 +0000)]
Make tests for renderer base types non-virtual
https://bugs.webkit.org/show_bug.cgi?id=122185

Reviewed by Dave Hyatt.

Make isRenderFoo() functions for commonly tested base types use bit flags instead of virtual calls.
This is faster and we have space in RenderElement.

These bits are not mutully exclusive. For testing leaf types we can add an enum.

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

7 years ago[Windows] Unreviewed gardening. Skip fast/events/drag-and-drop-autoscroll-inner-frame...
roger_fong@apple.com [Tue, 1 Oct 2013 22:22:50 +0000 (22:22 +0000)]
[Windows] Unreviewed gardening. Skip fast/events/drag-and-drop-autoscroll-inner-frame.html.

Drag and drop does not work on Windows DRT.

* platform/win/TestExpectations:

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

7 years agoTweaks to the Buildbot Dashboard
timothy@apple.com [Tue, 1 Oct 2013 22:04:32 +0000 (22:04 +0000)]
Tweaks to the Buildbot Dashboard

https://bugs.webkit.org/show_bug.cgi?id=122169

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
(BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView.prototype.revisionLinksForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
(BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
(WebKitBuildbot.prototype.buildLogURLForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html:

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

7 years ago[Win] Unreviewed build fix after r156730.
bfulgham@apple.com [Tue, 1 Oct 2013 21:49:32 +0000 (21:49 +0000)]
[Win] Unreviewed build fix after r156730.
https://bugs.webkit.org/show_bug.cgi?id=122021

* platform/win/TestExpectations: Disable a number of tests broken by the switch to the new
CSS/JS-based media controls.

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

7 years agoConsolidate multiple OSRExit calls into one.
commit-queue@webkit.org [Tue, 1 Oct 2013 21:26:30 +0000 (21:26 +0000)]
Consolidate multiple OSRExit calls into one.
https://bugs.webkit.org/show_bug.cgi?id=122168

Patch by Nadav Rotem <nrotem@apple.com> on 2013-10-01
Reviewed by Filip Pizlo.

* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithDiv):
(JSC::FTL::LowerDFGToLLVM::compileArithMod):

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

7 years agoCleanup Document::dispatchFullScreenChangeOrErrorEvent
rniwa@webkit.org [Tue, 1 Oct 2013 21:12:08 +0000 (21:12 +0000)]
Cleanup Document::dispatchFullScreenChangeOrErrorEvent
https://bugs.webkit.org/show_bug.cgi?id=122143

Reviewed by Antti Koivisto.

Reduce the code duplication by extracting dispatchFullScreenChangeOrErrorEvent.

* dom/Document.cpp:
(WebCore::Document::fullScreenChangeDelayTimerFired):
(WebCore::Document::dispatchFullScreenChangeOrErrorEvent): Extracted.
* dom/Document.h:

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

7 years agofast/forms/search-event-delay.html is flakey
ap@apple.com [Tue, 1 Oct 2013 20:45:41 +0000 (20:45 +0000)]
fast/forms/search-event-delay.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=53990

* TestExpectations: Marking as such.

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

7 years agoUnreviewed, rolling out r156725.
commit-queue@webkit.org [Tue, 1 Oct 2013 20:38:55 +0000 (20:38 +0000)]
Unreviewed, rolling out r156725.
http://trac.webkit.org/changeset/156725
https://bugs.webkit.org/show_bug.cgi?id=122176

broke all the mismatch tests again (Requested by thorton on
#webkit).

Tools:

* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):

LayoutTests:

* platform/mac-wk2/tiled-drawing/window-server-snapshots-work-expected-mismatch.html: Removed.
* platform/mac-wk2/tiled-drawing/window-server-snapshots-work.html: Removed.

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

7 years agoSource/WebCore: [Win] Implement the media controls in JavaScript
bfulgham@apple.com [Tue, 1 Oct 2013 20:33:59 +0000 (20:33 +0000)]
Source/WebCore: [Win] Implement the media controls in JavaScript
https://bugs.webkit.org/show_bug.cgi?id=122166

Reviewed by Jer Noble.

* DerivedSources.make: Uncomment feature flag test.
* WebCore.vcxproj/WebCore.vcxproj: Add new media control implementation files.
Also cleaned up some misplaced files in the project tree.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
* WebCore.vcxproj/WebCoreCommon.props: Add missing include path for the
mediacontrols path.
* WebCore.vcxproj/copyForwardingHeaders.cmd: Add Modules/mediacontrols to copied headers.
* rendering/RenderThemeWin.cpp: Add missing include for UserAgentScripts.

WebKitLibraries: [Win] Implement the media controls in JavaScript.
https://bugs.webkit.org/show_bug.cgi?id=122166

Reviewed by Jer Noble.

* win/tools/vsprops/FeatureDefines.props: Activate the
ENABLE_MEDIA_CONTROLS_SCRIPT flag.

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

7 years agoSource/WebCore: Added adoptCOM to COMPtr on Windows.
commit-queue@webkit.org [Tue, 1 Oct 2013 20:20:02 +0000 (20:20 +0000)]
Source/WebCore: Added adoptCOM to COMPtr on Windows.
https://bugs.webkit.org/show_bug.cgi?id=122069

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-01
Reviewed by Brent Fulgham.

* platform/win/COMPtr.h:
(adoptCOM): Added.

Source/WebKit/win: Implemented createWebViewWithRequest in WinLauncher.
https://bugs.webkit.org/show_bug.cgi?id=122069

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-01
Reviewed by Brent Fulgham.

* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::createWindow):
* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::dispatchCreatePage):
Pass request url from the NavigationAction to createWebViewWithRequest.

Tools: Implemented createWebViewWithRequest in WinLauncher.
https://bugs.webkit.org/show_bug.cgi?id=122069

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-01
Reviewed by Brent Fulgham.

* WinLauncher/PrintWebUIDelegate.cpp:
(PrintWebUIDelegate::createWebViewWithRequest): Added.
* WinLauncher/PrintWebUIDelegate.h:
Removed createWebViewWithRequest stub.

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

7 years agoWeb Inspector: evaluate and show a popover for selected text in JS source when paused
graouts@apple.com [Tue, 1 Oct 2013 19:55:21 +0000 (19:55 +0000)]
Web Inspector: evaluate and show a popover for selected text in JS source when paused
https://bugs.webkit.org/show_bug.cgi?id=122151

Reviewed by Joseph Pecoraro.

Identify if the hovered token is contained within the text selection (if any) and use
the selection as the hovered expression to allow the user to select text and hover it
to see what it evaluates to.

* UserInterface/CodeMirrorTokenTrackingController.js:
(WebInspector.CodeMirrorTokenTrackingController.prototype.highlightRange):
Check we're trying to highlight a different range before removing the highlight
and applying the new one, this prevents the marked text from flashing if it's
being re-hovered which would easily happen when hovering multiple tokens within
the same selection.

(WebInspector.CodeMirrorTokenTrackingController.prototype._processJavaScriptExpression):
In the case where there is selected text, check whether the hovered token is at least
partially contained within the selection, and if so use the selection text as the
hovered expression to evaluate.

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

7 years agoConsole buttons don’t show after page reload
graouts@apple.com [Tue, 1 Oct 2013 19:32:09 +0000 (19:32 +0000)]
Console buttons don’t show after page reload
https://bugs.webkit.org/show_bug.cgi?id=116515

Reviewed by Darin Adler.

The correct display of navigation items in the ContentBrowser is contingent on
the ContentViewContainer's _backForwardList being up-to-date when the navigation
items are retrieved from it. However, when the main resource changes (in this case
the user refreshes the browser), calls are made to ContentViewContainer's
closeAllContentViewsOfPrototype() which may modify the _backForwardList but doesn't
necessarily notify of a change to the currentContentView since we may be still showing
the same view in case it wasn't directly related to the main resource, for instance
the console log.

We now check if the _backForwardList is changed as a result of calling
closeAllContentViewsOfPrototype() and in that case also dispatch the
CurrentContentViewDidChange event which will restore the correct state
for the back/forward buttons and navigation items of the navigation bar.

* UserInterface/ContentViewContainer.js:
(WebInspector.ContentViewContainer.prototype.closeAllContentViewsOfPrototype):
Track changes to the _backForwardList and dispatch the CurrentContentViewDidChange
event in case such changes happened.

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

7 years agoUnreviewed build fix; The addedFunction and removedFunction arguments to determineCha...
jer.noble@apple.com [Tue, 1 Oct 2013 19:31:13 +0000 (19:31 +0000)]
Unreviewed build fix; The addedFunction and removedFunction arguments to determineChangedTracksFromNewTracksAndOldItems
were reversed, exposing an underlying, existing bug in AudioTrackPrivate and VideoTrack private. Give a default (null)
value to AudioTrackPrivate::m_client and VideoTrackPrivate::m_client and fix the ordering of arguments in
determineChangedTracksFromNewTracksAndOldItems.

* platform/graphics/AudioTrackPrivate.h:
(WebCore::AudioTrackPrivate::AudioTrackPrivate):
* platform/graphics/VideoTrackPrivate.h:
(WebCore::VideoTrackPrivate::VideoTrackPrivate):
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::determineChangedTracksFromNewTracksAndOldItems):

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

7 years ago[wk2] WebKitTestRunner's window snapshots are blank with tiled drawing
timothy_horton@apple.com [Tue, 1 Oct 2013 18:50:12 +0000 (18:50 +0000)]
[wk2] WebKitTestRunner's window snapshots are blank with tiled drawing
https://bugs.webkit.org/show_bug.cgi?id=122006
<rdar://problem/15095197>

Reviewed by Dean Jackson.

* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
Layer-back the root view in WebKitTestRunner's window, to work around a bug
where the window server snapshot API returns blank snapshots.

Re-landing after r156724, this should not break everything now.

Add a test that ensures that WebKitTestRunner's snapshots are not
completely blank with tiled drawing enabled.

* platform/mac-wk2/tiled-drawing/window-server-snapshots-work-expected-mismatch.html: Added.
* platform/mac-wk2/tiled-drawing/window-server-snapshots-work.html: Added.

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

7 years ago[mac] 1x emulation on Retina hardware shouldn't use SPI
timothy_horton@apple.com [Tue, 1 Oct 2013 18:46:50 +0000 (18:46 +0000)]
[mac] 1x emulation on Retina hardware shouldn't use SPI
https://bugs.webkit.org/show_bug.cgi?id=122152
<rdar://problem/15119384>

Reviewed by Anders Carlsson.

* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
(main):
* DumpRenderTree/mac/DumpRenderTreeWindow.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
* WebKitTestRunner/mac/main.mm:
(main):
Register for AppleMagnifiedMode instead of using _setWindowResolution:displayIfChanged:.

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

7 years agoSpeculativeJIT::m_arguments/m_variables are vestiges of a time long gone
fpizlo@apple.com [Tue, 1 Oct 2013 18:45:42 +0000 (18:45 +0000)]
SpeculativeJIT::m_arguments/m_variables are vestiges of a time long gone
https://bugs.webkit.org/show_bug.cgi?id=122140

Reviewed by Darin Adler.

Just killing code.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::compileCurrentBlock):
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::recordSetLocal):

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

7 years ago[Mac] Add support for VideoTrack to MediaPlayerPrivateAVFObjC
jer.noble@apple.com [Tue, 1 Oct 2013 18:24:06 +0000 (18:24 +0000)]
[Mac] Add support for VideoTrack to MediaPlayerPrivateAVFObjC
https://bugs.webkit.org/show_bug.cgi?id=122122

Reviewed by Eric Carlson.

Source/WebCore:

Test: media/track/video-track.html

Refactor the methods which query AVAssetTrack and AVPlayerItemTrack into an Impl class, and
use that class to reset the properties of both AudioTrackAVFObjC and the new VideoTrackAVFObjC.

Add new files to project:
* WebCore.xcodeproj/project.pbxproj:

Add the new implementation class, shared by AudioTrackAVFObjC and VideoTrackAVFObjC:
* platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h: Added.
(WebCore::AVTrackPrivateAVFObjCImpl::create): Simple factory.
(WebCore::AVTrackPrivateAVFObjCImpl::playerItemTrack): Simple getter.
* platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm: Added.
(WebCore::AVTrackPrivateAVFObjCImpl::AVTrackPrivateAVFObjCImpl): Simple constructor.
(WebCore::AVTrackPrivateAVFObjCImpl::enabled): Pass to AVPlayerItemTrack.
(WebCore::AVTrackPrivateAVFObjCImpl::setEnabled): Ditto.
(WebCore::AVTrackPrivateAVFObjCImpl::audioKind): Distinguish between Alternative and Main content.
(WebCore::AVTrackPrivateAVFObjCImpl::videoKind): Distinguish between Alternative, Main, Caption,
    and Description content.
(WebCore::AVTrackPrivateAVFObjCImpl::id): Pass to AVAssetTrack.
(WebCore::AVTrackPrivateAVFObjCImpl::label): Retrieve the Title metadata in the user's preferred
    language.
(WebCore::AVTrackPrivateAVFObjCImpl::language): Pass to languageForAVAssetTrack.
(WebCore::AVTrackPrivateAVFObjCImpl::languageForAVAssetTrack): Moved from AudioTrackPrivateAVFObjC.
* platform/graphics/avfoundation/VideoTrackPrivateAVF.h: Copied from Source/WebCore/platform/graphics/avfoundation/AudioTrackPrivateAVF.h.
(WebCore::VideoTrackPrivateAVF::kind): Simple getter.
(WebCore::VideoTrackPrivateAVF::id): Ditto.
(WebCore::VideoTrackPrivateAVF::label): Ditto.
(WebCore::VideoTrackPrivateAVF::language): Ditto.
(WebCore::VideoTrackPrivateAVF::setKind): Simple setter.
(WebCore::VideoTrackPrivateAVF::setId): Ditto.
(WebCore::VideoTrackPrivateAVF::setLabel): Ditto.
(WebCore::VideoTrackPrivateAVF::setLanguage): Ditto.
(WebCore::VideoTrackPrivateAVF::VideoTrackPrivateAVF): Simple constructor.
* platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm:
(WebCore::AudioTrackPrivateAVFObjC::AudioTrackPrivateAVFObjC): Create a AVTrackPrivateAVFObjCImpl.
(WebCore::AudioTrackPrivateAVFObjC::resetPropertiesFromTrack): Retrieve properties from m_impl.
(WebCore::AudioTrackPrivateAVFObjC::setPlayerItemTrack): Create a new AVTrackPrivateAVFObjCImpl.
(WebCore::AudioTrackPrivateAVFObjC::playerItemTrack): Pass to m_impl.
(WebCore::AudioTrackPrivateAVFObjC::setEnabled): Ditto.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Refactor implementation into
    template method determineChangedTracksFromNewTracksAndOldItems().
(WebCore::determineChangedTracksFromNewTracksAndOldItems): Refactored.
(WebCore::MediaPlayerPrivateAVFoundationObjC::updateAudioTracks): Pass to determineChangedTracksFromNewTracksAndOldItems.
(WebCore::MediaPlayerPrivateAVFoundationObjC::updateVideoTracks): Ditto.
(WebCore::MediaPlayerPrivateAVFoundationObjC::languageOfPrimaryAudioTrack): Changed class hosting
    languageForAVAssetTrack.
* platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp: Added.
(WebCore::VideoTrackPrivateAVFObjC::VideoTrackPrivateAVFObjC): Create a AVTrackPrivateAVFObjCImpl.
(WebCore::VideoTrackPrivateAVFObjC::resetPropertiesFromTrack): Retrieve properties from m_impl.
(WebCore::VideoTrackPrivateAVFObjC::setPlayerItemTrack): Create a new AVTrackPrivateAVFObjCImpl.
(WebCore::VideoTrackPrivateAVFObjC::playerItemTrack): Pass to m_impl.
(WebCore::VideoTrackPrivateAVFObjC::setSelected): Ditto.
* platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h: Added.
(WebCore::VideoTrackPrivateAVFObjC::create): Simple factory.

LayoutTests:

* media/track/video-track-expected.txt: Added.
* media/track/video-track.html: Added.

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

7 years agoLeaf EventTarget subclasses should be FINAL.
akling@apple.com [Tue, 1 Oct 2013 17:20:06 +0000 (17:20 +0000)]
Leaf EventTarget subclasses should be FINAL.
<https://webkit.org/b/122141>

Reviewed by Darin Adler.

Clear out a slew of FIXMEs now that HasMemoryCostMemberFunction
works on classes marked FINAL (fixed in bug 121747.)

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

7 years agoRename URL type variables in Curl network backend.
commit-queue@webkit.org [Tue, 1 Oct 2013 17:03:58 +0000 (17:03 +0000)]
Rename URL type variables in Curl network backend.
https://bugs.webkit.org/show_bug.cgi?id=122158

Patch by Szabolcs Dávid <davidsz@inf.u-szeged.hu> on 2013-10-01
Reviewed by Darin Adler.

I changed the name of the URL objects to match with the new class name.

* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::getProtectionSpace):
(WebCore::ResourceHandleManager::initializeHandle):

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

7 years agoCenter misspelling dots across width of word
commit-queue@webkit.org [Tue, 1 Oct 2013 16:59:59 +0000 (16:59 +0000)]
Center misspelling dots across width of word
https://bugs.webkit.org/show_bug.cgi?id=122046

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-01
Reviewed by Darin Adler.

Source/WebCore:

Test: editing/spelling/spelling.html

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

LayoutTests:

This patch only rebaselines a single test. I would have rebaselined
the rest of the tests, but they seem to be affected by
webkit.org/b/122146. I don't want to commit incorrect expected results.

* platform/mac/editing/spelling/spelling-expected.png:

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

7 years ago[iOS] WebCore fails to build with newer versions of clang
dbates@webkit.org [Tue, 1 Oct 2013 16:40:22 +0000 (16:40 +0000)]
[iOS] WebCore fails to build with newer versions of clang
https://bugs.webkit.org/show_bug.cgi?id=122161

Reviewed by Darin Adler.

* editing/FrameSelection.cpp: Add ENABLE(TEXT_CARET)-guard around shouldStopBlinkingDueToTypingCommand().
* page/EventHandler.cpp: Add !PLATFORM(IOS)-guard around constants cursorUpdateInterval and maximumCursorSize;
also add touch event/gesture event guard around shouldGesturesTriggerActive().
* platform/network/cf/ResourceResponseCFNet.cpp: Remove unused function filenameHasSaneExtension.
* platform/network/mac/ResourceResponseMac.mm: Only define static variables commonHeaderFields when building
without CFNetwork; also remove variable numCommonHeaderFields, instead use WTF_ARRAY_LENGTH(commonHeaderFields)
to compute the size of the fixed-sized array commonHeaderFields.

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

7 years ago[iOS] JavaScriptCore fails to build with newer versions of clang
dbates@webkit.org [Tue, 1 Oct 2013 16:39:32 +0000 (16:39 +0000)]
[iOS] JavaScriptCore fails to build with newer versions of clang
https://bugs.webkit.org/show_bug.cgi?id=122162

Reviewed by Darin Adler.

* runtime/GCActivityCallback.cpp: Add !PLATFORM(IOS)-guard around constant pagingTimeOut
as we don't compile the code that uses it on iOS.

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

7 years ago[GStreamer] Support "chapter" text tracks
commit-queue@webkit.org [Tue, 1 Oct 2013 16:26:52 +0000 (16:26 +0000)]
[GStreamer] Support "chapter" text tracks
https://bugs.webkit.org/show_bug.cgi?id=122000

Patch by Brendan Long <b.long@cablelabs.com> on 2013-10-01
Reviewed by Eric Carlson.

Source/WebCore:

Test: media/track/in-band/track-in-band-mkv-chapters.html

* platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h: New class, needed for cues that aren't associated with GstPads.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleMessage): Check for table of contents messages.
(WebCore::MediaPlayerPrivateGStreamer::processTableOfContents): Parse table of contents messages into text tracks.
(WebCore::MediaPlayerPrivateGStreamer::processTableOfContentsEntry): Recursive method for parsing all of the TOC entries.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: Add the processTableOfContents functions.

LayoutTests:

* media/content/counting-subtitled-srt.mkv: Added chapters metadata.
* media/track/in-band/track-in-band-mkv-chapters-expected.txt: New test, similar to cues-added-one, but uses "chapters" track.
* media/track/in-band/track-in-band-mkv-chapters.html: Same.
* media/in-band-cues.js: Updated tests to handle the new "chapters" track.
* media/track/in-band/track-in-band-kate-ogg-cues-added-once-expected.txt: Same.
* media/track/in-band/track-in-band-kate-ogg-cues-added-once.html: Same.
* media/track/in-band/track-in-band-kate-ogg-mode-expected.txt: Same.
* media/track/in-band/track-in-band-kate-ogg-mode.html: Same.
* media/track/in-band/track-in-band-kate-ogg-style-expected.txt: Same.
* media/track/in-band/track-in-band-kate-ogg-track-order-expected.txt: Same.
* media/track/in-band/track-in-band-kate-ogg-track-order.html: Same.
* media/track/in-band/track-in-band-srt-mkv-cues-added-once-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-cues-added-once.html: Same.
* media/track/in-band/track-in-band-srt-mkv-kind-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-kind.html: Same.
* media/track/in-band/track-in-band-srt-mkv-language-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-language.html: Same.
* media/track/in-band/track-in-band-srt-mkv-mode-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-mode.html: Same.
* media/track/in-band/track-in-band-srt-mkv-style-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-track-order-expected.txt: Same.
* media/track/in-band/track-in-band-srt-mkv-track-order.html: Same.

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

7 years agoTry to get another Windows test to pass.
darin@apple.com [Tue, 1 Oct 2013 16:14:29 +0000 (16:14 +0000)]
Try to get another Windows test to pass.

* platform/win/js/dom/global-constructors-attributes-expected.txt: Removed one
more class (Notification) for a feature turned off for the Windows platform.

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

7 years agoTry to get another Windows test to pass.
darin@apple.com [Tue, 1 Oct 2013 15:02:13 +0000 (15:02 +0000)]
Try to get another Windows test to pass.

* platform/win/js/dom/global-constructors-attributes-expected.txt: Added.
Copy of the platform-independent results file, with items deleted for features
that are currently turned off for the Windows platform.

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

7 years ago[Texmap] CSS filter not working on software composited layers
allan.jensen@digia.com [Tue, 1 Oct 2013 14:58:32 +0000 (14:58 +0000)]
[Texmap] CSS filter not working on software composited layers
https://bugs.webkit.org/show_bug.cgi?id=122159

Reviewed by Noam Rosenthal.

Tell the rendering layer we do not support CSS filters when we do not. This
will make RenderLayer fall back to using its own software implementation.

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::setFilters):
* platform/graphics/texmap/TextureMapperImageBuffer.cpp:
(WebCore::BitmapTextureImageBuffer::applyFilters):

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

7 years agoTry to fix assertion failures seem on bots.
darin@apple.com [Tue, 1 Oct 2013 12:34:39 +0000 (12:34 +0000)]
Try to fix assertion failures seem on bots.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::createFilterOperations): Rearrange code so this
won't try ot call toCSSPrimitiveValue on a non-primitive-value in the
DROP_SHADOW case.

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

7 years agoFix the 'InexedDB' typo in the ChangeLog that I failed to address prior to landing...
zandobersek@gmail.com [Tue, 1 Oct 2013 12:09:15 +0000 (12:09 +0000)]
Fix the 'InexedDB' typo in the ChangeLog that I failed to address prior to landing r156701.

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

7 years agoUnreviewed GTK gardening. Adding failure expectations for currently failing tests.
zandobersek@gmail.com [Tue, 1 Oct 2013 11:57:27 +0000 (11:57 +0000)]
Unreviewed GTK gardening. Adding failure expectations for currently failing tests.

* platform/gtk/TestExpectations:

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

7 years ago[Qt][WK2] Fix build after r156688.
commit-queue@webkit.org [Tue, 1 Oct 2013 11:38:52 +0000 (11:38 +0000)]
[Qt][WK2] Fix build after r156688.
https://bugs.webkit.org/show_bug.cgi?id=122153

Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-10-01
Reviewed by Allan Sandfeld Jensen.

* Shared/qt/ShareableBitmapQt.cpp:
(WebKit::ShareableBitmap::createGraphicsContext):
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::createDrawingAreaProxy):
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/API/qt/raw/qrawwebview.cpp:
(QRawWebViewPrivate::createDrawingAreaProxy):
* UIProcess/API/qt/raw/qrawwebview_p_p.h:
* UIProcess/qt/QtPageClient.cpp:
(WebKit::QtPageClient::createDrawingAreaProxy):
* UIProcess/qt/QtPageClient.h:
* WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp:
(WebKit::convertQPixmapToShareableBitmap):

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

7 years agoGenerate toCSSFooValue for CSSPrimitiveValue
gyuyoung.kim@samsung.com [Tue, 1 Oct 2013 10:50:47 +0000 (10:50 +0000)]
Generate toCSSFooValue for CSSPrimitiveValue
https://bugs.webkit.org/show_bug.cgi?id=122101

Reviewed by Antti Koivisto.

As a step of clean-up static_cast<> in CSSValues, this patch generates
toCSSFooPrimitiveValue() in order to detect bad casts as well as improves
code readability.

No new tests, no behavior changes.

* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::addFontFaceRule):
* css/CSSImageGeneratorValue.cpp:
(WebCore::CSSImageGeneratorValue::subimageIsPending):
(WebCore::CSSImageGeneratorValue::cachedImageForCSSValue):
* css/CSSImageSetValue.cpp:
(WebCore::CSSImageSetValue::fillImageSet):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseColor):
(WebCore::CSSParser::addProperty):
(WebCore::CSSParser::parse3ValuesFillPosition):
(WebCore::CSSParser::parseFillPosition):
(WebCore::CSSParser::parseFillRepeat):
(WebCore::CSSParser::parseDeprecatedRadialGradient):
(WebCore::CSSParser::parseRadialGradient):
* css/CSSPrimitiveValue.h:
* css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapFillAttachment):
(WebCore::CSSToStyleMap::mapFillClip):
(WebCore::CSSToStyleMap::mapFillComposite):
(WebCore::CSSToStyleMap::mapFillBlendMode):
(WebCore::CSSToStyleMap::mapFillOrigin):
(WebCore::CSSToStyleMap::mapFillRepeatX):
(WebCore::CSSToStyleMap::mapFillRepeatY):
(WebCore::CSSToStyleMap::mapFillSize):
(WebCore::CSSToStyleMap::mapFillXPosition):
(WebCore::CSSToStyleMap::mapFillYPosition):
(WebCore::CSSToStyleMap::mapFillMaskSourceType):
(WebCore::CSSToStyleMap::mapAnimationDelay):
(WebCore::CSSToStyleMap::mapAnimationDirection):
(WebCore::CSSToStyleMap::mapAnimationDuration):
(WebCore::CSSToStyleMap::mapAnimationFillMode):
(WebCore::CSSToStyleMap::mapAnimationIterationCount):
(WebCore::CSSToStyleMap::mapAnimationName):
(WebCore::CSSToStyleMap::mapAnimationPlayState):
(WebCore::CSSToStyleMap::mapAnimationProperty):
(WebCore::CSSToStyleMap::mapAnimationTimingFunction):
(WebCore::CSSToStyleMap::mapNinePieceImageQuad):
(WebCore::CSSToStyleMap::mapNinePieceImageRepeat):
* css/CSSValue.cpp:
(WebCore::CSSValue::destroy):
* css/DeprecatedStyleBuilder.cpp:
(WebCore::ApplyPropertyDefault::applyValue):
(WebCore::ApplyPropertyNumber::applyValue):
(WebCore::ApplyPropertyAuto::applyValue):
(WebCore::ApplyPropertyClip::applyValue):
(WebCore::ApplyPropertyColor::applyValue):
(WebCore::ApplyPropertyLength::applyValue):
(WebCore::ApplyPropertyString::applyValue):
(WebCore::ApplyPropertyBorderRadius::applyValue):
(WebCore::ApplyPropertyComputeLength::applyValue):
(WebCore::ApplyPropertyFont::applyValue):
(WebCore::ApplyPropertyFontFamily::applyValue):
(WebCore::ApplyPropertyFontSize::applyValue):
(WebCore::ApplyPropertyFontWeight::applyValue):
(WebCore::ApplyPropertyFontVariantLigatures::applyValue):
(WebCore::ApplyPropertyCounter::applyValue):
(WebCore::ApplyPropertyCursor::applyValue):
(WebCore::ApplyPropertyTextAlign::applyValue):
(WebCore::ApplyPropertyTextDecoration::applyValue):
(WebCore::ApplyPropertyMarqueeIncrement::applyValue):
(WebCore::ApplyPropertyMarqueeRepetition::applyValue):
(WebCore::ApplyPropertyMarqueeSpeed::applyValue):
(WebCore::ApplyPropertyTextUnderlinePosition::applyValue):
(WebCore::ApplyPropertyLineHeight::applyValue):
(WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue):
(WebCore::ApplyPropertyPageSize::applyValue):
(WebCore::ApplyPropertyTextEmphasisStyle::applyValue):
(WebCore::ApplyPropertyResize::applyValue):
(WebCore::ApplyPropertyVerticalAlign::applyValue):
(WebCore::ApplyPropertyZoom::applyValue):
(WebCore::ApplyPropertyDisplay::applyValue):
(WebCore::ApplyPropertyClipPath::applyValue):
(WebCore::ApplyPropertyShape::applyValue):
(WebCore::ApplyPropertyImageResolution::applyValue):
(WebCore::ApplyPropertyTextIndent::applyValue):
* css/MediaList.cpp:
(WebCore::reportMediaQueryWarningIfNeeded):
* css/MediaQueryEvaluator.cpp:
(WebCore::numberValue):
(WebCore::orientationMediaFeatureEval):
(WebCore::evalResolution):
(WebCore::device_pixel_ratioMediaFeatureEval):
(WebCore::resolutionMediaFeatureEval):
(WebCore::computeLength):
(WebCore::view_modeMediaFeatureEval):
(WebCore::pointerMediaFeatureEval):
* css/SVGCSSStyleSelector.cpp:
(WebCore::StyleResolver::applySVGProperty):
* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::getLayeredShorthandValue):
* css/StyleResolver.cpp:
(WebCore::createGridTrackSize):
(WebCore::createGridTrackList):
(WebCore::createGridPosition):
(WebCore::hasVariableReference):
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::parseCustomFilterArrayParameter):
(WebCore::StyleResolver::parseCustomFilterColorParameter):
(WebCore::StyleResolver::parseCustomFilterNumberParameter):
(WebCore::StyleResolver::parseCustomFilterParameter):
(WebCore::StyleResolver::parseCustomFilterParameterList):
(WebCore::StyleResolver::createCustomFilterOperationWithInlineSyntax):
(WebCore::StyleResolver::createFilterOperations):
* css/TransformFunctions.cpp:
(WebCore::transformsForValue):
* css/ViewportStyleResolver.cpp:
(WebCore::ViewportStyleResolver::getViewportArgumentValue):
* css/WebKitCSSMatrix.cpp:
(WebCore::WebKitCSSMatrix::setMatrixValue):
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::computedFontSize):
* editing/EditingStyle.cpp:
(WebCore::identifierForStyleProperty):
(WebCore::HTMLElementEquivalent::valueIsPresentInStyle):
(WebCore::cssValueToRGBA):
(WebCore::EditingStyle::extractFontSizeDelta):
(WebCore::EditingStyle::textDirection):
(WebCore::EditingStyle::prepareToApplyAt):
(WebCore::EditingStyle::mergeStyleFromRulesForSerialization):
(WebCore::EditingStyle::legacyFontSize):
(WebCore::EditingStyle::textDirectionForSelection):
(WebCore::StyleChange::extractTextStyles):
(WebCore::fontWeightIsBold):
(WebCore::isTransparentColorValue):
* editing/markup.cpp:
(WebCore::propertyMissingOrEqualToNone):

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

7 years agoMove platform-specific test results from js to js/dom to match moves in r156066.
darin@apple.com [Tue, 1 Oct 2013 10:36:56 +0000 (10:36 +0000)]
Move platform-specific test results from js to js/dom to match moves in r156066.

I see multiple check-ins with people doing this for some files, but these seem to have been missed.
Maybe some of these are unneeded and can be removed.

My hope is that this might help with some failures seen on the Windows bot.

* platform/blackberry/js/dom/constructor-length-expected.txt: Renamed from LayoutTests/platform/blackberry/js/constructor-length-expected.txt.
* platform/efl/js/dom/constructor-length-expected.txt: Renamed from LayoutTests/platform/efl/js/constructor-length-expected.txt.
* platform/efl/js/dom/dom-static-property-for-in-iteration-expected.txt: Renamed from LayoutTests/platform/efl/js/dom-static-property-for-in-iteration-expected.txt.
* platform/efl/js/dom/exception-linenums-in-html-3-expected.png: Renamed from LayoutTests/platform/efl/js/exception-linenums-in-html-3-expected.png.
* platform/efl/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Renamed from LayoutTests/platform/efl/js/global-constructors-attributes-dedicated-worker-expected.txt.
* platform/efl/js/dom/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/platform/efl/js/global-constructors-attributes-shared-worker-expected.txt.
* platform/efl/js/dom/missing-style-end-tag-js-expected.png: Renamed from LayoutTests/platform/efl/js/missing-style-end-tag-js-expected.png.
* platform/efl/js/dom/missing-title-end-tag-js-expected.png: Renamed from LayoutTests/platform/efl/js/missing-title-end-tag-js-expected.png.
* platform/gtk/js/dom/constructor-length-expected.txt: Renamed from LayoutTests/platform/gtk/js/constructor-length-expected.txt.
* platform/gtk/js/dom/exception-linenums-in-html-3-expected.png: Renamed from LayoutTests/platform/gtk/js/exception-linenums-in-html-3-expected.png.
* platform/gtk/js/dom/missing-style-end-tag-js-expected.png: Renamed from LayoutTests/platform/gtk/js/missing-style-end-tag-js-expected.png.
* platform/gtk/js/dom/missing-title-end-tag-js-expected.png: Renamed from LayoutTests/platform/gtk/js/missing-title-end-tag-js-expected.png.
* platform/mac/js/dom/exception-linenums-in-html-3-expected.png: Renamed from LayoutTests/platform/mac/js/exception-linenums-in-html-3-expected.png.
* platform/mac/js/dom/missing-style-end-tag-js-expected.png: Renamed from LayoutTests/platform/mac/js/missing-style-end-tag-js-expected.png.
* platform/mac/js/dom/missing-title-end-tag-js-expected.png: Renamed from LayoutTests/platform/mac/js/missing-title-end-tag-js-expected.png.
* platform/qt/js/dom/constructor-length-expected.txt: Renamed from LayoutTests/platform/qt/js/constructor-length-expected.txt.
* platform/qt/js/dom/date-DST-time-cusps-expected.txt: Renamed from LayoutTests/platform/qt/js/date-DST-time-cusps-expected.txt.
* platform/qt/js/dom/dom-static-property-for-in-iteration-expected.txt: Renamed from LayoutTests/platform/qt/js/dom-static-property-for-in-iteration-expected.txt.
* platform/qt/js/dom/exception-linenums-in-html-3-expected.png: Renamed from LayoutTests/platform/qt/js/exception-linenums-in-html-3-expected.png.
* platform/qt/js/dom/missing-style-end-tag-js-expected.png: Renamed from LayoutTests/platform/qt/js/missing-style-end-tag-js-expected.png.
* platform/qt/js/dom/missing-title-end-tag-js-expected.png: Renamed from LayoutTests/platform/qt/js/missing-title-end-tag-js-expected.png.
* platform/qt/js/dom/switch-behaviour-expected.txt: Renamed from LayoutTests/platform/qt/js/switch-behaviour-expected.txt.
* platform/win/js/dom/dom-static-property-for-in-iteration-expected.txt: Renamed from LayoutTests/platform/win/js/dom-static-property-for-in-iteration-expected.txt.
* platform/win/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Renamed from LayoutTests/platform/win/js/global-constructors-attributes-dedicated-worker-expected.txt.
* platform/win/js/dom/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/platform/win/js/global-constructors-attributes-shared-worker-expected.txt.

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

7 years agoTry to fix AVFoundation crashes seen on Lion bot.
darin@apple.com [Tue, 1 Oct 2013 09:59:31 +0000 (09:59 +0000)]
Try to fix AVFoundation crashes seen on Lion bot.

* platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm:
Four AVFoundation string constants used in this file were new to 10.8.
For older versions of OS X, use hard-coded string constants instead.

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

7 years agoUnreviewed GTK gardening. Rebaselining after r156527, moving baselines specific to...
zandobersek@gmail.com [Tue, 1 Oct 2013 09:37:56 +0000 (09:37 +0000)]
Unreviewed GTK gardening. Rebaselining after r156527, moving baselines specific to GTK WK1
under the platform/gtk-wk1 directory.

* platform/gtk-wk1/js: Added.
* platform/gtk-wk1/js/dom: Added.
* platform/gtk-wk1/js/dom/function-length-expected.txt: Added.
* platform/gtk-wk1/scrollingcoordinator: Added.
* platform/gtk-wk1/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Added.
* platform/gtk-wk1/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Added.
* platform/gtk/js/dom/function-length-expected.txt: Removed.
* platform/gtk/scrollingcoordinator: Removed.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Removed.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Removed.
* platform/gtk/svg/custom/SVGPoint-matrixTransform-expected.txt:
* platform/gtk/svg/custom/getTransformToElement-expected.txt:
* platform/gtk/svg/custom/text-ctm-expected.txt:
* platform/gtk/svg/custom/text-hit-test-expected.txt:
* platform/gtk/svg/text/append-text-node-to-tspan-expected.txt:

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

7 years ago[InexedDB] Interfaces inheriting from EventTarget should generate JSC (un)wrapping...
zandobersek@gmail.com [Tue, 1 Oct 2013 08:12:57 +0000 (08:12 +0000)]
[InexedDB] Interfaces inheriting from EventTarget should generate JSC (un)wrapping functions
https://bugs.webkit.org/show_bug.cgi?id=122114

Reviewed by Darin Adler.

After r156590, four IndexedDB interfaces are inheriting from the EventTarget interface. Because of that,
they're now required to have interface-specific JSC wrapping and unwrapping functions generated since the
JSC wrapping and unwrapping functions for the EventTarget interface delegate these operations to these
interface-specific functions. If the functions are not generated and accessible, the EventTarget functions
end up recursively calling themselves.

* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:

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

7 years agoBuild fix for EFL, Qt, Gtk port after r156688
ryuan.choi@samsung.com [Tue, 1 Oct 2013 06:37:32 +0000 (06:37 +0000)]
Build fix for EFL, Qt, Gtk port after r156688
https://bugs.webkit.org/show_bug.cgi?id=122139

Reviewed by Anders Carlsson.

Get rid of more uses of OwnPtr and PassOwnPtr.

Source/WebCore:

* platform/graphics/surfaces/GraphicsSurface.cpp:
(WebCore::GraphicsSurface::beginPaint):
* platform/graphics/surfaces/GraphicsSurface.h:
* platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:
(WebCore::GraphicsSurface::platformBeginPaint):
* platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp:
(WebCore::GraphicsSurface::platformBeginPaint):
* platform/graphics/surfaces/qt/GraphicsSurfaceQt.cpp:
(WebCore::GraphicsSurface::platformBeginPaint):

Source/WebKit2:

* Shared/API/c/cairo/WKImageCairo.cpp:
(WKImageCreateFromCairoSurface):
* Shared/API/c/qt/WKImageQt.cpp:
(WKImageCreateFromQImage):
* Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
(WebKit::WebCoordinatedSurface::createGraphicsContext):
(WebKit::WebCoordinatedSurface::paintToSurface):
* Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
* Shared/cairo/ShareableBitmapCairo.cpp:
(WebKit::ShareableBitmap::createGraphicsContext):
* Shared/gtk/ArgumentCodersGtk.cpp:
(CoreIPC::encodeImage):
* UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::createDrawingAreaProxy):
* UIProcess/API/gtk/PageClientImpl.h:
* UIProcess/CoordinatedGraphics/WebView.cpp:
(WebKit::WebView::createDrawingAreaProxy):
* UIProcess/CoordinatedGraphics/WebView.h:
* WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp:
(WebKit::convertCairoSurfaceToShareableBitmap):

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

7 years agoLayout Test media/click-volume-bar-not-pausing.html is flaky
ap@apple.com [Tue, 1 Oct 2013 06:12:55 +0000 (06:12 +0000)]
Layout Test media/click-volume-bar-not-pausing.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=122126

Reviewed by Darin Adler.

Speculative partial fix.

I'm not sure if it's possible to make this test completely controlled without
DOMFrameContentLoaded support - we need to do work when the <video> element is
already present, but playback hasn't started yet. As media documents use autoplay,
there is a race between load and playing events.

* media/click-volume-bar-not-pausing-expected.txt:
* media/click-volume-bar-not-pausing.html:
  - Add video URL after initial content fully loads to avoid races with that.
  - Added some state logging for clarity.
  - Only listen for "playing" event once. If playback already started, we have a
  playing event already queued, and would add another one with pause()/play().

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

7 years agoAX: Expose ARIA Busy Notifications
commit-queue@webkit.org [Tue, 1 Oct 2013 05:58:10 +0000 (05:58 +0000)]
AX: Expose ARIA Busy Notifications
https://bugs.webkit.org/show_bug.cgi?id=121451

Patch by Sam White <samuel_white@apple.com> on 2013-09-30
Reviewed by Chris Fleizach.

Source/WebCore:

Added AXElementBusyChanged notification that posts when aria-busy is toggled. This
enables screen readers to detect busy states without polling the focused element.

Test: platform/mac/accessibility/element-busy-changed.html

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChanged):
* accessibility/AXObjectCache.h:
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):

LayoutTests:

Added test to verify that elements post AXElementBusyChanged notifications when aria-busy is toggled.

* platform/mac/accessibility/element-busy-changed-expected.txt: Added.
* platform/mac/accessibility/element-busy-changed.html: Added.

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

7 years agoFix the build.
weinig@apple.com [Tue, 1 Oct 2013 05:16:57 +0000 (05:16 +0000)]
Fix the build.

* ewk/ewk_settings.cpp:

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

7 years agoFixing the build.
weinig@apple.com [Tue, 1 Oct 2013 05:10:21 +0000 (05:10 +0000)]
Fixing the build.

* GNUmakefile.list.am:

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

7 years agoMore build fixing.
weinig@apple.com [Tue, 1 Oct 2013 04:59:55 +0000 (04:59 +0000)]
More build fixing.

* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* inspector/InspectorAllInOne.cpp:
* inspector/InstrumentingAgents.h:

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

7 years agocheck-webkit-style should not warn about use of C++11 “>>” instead of “> >"
commit-queue@webkit.org [Tue, 1 Oct 2013 04:57:53 +0000 (04:57 +0000)]
check-webkit-style should not warn about use of C++11 “>>”  instead of “> >"
https://bugs.webkit.org/show_bug.cgi?id=116474

Patch by Sam Weinig <sam@webkit.org> on 2013-09-30
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/style/checkers/cpp.py:
* Scripts/webkitpy/style/checkers/cpp_unittest.py:

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

7 years agoFix the Efl and Gtk builds.
weinig@apple.com [Tue, 1 Oct 2013 04:47:21 +0000 (04:47 +0000)]
Fix the Efl and Gtk builds.

* GNUmakefile.list.am:
* PlatformEfl.cmake:
* PlatformGTK.cmake:

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

7 years agoRemove support for DOMFileSystem
weinig@apple.com [Tue, 1 Oct 2013 04:33:34 +0000 (04:33 +0000)]
Remove support for DOMFileSystem
https://bugs.webkit.org/show_bug.cgi?id=122137

Reviewed by Anders Carlsson.

.:

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

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Files elided *

Source/WebKit/blackberry:

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPage::clearWebFileSystem):
* WebCoreSupport/AboutDataEnableFeatures.in:

Source/WebKit/efl:

* ewk/ewk_settings.cpp:
(ewk_settings_file_system_path_set):

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* Scripts/webkitperl/FeatureList.pm:
* Scripts/webkitpy/style/checkers/cpp.py:
(check_spacing):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest.test_spacing_for_binary_ops):
* qmake/mkspecs/features/features.pri:

LayoutTests:

* fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
* fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
* fast/filesystem: Removed.
* fast/filesystem/async-operations-expected.txt: Removed.
* fast/filesystem/async-operations.html: Removed.
* fast/filesystem/cross-filesystem-op-expected.txt: Removed.
* fast/filesystem/cross-filesystem-op.html: Removed.
* fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
* fast/filesystem/directory-entry-to-uri.html: Removed.
* fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
* fast/filesystem/entry-points-missing-arguments.html: Removed.
* fast/filesystem/file-after-reload-crash-expected.txt: Removed.
* fast/filesystem/file-after-reload-crash.html: Removed.
* fast/filesystem/file-entry-to-uri-expected.txt: Removed.
* fast/filesystem/file-entry-to-uri.html: Removed.
* fast/filesystem/file-from-file-entry-expected.txt: Removed.
* fast/filesystem/file-from-file-entry.html: Removed.
* fast/filesystem/file-metadata-after-write-expected.txt: Removed.
* fast/filesystem/file-metadata-after-write.html: Removed.
* fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
* fast/filesystem/file-writer-abort-continue.html: Removed.
* fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
* fast/filesystem/file-writer-abort-depth.html: Removed.
* fast/filesystem/file-writer-abort-expected.txt: Removed.
* fast/filesystem/file-writer-abort.html: Removed.
* fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
* fast/filesystem/file-writer-empty-blob.html: Removed.
* fast/filesystem/file-writer-events-expected.txt: Removed.
* fast/filesystem/file-writer-events.html: Removed.
* fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
* fast/filesystem/file-writer-gc-blob.html: Removed.
* fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
* fast/filesystem/file-writer-truncate-extend.html: Removed.
* fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
* fast/filesystem/file-writer-write-overlapped.html: Removed.
* fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
* fast/filesystem/filesystem-missing-arguments.html: Removed.
* fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
* fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
* fast/filesystem/filesystem-reference-expected.txt: Removed.
* fast/filesystem/filesystem-reference.html: Removed.
* fast/filesystem/filesystem-unserializable-expected.txt: Removed.
* fast/filesystem/filesystem-unserializable.html: Removed.
* fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
* fast/filesystem/filesystem-uri-origin.html: Removed.
* fast/filesystem/flags-passing-expected.txt: Removed.
* fast/filesystem/flags-passing.html: Removed.
* fast/filesystem/input-access-entries-expected.txt: Removed.
* fast/filesystem/input-access-entries.html: Removed.
* fast/filesystem/not-enough-arguments-expected.txt: Removed.
* fast/filesystem/not-enough-arguments.html: Removed.
* fast/filesystem/op-copy-expected.txt: Removed.
* fast/filesystem/op-copy.html: Removed.
* fast/filesystem/op-get-entry-expected.txt: Removed.
* fast/filesystem/op-get-entry.html: Removed.
* fast/filesystem/op-get-metadata-expected.txt: Removed.
* fast/filesystem/op-get-metadata.html: Removed.
* fast/filesystem/op-get-parent-expected.txt: Removed.
* fast/filesystem/op-get-parent.html: Removed.
* fast/filesystem/op-move-expected.txt: Removed.
* fast/filesystem/op-move.html: Removed.
* fast/filesystem/op-read-directory-expected.txt: Removed.
* fast/filesystem/op-read-directory.html: Removed.
* fast/filesystem/op-remove-expected.txt: Removed.
* fast/filesystem/op-remove.html: Removed.
* fast/filesystem/op-restricted-chars-expected.txt: Removed.
* fast/filesystem/op-restricted-chars.html: Removed.
* fast/filesystem/op-restricted-names-expected.txt: Removed.
* fast/filesystem/op-restricted-names.html: Removed.
* fast/filesystem/op-restricted-unicode-expected.txt: Removed.
* fast/filesystem/op-restricted-unicode.html: Removed.
* fast/filesystem/read-directory-expected.txt: Removed.
* fast/filesystem/read-directory.html: Removed.
* fast/filesystem/resources: Removed.
* fast/filesystem/resources/async-operations.js: Removed.
* fast/filesystem/resources/directory-entry-to-uri.js: Removed.
* fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
* fast/filesystem/resources/file-entry-to-uri.js: Removed.
* fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
* fast/filesystem/resources/file-from-file-entry.js: Removed.
* fast/filesystem/resources/file-writer-abort-continue.js: Removed.
* fast/filesystem/resources/file-writer-abort-depth.js: Removed.
* fast/filesystem/resources/file-writer-abort.js: Removed.
* fast/filesystem/resources/file-writer-empty-blob.js: Removed.
* fast/filesystem/resources/file-writer-events.js: Removed.
* fast/filesystem/resources/file-writer-gc-blob.js: Removed.
* fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
* fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
* fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
* fast/filesystem/resources/file-writer-utils.js: Removed.
* fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
* fast/filesystem/resources/fs-test-util.js: Removed.
* fast/filesystem/resources/fs-worker-common.js: Removed.
* fast/filesystem/resources/op-copy.js: Removed.
* fast/filesystem/resources/op-get-entry.js: Removed.
* fast/filesystem/resources/op-get-metadata.js: Removed.
* fast/filesystem/resources/op-get-parent.js: Removed.
* fast/filesystem/resources/op-move.js: Removed.
* fast/filesystem/resources/op-read-directory.js: Removed.
* fast/filesystem/resources/op-remove.js: Removed.
* fast/filesystem/resources/op-restricted-chars.js: Removed.
* fast/filesystem/resources/op-restricted-names.js: Removed.
* fast/filesystem/resources/op-restricted-unicode.js: Removed.
* fast/filesystem/resources/op-tests-helper.js: Removed.
* fast/filesystem/resources/shared-worker-stub.js: Removed.
* fast/filesystem/resources/simple-persistent-sync.js: Removed.
* fast/filesystem/resources/simple-persistent.js: Removed.
* fast/filesystem/resources/simple-readonly.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
* fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
* fast/filesystem/resources/simple-temporary-sync.js: Removed.
* fast/filesystem/resources/simple-temporary.js: Removed.
* fast/filesystem/resources/sync-operations.js: Removed.
* fast/filesystem/script-tests: Removed.
* fast/filesystem/script-tests/TEMPLATE.html: Removed.
* fast/filesystem/script-tests/filesystem-reference.js: Removed.
* fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
* fast/filesystem/script-tests/flags-passing.js: Removed.
* fast/filesystem/script-tests/read-directory.js: Removed.
* fast/filesystem/simple-persistent-expected.txt: Removed.
* fast/filesystem/simple-persistent.html: Removed.
* fast/filesystem/simple-readonly-expected.txt: Removed.
* fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
* fast/filesystem/simple-readonly-file-object.html: Removed.
* fast/filesystem/simple-readonly.html: Removed.
* fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
* fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getfile.html: Removed.
* fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
* fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-remove.html: Removed.
* fast/filesystem/simple-temporary-expected.txt: Removed.
* fast/filesystem/simple-temporary.html: Removed.
* fast/filesystem/workers: Removed.
* fast/filesystem/workers/async-operations-expected.txt: Removed.
* fast/filesystem/workers/async-operations.html: Removed.
* fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
* fast/filesystem/workers/detached-frame-crash.html: Removed.
* fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
* fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
* fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
* fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
* fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
* fast/filesystem/workers/file-from-file-entry.html: Removed.
* fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
* fast/filesystem/workers/file-writer-empty-blob.html: Removed.
* fast/filesystem/workers/file-writer-events-expected.txt: Removed.
* fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
* fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
* fast/filesystem/workers/file-writer-events.html: Removed.
* fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
* fast/filesystem/workers/file-writer-gc-blob.html: Removed.
* fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
* fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
* fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
* fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
* fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
* fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
* fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
* fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
* fast/filesystem/workers/resources: Removed.
* fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
* fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
* fast/filesystem/workers/simple-persistent-expected.txt: Removed.
* fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
* fast/filesystem/workers/simple-persistent-sync.html: Removed.
* fast/filesystem/workers/simple-persistent.html: Removed.
* fast/filesystem/workers/simple-temporary-expected.txt: Removed.
* fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
* fast/filesystem/workers/simple-temporary-sync.html: Removed.
* fast/filesystem/workers/simple-temporary.html: Removed.
* fast/filesystem/workers/sync-operations-expected.txt: Removed.
* fast/filesystem/workers/sync-operations.html: Removed.
* fast/forms/file/input-file-entries-expected.txt: Removed.
* fast/forms/file/input-file-entries.html: Removed.
* http/tests/filesystem: Removed.
* http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
* http/tests/filesystem/no-cache-filesystem-url.html: Removed.
* http/tests/filesystem/resolve-uri-expected.txt: Removed.
* http/tests/filesystem/resolve-uri.html: Removed.
* http/tests/filesystem/resources: Removed.
* http/tests/filesystem/resources/fs-test-util.js: Removed.
* http/tests/filesystem/resources/fs-worker-common.js: Removed.
* http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
* http/tests/filesystem/script-tests: Removed.
* http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
* http/tests/filesystem/script-tests/resolve-uri.js: Removed.
* http/tests/filesystem/workers: Removed.
* http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
* http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
* http/tests/filesystem/workers/resolve-url-sync.html: Removed.
* http/tests/filesystem/workers/resolve-url.html: Removed.
* http/tests/filesystem/workers/script-tests: Removed.
* http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
* http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
* http/tests/inspector/filesystem: Removed.
* http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
* http/tests/inspector/filesystem/delete-entry.html: Removed.
* http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
* http/tests/inspector/filesystem/directory-tree.html: Removed.
* http/tests/inspector/filesystem/filesystem-test.js: Removed.
* http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
* http/tests/inspector/filesystem/request-directory-content.html: Removed.
* http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
* http/tests/inspector/filesystem/request-file-content.html: Removed.
* http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
* http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
* http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
* http/tests/inspector/filesystem/request-metadata.html: Removed.
* http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
* http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
* http/tests/security/filesystem-iframe-from-remote.html: Removed.
* http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
* http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
* http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
* http/tests/workers/resources/sync-operations.js:
(onmessage):
* http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
* http/tests/workers/terminate-during-sync-operation.html: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

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

7 years ago[Windows] Build fix afer r156688.
bfulgham@apple.com [Tue, 1 Oct 2013 01:47:42 +0000 (01:47 +0000)]
[Windows] Build fix afer r156688.

* fileapi/ThreadableBlobRegistry.cpp:
(WebCore::ThreadableBlobRegistry::registerBlobURL): Switch to std::unique_ptr in
method implementation.

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

7 years agoFix build.
andersca@apple.com [Tue, 1 Oct 2013 01:37:33 +0000 (01:37 +0000)]
Fix build.

* NetworkProcess/mac/RemoteNetworkingContext.mm:

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

7 years agoMore build fixage for builds with SDKs.
mrowe@apple.com [Tue, 1 Oct 2013 01:24:00 +0000 (01:24 +0000)]
More build fixage for builds with SDKs.

* WebKitTestRunner/Configurations/Base.xcconfig:
* WebKitTestRunner/Configurations/BaseTarget.xcconfig:

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

7 years agoGet rid of more uses of OwnPtr and PassOwnPtr
andersca@apple.com [Tue, 1 Oct 2013 00:59:12 +0000 (00:59 +0000)]
Get rid of more uses of OwnPtr and PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=122136

Reviewed by Antti Koivisto.

Source/WebCore:

* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::didReceiveBinaryData):
* WebCore.exp.in:
* fileapi/Blob.cpp:
(WebCore::Blob::Blob):
(WebCore::Blob::slice):
* fileapi/Blob.h:
(WebCore::Blob::create):
* fileapi/File.cpp:
(WebCore::createBlobDataForFileWithType):
(WebCore::createBlobDataForFile):
(WebCore::createBlobDataForFileWithName):
* fileapi/ThreadableBlobRegistry.cpp:
(WebCore::BlobRegistryContext::BlobRegistryContext):
(WebCore::registerBlobURLTask):
(WebCore::ThreadableBlobRegistry::registerBlobURL):
* fileapi/ThreadableBlobRegistry.h:
* fileapi/WebKitBlobBuilder.cpp:
(WebCore::BlobBuilder::getBlob):
* platform/network/BlobData.cpp:
(WebCore::BlobDataHandle::BlobDataHandle):
* platform/network/BlobData.h:
(WebCore::BlobData::BlobData):
(WebCore::BlobDataHandle::create):
* platform/network/BlobRegistry.h:
* platform/network/BlobRegistryImpl.cpp:
(WebCore::BlobRegistryImpl::registerBlobURL):
* platform/network/BlobRegistryImpl.h:
* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::responseBlob):

Source/WebKit2:

* NetworkProcess/AsynchronousNetworkLoaderClient.h:
* NetworkProcess/FileAPI/NetworkBlobRegistry.cpp:
(WebKit::NetworkBlobRegistry::registerBlobURL):
* NetworkProcess/FileAPI/NetworkBlobRegistry.h:
* NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::NetworkResourceLoader):
* NetworkProcess/NetworkResourceLoader.h:
* NetworkProcess/SynchronousNetworkLoaderClient.h:
* NetworkProcess/mac/RemoteNetworkingContext.mm:
* Platform/CoreIPC/ArgumentDecoder.h:
* Platform/CoreIPC/ArgumentEncoder.h:
* Platform/CoreIPC/MessageDecoder.cpp:
(CoreIPC::MessageDecoder::setImportanceAssertion):
* Platform/CoreIPC/MessageDecoder.h:
* Platform/CoreIPC/mac/ConnectionMac.cpp:
(CoreIPC::Connection::receiveSourceEventHandler):
* Platform/CoreIPC/mac/ImportanceAssertion.h:
(CoreIPC::ImportanceAssertion::ImportanceAssertion):
* Platform/mac/LayerHostingContext.h:
* Platform/mac/LayerHostingContext.mm:
(WebKit::LayerHostingContext::createForPort):
(WebKit::LayerHostingContext::createForWindowServer):
* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::paint):
* PluginProcess/PluginControllerProxy.h:
* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::addPluginControllerProxy):
(WebKit::WebProcessConnection::removePluginControllerProxy):
(WebKit::WebProcessConnection::createPluginInternal):
* PluginProcess/WebProcessConnection.h:
* Shared/API/c/cg/WKImageCG.cpp:
(WKImageCreateFromCGImage):
* Shared/BlockingResponseMap.h:
(BlockingResponseMap::waitForResponse):
(BlockingResponseMap::didReceiveResponse):
* Shared/Downloads/Download.cpp:
* Shared/Downloads/Download.h:
* Shared/Downloads/DownloadManager.cpp:
(WebKit::DownloadManager::startDownload):
(WebKit::DownloadManager::convertHandleToDownload):
* Shared/FileAPI/BlobRegistrationData.cpp:
(WebKit::BlobRegistrationData::BlobRegistrationData):
(WebKit::BlobRegistrationData::releaseData):
(WebKit::BlobRegistrationData::decode):
* Shared/FileAPI/BlobRegistrationData.h:
* Shared/Plugins/NPObjectMessageReceiver.cpp:
* Shared/Plugins/NPObjectMessageReceiver.h:
* Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::registerNPObject):
* Shared/Plugins/Netscape/NetscapePluginModule.cpp:
(WebKit::NetscapePluginModule::tryLoad):
* Shared/Plugins/Netscape/NetscapePluginModule.h:
* Shared/ShareableBitmap.h:
* Shared/WebURL.h:
(WebKit::WebURL::create):
(WebKit::WebURL::WebURL):
(WebKit::WebURL::parseURLIfNecessary):
* Shared/cg/ShareableBitmapCG.cpp:
(WebKit::ShareableBitmap::createGraphicsContext):
(WebKit::ShareableBitmap::makeCGImageCopy):
* Shared/mac/SecItemShim.cpp:
(WebKit::sendSecItemRequest):
(WebKit::webSecItemCopyMatching):
(WebKit::webSecItemAdd):
(WebKit::webSecItemUpdate):
(WebKit::webSecItemDelete):
(WebKit::SecItemShim::secItemResponse):
* UIProcess/API/mac/FindIndicatorWindow.h:
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::createDrawingAreaProxy):
* UIProcess/API/mac/WKView.mm:
(-[WKView std::WebKit::]):
(-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
* UIProcess/API/mac/WKViewInternal.h:
* UIProcess/BackingStore.cpp:
* UIProcess/BackingStore.h:
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::incorporateUpdate):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.mm:
* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.h:
* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.h:
* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
* UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h:
* WebProcess/FileAPI/BlobRegistryProxy.cpp:
(WebKit::BlobRegistryProxy::registerBlobURL):
* WebProcess/FileAPI/BlobRegistryProxy.h:
* WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
* WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
(WKBundlePageBannerCreateBannerWithCALayer):
* WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::imageForRect):
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::scheduleTimer):
(WebKit::NetscapePlugin::unscheduleTimer):
(WebKit::NetscapePlugin::snapshot):
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
* WebProcess/Plugins/PDF/PDFPlugin.mm:
(WebKit::PDFPlugin::snapshot):
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::update):
* WebProcess/WebCoreSupport/mac/WebDragClientMac.mm:
(WebKit::convertImageToBitmap):
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::display):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::getFindIndicatorBitmapAndRect):
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::createWithCoreMainFrame):
(WebKit::WebFrame::createSubframe):
(WebKit::WebFrame::create):
(WebKit::WebFrame::WebFrame):
* WebProcess/WebPage/WebFrame.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::scaledSnapshotWithOptions):
(WebKit::WebPage::drawRectToImage):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/mac/LayerTreeHostMac.h:
* WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
* WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea):
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

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

7 years agoMessage sending functions should only accept rvalues
andersca@apple.com [Tue, 1 Oct 2013 00:48:34 +0000 (00:48 +0000)]
Message sending functions should only accept rvalues
https://bugs.webkit.org/show_bug.cgi?id=122041

Reviewed by Andreas Kling.

In order to safely encode move-only types, make all send variants accept rvalues only, except
for the "send to all processes" ones. For them, copy the message before sending. This ensures that trying
to send a move-only type in a message will fail to compile.

* NetworkProcess/NetworkResourceLoader.h:
(WebKit::NetworkResourceLoader::sendAbortingOnFailure):
* Platform/CoreIPC/Connection.h:
(CoreIPC::Connection::send):
(CoreIPC::Connection::sendSync):
* Platform/CoreIPC/MessageSender.h:
(CoreIPC::MessageSender::sendSync):
* Shared/ChildProcessProxy.h:
(WebKit::ChildProcessProxy::send):
(WebKit::ChildProcessProxy::sendSync):
* UIProcess/WebContext.h:
(WebKit::WebContext::sendToNetworkingProcess):
(WebKit::WebContext::sendToNetworkingProcessRelaunchingIfNecessary):
(WebKit::WebContext::sendToAllProcesses):
(WebKit::WebContext::sendToAllProcessesRelaunchingThemIfNecessary):
(WebKit::WebContext::sendToOneProcess):
* UIProcess/WebPageGroup.h:
(WebKit::WebPageGroup::sendToAllProcessesInGroup):

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

7 years agoAdd initial version of a new Buildbot dashboard view.
timothy@apple.com [Mon, 30 Sep 2013 23:13:55 +0000 (23:13 +0000)]
Add initial version of a new Buildbot dashboard view.

https://bugs.webkit.org/show_bug.cgi?id=122131

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/PlatformRing.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/PlatformRing@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows7.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows7@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows8.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows8@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WindowsXP.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WindowsXP@2x.png: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BaseObject.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/StatusLineView.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotBuilderQueueView.css: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotQueueView.css: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotTesterQueueView.css: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html: Added.

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

7 years ago<rdar://problem/15114974> Assertion failure under -[JSObjCClassInfo allocateConstruct...
mitz@apple.com [Mon, 30 Sep 2013 22:52:39 +0000 (22:52 +0000)]
<rdar://problem/15114974> Assertion failure under -[JSObjCClassInfo allocateConstructorAndPrototypeWithSuperClassInfo:] if no classes conform to JSExport
https://bugs.webkit.org/show_bug.cgi?id=122124

Reviewed by Darin Adler.

* API/JSWrapperMap.mm: Defined an empty class that conforms to the JSExport protocol, to
ensure that the protocol is always registered with the runtime by the time
getJSExportProtocol() is called.

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

7 years agoRemove the code guarded by STYLE_SCOPED
benjamin@webkit.org [Mon, 30 Sep 2013 22:43:47 +0000 (22:43 +0000)]
Remove the code guarded by STYLE_SCOPED
https://bugs.webkit.org/show_bug.cgi?id=122123

Reviewed by Anders Carlsson.

.:

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

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Start cleaning the code related to <style scoped>. This patch
only removes the code with #ifdef guards.

* Configurations/FeatureDefines.xcconfig:
* WebCore.exp.in:
* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
* bindings/generic/RuntimeEnabledFeatures.h:
* css/DocumentRuleSets.cpp:
(WebCore::DocumentRuleSets::appendAuthorStyleSheets):
* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::matchScopedAuthorRules):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::locateCousinList):
(WebCore::StyleResolver::canShareStyleWithElement):
(WebCore::StyleResolver::locateSharedStyle):
* css/StyleResolver.h:
(WebCore::StyleResolver::ensureScopeResolver):
* css/StyleScopeResolver.cpp:
* css/StyleScopeResolver.h:
* dom/Node.cpp:
* dom/Node.h:
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::ShadowRoot):
* dom/ShadowRoot.h:
* html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::HTMLStyleElement):
(WebCore::HTMLStyleElement::parseAttribute):
(WebCore::HTMLStyleElement::insertedInto):
(WebCore::HTMLStyleElement::removedFrom):
* html/HTMLStyleElement.h:
* html/HTMLStyleElement.idl:
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
* testing/InternalSettings.h:
* testing/InternalSettings.idl:
* testing/Internals.cpp:
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit:

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

Source/WebKit/gtk:

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
* WebCoreSupport/DumpRenderTreeSupportGtk.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
* Scripts/webkitperl/FeatureList.pm:
* qmake/mkspecs/features/features.pri:

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

7 years agoASSERT(!m_hasBadParent) in InlineBox::parent() should be ASSERT_WITH_SECURITY_IMPLICATION
commit-queue@webkit.org [Mon, 30 Sep 2013 21:56:02 +0000 (21:56 +0000)]
ASSERT(!m_hasBadParent) in InlineBox::parent() should be ASSERT_WITH_SECURITY_IMPLICATION
https://bugs.webkit.org/show_bug.cgi?id=122032

Patch by Drew Yao <ayao@apple.com> on 2013-09-30
Reviewed by Andreas Kling.

Convert assertion to ASSERT_WITH_SECURITY_IMPLICATION to help catch use after free bugs.

No new tests needed.

* rendering/InlineBox.h:
(WebCore::InlineBox::parent):

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

7 years agoDon't attempt to destroy decoded frame if a BitmapImage doesn't have encoded raw...
commit-queue@webkit.org [Mon, 30 Sep 2013 21:54:17 +0000 (21:54 +0000)]
Don't attempt to destroy decoded frame if a BitmapImage doesn't have encoded raw data.
https://bugs.webkit.org/show_bug.cgi?id=122115

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-09-30
Reviewed by Daniel Bates.

With BitmapImage::create(PassNativeImagePtr, ImageObserver*), a BitmapImage could be created by
passing a native image.  If this image is added to memory cache, we shouldn't attempt to destroy
its decoded frames since there is no encoded raw data and we won't be able to reconstruct the image again.

No new tests for now. Currently there isn't a code path to add to the memory cache a BitmapImage
that was created by adopting a native image. We'll add such a code path in a subsequent patch.

* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::destroyDecodedDataIfNecessary):

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

7 years agoPass VM instead of ExecState to ObjectPrototype constructor.
akling@apple.com [Mon, 30 Sep 2013 21:42:05 +0000 (21:42 +0000)]
Pass VM instead of ExecState to ObjectPrototype constructor.
<https://webkit.org/b/122116>

Reviewed by Geoffrey Garen.

The ObjectPrototype constructor was only using the ExecState to get
to the VM.

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

7 years agoPass VM instead of JSGlobalObject to MathObject constructor.
akling@apple.com [Mon, 30 Sep 2013 21:41:04 +0000 (21:41 +0000)]
Pass VM instead of JSGlobalObject to MathObject constructor.
<https://webkit.org/b/122119>

Reviewed by Geoffrey Garen.

The MathObject constructor was only using the global object to get
to the VM. finishCreation() still uses it to set up functions.

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

7 years agoRemove timeout from shouldBecome* functions in js-test-pre
ap@apple.com [Mon, 30 Sep 2013 20:47:43 +0000 (20:47 +0000)]
Remove timeout from shouldBecome* functions in js-test-pre
https://bugs.webkit.org/show_bug.cgi?id=122121

Reviewed by Ryosuke Niwa.

Removed timeout. A 0.5 sec timeout never makes sense, and if something is stuck,
a test should just time out normally.

* resources/js-test-pre.js:
(_waitForCondition):
(shouldBecomeEqual):
(shouldBecomeEqualToString):
(shouldBecomeDifferent):

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

7 years agoGet rid of the AlreadyInJSStack recoveries since they are totally redundant with...
fpizlo@apple.com [Mon, 30 Sep 2013 20:38:46 +0000 (20:38 +0000)]
Get rid of the AlreadyInJSStack recoveries since they are totally redundant with the DisplacedInJSStack recoveries
https://bugs.webkit.org/show_bug.cgi?id=122065

Reviewed by Mark Hahnenberg.

This mostly just kills a bunch of code.

But incidentaly while killing that code, I uncovered a bug in our FTL OSR entrypoint
creation phase. The phase inserts a sequence of SetLocal(ExtractOSREntryLocal) nodes.
If we hoist some type check into the local, then we might inject a conversion node
between the ExtractOSREntryLocal and the SetLocal - for example we might put in a
Int32ToDouble node. But currently the FixupPhase will make all conversion nodes placed
on an edge of a SetLocal use forward exit. This then confuses the OSR exit machinery.
When OSR exit sees a forward exit, it tries to "roll forward" execution from the exiting
node to the first node that has a different CodeOrigin. This only works if the nodes
after the forward exit are MovHints or other tnings that the OSR exit compiler can
forward-execute. But here, it will see a bunch of SetLocal and ExtractOSREntryLocal
nodes for the same bytecode index. Two possible solutions exist. We could teach the
forward-execution logic how to deal with multiple SetLocals and ExtractOSREntryLocals.
This would be a lot of complexity; right now it just needs to deal with exactly one
SetLocal-like operation. The alternative is to make sure that the conversion node that
we inject ends up exiting *backward* rather than forward.

But making the conversion nodes exit backward is somewhat tricky. Before this patch,
conversion nodes always exit forward for SetLocals and backwards otherwise. It turns out
that the solution is to rationalize how we choose the speculation direciton for a
conversion node. The conversion node's speculation direction should be the same as the
speculation direction of the node for which it is doing a conversion. Since SetLocal's
already exit forward by default, this policy preserves our previous behavior. But it
also allows the OSR entrypoint creation phase to make its SetLocals exit backward
instead.

Of course, if the SetLocal(ExtractOSREntryLocal) sequences exit backward, then we need
to make sure that the OSR exit machine knows that the local variables are indeed live.
Consider that if we have:

    a: ExtractOSREntryLocal(loc1)
    b: SetLocal(@a, loc1)
    c: ExtractOSRentryLocal(loc2)
    d: SetLocal(@c, loc2)

Without additional magic, the exit at @b will think that loc2 is dead and the OSR exit
compiler will clobber loc2 with Undefined. So we need to make sure that we actually
emit code like:

    a: ExtractOSREntryLocal(loc1)
    b: ExtractOSREntryLocal(loc2)
    c: SetLocal(@a, loc1)
    d: SetLocal(@b, loc2)
    e: SetLocal(@a, loc1)
    f: SetLocal(@b, loc2)

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* bytecode/CodeOrigin.h:
* bytecode/ValueRecovery.cpp: Added.
(JSC::ValueRecovery::recover):
(JSC::ValueRecovery::dumpInContext):
(JSC::ValueRecovery::dump):
* bytecode/ValueRecovery.h:
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
(JSC::DFG::FixupPhase::fixEdge):
* dfg/DFGJITCode.cpp:
(JSC::DFG::JITCode::reconstruct):
* dfg/DFGNode.h:
(JSC::DFG::Node::speculationDirection):
(JSC::DFG::Node::setSpeculationDirection):
* dfg/DFGOSREntrypointCreationPhase.cpp:
(JSC::DFG::OSREntrypointCreationPhase::run):
* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
* dfg/DFGValueSource.h:
(JSC::DFG::ValueSource::valueRecovery):
* dfg/DFGVariableEventStream.cpp:
(JSC::DFG::VariableEventStream::reconstruct):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::speculate):
(JSC::FTL::LowerDFGToLLVM::speculateMachineInt):
* interpreter/Register.h:
(JSC::Register::unboxedStrictInt52):
* runtime/Arguments.cpp:
(JSC::Arguments::tearOff):
* runtime/Arguments.h:

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

7 years agoRemove IDBTracing.h.
beidson@apple.com [Mon, 30 Sep 2013 20:32:21 +0000 (20:32 +0000)]
Remove IDBTracing.h.
https://bugs.webkit.org/show_bug.cgi?id=122118

Reviewed by Alexey Proskuryakov.

Global replace of "IDB_TRACE" with "LOG(StorageAPI)", and remove all notions of this header.

* GNUmakefile.list.am:

* Modules/indexeddb/IDBCursor.cpp:
* Modules/indexeddb/IDBDatabase.cpp:
* Modules/indexeddb/IDBDatabaseBackendInterface.h:
* Modules/indexeddb/IDBFactory.cpp:
* Modules/indexeddb/IDBIndex.cpp:
* Modules/indexeddb/IDBObjectStore.cpp:
* Modules/indexeddb/IDBOpenDBRequest.cpp:
* Modules/indexeddb/IDBRequest.cpp:
* Modules/indexeddb/IDBTracing.h: Removed.
* Modules/indexeddb/IDBTransaction.cpp:
* Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/IDBBindingUtilities.cpp:

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

7 years agoWeb Inspector: rows in the Layer sidebar panel may have the incorrect background...
graouts@apple.com [Mon, 30 Sep 2013 20:10:14 +0000 (20:10 +0000)]
Web Inspector: rows in the Layer sidebar panel may have the incorrect background color
https://bugs.webkit.org/show_bug.cgi?id=122108

Reviewed by Darin Adler.

The LayerTreeDataGrid is a custom DataGrid subclass which exposes a .setChildren() method
used to sort chidren without DOM order manipulation, for performance reason. However, since
the way the alternating background color is usually implemented is based on the built-in
CSS pseudo-classes working with DOM order, the background colors of nodes in the LayerTreeDataGrid
can be incorrect depending on the sort order and the number of nodes. To fix this, we now manually
set "even" and "odd" CSS classes on those nodes when they're sorted such that we have a chance
to style them as intended.

* UserInterface/LayerTreeDataGrid.js:
(WebInspector.LayerTreeDataGrid.prototype._updateChildren):
Check if the data grid node index is even or odd and reflect this via an exclusive "even"
or "odd" CSS class name.

* UserInterface/LayerTreeSidebarPanel.css:
(.layer-tree.panel .data-container tbody > tr.even):
(.layer-tree.panel .data-container tbody > tr.odd):
Apply alternating colors based on the exclusive "even" and "odd" CSS class names as applied in
WebInspector.LayerTreeDataGrid.prototype._updateChildren().

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

7 years ago[Windows] Unreviewed build fix for Win64.
alex.christensen@flexsim.com [Mon, 30 Sep 2013 20:07:35 +0000 (20:07 +0000)]
[Windows] Unreviewed build fix for Win64.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
Added correct 64-bit BitmapImage::create symbol.

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

7 years agoWeb Inspector: Popover displaying "reasons for compositing" may remain on screen...
graouts@apple.com [Mon, 30 Sep 2013 20:07:10 +0000 (20:07 +0000)]
Web Inspector: Popover displaying "reasons for compositing" may remain on screen after selected layer is removed
https://bugs.webkit.org/show_bug.cgi?id=117575

Ensure the popover attached to the selected data grid node is updated when the
content or sort order of the Layer sidebar panel is updated.

Reviewed by Darin Adler.

* UserInterface/LayerTreeSidebarPanel.js:
(WebInspector.LayerTreeSidebarPanel.prototype._sortDataGrid):

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