WebKit-https.git
8 years ago[EFL] Unreviewed. Add some pixel baselines for tests in fast/.
leandro@webkit.org [Tue, 1 Nov 2011 15:56:11 +0000 (15:56 +0000)]
[EFL] Unreviewed. Add some pixel baselines for tests in fast/.

* platform/efl/fast/html: [...]
* platform/efl/fast/images: [...]
* platform/efl/fast/inline-block: [...]
* platform/efl/fast/inline: [...]
* platform/efl/fast/innerHTML: [...]
* platform/efl/fast/inspector-support: [...]
* platform/efl/fast/invalid: [...]
* platform/efl/fast/layers: [...]
* platform/efl/fast/lists: [...]
* platform/efl/fast/loader: [...]

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

8 years agoCSSStyleSheet: Operate directly on the rule vector internally.
andreas.kling@nokia.com [Tue, 1 Nov 2011 15:47:51 +0000 (15:47 +0000)]
CSSStyleSheet: Operate directly on the rule vector internally.

Rubber-stamped by Antti Koivisto.

There's no need to go through the public, range-checking item() method
working on m_children. Also changed length() -> m_children.size().

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::~CSSStyleSheet):
(WebCore::CSSStyleSheet::insertRule):
(WebCore::CSSStyleSheet::addRule):
(WebCore::CSSStyleSheet::deleteRule):
(WebCore::CSSStyleSheet::isLoading):
(WebCore::CSSStyleSheet::addSubresourceStyleURLs):

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

8 years agoUnreviewed. Fixed conflicting entries in test expectations.
caseq@chromium.org [Tue, 1 Nov 2011 15:44:03 +0000 (15:44 +0000)]
Unreviewed. Fixed conflicting entries in test expectations.

* platform/chromium/test_expectations.txt:

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

8 years agoThe QtViewportInteractionEngine should consider DPI adjustment
kenneth@webkit.org [Tue, 1 Nov 2011 15:40:36 +0000 (15:40 +0000)]
The QtViewportInteractionEngine should consider DPI adjustment
https://bugs.webkit.org/show_bug.cgi?id=71283

Reviewed by Simon Hausmann.

* UIProcess/API/qt/qtouchwebview.cpp:

    Add some default values for now to make sure we are testing the
    DPI adjustment / CSS-item space conversion.

(QTouchWebViewPrivate::updateViewportConstraints):
* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::ViewportUpdateGuard::ViewportUpdateGuard):
(WebKit::ViewportUpdateGuard::~ViewportUpdateGuard):

    Clean up the guard to be more understandable.

(WebKit::QtViewportInteractionEngine::cssScaleFromItem):
(WebKit::QtViewportInteractionEngine::itemScaleFromCSS):

    Add methods for converting between CSS and item space.

(WebKit::QtViewportInteractionEngine::innerBoundedCSSScale):
(WebKit::QtViewportInteractionEngine::outerBoundedCSSScale):

    Make it clean which methods uses which coord space.

(WebKit::QtViewportInteractionEngine::updateVisibleRect):
(WebKit::QtViewportInteractionEngine::event):
(WebKit::QtViewportInteractionEngine::computePosRangeForItemScale):

    Rename calculateBoundariesForScale and change its implementation to
    be correct. The new name reflects the space in which the computation
    takes place and reflects similar Qt API.

(WebKit::QtViewportInteractionEngine::animateContentIntoBoundariesIfNeeded):
(WebKit::QtViewportInteractionEngine::pinchGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::scaleContent):

    Make sure to consider the right coord space.

* UIProcess/qt/QtViewportInteractionEngine.h:
(WebKit::QtViewportInteractionEngine::Constraints::Constraints):

    Add the devicePixelRatio.

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

8 years agoUnreviewed. Marked inspector extensions tests as crash on win debug.
caseq@chromium.org [Tue, 1 Nov 2011 15:32:04 +0000 (15:32 +0000)]
Unreviewed. Marked inspector extensions tests as crash on win debug.

* platform/chromium/test_expectations.txt:

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

8 years agoCSSRule: Devirtualize addSubresourceStyleURLs()
andreas.kling@nokia.com [Tue, 1 Nov 2011 15:23:24 +0000 (15:23 +0000)]
CSSRule: Devirtualize addSubresourceStyleURLs()
https://bugs.webkit.org/show_bug.cgi?id=71285

Reviewed by Antti Koivisto.

Move addSubresourceStyleURLs() into the rules that actually implement it.
Add type checks and casts at the (only) call site.

* css/CSSFontFaceRule.h:
* css/CSSImportRule.h:
* css/CSSRule.h:
* css/CSSStyleRule.h:
* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::addSubresourceStyleURLs):

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

8 years agoAX: some popup buttons not announced by VoiceOver
cfleizach@apple.com [Tue, 1 Nov 2011 15:19:20 +0000 (15:19 +0000)]
AX: some popup buttons not announced by VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=67743

Reviewed by Darin Adler.

Source/WebCore:

Test: platform/mac/accessibility/aria-popup-buttons-on-native-elements.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::stringValue):
(WebCore::AccessibilityRenderObject::title):
(WebCore::AccessibilityRenderObject::determineAccessibilityRole):

LayoutTests:

* platform/mac/accessibility/aria-popup-buttons-on-native-elements-expected.txt: Added.
* platform/mac/accessibility/aria-popup-buttons-on-native-elements.html: Added.

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

8 years agoUnreviewed expectations update.
caseq@chromium.org [Tue, 1 Nov 2011 15:16:14 +0000 (15:16 +0000)]
Unreviewed expectations update.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed expectations update.
caseq@chromium.org [Tue, 1 Nov 2011 15:02:11 +0000 (15:02 +0000)]
Unreviewed expectations update.

* platform/chromium/test_expectations.txt:

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

8 years agoProspective clang build fix.
hausmann@webkit.org [Tue, 1 Nov 2011 14:41:30 +0000 (14:41 +0000)]
Prospective clang build fix.

Reviewed by Andreas Kling.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveEvent): Handle GestureSingleTap in the event type switch.

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

8 years ago2011-11-01 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 1 Nov 2011 13:58:05 +0000 (13:58 +0000)]
2011-11-01  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix chromium interactive tests.

        * src/js/Tests.js:
        (.TestSuite.prototype.showPanel):

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

8 years ago[Qt] Create infrastructure for Qt's builtin bundle in web process.
caio.oliveira@openbossa.org [Tue, 1 Nov 2011 13:34:34 +0000 (13:34 +0000)]
[Qt] Create infrastructure for Qt's builtin bundle in web process.
https://bugs.webkit.org/show_bug.cgi?id=71279

Reviewed by Simon Hausmann.

Create a builtin bundle for Qt port: an InjectedBundle which the code is together
with the Qt's web process instead of being in a different library. This gives us
access to many hooks at web process (using WKBundle* functions of C API) without
adding any maintenance burden to cross-port code.

Since we also use a InjectedBundle in the WebKitTestRunner, we only install our
builtin bundle if there's no other installed. This is fine because WTR won't use
the extra runtime features that we plan to provide with the builtin bundle.

* WebKit2.pro:
* WebProcess/qt/QtBuiltinBundle.cpp: Added.
(WebKit::QtBuiltinBundle::~QtBuiltinBundle):
(WebKit::QtBuiltinBundle::shared):
(WebKit::QtBuiltinBundle::initialize):
(WebKit::QtBuiltinBundle::didCreatePage):
(WebKit::QtBuiltinBundle::willDestroyPage):
(WebKit::QtBuiltinBundle::bundlePageForPageRef):
* WebProcess/qt/QtBuiltinBundle.h: Added.
(WebKit::QtBuiltinBundle::toRef):
Object that holds a WKBundleRef and keeps track of the pages in the current context.

* WebProcess/qt/QtBuiltinBundlePage.cpp: Added.
(WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
(WebKit::QtBuiltinBundlePage::~QtBuiltinBundlePage):
* WebProcess/qt/QtBuiltinBundlePage.h: Added.
(WebKit::QtBuiltinBundlePage::page):
Our representation for pages from the bundle perspective. This will be the right
place to registering page related clients.

* WebProcess/qt/WebProcessQt.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):
If there's no bundle to be loaded, initialize Qt builtin bundle, which will register the
bundle client for this context.

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

8 years agoWeb Inspector: [Styles] Style-based CSS properties are editable and toggleable
apavlov@chromium.org [Tue, 1 Nov 2011 13:32:40 +0000 (13:32 +0000)]
Web Inspector: [Styles] Style-based CSS properties are editable and toggleable
https://bugs.webkit.org/show_bug.cgi?id=71275

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.onpopulate):

LayoutTests:

* inspector/styles/styles-source-lines-expected.txt:
* inspector/styles/styles-update-from-js-expected.txt:

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

8 years agoWeb Inspector: make extension tests pass on chromium
caseq@chromium.org [Tue, 1 Nov 2011 13:09:51 +0000 (13:09 +0000)]
Web Inspector: make extension tests pass on chromium
https://bugs.webkit.org/show_bug.cgi?id=70334

Reviewed by Pavel Feldman.

* http/tests/inspector/extensions-headers.html:
* http/tests/inspector/resources/extension-main.js:
():
* inspector/extensions/extensions-audits.html:
* inspector/extensions/extensions-console.html:
* inspector/extensions/extensions-resources.html:
* platform/chromium/inspector/extensions/extensions-api-expected.txt: Added.
* platform/chromium/inspector/extensions/extensions-eval-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years ago2011-11-01 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 1 Nov 2011 12:59:11 +0000 (12:59 +0000)]
2011-11-01  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix extensions tests.

        * http/tests/inspector/extensions-test.js:
        (initialize_ExtensionsTest.InspectorTest.showPanel):

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

8 years ago2011-11-01 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 1 Nov 2011 12:53:57 +0000 (12:53 +0000)]
2011-11-01  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix inspector extensions tests.

        * inspector/extensions/extensions.html:

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

8 years agoWeb Inspector: do not switch panels on Cmd + -> while in console.
pfeldman@chromium.org [Tue, 1 Nov 2011 12:36:00 +0000 (12:36 +0000)]
Web Inspector: do not switch panels on Cmd + ->  while in console.
https://bugs.webkit.org/show_bug.cgi?id=71281

Reviewed by Yury Semikhatsky.

* inspector/front-end/InspectorView.js:
(WebInspector.InspectorView.prototype._keyDown):

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

8 years agoUnreviewed Qt documentation fix.
alexis.menard@openbossa.org [Tue, 1 Nov 2011 12:34:15 +0000 (12:34 +0000)]
Unreviewed Qt documentation fix.

This signal is Qt 4.8 material.

* Api/qwebpage.cpp:

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

8 years agocheck-webkit-style: Allow names starting with "_q_".
jocelyn.turcotte@nokia.com [Tue, 1 Nov 2011 11:36:17 +0000 (11:36 +0000)]
check-webkit-style: Allow names starting with "_q_".
https://bugs.webkit.org/show_bug.cgi?id=70625

Reviewed by Tor Arne Vestbø.

Used by the Qt port as the standard prefix for private slots.

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

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

8 years agoUnreviewed expectations update.
caseq@chromium.org [Tue, 1 Nov 2011 10:35:36 +0000 (10:35 +0000)]
Unreviewed expectations update.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed expectations update.
caseq@chromium.org [Tue, 1 Nov 2011 10:29:28 +0000 (10:29 +0000)]
Unreviewed expectations update.

* platform/chromium/test_expectations.txt:

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

8 years ago[Qt] bad codegen, pointer diff in JSC::JSCallbackConstructor::JSCallbackConstructor
commit-queue@webkit.org [Tue, 1 Nov 2011 10:17:06 +0000 (10:17 +0000)]
[Qt] bad codegen, pointer diff in JSC::JSCallbackConstructor::JSCallbackConstructor
https://bugs.webkit.org/show_bug.cgi?id=60951

Adjust symbols visibility for WebCore.

Patch by Zeno Albisser <zeno.albisser@nokia.com> on 2011-11-01
Reviewed by Simon Hausmann.

* WebCore.pro:

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

8 years ago2011-11-01 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 1 Nov 2011 10:14:39 +0000 (10:14 +0000)]
2011-11-01  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: add InspectorView.js entry into WebKit.qrc

        * inspector/front-end/WebKit.qrc:

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

8 years agoWeb Inspector: introduce PanelContainer class, start moving panel management from...
pfeldman@chromium.org [Tue, 1 Nov 2011 10:05:24 +0000 (10:05 +0000)]
Web Inspector: introduce PanelContainer class, start moving panel management from inspector.js to the new class.
https://bugs.webkit.org/show_bug.cgi?id=71272

Reviewed by Yury Semikhatsky.

Source/WebCore:

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.sh:
* inspector/front-end/Drawer.js:
(WebInspector.Drawer.prototype.show.animationFinished):
(WebInspector.Drawer.prototype.show):
(WebInspector.Drawer.prototype.hide):
(WebInspector.Drawer.prototype._statusBarDragging):
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.switchToAndFocus):
(WebInspector.ElementsPanel.prototype.revealAndSelectNode):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.setVisible):
* inspector/front-end/InspectorView.js: Added.
(WebInspector.InspectorView):
(WebInspector.InspectorView.prototype.addPanel):
(WebInspector.InspectorView.prototype.currentPanel):
(WebInspector.InspectorView.prototype._keyDown):
(WebInspector.InspectorView.prototype._canGoBackInHistory):
(WebInspector.InspectorView.prototype._goBackInHistory):
(WebInspector.InspectorView.prototype._canGoForwardInHistory):
(WebInspector.InspectorView.prototype._goForwardInHistory):
(WebInspector.InspectorView.prototype._pushToHistory):
* inspector/front-end/KeyboardShortcut.js:
(WebInspector.KeyboardShortcut.eventHasCtrlOrMeta):
* inspector/front-end/Panel.js:
(WebInspector.Panel.prototype.show):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._toggleBreakpointsClicked):
* inspector/front-end/SearchController.js:
(WebInspector.SearchController.prototype.updateSearchMatchesCount):
(WebInspector.SearchController.prototype.updateCurrentMatchIndex):
(WebInspector.SearchController.prototype.updateSearchLabel):
(WebInspector.SearchController.prototype.handleShortcut):
(WebInspector.SearchController.prototype._performSearch):
* inspector/front-end/Toolbar.js:
(WebInspector.Toolbar.createPanelToolbarItem.onToolbarItemClicked):
(WebInspector.Toolbar.createPanelToolbarItem):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/externs.js:
* inspector/front-end/inspector.html:
* inspector/front-end/inspector.js:
(WebInspector._createPanels):
(WebInspector._panelSelected):
(WebInspector.addPanel):
(WebInspector.windowResize):
(WebInspector.documentKeyDown):
(WebInspector.documentCanCopy):
(WebInspector.documentCopy):
(WebInspector.showPanel):
(WebInspector.startUserInitiatedDebugging):
(WebInspector.inspect):
(WebInspector._showAnchorLocationInPanel):
(WebInspector._toolbarItemClicked):
* inspector/front-end/treeoutline.js:
(TreeElement.prototype.select):

LayoutTests:

* http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.expandElementsTree):
* http/tests/inspector/resource-tree/resource-tree-test.js:
(initialize_ResourceTreeTest.InspectorTest.dumpResourcesTree):
* inspector/debugger/debugger-expand-scope.html:
* inspector/debugger/debugger-proto-property.html:
* inspector/debugger/dom-breakpoints.html:
* inspector/elements/elements-img-tooltip.html:
* inspector/elements/elements-panel-limited-children.html:
* inspector/storage-panel-dom-storage.html:
* inspector/styles/styles-new-API.html:
* inspector/view-css.html:
* inspector/view-events.html:

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

8 years ago[EFL] Unreviewed. Add pixel baselines for fast/ tests.
leandro@webkit.org [Tue, 1 Nov 2011 10:02:02 +0000 (10:02 +0000)]
[EFL] Unreviewed. Add pixel baselines for fast/ tests.

* platform/efl/fast/doctypes: [...]
* platform/efl/fast/dom: [...]
* platform/efl/fast/dynamic: [...]
* platform/efl/fast/encoding: [...]
* platform/efl/fast/events: [...]
* platform/efl/fast/fast-mobile-scrolling: [...]
* platform/efl/fast/flexbox: [...]
* platform/efl/fast/forms: [...]
* platform/efl/fast/frames: [...]
* platform/efl/fast/gradients: [...]

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

8 years ago[WK2] Add WebGestureEvents to the Qt build and enable PlatformGestureEvent::TapType
hausmann@webkit.org [Tue, 1 Nov 2011 09:54:24 +0000 (09:54 +0000)]
[WK2] Add WebGestureEvents to the Qt build and enable PlatformGestureEvent::TapType
https://bugs.webkit.org/show_bug.cgi?id=71274

Reviewed by Kenneth Christiansen.

Source/WebCore:

* features.pri: Enable GESTURE_EVENTS.

Source/WebKit2:

* Shared/WebEvent.h: Add GestureSingleTap as gesture type.
* Shared/WebEventConversion.cpp:
(WebKit::WebKit2PlatformGestureEvent::WebKit2PlatformGestureEvent): Support converting
WebEven::GestureSingleTap to PlatformGestureEvent::TapType.
* Shared/WebGestureEvent.cpp:
(WebKit::WebGestureEvent::isGestureEventType): GestureSingleTap is a valid gesture event type.
* WebKit2.pro: Add WebGestureEvent.cpp to the build.

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

8 years ago[Qt][WK2] Fix valgrind error about uninitialized variable
hausmann@webkit.org [Tue, 1 Nov 2011 09:54:07 +0000 (09:54 +0000)]
[Qt][WK2] Fix valgrind error about uninitialized variable
https://bugs.webkit.org/show_bug.cgi?id=71273

Reviewed by Kenneth Christiansen.

* MiniBrowser/qt/MiniBrowserApplication.cpp:
(MiniBrowserApplication::notify): Initialize isPrimary.

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

8 years agoUnreviewed gardening (fixed platform qualifiers for visibility-image-layers.html)
caseq@chromium.org [Tue, 1 Nov 2011 07:35:54 +0000 (07:35 +0000)]
Unreviewed gardening (fixed platform qualifiers for visibility-image-layers.html)

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed, rolling out r98847.
yurys@chromium.org [Tue, 1 Nov 2011 07:24:13 +0000 (07:24 +0000)]
Unreviewed, rolling out r98847.
http://trac.webkit.org/changeset/98847
https://bugs.webkit.org/show_bug.cgi?id=71268

"Debugger test failures on multiple platforms" (Requested by
yurys on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-01

Source/WebCore:

* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel):
(WebInspector.DebuggerPresentationModel.prototype._addScript):
(WebInspector.DebuggerPresentationModel.prototype.uiSourceCodes):
(WebInspector.DebuggerPresentationModel.prototype.setFormatSource):
(WebInspector.DebuggerPresentationModel.prototype._consoleCleared):
(WebInspector.DebuggerPresentationModel.prototype._rawSourceCodeForScriptWithURL):
(WebInspector.DebuggerPresentationModel.prototype._rawSourceCodeForScript):
(WebInspector.DebuggerPresentationModel.prototype._scriptForRawSourceCode):
(WebInspector.DebuggerPresentationModel.prototype._createRawSourceCodeId):
(WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype.reset):
* inspector/front-end/RawSourceCode.js:
(WebInspector.RawSourceCode.prototype._createSourceMapping.didRequestContent.didFormatContent):
(WebInspector.RawSourceCode.prototype._createSourceMapping.didRequestContent):
(WebInspector.RawSourceCode.prototype._createSourceMapping):
* inspector/front-end/Script.js:
(WebInspector.Script.prototype.editSource):

LayoutTests:

* inspector/debugger/bind-script-to-resource-expected.txt: Removed.
* inspector/debugger/bind-script-to-resource.html: Removed.
* inspector/debugger/linkifier-expected.txt:
* inspector/debugger/linkifier.html:

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

8 years ago2011-11-01 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 1 Nov 2011 07:11:40 +0000 (07:11 +0000)]
2011-11-01  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Rebaseline test started failing because syntax errors in inline handlers
        are now reported to console.

        window.onerror doesn't work with inline (attribute) scripts
        https://bugs.webkit.org/show_bug.cgi?id=70991

        * fast/js/invalid-syntax-for-function-expected.txt:

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

8 years ago Unreviewed gardening.
caseq@chromium.org [Tue, 1 Nov 2011 06:52:08 +0000 (06:52 +0000)]
   Unreviewed gardening.

* platform/chromium-cg-mac-leopard/fast/overflow/003-expected.txt: Removed.
* platform/chromium/test_expectations.txt:

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

8 years agoThe GC should be parallel
fpizlo@apple.com [Tue, 1 Nov 2011 06:43:37 +0000 (06:43 +0000)]
The GC should be parallel
https://bugs.webkit.org/show_bug.cgi?id=70995

Source/JavaScriptCore:

Reviewed by Geoff Garen.

Added parallel tracing to the GC. This works by having local mark
stacks per thread, and a global shared one. Threads sometimes
donate cells from the mark stack to the global one if the heuristics
tell them that it's affordable to do so. Threads that have depleted
their local mark stacks try to steal some from the shared one.

Marking is now done using an atomic weak relaxed CAS (compare-and-swap).

This is a 23% speed-up on V8-splay when I use 4 marking threads,
leading to a 3.5% speed-up on V8.

It also appears that this reduces GC pause times on real websites by
more than half.

* JavaScriptCore.exp:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* heap/Heap.cpp:
(JSC::Heap::Heap):
(JSC::Heap::~Heap):
(JSC::Heap::markRoots):
* heap/Heap.h:
* heap/MarkStack.cpp:
(JSC::MarkStackSegmentAllocator::MarkStackSegmentAllocator):
(JSC::MarkStackSegmentAllocator::~MarkStackSegmentAllocator):
(JSC::MarkStackSegmentAllocator::allocate):
(JSC::MarkStackSegmentAllocator::release):
(JSC::MarkStackSegmentAllocator::shrinkReserve):
(JSC::MarkStackArray::MarkStackArray):
(JSC::MarkStackArray::~MarkStackArray):
(JSC::MarkStackArray::expand):
(JSC::MarkStackArray::refill):
(JSC::MarkStackArray::donateSomeCellsTo):
(JSC::MarkStackArray::stealSomeCellsFrom):
(JSC::MarkStackThreadSharedData::markingThreadMain):
(JSC::MarkStackThreadSharedData::markingThreadStartFunc):
(JSC::MarkStackThreadSharedData::MarkStackThreadSharedData):
(JSC::MarkStackThreadSharedData::~MarkStackThreadSharedData):
(JSC::MarkStackThreadSharedData::reset):
(JSC::MarkStack::reset):
(JSC::SlotVisitor::donateSlow):
(JSC::SlotVisitor::drain):
(JSC::SlotVisitor::drainFromShared):
(JSC::MarkStack::mergeOpaqueRoots):
(JSC::SlotVisitor::harvestWeakReferences):
* heap/MarkStack.h:
(JSC::MarkStackSegment::data):
(JSC::MarkStackSegment::capacityFromSize):
(JSC::MarkStackSegment::sizeFromCapacity):
(JSC::MarkStackArray::postIncTop):
(JSC::MarkStackArray::preDecTop):
(JSC::MarkStackArray::setTopForFullSegment):
(JSC::MarkStackArray::setTopForEmptySegment):
(JSC::MarkStackArray::top):
(JSC::MarkStackArray::validatePrevious):
(JSC::MarkStack::addWeakReferenceHarvester):
(JSC::MarkStack::mergeOpaqueRootsIfNecessary):
(JSC::MarkStack::mergeOpaqueRootsIfProfitable):
(JSC::MarkStack::MarkStack):
(JSC::MarkStack::addOpaqueRoot):
(JSC::MarkStack::containsOpaqueRoot):
(JSC::MarkStack::opaqueRootCount):
(JSC::MarkStackArray::append):
(JSC::MarkStackArray::canRemoveLast):
(JSC::MarkStackArray::removeLast):
(JSC::MarkStackArray::isEmpty):
(JSC::MarkStackArray::canDonateSomeCells):
(JSC::MarkStackArray::size):
(JSC::ParallelModeEnabler::ParallelModeEnabler):
(JSC::ParallelModeEnabler::~ParallelModeEnabler):
* heap/MarkedBlock.h:
(JSC::MarkedBlock::testAndSetMarked):
* heap/SlotVisitor.h:
(JSC::SlotVisitor::donate):
(JSC::SlotVisitor::donateAndDrain):
(JSC::SlotVisitor::donateKnownParallel):
(JSC::SlotVisitor::SlotVisitor):
* heap/WeakReferenceHarvester.h:
* runtime/Heuristics.cpp:
(JSC::Heuristics::initializeHeuristics):
* runtime/Heuristics.h:
* wtf/Atomics.h:
(WTF::weakCompareAndSwap):
* wtf/Bitmap.h:
(WTF::::Bitmap):
(WTF::::get):
(WTF::::set):
(WTF::::testAndSet):
(WTF::::testAndClear):
(WTF::::concurrentTestAndSet):
(WTF::::concurrentTestAndClear):
(WTF::::clear):
(WTF::::clearAll):
(WTF::::nextPossiblyUnset):
(WTF::::findRunOfZeros):
(WTF::::count):
(WTF::::isEmpty):
(WTF::::isFull):
* wtf/MainThread.h:
(WTF::isMainThreadOrGCThread):
* wtf/Platform.h:
* wtf/ThreadSpecific.h:
(WTF::::isSet):
* wtf/mac/MainThreadMac.mm:
(WTF::initializeGCThreads):
(WTF::initializeMainThreadPlatform):
(WTF::initializeMainThreadToProcessMainThreadPlatform):
(WTF::registerGCThread):
(WTF::isMainThreadOrGCThread):

Source/WebCore:

Reviewed by Geoff Garen.

Added parallel tracing to the GC. This required loosening some assertions,
since some code may now be called from outside the main thread.

No new tests, since no behavior was changed.

* platform/TreeShared.h:
(WebCore::TreeShared::parent):

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

8 years agoDocument pointer not null-checked in FrameView::isOnActivePage()
aestes@apple.com [Tue, 1 Nov 2011 05:43:09 +0000 (05:43 +0000)]
Document pointer not null-checked in FrameView::isOnActivePage()
https://bugs.webkit.org/show_bug.cgi?id=71265
<rdar://problem/10374427>

Reviewed by Dan Bernstein.

Return false in FrameView::isOnActivePage() if m_frame->document() is
null. Other calls to m_frame->document() in FrameView also have a null
check. The frame can have a null document if the FrameLoader is loading
the initial empty document.

No test possible without triggering assertions in debug builds. This is
tracked by <http://webkit.org/b/71264>.

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

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

8 years agoSource/WebCore: Fix a crash relating to anonymous block merging in
commit-queue@webkit.org [Tue, 1 Nov 2011 04:24:08 +0000 (04:24 +0000)]
Source/WebCore: Fix a crash relating to anonymous block merging in
RenderFullScreen::unwrapRenderer.
https://bugs.webkit.org/show_bug.cgi?id=70705

Patch by Jeremy Apthorp <jeremya@google.com> on 2011-10-31
Reviewed by Simon Fraser.

Test: fullscreen/anonymous-block-merge-crash.html

* rendering/RenderFullScreen.cpp:
(RenderFullScreen::unwrapRenderer):

LayoutTests: Test case for a crash relating to merging of anonymous blocks in
RenderFullScreen::unwrapRenderer.
https://bugs.webkit.org/show_bug.cgi?id=70705

Patch by Jeremy Apthorp <jeremya@google.com> on 2011-10-31
Reviewed by Simon Fraser.

* fullscreen/anonymous-block-merge-crash.html: Added.

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

8 years agoV8MessageEvent::dataAccessorGetter does not return a reference to its caller
commit-queue@webkit.org [Tue, 1 Nov 2011 03:37:51 +0000 (03:37 +0000)]
V8MessageEvent::dataAccessorGetter does not return a reference to its caller
https://bugs.webkit.org/show_bug.cgi?id=71229

Patch by Dave Michael <dmichael@chromium.org> on 2011-10-31
Reviewed by Adam Barth.

Test: fast/events/dispatch-message-string-data.html

* bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAccessorGetter):

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

8 years ago[Qt] Build fix after r98853.
reni@webkit.org [Tue, 1 Nov 2011 01:47:17 +0000 (01:47 +0000)]
[Qt] Build fix after r98853.

Rubber-stamped by Andreas Kling.

* xml/XSLImportRule.cpp:
* xml/XSLImportRule.h:
(WebCore::XSLImportRule::parentStyleSheet):

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

8 years agoDe-virtualize JSObject::defaultValue
mhahnenberg@apple.com [Tue, 1 Nov 2011 01:15:06 +0000 (01:15 +0000)]
De-virtualize JSObject::defaultValue
https://bugs.webkit.org/show_bug.cgi?id=71146

Reviewed by Sam Weinig.

Source/JavaScriptCore:

Added defaultValue to the MethodTable.  Replaced all virtual versions of
defaultValue with static versions.  Replaced all call sites with lookups in the
MethodTable.

* JavaScriptCore.exp:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* runtime/ClassInfo.h:
* runtime/ExceptionHelpers.cpp:
(JSC::InterruptedExecutionError::defaultValue):
(JSC::TerminatedExecutionError::defaultValue):
* runtime/ExceptionHelpers.h:
* runtime/JSCell.cpp:
(JSC::JSCell::defaultValue):
* runtime/JSCell.h:
* runtime/JSNotAnObject.cpp:
(JSC::JSNotAnObject::defaultValue):
* runtime/JSNotAnObject.h:
* runtime/JSObject.cpp:
(JSC::JSObject::getPrimitiveNumber):
(JSC::JSObject::defaultValue):
* runtime/JSObject.h:
(JSC::JSObject::toPrimitive):

Source/WebCore:

No new tests.

Added defaultValue to the MethodTable.  Replaced all virtual versions of
defaultValue with static versions.  Replaced all call sites with lookups in the
MethodTable.

* WebCore.exp.in:
* bridge/objc/objc_runtime.h:
* bridge/objc/objc_runtime.mm:
(JSC::Bindings::ObjcFallbackObjectImp::defaultValue):
* bridge/runtime_object.cpp:
(JSC::Bindings::RuntimeObject::defaultValue):
* bridge/runtime_object.h:

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

8 years agoSwitch RoundedRect back to integers
leviw@chromium.org [Tue, 1 Nov 2011 01:09:03 +0000 (01:09 +0000)]
Switch RoundedRect back to integers
https://bugs.webkit.org/show_bug.cgi?id=71238

Reviewed by Darin Adler.

Changing RoundedRect back to ints from LayoutUnits. As further testing has shown, this graphics-
focused class should maintain values aligned to pixel boundaries, and therefor kept as integers.

No new tests -- no change in behavior.

* platform/graphics/RoundedRect.cpp:
(WebCore::RoundedRect::Radii::scale):
(WebCore::RoundedRect::Radii::expand):
(WebCore::RoundedRect::inflateWithRadii):
(WebCore::RoundedRect::Radii::excludeLogicalEdges):
(WebCore::RoundedRect::RoundedRect):
* platform/graphics/RoundedRect.h:
(WebCore::RoundedRect::Radii::Radii):
(WebCore::RoundedRect::Radii::setTopLeft):
(WebCore::RoundedRect::Radii::setTopRight):
(WebCore::RoundedRect::Radii::setBottomLeft):
(WebCore::RoundedRect::Radii::setBottomRight):
(WebCore::RoundedRect::Radii::topLeft):
(WebCore::RoundedRect::Radii::topRight):
(WebCore::RoundedRect::Radii::bottomLeft):
(WebCore::RoundedRect::Radii::bottomRight):
(WebCore::RoundedRect::Radii::expand):
(WebCore::RoundedRect::Radii::shrink):
(WebCore::RoundedRect::rect):
(WebCore::RoundedRect::setRect):
(WebCore::RoundedRect::move):
(WebCore::RoundedRect::inflate):
(WebCore::RoundedRect::expandRadii):
(WebCore::RoundedRect::shrinkRadii):
* rendering/svg/SVGRenderSupport.h: Adding missing LayoutTypes.h include

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=70666
commit-queue@webkit.org [Tue, 1 Nov 2011 01:06:00 +0000 (01:06 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=70666
BitmapImage::dataChanged() needs to clear all incomplete frames.

Patch by Peter Kasting <pkasting@google.com> on 2011-10-31
Reviewed by James Robinson.

No tests, as I don't know of a way to send an image to the renderer in
small pieces (with script run between pieces no less).

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

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

8 years agoAmend missing uses of LayoutUnits in RenderApplet, Button, and DeprecatedFlexibleBox
leviw@chromium.org [Tue, 1 Nov 2011 01:01:57 +0000 (01:01 +0000)]
Amend missing uses of LayoutUnits in RenderApplet, Button, and DeprecatedFlexibleBox
https://bugs.webkit.org/show_bug.cgi?id=71243

Reviewed by Eric Seidel.

Replacing remaining integer uses with LayoutUnits in the aforementioned classes.

No new tests -- no change in behavior.

* rendering/RenderApplet.cpp:
(WebCore::RenderApplet::intrinsicSize):
(WebCore::RenderApplet::createWidgetIfNecessary):
* rendering/RenderApplet.h:
* rendering/RenderButton.cpp:
(WebCore::RenderButton::controlClipRect):
* rendering/RenderButton.h:
* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::marginWidthForChild):
(WebCore::RenderDeprecatedFlexibleBox::computePreferredLogicalWidths):
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
(WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
(WebCore::RenderDeprecatedFlexibleBox::applyLineClamp):
* rendering/RenderDeprecatedFlexibleBox.h:

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

8 years agoPluginProxy::Update should pass the painted rect in plug-in coordinates
andersca@apple.com [Tue, 1 Nov 2011 00:59:34 +0000 (00:59 +0000)]
PluginProxy::Update should pass the painted rect in plug-in coordinates
https://bugs.webkit.org/show_bug.cgi?id=71257

Reviewed by Adam Roben.

This is one step in the process of migrating away from window relative coordinates
and use plug-in relative coordinates instead, since window relative coordinates won't work
with transforms.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::paint):
Convert the dirty rect back to plug-in coordinates.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::update):
No need to convert the painted rect back to plug-in coordinates anymore.

* WebProcess/Plugins/PluginProxy.messages.in:
Document that the painted rect is in plug-in coordinates.

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

8 years agoMake Leaks Viewer less strict when parsing leaks-related output from NRWT/ORWT
aroben@apple.com [Tue, 1 Nov 2011 00:50:44 +0000 (00:50 +0000)]
Make Leaks Viewer less strict when parsing leaks-related output from NRWT/ORWT

Fixes <http://webkit.org/b/71258> REGRESSION (r98639): Leaks Viewer doesn't show recent
leaky builds

Reviewed by Anders Carlsson.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
(RecentBuildsLoader.prototype.start): Relax a regex to gloss over differences in ORWT's vs.
NRWT's leaks-related output (i.e., "M total leaks found!" vs. "M total leaks found for a
total of N bytes!").

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

8 years ago[Chromium] Media Stream API: add the Chromium WebKit interfaces
commit-queue@webkit.org [Tue, 1 Nov 2011 00:43:49 +0000 (00:43 +0000)]
[Chromium] Media Stream API: add the Chromium WebKit interfaces
https://bugs.webkit.org/show_bug.cgi?id=58550

Source/WebCore:

Changes the PeerHandler platform interface so that embedders can more easily use it.

Patch by Tommy Widenflycht <tommyw@google.com> on 2011-10-31
Reviewed by Darin Fisher.

* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* mediastream/PeerConnection.cpp:
(WebCore::PeerConnection::PeerConnection):
(WebCore::PeerConnection::didCompleteICEProcessing):
(WebCore::PeerConnection::didGenerateSDP):
(WebCore::PeerConnection::didReceiveDataStreamMessage):
(WebCore::PeerConnection::didAddRemoteStream):
(WebCore::PeerConnection::didRemoveRemoteStream):
* mediastream/PeerConnection.h:
* platform/mediastream/PeerConnectionHandlerClient.h: Copied from Source/WebCore/platform/mediastream/PeerHandler.cpp.
(WebCore::PeerConnectionHandlerClient::~PeerConnectionHandlerClient):
* platform/mediastream/chromium/PeerConnectionHandler.h: Copied from Source/WebCore/platform/mediastream/PeerHandler.h.
* platform/mediastream/gstreamer/PeerConnectionHandler.cpp: Copied from Source/WebCore/platform/mediastream/PeerHandler.cpp.
(WebCore::PeerConnectionHandler::create):
(WebCore::PeerConnectionHandler::PeerConnectionHandler):
(WebCore::PeerConnectionHandler::~PeerConnectionHandler):
(WebCore::PeerConnectionHandler::produceInitialOffer):
(WebCore::PeerConnectionHandler::handleInitialOffer):
(WebCore::PeerConnectionHandler::processSDP):
(WebCore::PeerConnectionHandler::processPendingStreams):
(WebCore::PeerConnectionHandler::sendDataStreamMessage):
(WebCore::PeerConnectionHandler::stop):
* platform/mediastream/gstreamer/PeerConnectionHandler.h: Renamed from Source/WebCore/platform/mediastream/PeerHandler.h.

Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.

Source/WebKit/chromium:

Adds the bridging code + the minimum amount of Web* supporting code.

Patch by Tommy Widenflycht <tommyw@google.com> on 2011-10-31
Reviewed by Darin Fisher.

* WebKit.gyp:
* bridge/PeerConnectionHandler.cpp: Renamed from Source/WebCore/platform/mediastream/PeerHandler.cpp.
(WebCore::PeerConnectionHandler::create):
(WebCore::PeerConnectionHandler::PeerConnectionHandler):
(WebCore::PeerConnectionHandler::~PeerConnectionHandler):
(WebCore::PeerConnectionHandler::produceInitialOffer):
(WebCore::PeerConnectionHandler::handleInitialOffer):
(WebCore::PeerConnectionHandler::processSDP):
(WebCore::PeerConnectionHandler::processPendingStreams):
(WebCore::PeerConnectionHandler::sendDataStreamMessage):
(WebCore::PeerConnectionHandler::stop):
* bridge/PeerConnectionHandlerInternal.cpp: Added.
(WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
(WebCore::PeerConnectionHandlerInternal::~PeerConnectionHandlerInternal):
(WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
(WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
(WebCore::PeerConnectionHandlerInternal::processSDP):
(WebCore::PeerConnectionHandlerInternal::processPendingStreams):
(WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
(WebCore::PeerConnectionHandlerInternal::stop):
(WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
(WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
(WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
(WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
(WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
* bridge/PeerConnectionHandlerInternal.h: Added.
* public/WebKitPlatformSupport.h:
(WebKit::WebKitPlatformSupport::createPeerConnectionHandler):
* public/WebMediaStreamDescriptor.h: Added.
(WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
(WebKit::WebMediaStreamDescriptor::~WebMediaStreamDescriptor):
(WebKit::WebMediaStreamDescriptor::isNull):
* public/WebPeerConnectionHandler.h: Added.
(WebKit::WebPeerConnectionHandler::~WebPeerConnectionHandler):
* public/WebPeerConnectionHandlerClient.h: Added.
(WebKit::WebPeerConnectionHandlerClient::~WebPeerConnectionHandlerClient):
* src/WebMediaStreamDescriptor.cpp: Added.
(WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
(WebKit::WebMediaStreamDescriptor::reset):
(WebKit::WebMediaStreamDescriptor::operator=):
(WebKit::WebMediaStreamDescriptor::operator WTF::PassRefPtr<WebCore::MediaStreamDescriptor>):
(WebKit::WebMediaStreamDescriptor::operator WebCore::MediaStreamDescriptor*):

Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.

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

8 years agoFix linker warnings on Windows
aroben@apple.com [Tue, 1 Nov 2011 00:39:50 +0000 (00:39 +0000)]
Fix linker warnings on Windows

* WebCore.vcproj/WebCore.vcproj: Exclude SpellingCorrectionCommand.cpp and
JSRequestAnimationFrameCallback.cpp from all configurations. They are already getting
compiled via *AllInOne.cpp files.

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

8 years ago[GStreamer] Don't use GOwnPtr for ref-counted objects
commit-queue@webkit.org [Tue, 1 Nov 2011 00:29:08 +0000 (00:29 +0000)]
[GStreamer] Don't use GOwnPtr for ref-counted objects
https://bugs.webkit.org/show_bug.cgi?id=71042

Patch by Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> on 2011-10-31
Reviewed by Martin Robinson.

* CMakeListsEfl.txt:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* platform/graphics/gstreamer/GOwnPtrGStreamer.cpp: Removed.
* platform/graphics/gstreamer/GOwnPtrGStreamer.h: Removed.
* platform/graphics/gstreamer/GStreamerGWorld.cpp:
(WebCore::GStreamerGWorld::enterFullscreen):
(WebCore::GStreamerGWorld::exitFullscreen):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::updateAudioSink):
(WebCore::MediaPlayerPrivateGStreamer::sourceChanged):

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

8 years agoPluginControllerProxy should call Plugin::geometryDidChange
andersca@apple.com [Tue, 1 Nov 2011 00:29:03 +0000 (00:29 +0000)]
PluginControllerProxy should call Plugin::geometryDidChange
https://bugs.webkit.org/show_bug.cgi?id=71255

Reviewed by Sam Weinig.

Pass enough information over in the GeometryDidChange message sent from
PluginProxy to PluginControllerProxy so that PluginControllerProxy can call
Plugin::geometryDidChange.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::paint):
(WebKit::PluginControllerProxy::invalidate):
(WebKit::PluginControllerProxy::paintEntirePlugin):
Update for rename from m_frameRect to m_frameRectInWindowCoordinates.

(WebKit::PluginControllerProxy::geometryDidChange):
This now takes the plug-in size and the plug-in to root view transform as well.

* PluginProcess/PluginControllerProxy.h:
Store the plug-in size and rename m_frameRect to m_frameRectInWindowCoordinates.

* PluginProcess/PluginControllerProxy.messages.in:
Update message signature.

* PluginProcess/mac/PluginControllerProxyMac.mm:
(WebKit::PluginControllerProxy::platformGeometryDidChange):
Use the plug-in size instead of the frame rect size.

* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):
* Shared/WebCoreArgumentCoders.h:
Add encoder/decoder for WebCore::AffineTransform.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::geometryDidChange):
Compute the frame rect in window coordinates and send it over.

(WebKit::PluginProxy::deprecatedGeometryDidChange):
Move call to geometryDidChange() from here to the new PluginProxy::geometryDidChange.

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

8 years agoUnreviewed gardening; bind-script-to-resource.html times out on chromium mac.
johnnyg@google.com [Tue, 1 Nov 2011 00:27:50 +0000 (00:27 +0000)]
Unreviewed gardening; bind-script-to-resource.html times out on chromium mac.

* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Calling methods of WebFontImpl causes assertions
commit-queue@webkit.org [Tue, 1 Nov 2011 00:27:35 +0000 (00:27 +0000)]
[chromium] Calling methods of WebFontImpl causes assertions
https://bugs.webkit.org/show_bug.cgi?id=71232

Added FontCachePurgePreventer in several methods.

Patch by Yuzhu Shen <yzshen@google.com> on 2011-10-31
Reviewed by James Robinson.

* src/WebFontImpl.cpp:
(WebKit::WebFontImpl::calculateWidth):
(WebKit::WebFontImpl::offsetForPosition):
(WebKit::WebFontImpl::selectionRectForText):
(WebKit::WebFontImpl::estimateTextBounds):

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

8 years ago[Qt] Unreviewed holiday gardening after r98852.
ossy@webkit.org [Tue, 1 Nov 2011 00:21:34 +0000 (00:21 +0000)]
[Qt] Unreviewed holiday gardening after r98852.

4 new tests fail introduced in r98852
https://bugs.webkit.org/show_bug.cgi?id=71253

* platform/qt/Skipped: Skip failing tests.

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

8 years agoUnreviewed, rolling out r98918.
ossy@webkit.org [Tue, 1 Nov 2011 00:18:20 +0000 (00:18 +0000)]
Unreviewed, rolling out r98918.
http://trac.webkit.org/changeset/98918
https://bugs.webkit.org/show_bug.cgi?id=71256

Wrong commit (Requested by Ossy_weekend on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-31

* platform/qt/Skipped:

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

8 years ago[Qt] Unreviewed holiday gardening after r98852.
ossy@webkit.org [Tue, 1 Nov 2011 00:10:17 +0000 (00:10 +0000)]
[Qt] Unreviewed holiday gardening after r98852.

4 new tests fail introduced in r98852
https://bugs.webkit.org/show_bug.cgi?id=71253

* platform/qt/Skipped: Skip failing tests.

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

8 years ago[Qt] Unreviewed holiday gardening after r98673 and r98608.
ossy@webkit.org [Tue, 1 Nov 2011 00:01:47 +0000 (00:01 +0000)]
[Qt] Unreviewed holiday gardening after r98673 and r98608.

* platform/qt/fast/css/child-style-can-override-visited-style-expected.png: Added.
* platform/qt/fast/css/child-style-can-override-visited-style-expected.txt: Added.
* platform/qt/fast/multicol/block-axis-horizontal-bt-expected.png: Added.
* platform/qt/fast/multicol/block-axis-horizontal-bt-expected.txt: Added.
* platform/qt/fast/multicol/block-axis-horizontal-tb-expected.png: Added.
* platform/qt/fast/multicol/block-axis-horizontal-tb-expected.txt: Added.
* platform/qt/fast/multicol/block-axis-vertical-lr-expected.png: Added.
* platform/qt/fast/multicol/block-axis-vertical-lr-expected.txt: Added.
* platform/qt/fast/multicol/block-axis-vertical-rl-expected.png: Added.
* platform/qt/fast/multicol/block-axis-vertical-rl-expected.txt: Added.

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

8 years agoInterpreter build fix
mhahnenberg@apple.com [Mon, 31 Oct 2011 23:57:57 +0000 (23:57 +0000)]
Interpreter build fix

Unreviewed build fix

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* runtime/Executable.cpp:
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

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

8 years ago[chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine...
nduca@chromium.org [Mon, 31 Oct 2011 23:56:36 +0000 (23:56 +0000)]
[chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine via CCScheduler
https://bugs.webkit.org/show_bug.cgi?id=71100

Reviewed by James Robinson.

Source/WebCore:

* platform/graphics/chromium/cc/CCDelayBasedTimeSource.h:
(WebCore::CCDelayBasedTimeSource::monotonicallyIncreasingTime):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCLayerTreeHostClient::didCommitAndDrawFrame):
(WebCore::CCLayerTreeHost::didCommitAndDrawFrame):
* platform/graphics/chromium/cc/CCScheduler.cpp:
(WebCore::CCSchedulerFrameRateControllerClientAdapter::create):
(WebCore::CCSchedulerFrameRateControllerClientAdapter::~CCSchedulerFrameRateControllerClientAdapter):
(WebCore::CCSchedulerFrameRateControllerClientAdapter::beginFrame):
(WebCore::CCSchedulerFrameRateControllerClientAdapter::CCSchedulerFrameRateControllerClientAdapter):
(WebCore::CCScheduler::CCScheduler):
(WebCore::CCScheduler::~CCScheduler):
(WebCore::CCScheduler::setNeedsAnimate):
(WebCore::CCScheduler::setNeedsCommit):
(WebCore::CCScheduler::setNeedsRedraw):
(WebCore::CCScheduler::beginFrameComplete):
(WebCore::CCScheduler::didSwapBuffersComplete):
(WebCore::CCScheduler::didSwapBuffersAbort):
(WebCore::CCScheduler::onBeginFrame):
(WebCore::CCScheduler::processScheduledActions):
* platform/graphics/chromium/cc/CCScheduler.h:
(WebCore::CCScheduler::create):
(WebCore::CCScheduler::commitPending):
(WebCore::CCScheduler::redrawPending):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::CCSchedulerStateMachine):
(WebCore::CCSchedulerStateMachine::nextAction):
(WebCore::CCSchedulerStateMachine::updateState):
(WebCore::CCSchedulerStateMachine::beginUpdateMoreResourcesComplete):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
(WebCore::CCSchedulerStateMachine::redrawPending):
* platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::CCSingleThreadProxy):
(WebCore::CCSingleThreadProxy::doCommit):
(WebCore::CCSingleThreadProxy::doComposite):
* platform/graphics/chromium/cc/CCSingleThreadProxy.h:
* platform/graphics/chromium/cc/CCTextureUpdater.cpp:
(WebCore::CCTextureUpdater::hasMoreUpdates):
* platform/graphics/chromium/cc/CCTextureUpdater.h:
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::compositeAndReadback):
(WebCore::CCThreadProxy::requestReadbackOnImplThread):
(WebCore::CCThreadProxy::setNeedsAnimateOnImplThread):
(WebCore::CCThreadProxy::setNeedsCommitOnImplThread):
(WebCore::CCThreadProxy::setNeedsRedrawOnImplThread):
(WebCore::CCThreadProxy::finishAllRenderingOnImplThread):
(WebCore::CCThreadProxy::scheduledActionBeginFrame):
(WebCore::CCThreadProxy::beginFrameAndCommit):
(WebCore::CCThreadProxy::beginFrameCompleteOnImplThread):
(WebCore::CCThreadProxy::hasMoreResourceUpdates):
(WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):
(WebCore::CCThreadProxy::scheduledActionCommit):
(WebCore::CCThreadProxy::drawLayersAndSwapOnImplThread):
(WebCore::CCThreadProxy::didCommitAndDrawFrame):
(WebCore::CCThreadProxy::initializeImplOnImplThread):
(WebCore::CCThreadProxy::layerTreeHostClosedOnImplThread):
(WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
* platform/graphics/chromium/cc/CCThreadProxy.h:

Source/WebKit/chromium:

* tests/CCSchedulerStateMachineTest.cpp:
(WebCore::StateMachine::setUpdateMoreResourcesPending):
(WebCore::StateMachine::updateMoreResourcesPending):
(WebCore::TEST):
* tests/CCSchedulerTest.cpp:

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

8 years ago[Qt] Unreviewed holiday gardening after r98852.
ossy@webkit.org [Mon, 31 Oct 2011 23:52:47 +0000 (23:52 +0000)]
[Qt] Unreviewed holiday gardening after r98852.

CSS 2.1 failure: background-intrinsic-*
https://bugs.webkit.org/show_bug.cgi?id=47156

* platform/qt/css1/text_properties/vertical_align-expected.png:
* platform/qt/css1/text_properties/vertical_align-expected.txt:
* platform/qt/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-003-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-003-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/qt/fast/block/float/015-expected.png:
* platform/qt/fast/block/float/015-expected.txt:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Added.
* platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.txt:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt: Added.
* platform/qt/svg/as-background-image/background-image-tiled-expected.png: Added.
* platform/qt/svg/as-background-image/background-image-tiled-expected.txt: Added.
* platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.txt: Added.
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/qt/svg/as-image/same-image-two-instances-expected.png: Added.
* platform/qt/svg/as-image/same-image-two-instances-expected.txt: Added.
* platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
* platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt: Added.
* platform/qt/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/qt/svg/as-image/svg-image-change-content-size-expected.txt: Added.
* platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Added.
* platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-foreignObject-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt:
* platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-image-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-image-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Added.
* platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:

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

8 years agoDFG OSR exits should add to value profiles
fpizlo@apple.com [Mon, 31 Oct 2011 23:50:57 +0000 (23:50 +0000)]
DFG OSR exits should add to value profiles
https://bugs.webkit.org/show_bug.cgi?id=71202

Reviewed by Oliver Hunt.

Value profiles now have an extra special slot not used by the old JIT's
profiling, which is reserved for OSR exits.

The DFG's OSR exit code now knows which register, node index, and value
profiling site was responsible for the (possibly flawed) information that
led to the OSR failure. This is somewhat opportunistic and imperfect;
if there's a lot of control flow between the value profiling site and the
OSR failure point, then this mechanism simply gives up. It also gives up
if the OSR failure is caused by either known deficiencies in the DFG
(like that we always assume that the index in a strict charCodeAt access
is within bounds) or where the OSR failure would be catalogues and
profiled through other means (like slow case counters).

This patch also adds the notion of a JSValueRegs, which is either a
single register in JSVALUE64 or a pair in JSVALUE32_64. We should
probably move the 32_64 DFG towards using this, since it often makes it
easier to share code between 64 and 32_64.

Also fixed a number of pathologies that this uncovered. op_method_check
didn't have a value profiling site on the slow path. GetById should not
always force OSR exit if it never executed in the old JIT; we may be
able to infer its type if it's a array or string length get. Finally,
these changes benefit from a slight tweak to optimization delay
heuristics (profile fullness is now 0.35 instead of 0.25).

3.8% speed-up on Kraken, mostly due to ~35% on both stanford-crypto-aes
and imaging-darkroom.

* bytecode/ValueProfile.cpp:
(JSC::ValueProfile::computeStatistics):
(JSC::ValueProfile::computeUpdatedPrediction):
* bytecode/ValueProfile.h:
(JSC::ValueProfile::ValueProfile):
(JSC::ValueProfile::specFailBucket):
(JSC::ValueProfile::numberOfSamples):
(JSC::ValueProfile::isLive):
(JSC::ValueProfile::numberOfInt32s):
(JSC::ValueProfile::numberOfDoubles):
(JSC::ValueProfile::numberOfCells):
(JSC::ValueProfile::numberOfObjects):
(JSC::ValueProfile::numberOfFinalObjects):
(JSC::ValueProfile::numberOfStrings):
(JSC::ValueProfile::numberOfArrays):
(JSC::ValueProfile::numberOfBooleans):
(JSC::ValueProfile::dump):
* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::getPredictionWithoutOSRExit):
(JSC::DFG::ByteCodeParser::getPrediction):
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGGPRInfo.h:
(JSC::DFG::JSValueRegs::JSValueRegs):
(JSC::DFG::JSValueRegs::operator!):
(JSC::DFG::JSValueRegs::gpr):
(JSC::DFG::JSValueSource::JSValueSource):
(JSC::DFG::JSValueSource::unboxedCell):
(JSC::DFG::JSValueSource::operator!):
(JSC::DFG::JSValueSource::isAddress):
(JSC::DFG::JSValueSource::offset):
(JSC::DFG::JSValueSource::base):
(JSC::DFG::JSValueSource::gpr):
(JSC::DFG::JSValueSource::asAddress):
(JSC::DFG::JSValueSource::notAddress):
(JSC::DFG::JSValueRegs::tagGPR):
(JSC::DFG::JSValueRegs::payloadGPR):
(JSC::DFG::JSValueSource::tagGPR):
(JSC::DFG::JSValueSource::payloadGPR):
(JSC::DFG::JSValueSource::hasKnownTag):
(JSC::DFG::JSValueSource::tag):
* dfg/DFGGenerationInfo.h:
(JSC::DFG::GenerationInfo::jsValueRegs):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::valueProfileFor):
* dfg/DFGJITCodeGenerator.h:
(JSC::JSValueOperand::jsValueRegs):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::exitSpeculativeWithOSR):
* dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::valueProfileFor):
* dfg/DFGJITCompiler32_64.cpp:
(JSC::DFG::JITCompiler::exitSpeculativeWithOSR):
* dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNodePredictions):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::OSRExit::OSRExit):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectEquality):
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
(JSC::DFG::SpeculativeJIT::compileGetCharCodeAt):
(JSC::DFG::SpeculativeJIT::compileGetByValOnString):
(JSC::DFG::SpeculativeJIT::compilePutByValForByteArray):
(JSC::DFG::SpeculativeJIT::compileGetByValOnByteArray):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::speculationCheck):
(JSC::DFG::SpeculativeJIT::terminateSpeculativeExecution):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitSlow_op_method_check):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emitSlow_op_method_check):
* runtime/Heuristics.cpp:
(JSC::Heuristics::initializeHeuristics):
* runtime/JSValue.h:

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

8 years agoRename the remaining uses of Cue in WebCore/loader/
japhet@chromium.org [Mon, 31 Oct 2011 23:49:47 +0000 (23:49 +0000)]
Rename the remaining uses of Cue in WebCore/loader/
to TextTrack.
https://bugs.webkit.org/show_bug.cgi?id=71231

Reviewed by Eric Carlson.

No new tests, strictly a renaming.

* loader/TextTrackLoader.cpp:
* loader/cache/CachedResource.cpp:
* loader/cache/CachedResource.h:
* loader/cache/CachedResourceLoader.cpp:
* loader/cache/CachedResourceLoader.h:
* loader/cache/CachedResourceRequest.cpp:
* loader/cache/CachedTextTrack.cpp:
* platform/network/chromium/ResourceRequest.h:

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

8 years ago[MutationObservers] Support characterDataOldValue for characterData mutations
adamk@chromium.org [Mon, 31 Oct 2011 23:46:50 +0000 (23:46 +0000)]
[MutationObservers] Support characterDataOldValue for characterData mutations
https://bugs.webkit.org/show_bug.cgi?id=70862

Reviewed by Ojan Vafai.

Source/WebCore:

* dom/CharacterData.cpp:
(WebCore::hasOldValue):
(WebCore::isOldValueRequested):
(WebCore::CharacterData::dispatchModifiedEvent):
* dom/MutationRecord.cpp:
(WebCore::MutationRecord::createCharacterData):
* dom/MutationRecord.h:

LayoutTests:

Added oldValue test cases to existing characterData tests.

* fast/mutation/observe-characterdata-expected.txt:
* fast/mutation/observe-characterdata.html:

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

8 years agoRemove need for virtual JSObject::unwrappedObject
weinig@apple.com [Mon, 31 Oct 2011 23:43:58 +0000 (23:43 +0000)]
Remove need for virtual JSObject::unwrappedObject
https://bugs.webkit.org/show_bug.cgi?id=71034

Reviewed by Geoffrey Garen.

../JavaScriptCore:

* JavaScriptCore.exp:
Update exports.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.exp:
* JavaScriptCore.gypi:
* JavaScriptCore.pro:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
Add JSGlobalThis.cpp.

* runtime/JSGlobalThis.cpp: Added.
(JSC::JSGlobalThis::visitChildren):
(JSC::JSGlobalThis::unwrappedObject):
* runtime/JSGlobalThis.h:
(JSC::JSGlobalThis::createStructure):
Move underlying object from JSDOMWindowShell down to JSGlobalThis
and corresponding visitChildren method.

* runtime/JSObject.cpp:
(JSC::JSObject::unwrappedObject):
Change unwrappedObject from virtual, to just needing an if check.

* runtime/JSObject.h:
(JSC::JSObject::isGlobalThis):
* runtime/JSType.h:
Add isGlobalThis predicate and type.

../WebCore:

Move the member containing the global object from the JSDOMWindowShell
down to the JSGlobalThis class, and update JSDOMWindowShell to go through
an inline helper (which just casts) to get the window.

* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::setWindow):
(WebCore::JSDOMWindowShell::className):
(WebCore::JSDOMWindowShell::getOwnPropertySlot):
(WebCore::JSDOMWindowShell::getOwnPropertyDescriptor):
(WebCore::JSDOMWindowShell::put):
(WebCore::JSDOMWindowShell::putWithAttributes):
(WebCore::JSDOMWindowShell::defineOwnProperty):
(WebCore::JSDOMWindowShell::deleteProperty):
(WebCore::JSDOMWindowShell::getPropertyNames):
(WebCore::JSDOMWindowShell::getOwnPropertyNames):
(WebCore::JSDOMWindowShell::defineGetter):
(WebCore::JSDOMWindowShell::defineSetter):
(WebCore::JSDOMWindowShell::lookupGetter):
(WebCore::JSDOMWindowShell::lookupSetter):
(WebCore::JSDOMWindowShell::impl):
* bindings/js/JSDOMWindowShell.h:
(WebCore::JSDOMWindowShell::window):
(WebCore::JSDOMWindowShell::setWindow):
(WebCore::JSDOMWindowShell::createStructure):

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

8 years ago[EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833
commit-queue@webkit.org [Mon, 31 Oct 2011 23:40:41 +0000 (23:40 +0000)]
[EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833
https://bugs.webkit.org/show_bug.cgi?id=71228

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-31
Reviewed by Antonio Gomes.

Source/WebKit/efl:

r93833 has introduced
ewk_view_setting_scripts_can_close_windows_{get,set}, but its
counterpart to allow scripts to open windows kept its weird name.

This makes the functions to allow windows to open and close windows to
have confusingly different name patterns.

* ewk/ewk_view.cpp:
(_ewk_view_priv_new):
(ewk_view_setting_scripts_can_open_windows_get):
(ewk_view_setting_scripts_can_open_windows_set):
* ewk/ewk_view.h:

Tools:

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createNewWindow):
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):

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

8 years agoRemove some uses of m_frameRectInWindowCoordinates from PluginProxy
andersca@apple.com [Mon, 31 Oct 2011 23:38:27 +0000 (23:38 +0000)]
Remove some uses of m_frameRectInWindowCoordinates from PluginProxy
https://bugs.webkit.org/show_bug.cgi?id=71252

Reviewed by Darin Adler.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::geometryDidChange):
(WebKit::PluginProxy::updateBackingStore):
(WebKit::PluginProxy::pluginBounds):
* WebProcess/Plugins/PluginProxy.h:

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

8 years agoImplement PluginProxy::geometryDidChange
andersca@apple.com [Mon, 31 Oct 2011 23:28:37 +0000 (23:28 +0000)]
Implement PluginProxy::geometryDidChange
https://bugs.webkit.org/show_bug.cgi?id=71251

Reviewed by Sam Weinig.

Keep track of the plug-in size, the clip rect in plug-in coordinates and the
transformation matrix from the root view to the plug-in.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::geometryDidChange):
* WebProcess/Plugins/PluginProxy.h:

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

8 years agoWTF::StringImpl::create(const char*, unsigned) calls itself
commit-queue@webkit.org [Mon, 31 Oct 2011 23:18:49 +0000 (23:18 +0000)]
WTF::StringImpl::create(const char*, unsigned) calls itself
https://bugs.webkit.org/show_bug.cgi?id=71206

The original implementation just calls itself, causing infinite recursion.
Cast the first parameter to const LChar* to fix that.

Patch by Xianzhu Wang <wangxianzhu@chromium.org> on 2011-10-31
Reviewed by Ryosuke Niwa.

* wtf/text/StringImpl.h:
(WTF::StringImpl::create):

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

8 years agoChromium rebaselines, unreviewed.
johnnyg@google.com [Mon, 31 Oct 2011 23:18:13 +0000 (23:18 +0000)]
Chromium rebaselines, unreviewed.

* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/chromium-gpu-win/media/audio-repaint-expected.txt: Removed.
* platform/chromium-linux-x86/svg/zoom/page: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years agoMac rebaseline after r98852.
rniwa@webkit.org [Mon, 31 Oct 2011 23:12:04 +0000 (23:12 +0000)]
Mac rebaseline after r98852.

* platform/mac/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:

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

8 years agoIndexedDB: Remove null key support (part 2)
commit-queue@webkit.org [Mon, 31 Oct 2011 23:09:39 +0000 (23:09 +0000)]
IndexedDB: Remove null key support (part 2)
https://bugs.webkit.org/show_bug.cgi?id=71132

Patch by Joshua Bell <jsbell@chromium.org> on 2011-10-31
Reviewed by Darin Fisher.

* public/WebIDBKey.h:
* src/AssertMatchingEnums.cpp:
* src/WebIDBKey.cpp:

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

8 years agoWebKit nests pre on copy and paste when the pre is the root editable element
rniwa@webkit.org [Mon, 31 Oct 2011 23:09:12 +0000 (23:09 +0000)]
WebKit nests pre on copy and paste when the pre is the root editable element
https://bugs.webkit.org/show_bug.cgi?id=70800

Reviewed by Darin Adler.

Source/WebCore:

Fixed the bug by removing nested block elements in removeRedundantStylesAndKeepStyleSpanInline.

Tests: editing/pasteboard/contenteditable-pre-2.html
       editing/pasteboard/contenteditable-pre.html

* editing/ApplyStyleCommand.cpp:
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline): Remove block
elements if it's identical to its parent and there are no contents between the two. Also remove
contenteditable attribute from an element if the parent is already richly editable.
(WebCore::ReplaceSelectionCommand::doApply): Remove redundant styles after removing the placeholder
br so that the above check doesn't get affected by the placeholder.
* editing/htmlediting.cpp:
(WebCore::areIdenticalElements): Moved from ApplyStyleCommand.
(WebCore::isNonTableCellHTMLBlockElement): Moved from markup.cpp.
* editing/htmlediting.h:
* editing/markup.cpp:

LayoutTests:

Added tests for copying and pasting contents inside pre. WebKit should not nest pre's.

* editing/execCommand/insert-list-with-noneditable-content-expected.txt: A redundant
contenteditable attribute is removed.
* editing/pasteboard/4930986-2-expected.txt: Trailing space in style attribute is removed.
* editing/pasteboard/contenteditable-pre-2-expected.txt: Added.
* editing/pasteboard/contenteditable-pre-2.html: Added.
* editing/pasteboard/contenteditable-pre-expected.txt: Added.
* editing/pasteboard/contenteditable-pre.html: Added.
* editing/pasteboard/copy-null-characters-expected.txt: A redundant contenteditable attribute
is removed.
* editing/pasteboard/paste-code-in-pre-expected.txt: Pre no longer nests itself erroneously.
* editing/pasteboard/paste-pre-001-expected.txt: Ditto.
* editing/pasteboard/paste-pre-002-expected.txt: Ditto.
* editing/selection/4895428-4-expected.txt: A redundant contenteditable attribute is removed.

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

8 years agoFix the X11 build.
andersca@apple.com [Mon, 31 Oct 2011 23:08:28 +0000 (23:08 +0000)]
Fix the X11 build.

* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::NetscapePlugin::platformGeometryDidChange):
(WebKit::NetscapePlugin::platformPaint):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):

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

8 years agoFactor code to resize the plug-in backing store out into a separate function
andersca@apple.com [Mon, 31 Oct 2011 23:07:12 +0000 (23:07 +0000)]
Factor code to resize the plug-in backing store out into a separate function
https://bugs.webkit.org/show_bug.cgi?id=71250

Reviewed by Adam Roben.

Add a PluginProxy::contentsScaleFactor helper function to get rid of a bunch of PLATFORM(MAC) #ifdefs,
and move the code to update the backing store out into a separate function.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::initialize):
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::geometryDidChange):
(WebKit::PluginProxy::contentsScaleFactor):
(WebKit::PluginProxy::updateBackingStore):
(WebKit::PluginProxy::update):
* WebProcess/Plugins/PluginProxy.h:

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

8 years agotext/plain form encoding ignored and incorrectly specified in request header.
commit-queue@webkit.org [Mon, 31 Oct 2011 23:02:48 +0000 (23:02 +0000)]
text/plain form encoding ignored and incorrectly specified in request header.
https://bugs.webkit.org/show_bug.cgi?id=20795

Patch by Vineet Chaudhary <vineet.chaudhary@motorola.com> on 2011-10-31
Reviewed by Darin Adler.

Source/WebCore:

This patch fixes the behaviour of forms where enctype is set to
text/plain, encoding is also text/plain.

Tests: fast/forms/form-get-textplain.html
       http/tests/misc/form-post-textplain.html

* loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
* platform/network/FormData.cpp:
(WebCore::FormData::create):
(WebCore::FormData::appendKeyValuePairItems):
* platform/network/FormData.h:
(WebCore::FormData::parseEncodingType):
* platform/network/FormDataBuilder.cpp:
(WebCore::FormDataBuilder::addKeyValuePairAsFormData): Modified encoding scheme for text/plain.
* platform/network/FormDataBuilder.h:

LayoutTests:

Added tests for GET and POST methods for text/plain enctype.
Forms submitted using GET with a content-type of text/plain actually,
send data in URL encoded in the URL.
Forms with POST method and content-type of text/plain actually send data in text/plain.
Modified expected results for mailto tests as per the new behavior.

* fast/forms/form-get-textplain-expected.txt: Added.
* fast/forms/form-get-textplain.html: Added.
* fast/forms/mailto/post-multiple-items-text-plain-expected.txt:
* fast/forms/mailto/post-text-plain-expected.txt:
* fast/forms/mailto/post-text-plain-with-accept-charset-expected.txt:
* http/tests/misc/form-post-textplain-expected.txt: Added.
* http/tests/misc/form-post-textplain.html: Added.
* http/tests/misc/resources/form-post-textplain.php: Added.
* platform/chromium/test_expectations.txt:
* platform/gtk/fast/forms/mailto/formenctype-attribute-button-html-expected.txt:
* platform/gtk/fast/forms/mailto/formenctype-attribute-input-html-expected.txt:
* platform/qt/test_expectations.txt:
* platform/win/test_expectations.txt:

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

8 years agoRenderImage.cpp calls SVGImage even if it's not defined
johnnyg@google.com [Mon, 31 Oct 2011 23:00:42 +0000 (23:00 +0000)]
RenderImage.cpp calls SVGImage even if it's not defined
https://bugs.webkit.org/show_bug.cgi?id=71247

This fixes a compile error when ENABLE_SVG=0.

* rendering/RenderImage.cpp:
(WebCore::RenderImage::embeddedContentBox):

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

8 years agoAdd more APIs to WKUserContentURLPattern.h
jeffm@apple.com [Mon, 31 Oct 2011 22:55:01 +0000 (22:55 +0000)]
Add more APIs to WKUserContentURLPattern.h
https://bugs.webkit.org/show_bug.cgi?id=71245

Add additional WKUserContentURLPattern APIs to match what was provided by
the equivalent WebKit1 API.

Reviewed by Darin Adler.

* Shared/API/c/WKUserContentURLPattern.cpp:
(WKUserContentURLPatternCopyHost): Added.
(WKUserContentURLPatternCopyScheme): Added.
(WKUserContentURLPatternIsValid): Added.
(WKUserContentURLPatternMatchesSubdomains): Added.

* Shared/API/c/WKUserContentURLPattern.h: Added new APIs.

* Shared/WebUserContentURLPattern.h:
(WebKit::WebUserContentURLPattern::host): Added.
(WebKit::WebUserContentURLPattern::scheme): Added.
(WebKit::WebUserContentURLPattern::isValid): Added.
(WebKit::WebUserContentURLPattern::matchesSubdomains): Added.

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

8 years agoUpdate XMLHttpRequest.send idl declaration to match implementation.
podivilov@chromium.org [Mon, 31 Oct 2011 22:52:58 +0000 (22:52 +0000)]
Update XMLHttpRequest.send idl declaration to match implementation.
https://bugs.webkit.org/show_bug.cgi?id=71121

Reviewed by Adam Barth.

* xml/XMLHttpRequest.idl:

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

8 years agoMore work on making plug-ins work better with transforms
andersca@apple.com [Mon, 31 Oct 2011 22:51:19 +0000 (22:51 +0000)]
More work on making plug-ins work better with transforms
https://bugs.webkit.org/show_bug.cgi?id=71241

Reviewed by Darin Adler.

Source/WebCore:

Export symbols used by WebKit2.

* WebCore.exp.in:

Source/WebKit2:

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::geometryDidChange):
Implement NetscapePlugin::geometryDidChange and store the plug-in size,
the clip rect and the root view transform. Use the transform to compute the window
relative frame and clip rects.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
Add new member variables.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::viewGeometryDidChange):
Always call the new Plugin::geometryDidChange.

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

8 years agoFix DFG JIT compilation on Linux targets.
commit-queue@webkit.org [Mon, 31 Oct 2011 22:38:06 +0000 (22:38 +0000)]
Fix DFG JIT compilation on Linux targets.
https://bugs.webkit.org/show_bug.cgi?id=70904

Patch by Andy Wingo <wingo@igalia.com> on 2011-10-31
Reviewed by Darin Adler.

* jit/JITStubs.cpp (SYMBOL_STRING_RELOCATION): Simplify this
macro.

* dfg/DFGOperations.cpp (SYMBOL_STRING_RELOCATION): Copy the
simplified definition from jit/JITStubs.cpp.
(FUNCTION_WRAPPER_WITH_RETURN_ADDRESS, getHostCallReturnValue):
Use the macro to access trampoline targets through the PLT on PIC
systems, instead of introducing a text relocation.  Otherwise, the
library fails to link.

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

8 years ago[EFL] Make cache flush when max size of cache has been changed
commit-queue@webkit.org [Mon, 31 Oct 2011 22:31:16 +0000 (22:31 +0000)]
[EFL] Make cache flush when max size of cache has been changed
https://bugs.webkit.org/show_bug.cgi?id=70805

Patch by Tomasz Morawski <t.morawski@samsung.com> on 2011-10-31
Reviewed by Ryosuke Niwa.

Calls the ewk_tile_unused_cache_auto_flush function after changing max
size of cache when ewk_tile_unused_cache_max_set is called. Without
this change when new value is lower than the old one the cache may use
more memory than max value set. This situation is not expected by the
user.

* ewk/ewk_tiled_model.cpp:
(ewk_tile_unused_cache_max_set):

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

8 years agoDe-virtualize JSObject::defineGetter
mhahnenberg@apple.com [Mon, 31 Oct 2011 22:24:20 +0000 (22:24 +0000)]
De-virtualize JSObject::defineGetter
https://bugs.webkit.org/show_bug.cgi?id=71134

Reviewed by Darin Adler.

Source/JavaScriptCore:

Added defineGetter to the MethodTable.  Replaced all virtual versions of defineGetter
with static versions.  Replaced all call sites with lookups in the MethodTable.

* JavaScriptCore.exp:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::defineGetter):
* debugger/DebuggerActivation.h:
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* runtime/ClassInfo.h:
* runtime/JSCell.cpp:
(JSC::JSCell::defineGetter):
* runtime/JSCell.h:
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::defineGetter):
* runtime/JSGlobalObject.h:
* runtime/JSObject.cpp:
(JSC::JSObject::defineGetter):
(JSC::putDescriptor):
* runtime/JSObject.h:
* runtime/ObjectPrototype.cpp:
(JSC::objectProtoFuncDefineGetter):

Source/WebCore:

No new tests.

Added defineGetter to the MethodTable.  Replaced all virtual versions of defineGetter
with static versions.  Replaced all call sites with lookups in the MethodTable.

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::defineGetter):
* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::defineGetter):
* bindings/js/JSDOMWindowShell.h:
* bindings/js/JSLocationCustom.cpp:
(WebCore::JSLocation::defineGetter):
(WebCore::JSLocationPrototype::defineGetter):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):

Source/WebKit/qt:

Added defineGetter to the MethodTable.  Replaced all virtual versions of defineGetter
with static versions.  Replaced all call sites with lookups in the MethodTable.

* Api/qwebframe.cpp:
(QWebFramePrivate::addQtSenderToGlobalObject):

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

8 years agoMicrodata: Support for itemid attribute.
commit-queue@webkit.org [Mon, 31 Oct 2011 22:22:50 +0000 (22:22 +0000)]
Microdata: Support for itemid attribute.
https://bugs.webkit.org/show_bug.cgi?id=71007

Patch by Arko Saha <arko@motorola.com> on 2011-10-31
Reviewed by Ryosuke Niwa.

Source/WebCore:

itemid attribute: To give a global identifier for the Microdata items.
The itemid attribute, if specified, must have a value that is a valid URL potentially
surrounded by spaces.
Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#attr-itemid

Tests: fast/dom/MicroData/itemid-attribute-test.html
       fast/dom/MicroData/itemid-must-see-resolved-url.html

* html/HTMLElement.idl:

LayoutTests:

Added test-cases for itemid attribute.

* fast/dom/MicroData/itemid-attribute-test-expected.txt: Added.
* fast/dom/MicroData/itemid-attribute-test.html: Added.
* fast/dom/MicroData/itemid-must-see-resolved-url-expected.txt: Added.
* fast/dom/MicroData/itemid-must-see-resolved-url.html: Added.

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

8 years agoTowards 8-bit Strings: Move Lexer and Parser Objects out of JSGlobalData
msaboff@apple.com [Mon, 31 Oct 2011 22:13:01 +0000 (22:13 +0000)]
Towards 8-bit Strings: Move Lexer and Parser Objects out of JSGlobalData
https://bugs.webkit.org/show_bug.cgi?id=71138

Restructure and movement of Lexer and Parser code.
Moved Lexer and Parser objects out of JSGlobalData.
Added a new ParserTokens class and instance to JSGlobalData that
have JavaScript token related definitions.
Replaced JSGlobalData arguments to Node classes with lineNumber,
as that was the only use of the JSGlobalData.
Combined JSParser and Parser classes into one class,
eliminating JSParser.h and .cpp.
Various supporting #include changes.

These mostly mechanical changes are done in preparation to
making the Lexer and Parser template classes.

Reviewed by Darin Adler.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.gypi:
* JavaScriptCore.pro:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecompiler/NodesCodegen.cpp:
(JSC::ArrayNode::toArgumentList):
(JSC::ApplyFunctionCallDotNode::emitBytecode):
* parser/ASTBuilder.h:
(JSC::ASTBuilder::ASTBuilder):
(JSC::ASTBuilder::createSourceElements):
(JSC::ASTBuilder::createCommaExpr):
(JSC::ASTBuilder::createLogicalNot):
(JSC::ASTBuilder::createUnaryPlus):
(JSC::ASTBuilder::createVoid):
(JSC::ASTBuilder::thisExpr):
(JSC::ASTBuilder::createResolve):
(JSC::ASTBuilder::createObjectLiteral):
(JSC::ASTBuilder::createArray):
(JSC::ASTBuilder::createNumberExpr):
(JSC::ASTBuilder::createString):
(JSC::ASTBuilder::createBoolean):
(JSC::ASTBuilder::createNull):
(JSC::ASTBuilder::createBracketAccess):
(JSC::ASTBuilder::createDotAccess):
(JSC::ASTBuilder::createRegExp):
(JSC::ASTBuilder::createNewExpr):
(JSC::ASTBuilder::createConditionalExpr):
(JSC::ASTBuilder::createAssignResolve):
(JSC::ASTBuilder::createFunctionExpr):
(JSC::ASTBuilder::createFunctionBody):
(JSC::ASTBuilder::createGetterOrSetterProperty):
(JSC::ASTBuilder::createArguments):
(JSC::ASTBuilder::createArgumentsList):
(JSC::ASTBuilder::createPropertyList):
(JSC::ASTBuilder::createElementList):
(JSC::ASTBuilder::createFormalParameterList):
(JSC::ASTBuilder::createClause):
(JSC::ASTBuilder::createClauseList):
(JSC::ASTBuilder::createFuncDeclStatement):
(JSC::ASTBuilder::createBlockStatement):
(JSC::ASTBuilder::createExprStatement):
(JSC::ASTBuilder::createIfStatement):
(JSC::ASTBuilder::createForLoop):
(JSC::ASTBuilder::createForInLoop):
(JSC::ASTBuilder::createEmptyStatement):
(JSC::ASTBuilder::createVarStatement):
(JSC::ASTBuilder::createReturnStatement):
(JSC::ASTBuilder::createBreakStatement):
(JSC::ASTBuilder::createContinueStatement):
(JSC::ASTBuilder::createTryStatement):
(JSC::ASTBuilder::createSwitchStatement):
(JSC::ASTBuilder::createWhileStatement):
(JSC::ASTBuilder::createDoWhileStatement):
(JSC::ASTBuilder::createLabelStatement):
(JSC::ASTBuilder::createWithStatement):
(JSC::ASTBuilder::createThrowStatement):
(JSC::ASTBuilder::createDebugger):
(JSC::ASTBuilder::createConstStatement):
(JSC::ASTBuilder::appendConstDecl):
(JSC::ASTBuilder::combineCommaNodes):
(JSC::ASTBuilder::appendBinaryOperation):
(JSC::ASTBuilder::createAssignment):
(JSC::ASTBuilder::createNumber):
(JSC::ASTBuilder::makeTypeOfNode):
(JSC::ASTBuilder::makeDeleteNode):
(JSC::ASTBuilder::makeNegateNode):
(JSC::ASTBuilder::makeBitwiseNotNode):
(JSC::ASTBuilder::makeMultNode):
(JSC::ASTBuilder::makeDivNode):
(JSC::ASTBuilder::makeModNode):
(JSC::ASTBuilder::makeAddNode):
(JSC::ASTBuilder::makeSubNode):
(JSC::ASTBuilder::makeLeftShiftNode):
(JSC::ASTBuilder::makeRightShiftNode):
(JSC::ASTBuilder::makeURightShiftNode):
(JSC::ASTBuilder::makeBitOrNode):
(JSC::ASTBuilder::makeBitAndNode):
(JSC::ASTBuilder::makeBitXOrNode):
(JSC::ASTBuilder::makeFunctionCallNode):
(JSC::ASTBuilder::makeBinaryNode):
(JSC::ASTBuilder::makeAssignNode):
(JSC::ASTBuilder::makePrefixNode):
(JSC::ASTBuilder::makePostfixNode):
* parser/JSParser.cpp: Removed.
* parser/JSParser.h: Removed.
* parser/Lexer.cpp:
(JSC::Keywords::Keywords):
(JSC::Lexer::Lexer):
(JSC::Lexer::~Lexer):
(JSC::Lexer::setCode):
(JSC::Lexer::parseIdentifier):
* parser/Lexer.h:
(JSC::Keywords::isKeyword):
(JSC::Keywords::getKeyword):
(JSC::Keywords::~Keywords):
(JSC::Lexer::setIsReparsing):
(JSC::Lexer::isReparsing):
(JSC::Lexer::lineNumber):
(JSC::Lexer::setLastLineNumber):
(JSC::Lexer::lastLineNumber):
(JSC::Lexer::prevTerminator):
(JSC::Lexer::sawError):
(JSC::Lexer::getErrorMessage):
(JSC::Lexer::currentOffset):
(JSC::Lexer::setOffset):
(JSC::Lexer::setLineNumber):
(JSC::Lexer::sourceProvider):
(JSC::Lexer::isWhiteSpace):
(JSC::Lexer::isLineTerminator):
(JSC::Lexer::convertHex):
(JSC::Lexer::convertUnicode):
(JSC::Lexer::makeIdentifier):
(JSC::Lexer::lexExpectIdentifier):
* parser/NodeConstructors.h:
(JSC::ParserArenaFreeable::operator new):
(JSC::ParserArenaDeletable::operator new):
(JSC::ParserArenaRefCounted::ParserArenaRefCounted):
(JSC::Node::Node):
(JSC::ExpressionNode::ExpressionNode):
(JSC::StatementNode::StatementNode):
(JSC::NullNode::NullNode):
(JSC::BooleanNode::BooleanNode):
(JSC::NumberNode::NumberNode):
(JSC::StringNode::StringNode):
(JSC::RegExpNode::RegExpNode):
(JSC::ThisNode::ThisNode):
(JSC::ResolveNode::ResolveNode):
(JSC::ElementNode::ElementNode):
(JSC::ArrayNode::ArrayNode):
(JSC::PropertyNode::PropertyNode):
(JSC::PropertyListNode::PropertyListNode):
(JSC::ObjectLiteralNode::ObjectLiteralNode):
(JSC::BracketAccessorNode::BracketAccessorNode):
(JSC::DotAccessorNode::DotAccessorNode):
(JSC::ArgumentListNode::ArgumentListNode):
(JSC::ArgumentsNode::ArgumentsNode):
(JSC::NewExprNode::NewExprNode):
(JSC::EvalFunctionCallNode::EvalFunctionCallNode):
(JSC::FunctionCallValueNode::FunctionCallValueNode):
(JSC::FunctionCallResolveNode::FunctionCallResolveNode):
(JSC::FunctionCallBracketNode::FunctionCallBracketNode):
(JSC::FunctionCallDotNode::FunctionCallDotNode):
(JSC::CallFunctionCallDotNode::CallFunctionCallDotNode):
(JSC::ApplyFunctionCallDotNode::ApplyFunctionCallDotNode):
(JSC::PrePostResolveNode::PrePostResolveNode):
(JSC::PostfixResolveNode::PostfixResolveNode):
(JSC::PostfixBracketNode::PostfixBracketNode):
(JSC::PostfixDotNode::PostfixDotNode):
(JSC::PostfixErrorNode::PostfixErrorNode):
(JSC::DeleteResolveNode::DeleteResolveNode):
(JSC::DeleteBracketNode::DeleteBracketNode):
(JSC::DeleteDotNode::DeleteDotNode):
(JSC::DeleteValueNode::DeleteValueNode):
(JSC::VoidNode::VoidNode):
(JSC::TypeOfResolveNode::TypeOfResolveNode):
(JSC::TypeOfValueNode::TypeOfValueNode):
(JSC::PrefixResolveNode::PrefixResolveNode):
(JSC::PrefixBracketNode::PrefixBracketNode):
(JSC::PrefixDotNode::PrefixDotNode):
(JSC::PrefixErrorNode::PrefixErrorNode):
(JSC::UnaryOpNode::UnaryOpNode):
(JSC::UnaryPlusNode::UnaryPlusNode):
(JSC::NegateNode::NegateNode):
(JSC::BitwiseNotNode::BitwiseNotNode):
(JSC::LogicalNotNode::LogicalNotNode):
(JSC::BinaryOpNode::BinaryOpNode):
(JSC::MultNode::MultNode):
(JSC::DivNode::DivNode):
(JSC::ModNode::ModNode):
(JSC::AddNode::AddNode):
(JSC::SubNode::SubNode):
(JSC::LeftShiftNode::LeftShiftNode):
(JSC::RightShiftNode::RightShiftNode):
(JSC::UnsignedRightShiftNode::UnsignedRightShiftNode):
(JSC::LessNode::LessNode):
(JSC::GreaterNode::GreaterNode):
(JSC::LessEqNode::LessEqNode):
(JSC::GreaterEqNode::GreaterEqNode):
(JSC::ThrowableBinaryOpNode::ThrowableBinaryOpNode):
(JSC::InstanceOfNode::InstanceOfNode):
(JSC::InNode::InNode):
(JSC::EqualNode::EqualNode):
(JSC::NotEqualNode::NotEqualNode):
(JSC::StrictEqualNode::StrictEqualNode):
(JSC::NotStrictEqualNode::NotStrictEqualNode):
(JSC::BitAndNode::BitAndNode):
(JSC::BitOrNode::BitOrNode):
(JSC::BitXOrNode::BitXOrNode):
(JSC::LogicalOpNode::LogicalOpNode):
(JSC::ConditionalNode::ConditionalNode):
(JSC::ReadModifyResolveNode::ReadModifyResolveNode):
(JSC::AssignResolveNode::AssignResolveNode):
(JSC::ReadModifyBracketNode::ReadModifyBracketNode):
(JSC::AssignBracketNode::AssignBracketNode):
(JSC::AssignDotNode::AssignDotNode):
(JSC::ReadModifyDotNode::ReadModifyDotNode):
(JSC::AssignErrorNode::AssignErrorNode):
(JSC::CommaNode::CommaNode):
(JSC::ConstStatementNode::ConstStatementNode):
(JSC::SourceElements::SourceElements):
(JSC::EmptyStatementNode::EmptyStatementNode):
(JSC::DebuggerStatementNode::DebuggerStatementNode):
(JSC::ExprStatementNode::ExprStatementNode):
(JSC::VarStatementNode::VarStatementNode):
(JSC::IfNode::IfNode):
(JSC::IfElseNode::IfElseNode):
(JSC::DoWhileNode::DoWhileNode):
(JSC::WhileNode::WhileNode):
(JSC::ForNode::ForNode):
(JSC::ContinueNode::ContinueNode):
(JSC::BreakNode::BreakNode):
(JSC::ReturnNode::ReturnNode):
(JSC::WithNode::WithNode):
(JSC::LabelNode::LabelNode):
(JSC::ThrowNode::ThrowNode):
(JSC::TryNode::TryNode):
(JSC::ParameterNode::ParameterNode):
(JSC::FuncExprNode::FuncExprNode):
(JSC::FuncDeclNode::FuncDeclNode):
(JSC::CaseClauseNode::CaseClauseNode):
(JSC::ClauseListNode::ClauseListNode):
(JSC::CaseBlockNode::CaseBlockNode):
(JSC::SwitchNode::SwitchNode):
(JSC::ConstDeclNode::ConstDeclNode):
(JSC::BlockNode::BlockNode):
(JSC::ForInNode::ForInNode):
* parser/NodeInfo.h:
* parser/Nodes.cpp:
(JSC::StatementNode::setLoc):
(JSC::ScopeNode::ScopeNode):
(JSC::ProgramNode::ProgramNode):
(JSC::ProgramNode::create):
(JSC::EvalNode::EvalNode):
(JSC::EvalNode::create):
(JSC::FunctionBodyNode::FunctionBodyNode):
(JSC::FunctionBodyNode::create):
* parser/Nodes.h:
(JSC::Node::lineNo):
* parser/Parser.cpp:
(JSC::Parser::Parser):
(JSC::Parser::~Parser):
(JSC::Parser::parseInner):
(JSC::Parser::allowAutomaticSemicolon):
(JSC::Parser::parseSourceElements):
(JSC::Parser::parseVarDeclaration):
(JSC::Parser::parseConstDeclaration):
(JSC::Parser::parseDoWhileStatement):
(JSC::Parser::parseWhileStatement):
(JSC::Parser::parseVarDeclarationList):
(JSC::Parser::parseConstDeclarationList):
(JSC::Parser::parseForStatement):
(JSC::Parser::parseBreakStatement):
(JSC::Parser::parseContinueStatement):
(JSC::Parser::parseReturnStatement):
(JSC::Parser::parseThrowStatement):
(JSC::Parser::parseWithStatement):
(JSC::Parser::parseSwitchStatement):
(JSC::Parser::parseSwitchClauses):
(JSC::Parser::parseSwitchDefaultClause):
(JSC::Parser::parseTryStatement):
(JSC::Parser::parseDebuggerStatement):
(JSC::Parser::parseBlockStatement):
(JSC::Parser::parseStatement):
(JSC::Parser::parseFormalParameters):
(JSC::Parser::parseFunctionBody):
(JSC::Parser::parseFunctionInfo):
(JSC::Parser::parseFunctionDeclaration):
(JSC::LabelInfo::LabelInfo):
(JSC::Parser::parseExpressionOrLabelStatement):
(JSC::Parser::parseExpressionStatement):
(JSC::Parser::parseIfStatement):
(JSC::Parser::parseExpression):
(JSC::Parser::parseAssignmentExpression):
(JSC::Parser::parseConditionalExpression):
(JSC::isUnaryOp):
(JSC::Parser::isBinaryOperator):
(JSC::Parser::parseBinaryExpression):
(JSC::Parser::parseProperty):
(JSC::Parser::parseObjectLiteral):
(JSC::Parser::parseStrictObjectLiteral):
(JSC::Parser::parseArrayLiteral):
(JSC::Parser::parsePrimaryExpression):
(JSC::Parser::parseArguments):
(JSC::Parser::parseMemberExpression):
(JSC::Parser::parseUnaryExpression):
* parser/Parser.h:
(JSC::isEvalNode):
(JSC::EvalNode):
(JSC::DepthManager::DepthManager):
(JSC::DepthManager::~DepthManager):
(JSC::ScopeLabelInfo::ScopeLabelInfo):
(JSC::Scope::Scope):
(JSC::Scope::startSwitch):
(JSC::Scope::endSwitch):
(JSC::Scope::startLoop):
(JSC::Scope::endLoop):
(JSC::Scope::inLoop):
(JSC::Scope::breakIsValid):
(JSC::Scope::continueIsValid):
(JSC::Scope::pushLabel):
(JSC::Scope::popLabel):
(JSC::Scope::getLabel):
(JSC::Scope::setIsFunction):
(JSC::Scope::isFunction):
(JSC::Scope::isFunctionBoundary):
(JSC::Scope::declareVariable):
(JSC::Scope::declareWrite):
(JSC::Scope::preventNewDecls):
(JSC::Scope::allowsNewDecls):
(JSC::Scope::declareParameter):
(JSC::Scope::useVariable):
(JSC::Scope::setNeedsFullActivation):
(JSC::Scope::collectFreeVariables):
(JSC::Scope::getUncapturedWrittenVariables):
(JSC::Scope::getCapturedVariables):
(JSC::Scope::setStrictMode):
(JSC::Scope::strictMode):
(JSC::Scope::isValidStrictMode):
(JSC::Scope::shadowsArguments):
(JSC::Scope::copyCapturedVariablesToVector):
(JSC::Scope::saveFunctionInfo):
(JSC::Scope::restoreFunctionInfo):
(JSC::ScopeRef::ScopeRef):
(JSC::ScopeRef::operator->):
(JSC::ScopeRef::index):
(JSC::ScopeRef::hasContainingScope):
(JSC::ScopeRef::containingScope):
(JSC::Parser::AllowInOverride::AllowInOverride):
(JSC::Parser::AllowInOverride::~AllowInOverride):
(JSC::Parser::AutoPopScopeRef::AutoPopScopeRef):
(JSC::Parser::AutoPopScopeRef::~AutoPopScopeRef):
(JSC::Parser::AutoPopScopeRef::setPopped):
(JSC::Parser::currentScope):
(JSC::Parser::pushScope):
(JSC::Parser::popScopeInternal):
(JSC::Parser::popScope):
(JSC::Parser::declareVariable):
(JSC::Parser::declareWrite):
(JSC::Parser::findCachedFunctionInfo):
(JSC::Parser::isFunctionBodyNode):
(JSC::Parser::next):
(JSC::Parser::nextExpectIdentifier):
(JSC::Parser::nextTokenIsColon):
(JSC::Parser::consume):
(JSC::Parser::getToken):
(JSC::Parser::match):
(JSC::Parser::tokenStart):
(JSC::Parser::tokenLine):
(JSC::Parser::tokenEnd):
(JSC::Parser::getTokenName):
(JSC::Parser::updateErrorMessageSpecialCase):
(JSC::Parser::updateErrorMessage):
(JSC::Parser::updateErrorWithNameAndMessage):
(JSC::Parser::startLoop):
(JSC::Parser::endLoop):
(JSC::Parser::startSwitch):
(JSC::Parser::endSwitch):
(JSC::Parser::setStrictMode):
(JSC::Parser::strictMode):
(JSC::Parser::isValidStrictMode):
(JSC::Parser::declareParameter):
(JSC::Parser::breakIsValid):
(JSC::Parser::continueIsValid):
(JSC::Parser::pushLabel):
(JSC::Parser::popLabel):
(JSC::Parser::getLabel):
(JSC::Parser::autoSemiColon):
(JSC::Parser::canRecurse):
(JSC::Parser::lastTokenEnd):
(JSC::Parser::DepthManager::DepthManager):
(JSC::Parser::DepthManager::~DepthManager):
(JSC::Parser::parse):
(JSC::parse):
* parser/ParserTokens.h: Added.
(JSC::JSTokenInfo::JSTokenInfo):
* parser/SourceCode.h:
(JSC::SourceCode::subExpression):
* parser/SourceProviderCacheItem.h:
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::SyntaxChecker):
(JSC::SyntaxChecker::makeFunctionCallNode):
(JSC::SyntaxChecker::createCommaExpr):
(JSC::SyntaxChecker::makeAssignNode):
(JSC::SyntaxChecker::makePrefixNode):
(JSC::SyntaxChecker::makePostfixNode):
(JSC::SyntaxChecker::makeTypeOfNode):
(JSC::SyntaxChecker::makeDeleteNode):
(JSC::SyntaxChecker::makeNegateNode):
(JSC::SyntaxChecker::makeBitwiseNotNode):
(JSC::SyntaxChecker::createLogicalNot):
(JSC::SyntaxChecker::createUnaryPlus):
(JSC::SyntaxChecker::createVoid):
(JSC::SyntaxChecker::thisExpr):
(JSC::SyntaxChecker::createResolve):
(JSC::SyntaxChecker::createObjectLiteral):
(JSC::SyntaxChecker::createArray):
(JSC::SyntaxChecker::createNumberExpr):
(JSC::SyntaxChecker::createString):
(JSC::SyntaxChecker::createBoolean):
(JSC::SyntaxChecker::createNull):
(JSC::SyntaxChecker::createBracketAccess):
(JSC::SyntaxChecker::createDotAccess):
(JSC::SyntaxChecker::createRegExp):
(JSC::SyntaxChecker::createNewExpr):
(JSC::SyntaxChecker::createConditionalExpr):
(JSC::SyntaxChecker::createAssignResolve):
(JSC::SyntaxChecker::createFunctionExpr):
(JSC::SyntaxChecker::createFunctionBody):
(JSC::SyntaxChecker::createArguments):
(JSC::SyntaxChecker::createArgumentsList):
(JSC::SyntaxChecker::createProperty):
(JSC::SyntaxChecker::createPropertyList):
(JSC::SyntaxChecker::createFuncDeclStatement):
(JSC::SyntaxChecker::createBlockStatement):
(JSC::SyntaxChecker::createExprStatement):
(JSC::SyntaxChecker::createIfStatement):
(JSC::SyntaxChecker::createForLoop):
(JSC::SyntaxChecker::createForInLoop):
(JSC::SyntaxChecker::createEmptyStatement):
(JSC::SyntaxChecker::createVarStatement):
(JSC::SyntaxChecker::createReturnStatement):
(JSC::SyntaxChecker::createBreakStatement):
(JSC::SyntaxChecker::createContinueStatement):
(JSC::SyntaxChecker::createTryStatement):
(JSC::SyntaxChecker::createSwitchStatement):
(JSC::SyntaxChecker::createWhileStatement):
(JSC::SyntaxChecker::createWithStatement):
(JSC::SyntaxChecker::createDoWhileStatement):
(JSC::SyntaxChecker::createLabelStatement):
(JSC::SyntaxChecker::createThrowStatement):
(JSC::SyntaxChecker::createDebugger):
(JSC::SyntaxChecker::createConstStatement):
(JSC::SyntaxChecker::appendConstDecl):
(JSC::SyntaxChecker::createGetterOrSetterProperty):
(JSC::SyntaxChecker::combineCommaNodes):
(JSC::SyntaxChecker::operatorStackPop):
* runtime/Executable.cpp:
(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::checkSyntax):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::produceCodeBlockFor):
(JSC::FunctionExecutable::fromGlobalCode):
* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):
* runtime/JSGlobalData.h:
* runtime/LiteralParser.cpp:
(JSC::LiteralParser::tryJSONPParse):

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

8 years agoThe test input-paste-undo.html needs update to work properly
benjamin@webkit.org [Mon, 31 Oct 2011 22:07:03 +0000 (22:07 +0000)]
The test input-paste-undo.html needs update to work properly
https://bugs.webkit.org/show_bug.cgi?id=71091

Reviewed by David Kilzer.

Update the test to select the text that needs to be copied
so that it effectively go in the pasteboard on execCommand.

The test now dumps result as text, testing if the height does not
change with the form edition.

* fast/forms/input-paste-undo-expected.txt: Added.
* fast/forms/input-paste-undo.html:
* platform/chromium-linux/fast/forms/input-paste-undo-expected.png: Removed.
* platform/chromium-mac-leopard/fast/forms/input-paste-undo-expected.png: Removed.
* platform/chromium-mac/fast/forms/input-paste-undo-expected.png: Removed.
* platform/chromium-win/fast/forms/input-paste-undo-expected.png: Removed.
* platform/chromium-win/fast/forms/input-paste-undo-expected.txt: Removed.
* platform/efl/fast/forms/input-paste-undo-expected.txt: Removed.
* platform/gtk/fast/forms/input-paste-undo-expected.png: Removed.
* platform/gtk/fast/forms/input-paste-undo-expected.txt: Removed.
* platform/mac-leopard/fast/forms/input-paste-undo-expected.png: Removed.
* platform/mac/fast/forms/input-paste-undo-expected.png: Removed.
* platform/mac/fast/forms/input-paste-undo-expected.txt: Removed.
* platform/qt/fast/forms/input-paste-undo-expected.txt: Removed.

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

8 years agowindow.onerror doesn't work with inline (attribute) scripts
yurys@chromium.org [Mon, 31 Oct 2011 22:03:22 +0000 (22:03 +0000)]
window.onerror doesn't work with inline (attribute) scripts
https://bugs.webkit.org/show_bug.cgi?id=70991

Source/WebCore:

Uncaught syntax errors in inline event handlers are now reported to
window.onerror handler.

Reviewed by Geoffrey Garen.

Tests: fast/events/window-onerror-exception-in-attr.html
       fast/events/window-onerror-syntax-error-in-attr.html

* bindings/js/JSLazyEventListener.cpp:
(WebCore::JSLazyEventListener::initializeJSFunction): report exception as usual
if it happens during event handler compilation.

LayoutTests:

Added a couple of window.onerror tests for the cases when uncaught exception
occurs in inline event handler. Test for non-syntax errors passed before this change
as well and just extends test coverage for window.onerror functionality.

Reviewed by Geoffrey Garen.

* fast/events/window-onerror-exception-in-attr-expected.txt: Added.
* fast/events/window-onerror-exception-in-attr.html: Added.
* fast/events/window-onerror-syntax-error-in-attr-expected.txt: Added.
* fast/events/window-onerror-syntax-error-in-attr.html: Added.
* platform/chromium/fast/events/window-onerror-exception-in-attr-expected.txt: Added.
* platform/chromium/fast/events/window-onerror-syntax-error-in-attr-expected.txt: Added.

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

8 years agoUnreviewed, more expectations changes for svg.
johnnyg@google.com [Mon, 31 Oct 2011 21:34:59 +0000 (21:34 +0000)]
Unreviewed, more expectations changes for svg.

* platform/chromium-cg-mac-leopard/fast/overflow/003-expected.txt: Added.
* platform/chromium-cg-mac-leopard/http/tests/misc/acid3-expected.png:
* platform/chromium-cg-mac-leopard/http/tests/misc/acid3-expected.txt: Removed.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/overflow: Added.
* platform/chromium-cg-mac-snowleopard/fast/overflow/003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-cg-mac/fast/overflow: Removed.
* platform/chromium-cg-mac/fast/overflow/003-expected.png: Removed.
* platform/chromium-cg-mac/fast/repaint/block-layout-inline-children-replaced-expected.png: Removed.
* platform/chromium-cg-mac/svg/zoom/page/zoom-foreignObject-expected.png: Removed.
* platform/chromium-linux-x86/svg/zoom/page: Removed.
* platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.txt: Removed.
* platform/chromium-linux/svg/as-background-image/svg-as-background-4-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/overflow: Added.
* platform/chromium-mac-snowleopard/fast/overflow/003-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-4-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-mac/fast/overflow/003-expected.png: Removed.
* platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.png: Removed.
* platform/chromium-mac/svg/as-background-image/svg-as-background-4-expected.png: Removed.
* platform/chromium-mac/svg/zoom/page/zoom-foreignObject-expected.png: Removed.
* platform/chromium-win-vista/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-foreignObject-expected.png:
* platform/chromium-win-xp/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-foreignObject-expected.png: Removed.
* platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.png:
* platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.txt: Added.
* platform/chromium-win/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt: Added.
* platform/chromium/svg/zoom: Added.
* platform/chromium/svg/zoom/page: Added.
* platform/chromium/svg/zoom/page/zoom-background-images-expected.txt: Added.
* platform/chromium/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt: Added.
* platform/chromium/test_expectations.txt:
* platform/gtk/svg/as-background-image/svg-as-background-4-expected.txt: Removed.

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

8 years agoOverridden LayoutRect method still uses IntRects
eae@chromium.org [Mon, 31 Oct 2011 21:33:35 +0000 (21:33 +0000)]
Overridden LayoutRect method still uses IntRects
https://bugs.webkit.org/show_bug.cgi?id=71166

Reviewed by Eric Seidel.

Change all virtual controlClipRect, windowResizerRect, windowClipRect,
visibleContentRect, scrollCornerRect, outlineBoundsForRepaint and
localCaretRect functions to have the same signature.

* page/FrameView.cpp:
(WebCore::FrameView::windowClipRect):
(WebCore::FrameView::windowClipRectForLayer):
(WebCore::FrameView::windowResizerRect):
* page/FrameView.h:
* platform/ScrollView.cpp:
(WebCore::ScrollView::wheelEvent):
* platform/ScrollView.h:
* platform/ScrollableArea.h:
* rendering/RenderButton.h:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::visibleContentRect):
* rendering/RenderLayer.h:
* rendering/RenderObject.cpp:
(WebCore::RenderObject::localCaretRect):
* rendering/RenderObject.h:
(WebCore::RenderObject::outlineBoundsForRepaint):
* rendering/RenderText.cpp:
(WebCore::RenderText::localCaretRect):
(WebCore::RenderText::linesBoundingBox):
* rendering/RenderText.h:
* rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::localCaretRect):
* rendering/svg/RenderSVGInlineText.h:

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

8 years ago[Chromium] Did rebaselines of media/audio-repaint.html.
imasaki@chromium.org [Mon, 31 Oct 2011 21:24:08 +0000 (21:24 +0000)]
[Chromium] Did rebaselines of media/audio-repaint.html.

Unreviewed.

* platform/chromium-gpu-linux/media/audio-repaint-expected.png: Added.
* platform/chromium-gpu-win/media/audio-repaint-expected.txt: Added.
* platform/chromium-linux/media/audio-repaint-expected.png:
* platform/chromium-win/media/audio-repaint-expected.png:

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

8 years agoSource/WebCore: https://bugs.webkit.org/show_bug.cgi?id=70658
dslomov@google.com [Mon, 31 Oct 2011 21:07:22 +0000 (21:07 +0000)]
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=70658
[JSC] Implement MessagePort transfer in JSC bindings implementation of webkitPostMessage.
Transfer of MessagePorts implemented.

Reviewed by David Levin.

* bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::serialize):
(WebCore::CloneSerializer::CloneSerializer):
(WebCore::CloneSerializer::dumpIfTerminal):
(WebCore::CloneDeserializer::deserialize):
(WebCore::CloneDeserializer::CloneDeserializer):
(WebCore::CloneDeserializer::readTerminal):
(WebCore::SerializedScriptValue::create):
(WebCore::SerializedScriptValue::deserialize):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=70658
[JSC] Implement MessagePort transfer in JSC bindings implementation of webkitPostMessage.
Some 'FAIL's remain in expected test results. These are due to the fact that
JSC bindings chose not to throw type error exception for non-serializable values -
non-serializable values are serialized as null.

Reviewed by David Levin.

* fast/dom/Window/window-postmessage-args-expected.txt:
* fast/events/message-port-multi-expected.txt:

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

8 years agoREGRESSION (r97118): Reproducible crash in JSCell::toPrimitive when adding
fpizlo@apple.com [Mon, 31 Oct 2011 21:03:21 +0000 (21:03 +0000)]
REGRESSION (r97118): Reproducible crash in JSCell::toPrimitive when adding
https://bugs.webkit.org/show_bug.cgi?id=71227

Reviewed by Oliver Hunt.

No new tests, since while I can see exactly where the DFG went wrong on the
site in question from looking at the generated machine code, and while I can
certainly believe that such a scenario would happen, I cannot visualize how
to make it happen reproducibly. It requires an odd combination of double
values getting spilled and then refilled, but then reboxed at just the right
time so that the spilled value is an unboxed double while the in-register
value is a boxed double.

* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::silentFillGPR):

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

8 years agowebkitpy tests depend too much on the user's environment
eric@webkit.org [Mon, 31 Oct 2011 20:50:51 +0000 (20:50 +0000)]
webkitpy tests depend too much on the user's environment
https://bugs.webkit.org/show_bug.cgi?id=71234

Reviewed by Dirk Pranke.

This change just makes a bunch of our older tests use
more modern mocking to avoid trying to launch processes
or read from the user's filesystem during unittesting.

I found many of these by adding an assert in Executive.run_command
that we were not unittesting.  I can't add that assert always
as there are some valid uses of Executive during unittesting.
Once I fix more of these, I may find a way to add such an assert conditionally.

* Scripts/webkitpy/common/checkout/baselineoptimizer.py:
* Scripts/webkitpy/common/net/credentials_unittest.py:
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
* Scripts/webkitpy/layout_tests/port/base.py:
* Scripts/webkitpy/layout_tests/port/base_unittest.py:

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

8 years agoUnreviewed, inspector/debugger/bind-script-to-resource.html fails after r98847
johnnyg@google.com [Mon, 31 Oct 2011 20:29:38 +0000 (20:29 +0000)]
Unreviewed, inspector/debugger/bind-script-to-resource.html fails after r98847

* platform/chromium/test_expectations.txt:

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

8 years agoRename a couple of NetscapePlugin and PluginProxy member variables
andersca@apple.com [Mon, 31 Oct 2011 20:22:21 +0000 (20:22 +0000)]
Rename a couple of NetscapePlugin and PluginProxy member variables
https://bugs.webkit.org/show_bug.cgi?id=71086

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::invalidate):
(WebKit::NetscapePlugin::callSetWindow):
(WebKit::NetscapePlugin::snapshot):
(WebKit::NetscapePlugin::deprecatedGeometryDidChange):
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformPaint):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):
* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::scheduleWindowedGeometryUpdate):
(WebKit::NetscapePlugin::platformPaint):
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::geometryDidChange):
(WebKit::PluginProxy::deprecatedGeometryDidChange):
(WebKit::PluginProxy::update):
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::viewGeometryDidChange):

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

8 years agoDid rebaselines for failing tests for fullscreen layout tests.
imasaki@chromium.org [Mon, 31 Oct 2011 19:27:39 +0000 (19:27 +0000)]
Did rebaselines for failing tests for fullscreen layout tests.
https://bugs.webkit.org/show_bug.cgi?id=70512

Reviewed by David Levin.

* platform/chromium-cg-mac-snowleopard/fullscreen/full-screen-iframe-zIndex-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fullscreen/full-screen-zIndex-after-expected.png: Added.
* platform/chromium-mac-leopard/fullscreen/full-screen-iframe-zIndex-expected.png:
* platform/chromium-mac-leopard/fullscreen/full-screen-remove-ancestor-after-expected.png:
* platform/chromium-mac-leopard/fullscreen/full-screen-zIndex-after-expected.png:

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

8 years agoUnreviewed. Fixed duplicate lines in test expectations.
caseq@chromium.org [Mon, 31 Oct 2011 19:09:20 +0000 (19:09 +0000)]
Unreviewed. Fixed duplicate lines in test expectations.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed. More rebaselines after r98852.
caseq@chromium.org [Mon, 31 Oct 2011 18:54:42 +0000 (18:54 +0000)]
Unreviewed. More rebaselines after r98852.

* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/http/tests/misc/acid3-expected.png:
* platform/chromium-cg-mac-leopard/http/tests/misc/acid3-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/http/tests/misc/acid3-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/http/tests/misc/acid3-expected.png.
* platform/chromium-cg-mac/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-001-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-002-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-002-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-004-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-004-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-005-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-005-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-006-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-007-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-007-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-008-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-008-expected.txt: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-009-expected.png: Removed.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-009-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-001-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-002-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-003-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-001-expected.png.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-004-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-005-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-006-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-007-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-008-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-009-expected.txt: Removed.
* platform/chromium-linux/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Removed.
* platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
* platform/chromium-mac-snowleopard/http/tests/misc/acid3-expected.png: Renamed from LayoutTests/platform/chromium-mac/http/tests/misc/acid3-expected.png.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
* platform/chromium-mac/fast/block/float/015-expected.png: Removed.
* platform/chromium-mac/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Removed.
* platform/chromium-mac/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-001-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-002-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-002-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-004-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-004-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-005-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-005-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-006-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-006-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-007-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-007-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-008-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-008-expected.txt: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-009-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-009-expected.txt: Removed.
* platform/chromium-win-xp/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/background-intrinsic-003-expected.png: Renamed from LayoutTests/platform/chromium-win-xp/css2.1/20110323/background-intrinsic-001-expected.png.
* platform/chromium-win/css2.1/20110323/background-intrinsic-003-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-006-expected.txt.
* platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Renamed from LayoutTests/platform/chromium-win-xp/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png.
* platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt.
* platform/mac/svg/as-image/svg-as-relative-image-expected.txt: Removed.
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Removed.
* platform/qt/svg/as-image/svg-as-relative-image-expected.txt: Removed.
* platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: Removed.

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

8 years ago[EFL] Unreviewed. Update Skipped list.
leandro@webkit.org [Mon, 31 Oct 2011 18:16:27 +0000 (18:16 +0000)]
[EFL] Unreviewed. Update Skipped list.

* platform/efl/Skipped: Reorder test groups so that they appear in a
more logical manner. Add some other tests that are failing since
recent updates.

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

8 years agoUnreviewed. Marked tests as failing after r98852.
caseq@chromium.org [Mon, 31 Oct 2011 17:54:08 +0000 (17:54 +0000)]
Unreviewed. Marked tests as failing after r98852.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed, expectations for fast/js tests.
johnnyg@google.com [Mon, 31 Oct 2011 17:46:17 +0000 (17:46 +0000)]
Unreviewed, expectations for fast/js tests.

* platform/chromium/fast/js/regexp-caching-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years ago[GTK] Install html and tmpl dirs in a $(DOC_MODULE) dir in tarball
carlosgc@webkit.org [Mon, 31 Oct 2011 17:43:06 +0000 (17:43 +0000)]
[GTK] Install html and tmpl dirs in a $(DOC_MODULE) dir in tarball
https://bugs.webkit.org/show_bug.cgi?id=71224

Reviewed by Martin Robinson.

* GNUmakefile.gtk-doc.am: Copy html and tmpl dirs to
$(distdir)/$(DOC_MODULE).

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

8 years agoUnreviewed tests rebaseline following r98852.
caseq@chromium.org [Mon, 31 Oct 2011 17:38:27 +0000 (17:38 +0000)]
Unreviewed tests rebaseline following r98852.

* fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/backgrounds/size/contain-and-cover-expected.png:
* platform/chromium-cg-mac-leopard/fast/block/float/015-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/chromium-cg-mac-leopard/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/chromium-cg-mac-leopard/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/as-background-image/background-image-tiled-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/chromium-cg-mac-snowleopard/css1/text_properties/vertical_align-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/css1/text_properties/vertical_align-expected.png.
* platform/chromium-cg-mac-snowleopard/fast/backgrounds/size/contain-and-cover-expected.png:
* platform/chromium-cg-mac-snowleopard/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-foreignObject-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug85016-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/tables/mozilla_expected_failures/bugs/bug85016-expected.png.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/chromium-linux-x86/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/chromium-linux/fast/block/float/015-expected.png:
* platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/chromium-linux/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/chromium-linux/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/chromium-linux/svg/as-image/animated-svg-as-image-expected.png:
* platform/chromium-linux/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-linux/svg/as-image/same-image-two-instances-expected.png: Added.
* platform/chromium-linux/svg/as-image/svg-as-relative-image-expected.png: Added.
* platform/chromium-linux/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
* platform/chromium-linux/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-foreignObject-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Added.
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/chromium-mac-snowleopard/css1/text_properties/vertical_align-expected.png: Renamed from LayoutTests/platform/chromium-mac/css1/text_properties/vertical_align-expected.png.
* platform/chromium-mac-snowleopard/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/015-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-background-image/background-image-tiled-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-image/animated-svg-as-image-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/as-image/animated-svg-as-image-expected.png.
* platform/chromium-mac-snowleopard/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-image/same-image-two-instances-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-image/svg-as-relative-image-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-foreignObject-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug85016-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug85016-expected.png.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-foreignObject-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-win/css1/text_properties/vertical_align-expected.txt:
* platform/chromium-win/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/chromium-win/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/chromium-win/fast/block/float/015-expected.png:
* platform/chromium-win/fast/block/float/015-expected.txt:
* platform/chromium-win/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.txt:
* platform/chromium-win/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/chromium-win/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt: Added.
* platform/chromium-win/svg/as-background-image/background-image-tiled-expected.png: Added.
* platform/chromium-win/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/chromium-win/svg/as-image/animated-svg-as-image-expected.png:
* platform/chromium-win/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/chromium-win/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/chromium-win/svg/as-image/same-image-two-instances-expected.png: Added.
* platform/chromium-win/svg/as-image/same-image-two-instances-expected.txt: Added.
* platform/chromium-win/svg/as-image/svg-as-relative-image-expected.png: Added.
* platform/chromium-win/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
* platform/chromium-win/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/chromium-win/svg/as-image/svg-image-change-content-size-expected.txt: Added.
* platform/chromium-win/svg/zoom/page/relative-sized-document-scrollbars-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Copied from LayoutTests/platform/chromium-win/svg/zoom/page/relative-sized-document-scrollbars-expected.png.
* platform/chromium-win/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Added.
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
* platform/chromium/tables/mozilla_expected_failures/bugs/bug85016-expected.txt: Added.
* svg/as-background-image/svg-as-background-4-expected.txt: Renamed from LayoutTests/platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.txt.
* svg/as-image/svg-as-relative-image-expected.txt: Renamed from LayoutTests/platform/gtk/svg/as-image/svg-as-relative-image-expected.txt.
* svg/zoom/page/relative-sized-document-scrollbars-expected.txt: Renamed from LayoutTests/platform/gtk/svg/zoom/page/relative-sized-document-scrollbars-expected.txt.

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

8 years ago[EFL] Unreviewed. Add pixel baselines for tests in fast/ directory.
leandro@webkit.org [Mon, 31 Oct 2011 17:30:09 +0000 (17:30 +0000)]
[EFL] Unreviewed. Add pixel baselines for tests in fast/ directory.

* platform/efl/fast/backgrounds: [...]
* platform/efl/fast/block: [...]
* platform/efl/fast/body-propagation: [...]
* platform/efl/fast/borders: [...]
* platform/efl/fast/box-shadow: [...]
* platform/efl/fast/canvas: [...]
* platform/efl/fast/clip: [...]
* platform/efl/fast/compact: [...]
* platform/efl/fast/css-generated-content: [...]
* platform/efl/fast/css: [...]

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

8 years agoCSSRule: Devirtualize insertedIntoParent()
andreas.kling@nokia.com [Mon, 31 Oct 2011 17:02:49 +0000 (17:02 +0000)]
CSSRule: Devirtualize insertedIntoParent()
https://bugs.webkit.org/show_bug.cgi?id=71223

Reviewed by Antti Koivisto.

Moved insertedIntoParent() down into CSSImportRule and renamed it to
requestStyleSheet(). CSSImportRule is the only user of this function.

* css/CSSImportRule.cpp:
(WebCore::CSSImportRule::requestStyleSheet):
* css/CSSImportRule.h:
* css/CSSRule.h:
* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::append):
(WebCore::CSSStyleSheet::insertRule):

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

8 years agoImplement load notification and events for <track>.
annacc@chromium.org [Mon, 31 Oct 2011 16:35:56 +0000 (16:35 +0000)]
Implement load notification and events for <track>.
https://bugs.webkit.org/show_bug.cgi?id=71054

Reviewed by Eric Carlson.

Source/WebCore:

Tests: media/track/track-load-error-readyState.html
       media/track/track-load-from-element-readyState.html
       media/track/track-load-from-src-readyState.html

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::trackWasAdded):
(WebCore::HTMLMediaElement::trackWillBeRemoved):
(WebCore::HTMLMediaElement::trackSourceChanged):
* html/HTMLMediaElement.h:
* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::insertedIntoTree):
(WebCore::HTMLTrackElement::willRemove):
(WebCore::HTMLTrackElement::parseMappedAttribute):
(WebCore::HTMLTrackElement::attributeChanged):
* html/HTMLTrackElement.h:
* html/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::cueLoadingCompleted):

LayoutTests:

* media/track/track-load-error-readyState-expected.txt: Added.
* media/track/track-load-error-readyState.html: Added.
* media/track/track-load-from-element-readyState-expected.txt: Added.
* media/track/track-load-from-element-readyState.html: Added.
* media/track/track-load-from-src-readyState-expected.txt: Added.
* media/track/track-load-from-src-readyState.html: Added.
* platform/mac/Skipped:
* platform/win/Skipped:

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