profile/ivi/webkit-efl.git
12 years ago[Qt][WK2] Move WebFrameNetworkingContext to WebKit namespace.
commit-queue@webkit.org [Wed, 16 May 2012 10:43:17 +0000 (10:43 +0000)]
[Qt][WK2] Move WebFrameNetworkingContext to WebKit namespace.
https://bugs.webkit.org/show_bug.cgi?id=86590

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-05-16
Reviewed by Simon Hausmann.

* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp:
(WebKit::WebFrameNetworkingContext::WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::create):
* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h:
(WebKit):
(WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::originatingObject):
(WebKit::WebFrameNetworkingContext::~WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::networkAccessManager):
(WebKit::WebFrameNetworkingContext::mimeSniffingEnabled):
(WebKit::WebFrameNetworkingContext::thirdPartyCookiePolicyPermission):

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

12 years ago[EFL] http/tests/misc/iframe-reparenting-id-collision.html can be unskipped
commit-queue@webkit.org [Wed, 16 May 2012 10:34:01 +0000 (10:34 +0000)]
[EFL] http/tests/misc/iframe-reparenting-id-collision.html can be unskipped
https://bugs.webkit.org/show_bug.cgi?id=86588

Unreviewed EFL gardening. Unskip
http/tests/misc/iframe-reparenting-id-collision.html which is passing
now that Bug 64085 is closed.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:

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

12 years agoUnreviewed. Add myself as a committer.
g.czajkowski@samsung.com [Wed, 16 May 2012 10:27:52 +0000 (10:27 +0000)]
Unreviewed. Add myself as a committer.

* Scripts/webkitpy/common/config/committers.py:

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

12 years agoSpeech JavaScript API: pass WebSecurityOrigin to embedder
hans@chromium.org [Wed, 16 May 2012 10:24:51 +0000 (10:24 +0000)]
Speech JavaScript API: pass WebSecurityOrigin to embedder
https://bugs.webkit.org/show_bug.cgi?id=86348

Reviewed by Adam Barth.

Pass the WebSecurityOrigin of the SpeecReco object to the embedder when calling
start(). The origin will be used to determine whether speech recognition is
allowed or not.

* public/WebSpeechRecognitionParams.h:
(WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
(WebKit::WebSpeechRecognitionParams::origin):
(WebSpeechRecognitionParams):
* src/SpeechRecognitionClientProxy.cpp:
(WebKit::SpeechRecognitionClientProxy::start):

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

12 years agoUnreviewed GTK gardening after r117123 and r117225.
zandobersek@gmail.com [Wed, 16 May 2012 10:19:35 +0000 (10:19 +0000)]
Unreviewed GTK gardening after r117123 and r117225.

* platform/gtk/test_expectations.txt:

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

12 years agoShadowRoot.selection should return the seleciton whose range is in a shadow tree.
shinyak@chromium.org [Wed, 16 May 2012 10:08:23 +0000 (10:08 +0000)]
ShadowRoot.selection should return the seleciton whose range is in a shadow tree.
https://bugs.webkit.org/show_bug.cgi?id=82698

Reviewed by Ryosuke Niwa.

Source/WebCore:

The selection object returned from shadowRoot.selection should be able to see
the inner object of the shadowRoot.

In the previous code, the node out of the shadow subtree was returned for
anchorNode, focusNode, baseNode, and extentNode. This patch enables us to get
the corresponding shadow ancestor in the specified TreeScope (m_treeScope).

Tests: editing/shadow/selection-of-orphan-shadowroot.html
       editing/shadow/selection-of-shadowroot.html

* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::selection):
* dom/ShadowRoot.h:
(ShadowRoot):
* dom/TreeScope.cpp:
(WebCore::TreeScope::getSelection): When shadow DOM feature is not enabled, we want to use the same
instance of DOMSelection among Document and ShadowRoot.
* dom/TreeScopeAdjuster.cpp:
(WebCore::TreeScopeAdjuster::TreeScopeAdjuster):
(WebCore::TreeScopeAdjuster::ancestorInThisScope): Since node could be null, I've added a node check code.
* dom/TreeScopeAdjuster.h:
(TreeScopeAdjuster):
(WebCore::TreeScopeAdjuster::treeScope):
* page/DOMSelection.cpp:
(WebCore::DOMSelection::anchorNode):
(WebCore::DOMSelection::anchorOffset):
(WebCore::DOMSelection::focusNode):
(WebCore::DOMSelection::focusOffset):
(WebCore::DOMSelection::baseNode):
(WebCore::DOMSelection::baseOffset):
(WebCore::DOMSelection::extentNode):
(WebCore::DOMSelection::extentOffset):
(WebCore::DOMSelection::shadowAdjustedNode): Gets the corresponding node in the m_treeScope from the Position.
(WebCore):
(WebCore::DOMSelection::shadowAdjustedOffset): Gets the corresponding node offset in the m_treeScope from the Position.
* page/DOMSelection.h:
(WebCore):
(DOMSelection):

LayoutTests:

This patch contains 2 tests:
- Generates a complex HTML tree having a ShadowRoot, an older ShadowRoot, a nested ShadowRoot,
nested ShadowRoot in an older ShadowRoot, etc., and try to drag from a nested shadow root of
older shadow root to a nested shadow root of younger shadow root. Then checks nodes of Shadowroot.selection
are in the same tree scope or null.
- Generates a ShadowDOM which is not inserted into a document, and confirms nodes taken from
the selection are all null.

Also, this patch deprecates old shadowRoot.selection tests, because they test to check
window.getSelection() and shadowRoot.selection is the same. This behavior is changed by this patch.

* editing/shadow/selection-of-orphan-shadowroot-expected.txt: Added.
* editing/shadow/selection-of-orphan-shadowroot.html: Added.
* editing/shadow/selection-of-shadowroot-expected.txt: Added.
* editing/shadow/selection-of-shadowroot.html: Added.
* fast/dom/resources/event-sender-util.js:
(mouseMoveToElem):
(dragFromTo):
* fast/dom/shadow/resources/shadow-dom-util.js: Added.
(getElementByIdConsideringShadowDOM.iter):
(getElementByIdConsideringShadowDOM):
* fast/dom/shadow/selection-in-shadow.html: Removed.
* platform/chromium-mac-snowleopard/fast/dom/shadow/selection-in-shadow-expected.txt: Removed.
* platform/chromium/fast/dom/shadow/selection-in-shadow-expected.txt: Removed.
* platform/qt/Skipped:

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

12 years ago[WTR] Visited link tracking is not disabled properly
abecsi@webkit.org [Wed, 16 May 2012 09:58:59 +0000 (09:58 +0000)]
[WTR] Visited link tracking is not disabled properly
https://bugs.webkit.org/show_bug.cgi?id=76699

Reviewed by Jocelyn Turcotte.

Source/WebKit2:

If PLATFORM_STRATEGIES is enabled visited link tracking is done through
VisitedLinkProvider and not through PageGroup.
InjectedBundle sets the shouldTrackVisitedLinks flag on the PageGroup,
thus the shared VisitedLinkTable does get populated with visited links
regardless of the flag.

The WebProcess should only track visited links if tracking is specifically
enabled for a test through WTR's LayoutTestController.

This patch fixes several flacky and failing layout tests on Qt-WK2.

* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setShouldTrackVisitedLinks): Let the WebProcess
know about visited link tracking.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::setShouldTrackVisitedLinks):
(WebKit::WebProcess::addVisitedLink):
* WebProcess/WebProcess.h:
(WebProcess):

LayoutTests:

* platform/qt-5.0-wk2/Skipped: Unskip passing tests.

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

12 years ago[Chromium] Unreviewed test expectations update
bashi@chromium.org [Wed, 16 May 2012 09:54:21 +0000 (09:54 +0000)]
[Chromium] Unreviewed test expectations update

Adding further suppressions for flaky tests on cr-linux ews.

* platform/chromium/test_expectations.txt:

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

12 years ago[BlackBerry] xhr request to non existent file response is 0 and not 404.
commit-queue@webkit.org [Wed, 16 May 2012 09:46:18 +0000 (09:46 +0000)]
[BlackBerry] xhr request to non existent file response is 0 and not 404.
https://bugs.webkit.org/show_bug.cgi?id=86344

Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-05-16
Reviewed by George Staikos.

Source/WebCore:

NetworkJob receives 404 for a XMLHttpRequest which calls open("HEAD", "notExist.html", true).
There are no data received because its method is HEAD.
This case should not be treated as a failure.

Add shouldNotifyClientFailed() to treat XMLHttpRequest as a special case.
XMLHttpRequest will fail when status code is smaller than zero.

If we use "GET" and receive 404 without body, NetworkJob won't go through failing code path, too.
So add http/tests/xmlhttprequest/xmlhttprequest-check-get-readystate-for-404-without-body.html
to check this case.

Test: http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html
      http/tests/xmlhttprequest/xmlhttprequest-check-get-readystate-for-404-without-body.html
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::sendResponseIfNeeded):

LayoutTests:

* http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html:

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

12 years ago[Qt] Unreviewed gardening, unskip a fixed test
jocelyn.turcotte@nokia.com [Wed, 16 May 2012 09:43:44 +0000 (09:43 +0000)]
[Qt] Unreviewed gardening, unskip a fixed test
https://bugs.webkit.org/show_bug.cgi?id=84434

* platform/qt-5.0-wk2/Skipped:

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

12 years ago[EFL] fast/loader/stateobjects/replacestate-in-iframe.html can be unskipped
commit-queue@webkit.org [Wed, 16 May 2012 09:34:51 +0000 (09:34 +0000)]
[EFL] fast/loader/stateobjects/replacestate-in-iframe.html can be unskipped
https://bugs.webkit.org/show_bug.cgi?id=86586

Unreviewed EFL gardening. Unskip
fast/loader/stateobjects/replacestate-in-iframe.html since the
infinite loop bug has been fixed in r81232.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:

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

12 years ago[Qt] Unreviewed gardening.
kkristof@inf.u-szeged.hu [Wed, 16 May 2012 09:32:46 +0000 (09:32 +0000)]
[Qt] Unreviewed gardening.
Modified test fails after r117123.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-05-16

* platform/qt/Skipped:

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

12 years agoHasCustomWillOrDidRecalcStyleFlag and family should live in a bit.
morrita@google.com [Wed, 16 May 2012 09:32:02 +0000 (09:32 +0000)]
HasCustomWillOrDidRecalcStyleFlag and family should live in a bit.
https://bugs.webkit.org/show_bug.cgi?id=86175

Reviewed by Ryosuke Niwa.

This change unifies following flags into one HasCustomCallbacksFlag.
- HasCustomWillOrDidRecalcStyleFlag
- HasCustomStyleForRendererFlag
- IsFrameOwnerElementFlag

By this change, some callbacks can be called even if there are no override.
So all custom callbacks should just pass these invocations.

No new tests. No behavior change.

* dom/ContainerNodeAlgorithms.h:
(WebCore::ChildFrameDisconnector::collectDescendant):
* dom/Element.cpp:
(WebCore::Element::styleForRenderer):
(WebCore::Element::recalcStyle):
(WebCore::Element::willRecalcStyle):
(WebCore):
(WebCore::Element::didRecalcStyle):
(WebCore::Element::customStyleForRenderer):
* dom/Element.h:
(Element):
* dom/Node.h:
(WebCore::Node::isFrameOwnerElement):
(WebCore::Node::hasCustomCallbacks):
(WebCore::Node::setHasCustomCallbacks):
* dom/Text.cpp:
(WebCore::Text::recalcTextStyle):
(WebCore::Text::willRecalcTextStyle):
(WebCore):
* dom/Text.h:
(Text):
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::HTMLFormControlElement):
* html/HTMLFrameOwnerElement.cpp:
(WebCore::HTMLFrameOwnerElement::disconnectContentFrame):
* html/HTMLFrameOwnerElement.h:
* html/HTMLFrameSetElement.cpp:
(WebCore::HTMLFrameSetElement::HTMLFrameSetElement):
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::HTMLIFrameElement):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
(WebCore::HTMLPlugInImageElement::documentWillSuspendForPageCache):
(WebCore::HTMLPlugInImageElement::documentDidResumeFromPageCache):
(WebCore::HTMLPlugInImageElement::customStyleForRenderer):
* html/HTMLPlugInImageElement.h:
(HTMLPlugInImageElement):
* html/shadow/TextControlInnerElements.cpp:
(WebCore::TextControlInnerElement::TextControlInnerElement):
(WebCore::TextControlInnerElement::customStyleForRenderer):
(WebCore::TextControlInnerTextElement::TextControlInnerTextElement):
(WebCore::TextControlInnerTextElement::customStyleForRenderer):
* html/shadow/TextControlInnerElements.h:
(TextControlInnerElement):
(TextControlInnerTextElement):
* html/shadow/TextFieldDecorationElement.cpp:
(WebCore::TextFieldDecorationElement::TextFieldDecorationElement):
(WebCore::TextFieldDecorationElement::customStyleForRenderer):
* html/shadow/TextFieldDecorationElement.h:
(TextFieldDecorationElement):
* svg/SVGElement.cpp:
(WebCore::SVGElement::SVGElement):
(WebCore::SVGElement::customStyleForRenderer):
* svg/SVGElement.h:
(SVGElement):
* svg/SVGTRefElement.cpp:
(WebCore::SVGShadowText::SVGShadowText):
* svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::SVGUseElement):

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

12 years agoWeb Inspector: exception when switching to heap profiler comparison view
yurys@chromium.org [Wed, 16 May 2012 09:26:19 +0000 (09:26 +0000)]
Web Inspector: exception when switching to heap profiler comparison view
https://bugs.webkit.org/show_bug.cgi?id=86224

Reviewed by Pavel Feldman.

Make sure the messages are dispatched in the same order as they are sent in
case a fake worker is used for heap snapshot processing.

* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.AsyncTaskQueue):
(WebInspector.AsyncTaskQueue.prototype.addTask):
(WebInspector.AsyncTaskQueue.prototype._onTimeout):
(WebInspector.AsyncTaskQueue.prototype._scheduleTimer):
(WebInspector.HeapSnapshotFakeWorker):
(WebInspector.HeapSnapshotFakeWorker.prototype.postMessage):
(WebInspector.HeapSnapshotFakeWorker.prototype._postMessageFromWorker):

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

12 years ago[EFL][DRT] Gardening failures after r117123 and r117205
commit-queue@webkit.org [Wed, 16 May 2012 09:19:06 +0000 (09:19 +0000)]
[EFL][DRT] Gardening failures after r117123 and r117205
https://bugs.webkit.org/show_bug.cgi?id=86584

Unreviewed, EFL gardening.

Media expectations updated now that they draw the fullscreen icon.
Moved flaky test to test_expectations, unskipped unexpected pass.

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-05-16

* platform/efl/media/controls-after-reload-expected.png:
* platform/efl/media/controls-after-reload-expected.txt:
* platform/efl/media/controls-strict-expected.png:
* platform/efl/media/controls-strict-expected.txt:
* platform/efl/media/controls-without-preload-expected.png:
* platform/efl/media/controls-without-preload-expected.txt:
* platform/efl/media/video-controls-rendering-expected.png:
* platform/efl/media/video-controls-rendering-expected.txt:
* platform/efl/media/video-display-toggle-expected.png:
* platform/efl/media/video-display-toggle-expected.txt:
* platform/efl/media/video-zoom-controls-expected.png:
* platform/efl/media/video-zoom-controls-expected.txt:
* platform/efl/test_expectations.txt:

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

12 years ago[EFL] Add new commands for Ewk_Editor_Command.
commit-queue@webkit.org [Wed, 16 May 2012 09:16:58 +0000 (09:16 +0000)]
[EFL] Add new commands for Ewk_Editor_Command.
https://bugs.webkit.org/show_bug.cgi?id=74921

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2012-05-16
Reviewed by Hajime Morita.

Add new commands for Ewk_Editor_Command enum and introduce new table to keep
enum and string values in sync.

* ewk/ewk_view.cpp: Added a table with EditorCommand struct elements.
(EditorCommand): Added structure consisting of enum and string value.
(_Ewk_View_Private_Data):
(_ewk_view_editor_command_string_get): Added.
(ewk_view_editor_command_execute):
* ewk/ewk_view.h: Ewk_Editor_Command enum extended.

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

12 years ago[EFL] PlatformKeyboardEvent: figures, letters and printscreen key handling
commit-queue@webkit.org [Wed, 16 May 2012 09:12:32 +0000 (09:12 +0000)]
[EFL] PlatformKeyboardEvent: figures, letters and printscreen key handling
https://bugs.webkit.org/show_bug.cgi?id=85503

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-16
Reviewed by Gustavo Noronha Silva.

Source/WebCore:

* platform/efl/EflKeyboardUtilities.cpp:
(WebCore::addCharactersToKeyMap): aux function
(WebCore):
(WebCore::createKeyMap): Figures and letters keys are added to the keyMap
(WebCore::addCharactersToWinKeyMap): aux function
(WebCore::createWindowsKeyMap): Capital letters keys are added to the windowsKeyMap. Corrected value for printscreen key.
(WebCore::singleCharacterString): Return empty text for printscreen key.

LayoutTests:

Bug-related testcases are unskipped.

* platform/efl/Skipped:

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

12 years ago[EFL] Tests that require DASHBOARD_SUPPORT should be moved to test expectations
commit-queue@webkit.org [Wed, 16 May 2012 09:00:02 +0000 (09:00 +0000)]
[EFL] Tests that require DASHBOARD_SUPPORT should be moved to test expectations
https://bugs.webkit.org/show_bug.cgi?id=86578

Unreviewed EFL gardening. Move tests that require DASHBOARD_SUPPORT
flag to test expectations and skip them since this feature is
Mac-specific.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:
* platform/efl/test_expectations.txt:

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

12 years agoUnreviewed. Fix heap profiler performance test after r117234.
yurys@chromium.org [Wed, 16 May 2012 08:57:17 +0000 (08:57 +0000)]
Unreviewed. Fix heap profiler performance test after r117234.

* inspector/heap-snapshot.html:

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

12 years agoWeb Inspector: rename DebuggerPresentationModel to DebuggerScriptMapping, make it...
pfeldman@chromium.org [Wed, 16 May 2012 08:56:59 +0000 (08:56 +0000)]
Web Inspector: rename DebuggerPresentationModel to DebuggerScriptMapping, make it private to ScriptsPanel.
https://bugs.webkit.org/show_bug.cgi?id=86594

Reviewed by Vsevolod Vlasov.

Source/WebCore:

This change completes the elimination of the presentation model.

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.py:
* inspector/front-end/AuditFormatters.js:
(WebInspector.AuditFormatters.resourceLink):
* inspector/front-end/DebuggerResourceBinding.js:
(WebInspector.DebuggerResourceBinding):
(WebInspector.DebuggerResourceBinding.prototype._uiSourceCodeForResource):
* inspector/front-end/DebuggerScriptMapping.js: Renamed from Source/WebCore/inspector/front-end/DebuggerPresentationModel.js.
(WebInspector.DebuggerScriptMapping):
(WebInspector.DebuggerScriptMapping.prototype._handleUISourceCodeListChanged):
* inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector.OpenScriptDialog):
(WebInspector.OpenScriptDialog.install):
(WebInspector.OpenScriptDialog._show):
* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame):
* inspector/front-end/PresentationConsoleMessageHelper.js:
(WebInspector.PresentationConsoleMessageHelper):
(WebInspector.PresentationConsoleMessageHelper.prototype._consoleCleared):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._loadUISourceCodes):
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
(WebInspector.ScriptsPanel.prototype._toggleFormatSource):
* inspector/front-end/ScriptsSearchScope.js:
(WebInspector.ScriptsSearchScope):
(WebInspector.ScriptsSearchScope.prototype._sortedUISourceCodes):
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCodeProject):
(WebInspector.UISourceCodeProject.prototype.uiSourceCodes):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:
* inspector/front-end/inspector.js:
(WebInspector._createPanels):

LayoutTests:

* http/tests/inspector/compiler-script-mapping.html:
* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest):
* inspector/debugger/linkifier.html:
* inspector/debugger/scripts-panel.html:

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

12 years agoWeb Inspector: use separate fields for storing HeapSnapshotLoaderProxy and HeapSnapsh...
yurys@chromium.org [Wed, 16 May 2012 08:47:59 +0000 (08:47 +0000)]
Web Inspector: use separate fields for storing HeapSnapshotLoaderProxy and HeapSnapshotProxy
https://bugs.webkit.org/show_bug.cgi?id=86488

Reviewed by Pavel Feldman.

Source/WebCore:

Simplified heap profiler snapshot loading code. Introduced dedicated fields for
snapshot loader proxy and for snapshot proxy.

* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotWorker):
(WebInspector.HeapSnapshotLoaderProxy):
(WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading.updateStaticData):
(WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading.callLoadCallbacks):
(WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading):
(WebInspector.HeapSnapshotLoaderProxy.prototype.get loaded):
(WebInspector.HeapSnapshotLoaderProxy.prototype.startLoading):
(WebInspector.HeapSnapshotLoaderProxy.prototype.pushJSONChunk):
* inspector/front-end/HeapSnapshotView.js:
(WebInspector.HeapSnapshotView.profileCallback):
(WebInspector.HeapSnapshotView):
(WebInspector.HeapSnapshotView.prototype.dispose):
(WebInspector.HeapSnapshotView.prototype.get baseProfileWrapper):
(WebInspector.HeapSnapshotView.prototype.wasShown.profileCallback1):
(WebInspector.HeapSnapshotView.prototype._changeView):
(WebInspector.HeapProfileHeader): split _proxy field into _loaderProxy and _snapshotProxy
(WebInspector.HeapProfileHeader.prototype.snapshotProxy):
(WebInspector.HeapProfileHeader.prototype.load):
(WebInspector.HeapProfileHeader.prototype._setupWorker):
(WebInspector.HeapProfileHeader.prototype.dispose):
(WebInspector.HeapProfileHeader.prototype._saveStatusUpdate):
(WebInspector.HeapProfileHeader.prototype.pushJSONChunk):
(WebInspector.HeapProfileHeader.prototype.finishHeapSnapshot):
(WebInspector.HeapProfileHeader.prototype.canSaveToFile):
(WebInspector.HeapProfileHeader.prototype.loadFromFile.onLoad):
(WebInspector.HeapProfileHeader.prototype.loadFromFile):

LayoutTests:

* inspector/profiler/heap-snapshot-inspect-dom-wrapper.html: instead of sniffing a method
call we can use HeapProfileHeader.load directly.

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

12 years agoWeb Inspector: Use CSS columns feature for HelpScreen contents.
caseq@chromium.org [Wed, 16 May 2012 08:38:31 +0000 (08:38 +0000)]
Web Inspector: Use CSS columns feature for HelpScreen contents.
https://bugs.webkit.org/show_bug.cgi?id=86367

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-16
Reviewed by Yury Semikhatsky.

Right-docked inspector should show shortcuts/settings in one column.
Bottom-docked inspector should use horizontal space more effectively
(more than 2 columns in shortcuts/settings).

Please see attached screenshots.

UI adjustments, no new tests.

* inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen): Turned table to div.
(WebInspector.SettingsScreen.prototype._appendSection): Removed.
* inspector/front-end/ShortcutsScreen.js:
(WebInspector.ShortcutsScreen.prototype._buildTable): Removed "balancing" algorithm.
(WebInspector.ShortcutsSection.prototype.renderSection): Turned table to div.
(WebInspector.ShortcutsSection.prototype._renderHeader): Ditto.
* inspector/front-end/helpScreen.css: Use CSS columns feature.
(.help-container): Added columns container.
(.help-block): Added "section".
(.help-line): Added key shortcut line.
(.help-key-cell): Added key shortcut cell.
(.help-cell): Ditto
(.help-section-title): Combined title classes
(.help-content p): Adjusted spacing.

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

12 years agoUnreviewed chromium test expectations update
bashi@chromium.org [Wed, 16 May 2012 08:18:58 +0000 (08:18 +0000)]
Unreviewed chromium test expectations update

Removes unnecessary entries and added suppressions
for some flaky tests on cr-linux ews.

* platform/chromium/test_expectations.txt:

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

12 years agoAdding myself(yosin@chromium.org) to committers list
yosin@chromium.org [Wed, 16 May 2012 07:47:18 +0000 (07:47 +0000)]
Adding myself(yosin@chromium.org) to committers list

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

12 years agoSVG TRef/Use NULL ptr
zimmermann@webkit.org [Wed, 16 May 2012 07:44:01 +0000 (07:44 +0000)]
SVG TRef/Use NULL ptr
https://bugs.webkit.org/show_bug.cgi?id=78700

Add testcase covering a problem fixed in trunk.

* svg/custom/bug78700-expected.txt: Added.
* svg/custom/bug78700.svg: Added.

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

12 years agoUnreviewed, rolling out r117050.
commit-queue@webkit.org [Wed, 16 May 2012 07:36:06 +0000 (07:36 +0000)]
Unreviewed, rolling out r117050.
http://trac.webkit.org/changeset/117050
https://bugs.webkit.org/show_bug.cgi?id=86587

"Some heap profiler tests started timing out" (Requested by
yurys on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-16

* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotFakeWorker):
(WebInspector.HeapSnapshotFakeWorker.prototype.postMessage):
(WebInspector.HeapSnapshotFakeWorker.prototype._postMessageFromWorker):

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

12 years agoUnreviewed, rolling out r117206.
commit-queue@webkit.org [Wed, 16 May 2012 07:22:51 +0000 (07:22 +0000)]
Unreviewed, rolling out r117206.
http://trac.webkit.org/changeset/117206
https://bugs.webkit.org/show_bug.cgi?id=86583

breaks chromium browser_tests (Requested by bashi1 on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-16

* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::continueAfterContentPolicy):
* loader/archive/mhtml/MHTMLArchive.cpp:
(WebCore::MHTMLArchive::create):

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

12 years agoREGRESSION(r105057): Infinite loop inside SVGTextLayoutEngine::currentLogicalCharacte...
zimmermann@webkit.org [Wed, 16 May 2012 07:21:07 +0000 (07:21 +0000)]
REGRESSION(r105057): Infinite loop inside SVGTextLayoutEngine::currentLogicalCharacterMetrics
https://bugs.webkit.org/show_bug.cgi?id=83405

Reviewed by Darin Adler.

Source/WebCore:

Dynamically adding tspans carrying position information in the x/y/dx/dy/rotate lists is broken.
To avoid mistakes like this in future, simplify the calling code in RenderSVGInlineText and centralize
the management of all caches (text positioning element cache / metrics map / layout attributes) in
RenderSVGText. This avoids the hack in SVGRootInlineBox::computePerCharacterLayoutInformation() which
called textRoot->rebuildLayoutAttributes(), which was used to fix previous security issues with this code.
Instead correctly handle destruction of RenderSVGInlineText in RenderSVGText, keeping the m_layoutAttributes
synchronized with the current state of the render tree. Fixes highcharts problems.

Tests: svg/text/add-tspan-position-bug.html
       svg/text/highcharts-assertion.html
       svg/text/modify-tspan-position-bug.html

* rendering/svg/RenderSVGBlock.h:
(RenderSVGBlock):
* rendering/svg/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::addChild):
(WebCore::RenderSVGInline::removeChild):
* rendering/svg/RenderSVGInline.h:
(RenderSVGInline):
* rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::setTextInternal):
(WebCore::RenderSVGInlineText::styleDidChange):
* rendering/svg/RenderSVGInlineText.h:
* rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::RenderSVGText):
(WebCore::RenderSVGText::~RenderSVGText):
(WebCore::collectLayoutAttributes):
(WebCore::RenderSVGText::subtreeChildWasAdded):
(WebCore::findPreviousAndNextAttributes):
(WebCore::checkLayoutAttributesConsistency):
(WebCore::RenderSVGText::willBeDestroyed):
(WebCore::RenderSVGText::subtreeChildWillBeRemoved):
(WebCore::RenderSVGText::subtreeChildWasRemoved):
(WebCore::RenderSVGText::subtreeStyleDidChange):
(WebCore::RenderSVGText::subtreeTextDidChange):
(WebCore::updateFontInAllDescendants):
(WebCore::RenderSVGText::layout):
(WebCore::RenderSVGText::addChild):
(WebCore::RenderSVGText::removeChild):
* rendering/svg/RenderSVGText.h:
(RenderSVGText):
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::layoutChildren):
* rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
* rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
(WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextRenderer):
(WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForWholeTree):
(WebCore::SVGTextLayoutAttributesBuilder::rebuildMetricsForTextRenderer):
(WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
* rendering/svg/SVGTextLayoutAttributesBuilder.h:
(SVGTextLayoutAttributesBuilder):
(WebCore::SVGTextLayoutAttributesBuilder::numberOfTextPositioningElements):
* svg/SVGAElement.cpp:
* svg/SVGAElement.h:
(SVGAElement):
* svg/SVGTextContentElement.cpp:
* svg/SVGTextContentElement.h:
(SVGTextContentElement):

LayoutTests:

Add three new testcases covering the problem.

* svg/text/add-tspan-position-bug-expected.html: Added.
* svg/text/add-tspan-position-bug.html: Added.
* svg/text/highcharts-assertion-expected.txt: Added.
* svg/text/highcharts-assertion.html: Added.
* svg/text/modify-tspan-position-bug-expected.html: Added.
* svg/text/modify-tspan-position-bug.html: Added.

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

12 years agoCrash in Document::nodeChildrenWillBeRemoved.
inferno@chromium.org [Wed, 16 May 2012 06:45:05 +0000 (06:45 +0000)]
Crash in Document::nodeChildrenWillBeRemoved.
https://bugs.webkit.org/show_bug.cgi?id=85247

Reviewed by Hajime Morita.

Source/WebCore:

Reverse ordering of commands to ref ptr the children set
first before calling nodeChildrenWillBeRemoved, since it
can fire mutation events.

Test: fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml

* dom/ContainerNode.cpp:
(WebCore::willRemoveChildren):

LayoutTests:

* fast/dom/HTMLObjectElement/beforeload-set-text-crash-expected.txt: Added.
* fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml: Added.

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

12 years ago[BlackBerry] Enhance an API of BackingStore::drawContents
commit-queue@webkit.org [Wed, 16 May 2012 06:44:50 +0000 (06:44 +0000)]
[BlackBerry] Enhance an API of BackingStore::drawContents
https://bugs.webkit.org/show_bug.cgi?id=86447

Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-05-15
Reviewed by George Staikos.

Enhance the current APIs by adding parameters of id and destination
contentSize, because chrome browser may want different contents from
the same webview at different times.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::renderContents):
(BlackBerry::WebKit::BackingStore::drawContents):
* Api/BackingStore.h:
* Api/BackingStore_p.h:
(BackingStorePrivate):

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

12 years agoFix Qt5/Mac build after r117212 by adding missing NETSCAPE_PLUGIN_API guards
caio.oliveira@openbossa.org [Wed, 16 May 2012 06:24:25 +0000 (06:24 +0000)]
Fix Qt5/Mac build after r117212 by adding missing NETSCAPE_PLUGIN_API guards
https://bugs.webkit.org/show_bug.cgi?id=86577

Reviewed by Andy Estes.

* Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp:
* UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp:
(WebKit::PluginInfoStore::getPluginInfo):
* WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:

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

12 years agoWebKit2 would fail to build on Windows if Netscape plug-ins were disabled.
aestes@apple.com [Wed, 16 May 2012 05:39:23 +0000 (05:39 +0000)]
WebKit2 would fail to build on Windows if Netscape plug-ins were disabled.

* UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
(WebKit::PluginInfoStore::getPluginInfo): Return false if ENABLE_NETSCAPE_PLUGIN_API is false.

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

12 years ago[Worker] Web Worker lacks test for posting structured data message.
commit-queue@webkit.org [Wed, 16 May 2012 05:36:35 +0000 (05:36 +0000)]
[Worker] Web Worker lacks test for posting structured data message.
https://bugs.webkit.org/show_bug.cgi?id=86556

Patch by Li Yin <li.yin@intel.com> on 2012-05-15
Reviewed by David Levin.

From http://www.w3.org/TR/2012/CR-workers-20120501/#communicating-with-a-dedicated-worker
Structured data can be sent over the communication channel.

* fast/workers/resources/worker-structure-message.js: Added.
(self.onmessage):
* fast/workers/worker-structure-message-expected.txt: Added.
* fast/workers/worker-structure-message.html: Added.

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

12 years ago[EFL][DRT] Fix eventSender key providing
commit-queue@webkit.org [Wed, 16 May 2012 05:06:31 +0000 (05:06 +0000)]
[EFL][DRT] Fix eventSender key providing
https://bugs.webkit.org/show_bug.cgi?id=84710

Patch by Kangil Han <kangil.han@samsung.com> on 2012-05-15
Reviewed by Andreas Kling.

Currently eventSender doesn't provide key event correctly.
For example, 'Right' will be visible when 'right arrow' key event is fired.
Given circumstance, nothing has to be shown.
Therefore, this patch fixed incorrectly provided key event.

Tools:

* DumpRenderTree/efl/EventSender.cpp:
(KeyEventInfo::KeyEventInfo):
(KeyEventInfo):
(keyPadNameFromJSValue):
(keyNameFromJSValue):
(createKeyEventInfo):
(sendKeyDown):

LayoutTests:

* platform/efl/Skipped:

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

12 years agoUnreviewed chromium test expectation update after r117206
bashi@chromium.org [Wed, 16 May 2012 05:02:41 +0000 (05:02 +0000)]
Unreviewed chromium test expectation update after r117206

* platform/chromium/test_expectations.txt:

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

12 years agoregression(111639): Issue with simultaneous CSS animations
igor.o@sisa.samsung.com [Wed, 16 May 2012 04:49:17 +0000 (04:49 +0000)]
regression(111639): Issue with simultaneous CSS animations
https://bugs.webkit.org/show_bug.cgi?id=85929

Source/WebCore:

Currently, previousTimeToNextService is just saving the previous CompositeAnimation::timeToNextService
for AnimationControllerPrivate::updateAnimationTimerForRenderer, however CompositeAnimation::timeToNextService
is also called and used by updateAnimationTimer. Make sure we save the existing timeToNextService from
both places, updateAnimationTimerForRenderer and updateAnimationTimer.

Reviewed by Dean Jackson.

Test: animations/fill-mode-forwards.html

* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
(WebCore::AnimationControllerPrivate::updateAnimationTimerForRenderer):
(WebCore::AnimationControllerPrivate::updateAnimationTimer):
* page/animation/AnimationControllerPrivate.h:
(AnimationControllerPrivate):

LayoutTests:

Reviewed by Dean Jackson.

* animations/fill-mode-forwards-expected.txt: Added.
* animations/fill-mode-forwards.html: Added.

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

12 years agoFixed a typo.
mitz@apple.com [Wed, 16 May 2012 04:31:16 +0000 (04:31 +0000)]
Fixed a typo.

* Scripts/copy-webkitlibraries-to-product-directory:

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

12 years ago[Chromium] CCTimer::isActive() is incorrect inside tick callback
commit-queue@webkit.org [Wed, 16 May 2012 04:07:52 +0000 (04:07 +0000)]
[Chromium] CCTimer::isActive() is incorrect inside tick callback
https://bugs.webkit.org/show_bug.cgi?id=86513

Source/WebCore:

This patch implements CCTimer::isActive() by clearing the task pointer
when the timer fires.

Patch by Tien-Ren Chen <trchen@chromium.org> on 2012-05-15
Reviewed by James Robinson.

No new tests. Existing tests updated accordingly.

* platform/graphics/chromium/cc/CCTimer.cpp:
(WebCore::CCTimerTask::performTask):
* rendering/RenderLayerBacking.cpp:

Source/WebKit/chromium:

Update test cases to verify CCTimer::isActive() values.

Patch by Tien-Ren Chen <trchen@chromium.org> on 2012-05-15
Reviewed by James Robinson.

* tests/CCTimerTest.cpp:
(WebKitTests::TEST_F):

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

12 years agoUnreviewed, rolling out r117204.
commit-queue@webkit.org [Wed, 16 May 2012 04:00:24 +0000 (04:00 +0000)]
Unreviewed, rolling out r117204.
http://trac.webkit.org/changeset/117204
https://bugs.webkit.org/show_bug.cgi?id=86559

causing win compilation failures (Requested by pilgrim_google_
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-15

Source/Platform:

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
* chromium/public/WebMessagePortChannel.h: Removed.
* chromium/public/WebMessagePortChannelClient.h: Removed.

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebMessagePortChannel.h:
(WebKit):
(WebMessagePortChannel):
(WebKit::WebMessagePortChannel::~WebMessagePortChannel):
* public/platform/WebKitPlatformSupport.h:
(WebKit):
(WebKitPlatformSupport):
(WebKit::WebKitPlatformSupport::createMessagePortChannel):
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
* src/PlatformMessagePortChannel.h:
* src/SharedWorkerRepository.cpp:
* src/WebSharedWorkerImpl.cpp:
* src/WebWorkerClientImpl.cpp:

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

12 years agoGuard Netscape plug-in code with ENABLE(NETSCAPE_PLUGIN_API)
aestes@apple.com [Wed, 16 May 2012 03:55:58 +0000 (03:55 +0000)]
Guard Netscape plug-in code with ENABLE(NETSCAPE_PLUGIN_API)
https://bugs.webkit.org/show_bug.cgi?id=86496

Reviewed by Sam Weinig.

Ensure that WebKit2 can compile with ENABLE_NETSCAPE_PLUGIN_API disabled.

* Shared/Plugins/Netscape/NetscapePluginModule.cpp:
* Shared/Plugins/Netscape/NetscapePluginModule.h:
* Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
* Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
* Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
* UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
(WebKit::PluginInfoStore::getPluginInfo):
* WebProcess/Plugins/Netscape/JSNPMethod.cpp:
* WebProcess/Plugins/Netscape/JSNPMethod.h:
* WebProcess/Plugins/Netscape/JSNPObject.cpp:
* WebProcess/Plugins/Netscape/JSNPObject.h:
* WebProcess/Plugins/Netscape/NPJSObject.cpp:
* WebProcess/Plugins/Netscape/NPJSObject.h:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
* WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp:
* WebProcess/Plugins/Netscape/NPRuntimeUtilities.h:
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_GetValue):
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
* WebProcess/Plugins/Netscape/NetscapePluginStream.h:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
* WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.h:
* WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm:
* WebProcess/Plugins/Netscape/mac/PluginProxyMac.mm:
* WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp:
* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
* WebProcess/Plugins/PluginController.h:
(PluginController):
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::Stream::didFinishLoading):
(WebKit::PluginView::PluginView):
(WebKit::PluginView::~PluginView):
(WebKit::PluginView::scriptObject):
(WebKit):
* WebProcess/Plugins/PluginView.h:
(PluginView):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getSitesWithPluginData):
(WebKit::WebProcess::clearPluginSiteData):

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

12 years agoUnreviewed. Rebaselined run-bindings-tests results.
haraken@chromium.org [Wed, 16 May 2012 03:49:08 +0000 (03:49 +0000)]
Unreviewed. Rebaselined run-bindings-tests results.

* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::JSFloat64Array::getOwnPropertySlot):
(WebCore::JSFloat64Array::getOwnPropertyDescriptor):
(WebCore::JSFloat64Array::put):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::getOwnPropertySlot):
(WebCore::JSTestEventTarget::getOwnPropertyDescriptor):

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

12 years agoRename Node::shadowTreeRootNode() to Node::shadowRoot()
shinyak@chromium.org [Wed, 16 May 2012 03:07:12 +0000 (03:07 +0000)]
Rename Node::shadowTreeRootNode() to Node::shadowRoot()
https://bugs.webkit.org/show_bug.cgi?id=86449

Reviewed by Darin Adler.

Source/WebCore:

Since Node::shadowTreeRootNode() returns always a ShadowRoot now, shadowRoot() is
mure suitable than shadowTreeRootNode().

This patch changes the method name.

No new tests, no change in behavior.

* WebCore.order:
* dom/Node.cpp:
(WebCore::Node::rendererIsEditable):
(WebCore::Node::shadowAncestorNode):
(WebCore::Node::shadowRoot):
* dom/Node.h:
(Node):
* dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::NodeRenderingContext):
* dom/Range.cpp:
(WebCore::Range::shadowRoot):
* dom/Range.h:
(Range):
* editing/Editor.cpp:
(WebCore::Editor::nextVisibleRange):
(WebCore::Editor::countMatchesForText):
* editing/TextIterator.cpp:
(WebCore::TextIterator::handleReplacedElement):
* editing/htmlediting.cpp:
(WebCore::indexForVisiblePosition):
* html/shadow/ContentSelectorQuery.cpp:
(WebCore::ContentSelectorQuery::matches):
* html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::parseAttribute):
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::detach):
* page/EventHandler.cpp:
(WebCore::instanceAssociatedWithShadowTreeElement):
* svg/SVGElement.cpp:
(WebCore::SVGElement::correspondingElement):
(WebCore::collectInstancesForSVGElement):

Source/WebKit/chromium:

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::scopeStringMatches):

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

12 years ago[chromium] Remove some unused gyp lines
thakis@chromium.org [Wed, 16 May 2012 03:03:25 +0000 (03:03 +0000)]
[chromium] Remove some unused gyp lines
https://bugs.webkit.org/show_bug.cgi?id=86545

Reviewed by Dirk Pranke.

mac_framework_dirs adds directories to search for frameworks
(similar to -I for includes), it doesn't add any frameworks.
Having something that ends in .framewok in mac_framework_dirs
doesn't make sense.

No intended functionality change.

* WebCore.gyp/WebCore.gyp:

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

12 years agoUnreviewed gardening for Qt.
alexis.menard@openbossa.org [Wed, 16 May 2012 02:55:46 +0000 (02:55 +0000)]
Unreviewed gardening for Qt.

These tests were unskipped but their expectations were not up-to-date.

* platform/qt/fast/borders/inline-mask-overlay-image-outset-expected.txt:
* platform/qt/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.txt:

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

12 years ago[GStreamer] build a static list of mime-types
philn@webkit.org [Wed, 16 May 2012 02:54:52 +0000 (02:54 +0000)]
[GStreamer] build a static list of mime-types
https://bugs.webkit.org/show_bug.cgi?id=86331

Reviewed by Martin Robinson.

Don't bother parsing the gstreamer typefind factories and doing
ugly hacks around this. Instead build a static list and let our
::supportsType() method return MediaPlayer::MayBeSupported or
MediaPlayer::IsSupported for them. Playback will still fail if a
demuxer or decoder is missing for one of these mime-types but we
will handle that case more properly soon by fixing bug 34085 and
bug 34318.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

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

12 years agoMHTML files should be loadable from all schemes considered local,
commit-queue@webkit.org [Wed, 16 May 2012 02:49:13 +0000 (02:49 +0000)]
MHTML files should be loadable from all schemes considered local,
not just file:

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

Patch by Greg Spencer <gspencer@chromium.org> on 2012-05-15
Reviewed by Adam Barth.

Current tests should assure that loading is still allowed locally.

* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::continueAfterContentPolicy):
* loader/archive/mhtml/MHTMLArchive.cpp:
(WebCore::MHTMLArchive::create):

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

12 years ago[EFL] Enable Fullscreen API
commit-queue@webkit.org [Wed, 16 May 2012 02:34:00 +0000 (02:34 +0000)]
[EFL] Enable Fullscreen API
https://bugs.webkit.org/show_bug.cgi?id=85870

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-05-15
Reviewed by Antonio Gomes.

.:

Enable FULLSCREEN_API on the Efl port.

* Source/cmake/OptionsEfl.cmake:

Source/WebKit/efl:

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::supportsFullScreenForElement):
Add check routine if the full screen is enabled by page setting.
* ewk/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_ewk_view_priv_new):
Add full screen setting to be true.

Tools:

Enable full screen api feature on the EFL port.
There are two failed test cases under LayoutTests/fullscreen.
They are going to be fixed with other patch.

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

* platform/efl/Skipped: Remove fullscreen/video-controls-override.html.
* platform/efl/fullscreen/full-screen-iframe-zIndex-expected.png: Added.
* platform/efl/fullscreen/full-screen-placeholder-expected.txt: Added.
* platform/efl/fullscreen/full-screen-remove-ancestor-after-expected.png: Added.
* platform/efl/fullscreen/full-screen-render-inline-expected.txt: Added.
* platform/efl/fullscreen/full-screen-stacking-context-expected.png: Added.
* platform/efl/fullscreen/full-screen-zIndex-after-expected.png: Added.
* platform/efl/fullscreen/full-screen-zIndex-expected.png: Added.
* platform/efl/fullscreen/parent-flow-inline-with-block-child-expected.png: Added.
* platform/efl/fullscreen/parent-flow-inline-with-block-child-expected.txt: Added.
* platform/efl/test_expectations.txt: Remove fullscreen and media/video-play-require-user-gesture.html
  - Add full-screen-keyboard-disabled.html and video-controls-drag.html to the efl's test_expectation.txt

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

12 years ago[Chromium] Move createMessagePortChannel to Platform.h
pilgrim@chromium.org [Wed, 16 May 2012 02:30:09 +0000 (02:30 +0000)]
[Chromium] Move createMessagePortChannel to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85764

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

Source/Platform:

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::createMessagePortChannel):
* chromium/public/WebMessagePortChannel.h: Added.
(WebKit):
(WebMessagePortChannel):
(WebKit::WebMessagePortChannel::~WebMessagePortChannel):
* chromium/public/WebMessagePortChannelClient.h: Added.
(WebKit):
(WebMessagePortChannelClient):
(WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebMessagePortChannel.h:
* public/platform/WebKitPlatformSupport.h:
(WebKit):
(WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
* src/PlatformMessagePortChannel.h:
* src/SharedWorkerRepository.cpp:
* src/WebSharedWorkerImpl.cpp:
* src/WebWorkerClientImpl.cpp:

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

12 years ago[Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
fsamuel@chromium.org [Wed, 16 May 2012 02:00:00 +0000 (02:00 +0000)]
[Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
https://bugs.webkit.org/show_bug.cgi?id=86535

Source/WebCore:

Reviewed by Darin Fisher.

When we swap out WebPluginImpls for the Browser Plugin, the HTMLPlugInElement continues
to use a now invalid ScriptInstance, so we reset the ScriptInstance on WebPluginContainerImpl::setPlugin

* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::resetInstance):
(WebCore):
* html/HTMLPlugInElement.h:
(HTMLPlugInElement):

Source/WebKit/chromium:

Reviewed by Darin Fisher.

* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::setPlugin):
(WebKit):
* src/WebPluginContainerImpl.h:
(WebPluginContainerImpl):

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

12 years ago[Chromium] Move blobRegistry to Platform.h
pilgrim@chromium.org [Wed, 16 May 2012 01:46:48 +0000 (01:46 +0000)]
[Chromium] Move blobRegistry to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85765

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

Source/Platform:

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::blobRegistry):
* chromium/public/WebBlobData.h: Added.
(WebKit):
(WebBlobData):
(WebKit::WebBlobData::~WebBlobData):
(WebKit::WebBlobData::WebBlobData):
(WebKit::WebBlobData::isNull):
* chromium/public/WebBlobRegistry.h: Added.
(WebKit):
(WebBlobRegistry):
(WebKit::WebBlobRegistry::~WebBlobRegistry):

Source/WebKit/chromium:

* WebKit.gyp:
* public/platform/WebBlobData.h:
* public/platform/WebBlobRegistry.h:
* public/platform/WebKitPlatformSupport.h:
(WebKit):
(WebKit::WebKitPlatformSupport::cookieJar):
* src/BlobRegistryProxy.cpp:
(WebCore::BlobRegistryProxy::BlobRegistryProxy):
* src/WebBlobData.cpp:

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

12 years agoBlock freeing thread should not free blocks when we are actively requesting them
mhahnenberg@apple.com [Wed, 16 May 2012 01:44:18 +0000 (01:44 +0000)]
Block freeing thread should not free blocks when we are actively requesting them
https://bugs.webkit.org/show_bug.cgi?id=86519

Reviewed by Geoff Garen.

* heap/BlockAllocator.h:
(JSC::BlockAllocator::allocate): Reordering the setting of the flag so its done
while we hold the lock to ensure proper locking.

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

12 years ago[chromium] Overloaded printBegin() function to support auto fit to page functionality.
commit-queue@webkit.org [Wed, 16 May 2012 01:42:46 +0000 (01:42 +0000)]
[chromium] Overloaded printBegin() function to support auto fit to page functionality.
https://bugs.webkit.org/show_bug.cgi?id=84312

Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> on 2012-05-15
Reviewed by Darin Fisher.

* WebKit.gyp:
* public/WebFrame.h:
(WebKit):
(WebFrame):
* public/WebPlugin.h:
(WebKit):
(WebPlugin):
(WebKit::WebPlugin::printBegin):
* public/WebPrintParams.h: Added.
(WebKit):
(WebPrintParams):
(WebKit::WebPrintParams::WebPrintParams):
* src/WebFrameImpl.cpp:
(WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
(WebKit::ChromePluginPrintContext::computePageRects):
(ChromePluginPrintContext):
(WebKit):
(WebKit::WebFrameImpl::printBegin):
* src/WebFrameImpl.h:
(WebKit):
(WebFrameImpl):
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::printBegin):
* src/WebPluginContainerImpl.h:
(WebKit):
(WebPluginContainerImpl):

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

12 years ago[chromium] Add unit testing to WebTransformationMatrix
shawnsingh@chromium.org [Wed, 16 May 2012 01:24:00 +0000 (01:24 +0000)]
[chromium] Add unit testing to WebTransformationMatrix
https://bugs.webkit.org/show_bug.cgi?id=86421

Reviewed by Adrienne Walker.

* WebKit.gypi:
* tests/WebTransformationMatrixTest.cpp: Added.
(WebKit):
(WebKit::printTransform):
(WebKit::initializeTestMatrix):
(WebKit::initializeTestMatrix2):
(WebKit::TEST):

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

12 years agoshrinkToFit() is often not called for Vectors in CodeBlock
fpizlo@apple.com [Wed, 16 May 2012 00:56:54 +0000 (00:56 +0000)]
shrinkToFit() is often not called for Vectors in CodeBlock
https://bugs.webkit.org/show_bug.cgi?id=86436

Source/JavaScriptCore:

Reviewed by Oliver Hunt.

The vectors in CodeBlock are often appended to during various stages of
compilation, but we neglect to shrink them after compilation finishes. This
patch takes the most brutal possible approach: shrink all the vectors after
the bytecompile phase, and then shrink them again after the appropriate
JITing phase. The two shrinks are necessary because the JIT may append more
stuff, but may also generate code that directly references things in other
vectors; hence some can only be shrunk before JIT and some after. Also,
we may allow a CodeBlock to sit around for a long time - possibly forever -
before invoking the JIT, hence it makes sense to have two shrinks.

This is performance neutral on the major benchmarks we track.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::shrinkToFit):
* bytecode/CodeBlock.h:
(CodeBlock):
(JSC::CodeBlock::appendWeakReferenceTransition):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::generate):
* dfg/DFGDriver.cpp:
(JSC::DFG::compile):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::link):
* jit/JIT.cpp:
(JSC::JIT::privateCompile):

Source/WTF:

Reviewed by NOBODY (OOPS!).

Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
lookup table, which is likely to not be hugely profitable, but it is better
than nothing.

* wtf/SegmentedVector.h:
(SegmentedVector):
(WTF::SegmentedVector::shrinkToFit):

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

12 years agoHeap-use-after-free in WebCore::RenderBlock::layoutRunsAndFloats
robert@webkit.org [Wed, 16 May 2012 00:56:34 +0000 (00:56 +0000)]
Heap-use-after-free in WebCore::RenderBlock::layoutRunsAndFloats
https://bugs.webkit.org/show_bug.cgi?id=86206

Reviewed by Abhishek Arya.

Source/WebCore:

Revert https://trac.webkit.org/changeset/116438/. It caused three different regressions on
ClusterFuzz.

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

LayoutTests:

Revert https://trac.webkit.org/changeset/116438/ and subsequent pixel results. It caused three different regressions on
ClusterFuzz.

* css2.1/20110323/first-letter-000.htm: Removed.
* css2.1/20110323/first-letter-001.htm: Removed.
* css2.1/20110323/first-letter-dynamic-001.htm: Removed.
* css2.1/20110323/first-letter-dynamic-002.htm: Removed.
* css2.1/20110323/first-letter-dynamic-003a.htm: Removed.
* css2.1/20110323/first-letter-dynamic-003b.htm: Removed.
* css2.1/20110323/first-letter-inherit-001.htm: Removed.
* css2.1/20110323/first-letter-nested-001.htm: Removed.
* css2.1/20110323/first-letter-nested-002.htm: Removed.
* css2.1/20110323/first-letter-nested-003.htm: Removed.
* css2.1/20110323/first-letter-nested-004.htm: Removed.
* css2.1/20110323/first-letter-nested-005.htm: Removed.
* css2.1/20110323/first-letter-nested-006.htm: Removed.
* css2.1/20110323/first-letter-nested-007.htm: Removed.
* css2.1/20110323/first-letter-quote-001.htm: Removed.
* css2.1/20110323/first-letter-quote-002.htm: Removed.
* css2.1/20110323/first-letter-quote-003.htm: Removed.
* css2.1/20110323/first-letter-quote-004.htm: Removed.
* css2.1/20110323/first-letter-quote-005.htm: Removed.
* css2.1/20110323/first-letter-quote-006.htm: Removed.
* fast/css/first-letter-capitalized-edit-select-crash-expected.txt:
* fast/css/first-letter-nested-positioned.htm: Removed.
* fast/css/first-letter-quotes-no-content-before-after.html: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-001-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-001-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-002-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-003-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-004-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-005-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-006-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-007-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/chromium-linux/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/chromium-linux/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/chromium-mac-leopard/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/chromium-mac-leopard/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-001-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-001-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-002-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-003-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-004-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-005-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-006-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-007-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/chromium-mac/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/chromium-mac/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/chromium-mac/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/chromium-mac/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-001-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-001-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-002-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-003-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-004-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-005-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-006-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-007-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/chromium-win/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/chromium-win/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/chromium-win/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/chromium-win/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-001-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-001-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-002-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-003-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-004-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-005-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-006-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-007-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/efl/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/efl/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/efl/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/efl/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/efl/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/gtk/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/gtk/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/gtk/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/mac/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/mac/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/mac/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-000-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-000-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-001-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-001-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-001-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-001-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-002-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-002-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-003a-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-003b-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-inherit-001-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-inherit-001-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-001-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-001-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-002-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-002-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-003-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-003-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-004-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-004-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-005-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-005-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-006-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-006-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-007-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-nested-007-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-001-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-001-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-002-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-002-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-003-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-003-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-004-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-004-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-005-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-005-expected.txt: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-006-expected.png: Removed.
* platform/qt/css2.1/20110323/first-letter-quote-006-expected.txt: Removed.
* platform/qt/fast/css/first-letter-nested-positioned-expected.png: Removed.
* platform/qt/fast/css/first-letter-nested-positioned-expected.txt: Removed.
* platform/qt/fast/css/first-letter-quotes-no-content-before-after-expected.png: Removed.
* platform/qt/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Removed.

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

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=86549
bdakin@apple.com [Wed, 16 May 2012 00:37:31 +0000 (00:37 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=86549
Page Scale + Tiled Drawing: Twitter sign in page content disappears
after typing into name and enabling password field
-and corresponding-
<rdar://problem/11415352>

Reviewed by Oliver Hunt.

The enormous rect we used to use would overflow in CA and do nothing
when there was any scale > 1 on the context. Instead, just call
setNeedsDisplay on each tile.
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setNeedsDisplay):

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

12 years agoPass Attribute by const reference as much as possible.
kling@webkit.org [Wed, 16 May 2012 00:34:16 +0000 (00:34 +0000)]
Pass Attribute by const reference as much as possible.
<http://webkit.org/b/86487>

Reviewed by Darin Adler.

Switch to passing around "const Attribute&" instead of "Attribute*" wherever possible.
This helps enforce the constness and non-nullity of these arguments at compile time.

Also renamed 'attr' to 'attribute' in the touched code. Attr and Attribute are two
different classes, so having "Attribute attr" just looks wrong.

* bindings/js/ScriptEventListener.cpp:
(WebCore::createAttributeEventListener):
* bindings/js/ScriptEventListener.h:
* bindings/v8/ScriptEventListener.cpp:
(WebCore::createAttributeEventListener):
* bindings/v8/ScriptEventListener.h:
* dom/Attr.cpp:
(WebCore::Attr::setPrefix):
(WebCore::Attr::setValue):
(WebCore::Attr::childrenChanged):
(WebCore::Attr::style):
(WebCore::Attr::elementAttribute):
* dom/Attr.h:
* dom/Element.cpp:
(WebCore::Element::setAttributeInternal):
(WebCore::Element::attributeChanged):
(WebCore::Element::parserSetAttributes):
(WebCore::Element::didAddAttribute):
(WebCore::Element::didModifyAttribute):
(WebCore::Element::didRemoveAttribute):
* dom/Element.h:
* dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::addAttribute):
(WebCore::ElementAttributeData::setAttributes):
(WebCore::ElementAttributeData::replaceAttribute):
* dom/StyledElement.cpp:
(WebCore::StyledElement::attributeChanged):
(WebCore::StyledElement::parseAttribute):
(WebCore::StyledElement::updateAttributeStyle):
* dom/StyledElement.h:
(WebCore::StyledElement::collectStyleForAttribute):
* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::parseAttribute):
* html/HTMLAnchorElement.h:
* html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::parseAttribute):
* html/HTMLAppletElement.h:
* html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::parseAttribute):
* html/HTMLAreaElement.h:
* html/HTMLBRElement.cpp:
(WebCore::HTMLBRElement::collectStyleForAttribute):
* html/HTMLBRElement.h:
* html/HTMLBaseElement.cpp:
(WebCore::HTMLBaseElement::parseAttribute):
* html/HTMLBaseElement.h:
* html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::collectStyleForAttribute):
(WebCore::HTMLBodyElement::parseAttribute):
* html/HTMLBodyElement.h:
* html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::parseAttribute):
* html/HTMLButtonElement.h:
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::parseAttribute):
* html/HTMLCanvasElement.h:
* html/HTMLDetailsElement.cpp:
(WebCore::HTMLDetailsElement::parseAttribute):
* html/HTMLDetailsElement.h:
* html/HTMLDivElement.cpp:
(WebCore::HTMLDivElement::collectStyleForAttribute):
* html/HTMLDivElement.h:
* html/HTMLElement.cpp:
(WebCore::parseBorderWidthAttribute):
(WebCore::HTMLElement::applyBorderAttributeToStyle):
(WebCore::HTMLElement::mapLanguageAttributeToLocale):
(WebCore::HTMLElement::collectStyleForAttribute):
(WebCore::HTMLElement::parseAttribute):
(WebCore::HTMLElement::applyAlignmentAttributeToStyle):
(WebCore::HTMLElement::dirAttributeChanged):
* html/HTMLElement.h:
* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::collectStyleForAttribute):
(WebCore::HTMLEmbedElement::parseAttribute):
* html/HTMLEmbedElement.h:
* html/HTMLFontElement.cpp:
(WebCore::HTMLFontElement::collectStyleForAttribute):
* html/HTMLFontElement.h:
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::parseAttribute):
* html/HTMLFormControlElement.h:
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::parseAttribute):
* html/HTMLFormElement.h:
* html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::parseAttribute):
* html/HTMLFrameElement.h:
* html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::parseAttribute):
* html/HTMLFrameElementBase.h:
(HTMLFrameElementBase):
* html/HTMLFrameSetElement.cpp:
(WebCore::HTMLFrameSetElement::collectStyleForAttribute):
(WebCore::HTMLFrameSetElement::parseAttribute):
* html/HTMLFrameSetElement.h:
* html/HTMLHRElement.cpp:
(WebCore::HTMLHRElement::collectStyleForAttribute):
* html/HTMLHRElement.h:
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::collectStyleForAttribute):
(WebCore::HTMLIFrameElement::parseAttribute):
* html/HTMLIFrameElement.h:
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::collectStyleForAttribute):
(WebCore::HTMLImageElement::parseAttribute):
* html/HTMLImageElement.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType):
(WebCore::HTMLInputElement::collectStyleForAttribute):
(WebCore::HTMLInputElement::parseAttribute):
(WebCore::HTMLInputElement::parseMaxLengthAttribute):
* html/HTMLInputElement.h:
* html/HTMLKeygenElement.cpp:
(WebCore::HTMLKeygenElement::parseAttribute):
* html/HTMLKeygenElement.h:
* html/HTMLLIElement.cpp:
(WebCore::HTMLLIElement::collectStyleForAttribute):
(WebCore::HTMLLIElement::parseAttribute):
* html/HTMLLIElement.h:
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::parseAttribute):
* html/HTMLLinkElement.h:
* html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::parseAttribute):
* html/HTMLMapElement.h:
* html/HTMLMarqueeElement.cpp:
(WebCore::HTMLMarqueeElement::collectStyleForAttribute):
* html/HTMLMarqueeElement.h:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* html/HTMLMediaElement.h:
* html/HTMLMetaElement.cpp:
(WebCore::HTMLMetaElement::parseAttribute):
* html/HTMLMetaElement.h:
* html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::parseAttribute):
* html/HTMLMeterElement.h:
* html/HTMLOListElement.cpp:
(WebCore::HTMLOListElement::collectStyleForAttribute):
(WebCore::HTMLOListElement::parseAttribute):
* html/HTMLOListElement.h:
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::collectStyleForAttribute):
(WebCore::HTMLObjectElement::parseAttribute):
* html/HTMLObjectElement.h:
* html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::parseAttribute):
* html/HTMLOptGroupElement.h:
* html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::parseAttribute):
* html/HTMLOptionElement.h:
* html/HTMLOutputElement.cpp:
(WebCore::HTMLOutputElement::parseAttribute):
* html/HTMLOutputElement.h:
* html/HTMLParagraphElement.cpp:
(WebCore::HTMLParagraphElement::collectStyleForAttribute):
* html/HTMLParagraphElement.h:
* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::collectStyleForAttribute):
* html/HTMLPlugInElement.h:
* html/HTMLPreElement.cpp:
(WebCore::HTMLPreElement::collectStyleForAttribute):
* html/HTMLPreElement.h:
* html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::parseAttribute):
* html/HTMLProgressElement.h:
* html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::parseAttribute):
* html/HTMLScriptElement.h:
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::parseAttribute):
(WebCore::HTMLSelectElement::parseMultipleAttribute):
* html/HTMLSelectElement.h:
* html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::parseAttribute):
* html/HTMLStyleElement.h:
* html/HTMLTableCaptionElement.cpp:
(WebCore::HTMLTableCaptionElement::collectStyleForAttribute):
* html/HTMLTableCaptionElement.h:
* html/HTMLTableCellElement.cpp:
(WebCore::HTMLTableCellElement::collectStyleForAttribute):
(WebCore::HTMLTableCellElement::parseAttribute):
* html/HTMLTableCellElement.h:
* html/HTMLTableColElement.cpp:
(WebCore::HTMLTableColElement::collectStyleForAttribute):
(WebCore::HTMLTableColElement::parseAttribute):
* html/HTMLTableColElement.h:
* html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::collectStyleForAttribute):
(WebCore::HTMLTableElement::parseAttribute):
* html/HTMLTableElement.h:
* html/HTMLTablePartElement.cpp:
(WebCore::HTMLTablePartElement::collectStyleForAttribute):
* html/HTMLTablePartElement.h:
* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::collectStyleForAttribute):
(WebCore::HTMLTextAreaElement::parseAttribute):
* html/HTMLTextAreaElement.h:
* html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::parseAttribute):
* html/HTMLTextFormControlElement.h:
* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::parseAttribute):
* html/HTMLTrackElement.h:
* html/HTMLUListElement.cpp:
(WebCore::HTMLUListElement::collectStyleForAttribute):
* html/HTMLUListElement.h:
* html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::collectStyleForAttribute):
(WebCore::HTMLVideoElement::parseAttribute):
* html/HTMLVideoElement.h:
* html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::parseAttribute):
* html/shadow/HTMLContentElement.h:
* mathml/MathMLElement.cpp:
(WebCore::MathMLElement::collectStyleForAttribute):
* mathml/MathMLElement.h:
* svg/SVGAElement.cpp:
(WebCore::SVGAElement::parseAttribute):
* svg/SVGAElement.h:
* svg/SVGAnimateMotionElement.cpp:
(WebCore::SVGAnimateMotionElement::parseAttribute):
* svg/SVGAnimateMotionElement.h:
* svg/SVGAnimateTransformElement.cpp:
(WebCore::SVGAnimateTransformElement::parseAttribute):
* svg/SVGAnimateTransformElement.h:
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::parseAttribute):
* svg/SVGAnimationElement.h:
* svg/SVGCircleElement.cpp:
(WebCore::SVGCircleElement::parseAttribute):
* svg/SVGCircleElement.h:
* svg/SVGClipPathElement.cpp:
(WebCore::SVGClipPathElement::parseAttribute):
* svg/SVGClipPathElement.h:
* svg/SVGComponentTransferFunctionElement.cpp:
(WebCore::SVGComponentTransferFunctionElement::parseAttribute):
* svg/SVGComponentTransferFunctionElement.h:
* svg/SVGCursorElement.cpp:
(WebCore::SVGCursorElement::parseAttribute):
* svg/SVGCursorElement.h:
* svg/SVGElement.cpp:
(WebCore::SVGElement::reportAttributeParsingError):
(WebCore::SVGElement::parseAttribute):
(WebCore::SVGElement::attributeChanged):
* svg/SVGElement.h:
* svg/SVGEllipseElement.cpp:
(WebCore::SVGEllipseElement::parseAttribute):
* svg/SVGEllipseElement.h:
* svg/SVGExternalResourcesRequired.cpp:
(WebCore::SVGExternalResourcesRequired::parseAttribute):
* svg/SVGExternalResourcesRequired.h:
(SVGExternalResourcesRequired):
* svg/SVGFEBlendElement.cpp:
(WebCore::SVGFEBlendElement::parseAttribute):
* svg/SVGFEBlendElement.h:
* svg/SVGFEColorMatrixElement.cpp:
(WebCore::SVGFEColorMatrixElement::parseAttribute):
* svg/SVGFEColorMatrixElement.h:
* svg/SVGFEComponentTransferElement.cpp:
(WebCore::SVGFEComponentTransferElement::parseAttribute):
* svg/SVGFEComponentTransferElement.h:
* svg/SVGFECompositeElement.cpp:
(WebCore::SVGFECompositeElement::parseAttribute):
* svg/SVGFECompositeElement.h:
* svg/SVGFEConvolveMatrixElement.cpp:
(WebCore::SVGFEConvolveMatrixElement::parseAttribute):
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.cpp:
(WebCore::SVGFEDiffuseLightingElement::parseAttribute):
* svg/SVGFEDiffuseLightingElement.h:
* svg/SVGFEDisplacementMapElement.cpp:
(WebCore::SVGFEDisplacementMapElement::parseAttribute):
* svg/SVGFEDisplacementMapElement.h:
* svg/SVGFEDropShadowElement.cpp:
(WebCore::SVGFEDropShadowElement::parseAttribute):
* svg/SVGFEDropShadowElement.h:
* svg/SVGFEGaussianBlurElement.cpp:
(WebCore::SVGFEGaussianBlurElement::parseAttribute):
* svg/SVGFEGaussianBlurElement.h:
* svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::parseAttribute):
* svg/SVGFEImageElement.h:
* svg/SVGFELightElement.cpp:
(WebCore::SVGFELightElement::parseAttribute):
* svg/SVGFELightElement.h:
* svg/SVGFEMergeNodeElement.cpp:
(WebCore::SVGFEMergeNodeElement::parseAttribute):
* svg/SVGFEMergeNodeElement.h:
* svg/SVGFEMorphologyElement.cpp:
(WebCore::SVGFEMorphologyElement::parseAttribute):
* svg/SVGFEMorphologyElement.h:
* svg/SVGFEOffsetElement.cpp:
(WebCore::SVGFEOffsetElement::parseAttribute):
* svg/SVGFEOffsetElement.h:
* svg/SVGFESpecularLightingElement.cpp:
(WebCore::SVGFESpecularLightingElement::parseAttribute):
* svg/SVGFESpecularLightingElement.h:
* svg/SVGFETileElement.cpp:
(WebCore::SVGFETileElement::parseAttribute):
* svg/SVGFETileElement.h:
* svg/SVGFETurbulenceElement.cpp:
(WebCore::SVGFETurbulenceElement::parseAttribute):
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterElement.cpp:
(WebCore::SVGFilterElement::parseAttribute):
* svg/SVGFilterElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.cpp:
(WebCore::SVGFilterPrimitiveStandardAttributes::parseAttribute):
* svg/SVGFilterPrimitiveStandardAttributes.h:
(SVGFilterPrimitiveStandardAttributes):
* svg/SVGFitToViewBox.cpp:
(WebCore::SVGFitToViewBox::parseAttribute):
* svg/SVGFitToViewBox.h:
(SVGFitToViewBox):
* svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::parseAttribute):
* svg/SVGFontFaceElement.h:
* svg/SVGFontFaceUriElement.cpp:
(WebCore::SVGFontFaceUriElement::parseAttribute):
* svg/SVGFontFaceUriElement.h:
* svg/SVGForeignObjectElement.cpp:
(WebCore::SVGForeignObjectElement::parseAttribute):
* svg/SVGForeignObjectElement.h:
* svg/SVGGElement.cpp:
(WebCore::SVGGElement::parseAttribute):
* svg/SVGGElement.h:
* svg/SVGGlyphElement.cpp:
(WebCore::SVGGlyphElement::parseAttribute):
* svg/SVGGlyphElement.h:
* svg/SVGGlyphRefElement.cpp:
(WebCore::SVGGlyphRefElement::parseAttribute):
* svg/SVGGlyphRefElement.h:
* svg/SVGGradientElement.cpp:
(WebCore::SVGGradientElement::parseAttribute):
* svg/SVGGradientElement.h:
* svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::collectStyleForAttribute):
(WebCore::SVGImageElement::parseAttribute):
* svg/SVGImageElement.h:
* svg/SVGImageLoader.cpp:
(WebCore::SVGImageLoader::sourceURI):
* svg/SVGLangSpace.cpp:
(WebCore::SVGLangSpace::parseAttribute):
* svg/SVGLangSpace.h:
(SVGLangSpace):
* svg/SVGLineElement.cpp:
(WebCore::SVGLineElement::parseAttribute):
* svg/SVGLineElement.h:
* svg/SVGLinearGradientElement.cpp:
(WebCore::SVGLinearGradientElement::parseAttribute):
* svg/SVGLinearGradientElement.h:
* svg/SVGMPathElement.cpp:
(WebCore::SVGMPathElement::parseAttribute):
* svg/SVGMPathElement.h:
* svg/SVGMarkerElement.cpp:
(WebCore::SVGMarkerElement::parseAttribute):
* svg/SVGMarkerElement.h:
* svg/SVGMaskElement.cpp:
(WebCore::SVGMaskElement::parseAttribute):
* svg/SVGMaskElement.h:
* svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::parseAttribute):
* svg/SVGPathElement.h:
* svg/SVGPatternElement.cpp:
(WebCore::SVGPatternElement::parseAttribute):
* svg/SVGPatternElement.h:
* svg/SVGPolyElement.cpp:
(WebCore::SVGPolyElement::parseAttribute):
* svg/SVGPolyElement.h:
* svg/SVGRadialGradientElement.cpp:
(WebCore::SVGRadialGradientElement::parseAttribute):
* svg/SVGRadialGradientElement.h:
* svg/SVGRectElement.cpp:
(WebCore::SVGRectElement::parseAttribute):
* svg/SVGRectElement.h:
* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::parseAttribute):
* svg/SVGSVGElement.h:
* svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::parseAttribute):
* svg/SVGScriptElement.h:
* svg/SVGStopElement.cpp:
(WebCore::SVGStopElement::parseAttribute):
* svg/SVGStopElement.h:
* svg/SVGStyleElement.cpp:
(WebCore::SVGStyleElement::parseAttribute):
* svg/SVGStyleElement.h:
* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::collectStyleForAttribute):
(WebCore::SVGStyledElement::parseAttribute):
* svg/SVGStyledElement.h:
* svg/SVGStyledTransformableElement.cpp:
(WebCore::SVGStyledTransformableElement::parseAttribute):
* svg/SVGStyledTransformableElement.h:
* svg/SVGSymbolElement.cpp:
(WebCore::SVGSymbolElement::parseAttribute):
* svg/SVGSymbolElement.h:
* svg/SVGTRefElement.cpp:
(WebCore::SVGTRefElement::parseAttribute):
* svg/SVGTRefElement.h:
* svg/SVGTests.cpp:
(WebCore::SVGTests::parseAttribute):
* svg/SVGTests.h:
(SVGTests):
* svg/SVGTextContentElement.cpp:
(WebCore::SVGTextContentElement::collectStyleForAttribute):
(WebCore::SVGTextContentElement::parseAttribute):
* svg/SVGTextContentElement.h:
* svg/SVGTextElement.cpp:
(WebCore::SVGTextElement::parseAttribute):
* svg/SVGTextElement.h:
* svg/SVGTextPathElement.cpp:
(WebCore::SVGTextPathElement::parseAttribute):
* svg/SVGTextPathElement.h:
* svg/SVGTextPositioningElement.cpp:
(WebCore::SVGTextPositioningElement::parseAttribute):
* svg/SVGTextPositioningElement.h:
* svg/SVGURIReference.cpp:
(WebCore::SVGURIReference::parseAttribute):
* svg/SVGURIReference.h:
(SVGURIReference):
* svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::parseAttribute):
* svg/SVGUseElement.h:
* svg/SVGViewElement.cpp:
(WebCore::SVGViewElement::parseAttribute):
* svg/SVGViewElement.h:
* svg/SVGZoomAndPan.cpp:
(WebCore::SVGZoomAndPan::parseAttribute):
* svg/SVGZoomAndPan.h:
(SVGZoomAndPan):
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::parseAttribute):
* svg/animation/SVGSMILElement.h:

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

12 years agoMake error information available even if all we have is line number information.
oliver@apple.com [Wed, 16 May 2012 00:21:00 +0000 (00:21 +0000)]
Make error information available even if all we have is line number information.
https://bugs.webkit.org/show_bug.cgi?id=86547

Reviewed by Filip Pizlo.

We don't need expression information to generate useful line, file, and stack information,
so only require that we have line number info available.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::throwException):
* runtime/Executable.h:
(JSC):

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

12 years agoAssertion failure running Mozilla's WebGL performance regression tests
kbr@google.com [Wed, 16 May 2012 00:00:52 +0000 (00:00 +0000)]
Assertion failure running Mozilla's WebGL performance regression tests
https://bugs.webkit.org/show_bug.cgi?id=85942

Reviewed by Stephen White.

Fixed incorrect assumptions about source formats and buffer sizes
when uploading to floating-point textures. Added code paths
supporting the necessary conversions.

Tests have been added to the WebGL conformance suite which cover
these new code paths; they verify uploads of HTMLCanvasElement,
HTMLImageElement, HTMLVideoElement, and ImageData to
floating-point textures. However, because floating-point texture
support is optional, and generally only supported on bots which
run with real GPUs and not in virtual machines, it isn't feasible
to incorporate these tests as layout tests.

Ran the new WebGL conformance tests in Chromium on Linux; all
pass.

* platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::extractImageData):
Properly compute size of destination buffer.

(WebCore):
Add pack/unpack routines for converting RGBA8/BGRA8 to floating point.

(WebCore::doFloatingPointPacking):
Support RGBA8 and BGRA8 source formats.

(WebCore::isFloatingPointSource):
Factored out logic for assertions.

(WebCore::GraphicsContext3D::packPixels):
Generalized assertions and logic.

* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::getImageData):
Properly compute size of destination buffer.

* platform/graphics/cg/GraphicsContext3DCG.cpp:
(WebCore::GraphicsContext3D::getImageData):
Properly compute size of destination buffer.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::getImageData):
Properly compute size of destination buffer.

* platform/graphics/skia/GraphicsContext3DSkia.cpp:
(WebCore::GraphicsContext3D::getImageData):
Properly compute size of destination buffer.

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

12 years ago[chromium] Chromium port never sets USE(CG) so code behind it is dead
jamesr@google.com [Tue, 15 May 2012 23:58:55 +0000 (23:58 +0000)]
[chromium] Chromium port never sets USE(CG) so code behind it is dead
https://bugs.webkit.org/show_bug.cgi?id=86537

Reviewed by Adrienne Walker.

Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.

Source/WebCore:

* platform/chromium/DragImageRef.h:
(WebCore):
* platform/chromium/MIMETypeRegistryChromium.cpp:
(WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding):
* platform/chromium/ScrollbarThemeChromiumMac.mm:
(WebCore::ScrollbarThemeChromiumMac::paint):
* platform/chromium/ThemeChromiumMac.mm:
(WebCore::paintStepper):
* platform/graphics/chromium/PlatformImage.cpp:
(WebCore::PlatformImage::updateFromImage):

Source/WebKit/chromium:

* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::grContext):
(WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
(WebCore::GraphicsContext3D::grContext):
* src/GraphicsContext3DPrivate.h:
(GraphicsContext3DPrivate):
* src/PlatformSupport.cpp:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::doPixelReadbackToCanvas):

Tools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::paintRect):

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

12 years ago[EFL] Gardening after r117169.
rakuco@webkit.org [Tue, 15 May 2012 23:57:41 +0000 (23:57 +0000)]
[EFL] Gardening after r117169.

* platform/efl/test_expectations.txt: Unskip test that now passes.

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

12 years ago[EFL] Gardening after r117160.
rakuco@webkit.org [Tue, 15 May 2012 23:54:18 +0000 (23:54 +0000)]
[EFL] Gardening after r117160.

* platform/efl/test_expectations.txt: Skip test that depends on blob
support.

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

12 years agoSkia does not respect a specified InterpolationQuality
commit-queue@webkit.org [Tue, 15 May 2012 23:52:58 +0000 (23:52 +0000)]
Skia does not respect a specified InterpolationQuality
https://bugs.webkit.org/show_bug.cgi?id=86249

Patch by Keyar Hood <keyar@chromium.org> on 2012-05-15
Reviewed by Stephen White.

Source/WebCore:

The added functionality is not exposed to higher layers of webkit.
Tests will be added that will exercise these changes when bug 82804 is
fixed.

* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::drawImage):
(WebCore::GraphicsContext::drawImageBuffer):
Code to have the useLowQualityScale cause the InterpolationQuality be
be set to low for Chromium but remain as none for other platforms.
* platform/graphics/skia/ImageSkia.cpp:
(WebCore::limitResamplingMode): Added
(WebCore):
(WebCore::paintSkBitmap):
(WebCore::Image::drawPattern):
We now limit the resampling choice based on what InterpolationQuality
is set as. InterpolationNone restricts resampling to RESAMPLE_NONE,
InterpolationLow and InterpolationMedium restricts resampling to
RESAMPLE_LINEAR. InterpolationHigh and InterpolationDefault do not
change the resampling.

Furthermore, the choice on how to set the filter bitmap flag in
paintSkBitmap was made to be consistent with that in
Image::drawPattern.

LayoutTests:

Now expecting the following to tests to have an IMAGE failure:
svg/custom/pointer-events-image-css-transform.svg
svg/custom/pointer-events-image.svg
* platform/chromium/test_expectations.txt:

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

12 years ago[chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
jamesr@google.com [Tue, 15 May 2012 23:51:13 +0000 (23:51 +0000)]
[chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
https://bugs.webkit.org/show_bug.cgi?id=86536

Reviewed by Adam Barth.

Source/Platform:

The Chromium port always using Skia, so WEBKIT_USING_CG has been dead code for many moons.

* chromium/public/WebCommon.h:

Tools:

Deletes dead WEBKIT_USING_CG code and #ifdefs guarding it.

* DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
(WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
(WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::paintPagesWithBoundaries):

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

12 years agoImageDocuments erroneously trigger beforeload events for the main resource
jpfau@apple.com [Tue, 15 May 2012 23:48:58 +0000 (23:48 +0000)]
ImageDocuments erroneously trigger beforeload events for the main resource
https://bugs.webkit.org/show_bug.cgi?id=86543
<rdar://problem/11309013>

Reviewed by Brady Eidson.

No new tests; testing framework doesn't allow for testing ImageDocuments with injected JavaScript.

* loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):

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

12 years ago[chromium] Unreviewed build fix.
jamesr@google.com [Tue, 15 May 2012 23:41:54 +0000 (23:41 +0000)]
[chromium] Unreviewed build fix.

Partial revert of r117166 - it appears making DumpRenderTree depend on webkit_platform causes crashes in the
component build, at least on linux.  This restores Tools/DumpRenderTree to its pre-r117166 state.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
* DumpRenderTree/chromium/TestWebPlugin.cpp:
(TestWebPlugin::initialize):

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

12 years agoBlock freeing thread should not free blocks when we are actively requesting them
mhahnenberg@apple.com [Tue, 15 May 2012 23:38:25 +0000 (23:38 +0000)]
Block freeing thread should not free blocks when we are actively requesting them
https://bugs.webkit.org/show_bug.cgi?id=86519

Reviewed by Geoffrey Garen.

The block freeing thread shoots us in the foot if it decides to run while we're actively
requesting blocks and returning them. This situation can arise when there is a lot of copying
collection going on in steady state. We allocate a large swath of pages to copy into, then we
return all the newly free old pages to the BlockAllocator. In this state, if the block freeing
thread wakes up in between collections (which is more likely than it waking up during a
collection) and frees half of these pages, they will be needed almost immediately during the
next collection, causing a storm of VM allocations which we know are going to be very slow.

What we'd like is for when things have quieted down the block freeing thread can then return
memory to the OS. Usually this will be when a page has fully loaded and has a low allocation
rate. In this situation, our opportunistic collections will only be running at least every few
seconds, thus the extra time spent doing VM allocations won't matter nearly as much as, say,
while a page is loading.

* heap/BlockAllocator.cpp:
(JSC::BlockAllocator::BlockAllocator): Initialize our new field.
(JSC::BlockAllocator::blockFreeingThreadMain): We check if we've seen any block requests recently.
If so, reset our flag and go back to sleep. We also don't bother with locking here. If we miss out
on an update, we'll see it when we wake up again.
* heap/BlockAllocator.h: Add new field to track whether or not we've received recent block requests.
(BlockAllocator):
(JSC::BlockAllocator::allocate): If we receive a request for a block, set our field that tracks
that to true. We don't bother locking since we assume that writing to a bool is atomic.

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

12 years ago[chromium] ScrollElasticityController.mm doesn't compile with the 10.6 SDK on mac
dpranke@chromium.org [Tue, 15 May 2012 23:36:02 +0000 (23:36 +0000)]
[chromium] ScrollElasticityController.mm doesn't compile with the 10.6 SDK on mac
https://bugs.webkit.org/show_bug.cgi?id=86544

Reviewed by Anders Carlsson.

This is a build fix for now until we can figure out what a
better way to approach this is.

* platform/mac/ScrollElasticityController.mm:
(WebCore):

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

12 years agoMainResourceLoader::load() always returns true, so make it return
japhet@chromium.org [Tue, 15 May 2012 23:31:43 +0000 (23:31 +0000)]
MainResourceLoader::load() always returns true, so make it return
void and delete the related dead code.
https://bugs.webkit.org/show_bug.cgi?id=86413

Reviewed by Alexey Proskuryakov.

No new tests, cleanup only.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::startLoadingMainResource):
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::load):
* loader/MainResourceLoader.h:
(MainResourceLoader):

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

12 years agoSet the new PlatformWheelEvent member variables to sane defaults
andersca@apple.com [Tue, 15 May 2012 23:21:02 +0000 (23:21 +0000)]
Set the new PlatformWheelEvent member variables to sane defaults
https://bugs.webkit.org/show_bug.cgi?id=86542

Reviewed by Andreas Kling.

* src/WebInputEventConversion.cpp:
(WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):

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

12 years agoUnreviewed, GTK gardening.
philn@webkit.org [Tue, 15 May 2012 23:16:50 +0000 (23:16 +0000)]
Unreviewed, GTK gardening.

* platform/gtk/test_expectations.txt: Skip the mediastream tests
because the GTK+ implementation is incomplete.

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

12 years ago[Qt]3 fast/borders tests assert intermittently
alexis.menard@openbossa.org [Tue, 15 May 2012 22:59:31 +0000 (22:59 +0000)]
[Qt]3 fast/borders tests assert intermittently
https://bugs.webkit.org/show_bug.cgi?id=67994

Reviewed by Darin Adler.

These tests are now passing even with --iteration 1000.

* platform/qt/Skipped:

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

12 years ago[chromium] Ensure animations get ticked at least once when added.
commit-queue@webkit.org [Tue, 15 May 2012 22:51:01 +0000 (22:51 +0000)]
[chromium] Ensure animations get ticked at least once when added.
https://bugs.webkit.org/show_bug.cgi?id=86013

Patch by Ian Vollick <vollick@chromium.org> on 2012-05-15
Reviewed by James Robinson.

Source/WebCore:

Tested in
  CCLayerTreeHostTestTickAnimationWhileBackgrounded.runSingleThreaded
  CCLayerTreeHostTestAddAnimationWithTimingFunction.runSingleThreaded
  CCLayerTreeHostTestSynchronizeAnimationStartTimes.runSingleThreaded
  CCLayerTreeHostTestAnimationFinishedEvents.runSingleThreaded

* platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::addAnimation):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::finishCommitOnImplThread):
(WebCore::CCLayerTreeHost::didAddAnimation):
(WebCore):
(WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(CCLayerTreeHost):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
* platform/graphics/chromium/cc/CCProxy.h:
(CCProxy):
* platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(CCSingleThreadProxyAnimationTimer):
(WebCore::CCSingleThreadProxyAnimationTimer::create):
(WebCore::CCSingleThreadProxyAnimationTimer::CCSingleThreadProxyAnimationTimer):
(WebCore):
(WebCore::CCSingleThreadProxy::CCSingleThreadProxy):
(WebCore::CCSingleThreadProxy::didAddAnimation):
(WebCore::CCSingleThreadProxy::doComposite):
* platform/graphics/chromium/cc/CCSingleThreadProxy.h:
(WebCore):
* platform/graphics/chromium/cc/CCThreadProxy.h:

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
(WTF):

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

12 years ago[chromium] Fix unsafe viewport tag dispatch
commit-queue@webkit.org [Tue, 15 May 2012 22:34:05 +0000 (22:34 +0000)]
[chromium] Fix unsafe viewport tag dispatch
https://bugs.webkit.org/show_bug.cgi?id=80554

Patch by Alexandre Elias <aelias@google.com> on 2012-05-15
Reviewed by Adam Barth.

In some uncommon situations (such as window.open() new tab on
Android), dispatchViewportPropertiesDidChange may early-return without
setting the page scale because the window size is not yet
available from the embedder.  At that point, the previous behavior was
to call it again in layoutUpdated(), but this is unsafe since it
leaves a pending needsLayout.

I moved the dispatch call into WebViewImpl::didChangeContentsSize and
WebViewImpl::resize() instead -- these represent more explicitly the
situations where the inputs to the viewport tag calculation change.  I
removed the other dispatch call from setFrameRect as it's now
redundant.

Covered by FixedLayoutInitializeAtMinimumPageScale test introduced
in http://webk.it/82949 (an assertion will fire there without
this fix).

Source/WebCore:

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

Source/WebKit/chromium:

* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::layoutUpdated):
(WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::resize):
(WebKit::WebViewImpl::didChangeContentsSize):

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

12 years agoResult of fast/dom/DOMException/stack-trace.html depends on path (test introduced...
arv@chromium.org [Tue, 15 May 2012 22:33:19 +0000 (22:33 +0000)]
Result of fast/dom/DOMException/stack-trace.html depends on path (test introduced in r117016)
https://bugs.webkit.org/show_bug.cgi?id=86442

Reviewed by Darin Adler.

This fixes the test to not print the invalid value (which includes file paths) for the JSC fail case.

* fast/dom/DOMException/stack-trace-expected.txt:
* fast/dom/DOMException/stack-trace.html:
* platform/chromium/fast/dom/DOMException/stack-trace-expected.txt:
* platform/gtk/test_expectations.txt:
* platform/qt/Skipped:

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

12 years agoadd unit test for NRWT's --additional-expectations option
commit-queue@webkit.org [Tue, 15 May 2012 22:05:53 +0000 (22:05 +0000)]
add unit test for NRWT's --additional-expectations option
https://bugs.webkit.org/show_bug.cgi?id=86501

Patch by Elliot Poger <epoger@google.com> on 2012-05-15
Reviewed by Ojan Vafai.

* Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_expectations):

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

12 years ago[chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to...
jamesr@google.com [Tue, 15 May 2012 21:48:11 +0000 (21:48 +0000)]
[chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
https://bugs.webkit.org/show_bug.cgi?id=86524

Reviewed by Adam Barth.

Source/Platform:

Moves createOffscreenGraphicsContext3D(), previously on WebKitPlatformSupport, to WebKit::Platform.

* chromium/public/Platform.h:
(Platform):
(WebKit::Platform::createOffscreenGraphicsContext3D):

Source/WebKit/chromium:

Moves createOffscreenGraphicsContext3D() out (to WebKit::Platform) and updates GraphicsContext3DChromium to use
the new location. Also removes a few unnecessary includes from GraphicsContext3DChromium.cpp.

* public/platform/WebKitPlatformSupport.h:
(WebKitPlatformSupport):
* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3D::create):

Tools:

Updates TestWebPlugin to use the Platform headers and updates the build dependencies so it can.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
* DumpRenderTree/chromium/TestWebPlugin.cpp:
(TestWebPlugin::initialize):

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

12 years agor117147 causes a null-deref crash in DOMImplementation::createDocument()
jer.noble@apple.com [Tue, 15 May 2012 21:43:10 +0000 (21:43 +0000)]
r117147 causes a null-deref crash in DOMImplementation::createDocument()
https://bugs.webkit.org/show_bug.cgi?id=86532

Reviewed by James Robinson.

No new tests, but fixes many crashing tests.

Protect against the possibility of being passed a NULL frame in
DOMImplementation::createDocument().

* dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):

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

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=86527
beidson@apple.com [Tue, 15 May 2012 21:38:04 +0000 (21:38 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=86527
http/tests/media/video-query-url.html fails on Lion bots

Add it to the skipped list until Eric can explore.

* platform/mac-lion/Skipped:

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

12 years agoUse posZOrderList() / negZOrderList() everywhere to avoid querying dirtied lists
jchaffraix@webkit.org [Tue, 15 May 2012 21:33:41 +0000 (21:33 +0000)]
Use posZOrderList() / negZOrderList() everywhere to avoid querying dirtied lists
https://bugs.webkit.org/show_bug.cgi?id=86416

Reviewed by Simon Fraser.

Covered by existing tests that are not ASSERTing after this change.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::update3DTransformedDescendantStatus):
Added a call to updateZOrderLists() to the previous sites as nothing guarantees
that we have recomputed our z-order lists.

(WebCore::RenderLayer::paintLayerContents):
(WebCore::RenderLayer::hitTestLayer):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::needsContentsCompositingLayer):
Converted those functions to use the safe getters.

* rendering/RenderLayer.h:
(WebCore::RenderLayer::hasNegativeZOrderList):
Newly added funtion to return if we have a negative z-order list.

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

12 years agoSource/WebCore: Crash due shadow tree parent confusion in SVG.
inferno@chromium.org [Tue, 15 May 2012 21:29:19 +0000 (21:29 +0000)]
Source/WebCore: Crash due shadow tree parent confusion in SVG.
https://bugs.webkit.org/show_bug.cgi?id=84248

Reviewed by Nikolas Zimmermann.

Test: svg/foreignObject/viewport-foreignobject-crash.html

When we try to make a decision on whether we need an outer
SVGRoot container, we detect if we are in shadow tree or not.
We also need to make sure that our parentOrHostElement is also
an svg element.

* svg/SVGElement.cpp:
(WebCore::SVGElement::isOutermostSVGSVGElement):

LayoutTests: Crash due shadow tree parent confusion in SVG.
https://bugs.webkit.org/show_bug.cgi?id=84248

Reviewed by Nikolas Zimmermann.

* svg/foreignObject/viewport-foreignobject-crash-expected.html: Added.
* svg/foreignObject/viewport-foreignobject-crash.html: Added.

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

12 years ago[File API] URL methods handling null arguments
commit-queue@webkit.org [Tue, 15 May 2012 21:27:39 +0000 (21:27 +0000)]
[File API] URL methods handling null arguments
https://bugs.webkit.org/show_bug.cgi?id=69693

Patch by Lauro Neto <lauro.neto@openbossa.org> on 2012-05-15
Reviewed by Adam Barth.

Source/WebCore:

Per the latest editor's draft of the File API:
http://dev.w3.org/2006/webapi/FileAPI/#dfn-createObjectURL

Use null instead of undefined as return value when a
null blob is given to URL.createObjectURL.

Test: fast/files/url-null.html

* html/DOMURL.idl:

LayoutTests:

URL.createObjectURL must return null instead of undefined
when a null blob is given as argument. Updated old test that
used undefined explicitly. New test by Mark Pilgrim (rebaselined
after fix).

* fast/files/url-null-expected.txt: Added.
* fast/files/url-null.html: Added.
* http/tests/fileapi/create-blob-url-from-data-url.html:

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

12 years agoUnreviewed build fix [Qt].
jer.noble@apple.com [Tue, 15 May 2012 21:21:16 +0000 (21:21 +0000)]
Unreviewed build fix [Qt].

Protect the definition of DOMImplementationSupportsTypeClient class with
VIDEO disabled.

* dom/DOMImplementation.cpp:

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

12 years ago[BlackBerry] Enable the Fullscreen API
commit-queue@webkit.org [Tue, 15 May 2012 20:55:12 +0000 (20:55 +0000)]
[BlackBerry] Enable the Fullscreen API
https://bugs.webkit.org/show_bug.cgi?id=86129

Patch by Max Feil <mfeil@rim.com> on 2012-05-15
Reviewed by Antonio Gomes.

This patch enables the new document-based Fullscreen API.
The ENABLE(FULLSCREEN_API) is already enabled in the
BlackBerry WebKit build. My patch turns fullscreen on
in the page settings by default and implements the missing
ChromeClientBlackBerry::{supports,enter,exit}FullScreenForElement()
member functions. I am also plumbing through the existing
"fullScreenVideoCapable" that QNXStageWebView has always been
sending to allow the presence of a native fullscreen video player
to be checked.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
* Api/WebSettings.cpp:
(WebKit):
(BlackBerry::WebKit::WebSettings::standardSettings):
(BlackBerry::WebKit::WebSettings::fullScreenVideoCapable):
(BlackBerry::WebKit::WebSettings::setFullScreenVideoCapable):
* Api/WebSettings.h:
* WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore):
(WebCore::ChromeClientBlackBerry::supportsFullScreenForElement):
(WebCore::ChromeClientBlackBerry::enterFullScreenForElement):
(WebCore::ChromeClientBlackBerry::exitFullScreenForElement):
* WebCoreSupport/ChromeClientBlackBerry.h:
(ChromeClientBlackBerry):

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

12 years agoSite-specific hack: Disclaim WebM as a supported type on Mac for YouTube.
jer.noble@apple.com [Tue, 15 May 2012 20:54:18 +0000 (20:54 +0000)]
Site-specific hack: Disclaim WebM as a supported type on Mac for YouTube.
https://bugs.webkit.org/show_bug.cgi?id=86409

Reviewed by Darin Adler.

No new tests; site specific hack.

Add a Mac-only site-specific hack which disclaims both video/webm and video/x-flv
as supported types when the media element's document has a host of youtube.com.

Add a new, pure-virtual prototype class for use by MediaPlayer::supportsType:
* platform/graphics/MediaPlayer.h:
(MediaPlayerSupportsTypeClient):
(WebCore::MediaPlayerSupportsTypeClient::~MediaPlayerSupportsTypeClient):
(WebCore::MediaPlayerSupportsTypeClient::mediaPlayerNeedsSiteSpecificHacks):
(WebCore::MediaPlayerSupportsTypeClient::mediaPlayerDocumentHost):

Use these new client calls to determine whether to apply the site-specific
hack:
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::supportsType):

Add this prototype class as a superclass of HTMLMediaElement.  Pass in the
HTMLMediaElement's this pointer when calling MediaPlayer::supportsType():
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::canPlayType):
(WebCore::HTMLMediaElement::selectNextSourceChild):
(WebCore::HTMLMediaElement::mediaPlayerNeedsSiteSpecificHacks):
(WebCore::HTMLMediaElement::mediaPlayerDocumentHost):
* html/HTMLMediaElement.h:

As is HTMLMediaElement, a MediaPlayerSupportsTypeClient class is needed. Add a
new class DOMImplementationSupportsTypeClient, an instance of which will be
passed to MediaPlayer::supportsType():
* dom/DOMImplementation.cpp:
(DOMImplementationSupportsTypeClient):
(WebCore::DOMImplementationSupportsTypeClient::DOMImplementationSupportsTypeClient):
(WebCore::DOMImplementation::createDocument):
(WebCore::DOMImplementation::mediaPlayerNeedsSiteSpecificHacks):
(WebCore::DOMImplementation::mediaPlayerDocumentHost):
* dom/DOMImplementation.h:

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

12 years ago[Qt][WK2] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml crashes
commit-queue@webkit.org [Tue, 15 May 2012 20:26:10 +0000 (20:26 +0000)]
[Qt][WK2] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml crashes
https://bugs.webkit.org/show_bug.cgi?id=80209

Patch by Michael Brüning <michael.bruning@nokia.com> on 2012-05-15
Reviewed by Kenneth Rohde Christiansen.

This patch adds a method isOpen to WebIconDatabase to
be able to check whether the database has already been opened.
This helps preventing problems when reusing a WebContext
to create another view, as e.g. WebKitTestRunner does it in the
Qt port.

* UIProcess/WebIconDatabase.cpp:
(WebKit::WebIconDatabase::setDatabasePath):
(WebKit::WebIconDatabase::isOpen): Added.
(WebKit):
* UIProcess/WebIconDatabase.h:
(WebIconDatabase):
* UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit::QtWebIconDatabaseClient::QtWebIconDatabaseClient):

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

12 years agomodify my own line
epoger@chromium.org [Tue, 15 May 2012 20:14:00 +0000 (20:14 +0000)]
modify my own line

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

12 years agoUse unaccelerated scrolling deltas when rubber-banding
andersca@apple.com [Tue, 15 May 2012 20:02:47 +0000 (20:02 +0000)]
Use unaccelerated scrolling deltas when rubber-banding
https://bugs.webkit.org/show_bug.cgi?id=86503
<rdar://problem/11378742>

Reviewed by Sam Weinig.

Source/WebCore:

* WebCore.exp.in:
* platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
(PlatformWheelEvent):
(WebCore::PlatformWheelEvent::scrollCount):
(WebCore::PlatformWheelEvent::unacceleratedScrollingDeltaX):
(WebCore::PlatformWheelEvent::unacceleratedScrollingDeltaY):
Add scroll count and unaccelerated scrolling deltas.

* platform/mac/ScrollElasticityController.mm:
(WebCore::elasticDeltaForTimeDelta):
(WebCore::elasticDeltaForReboundDelta):
(WebCore::reboundDeltaForElasticDelta):
Call the new WKSI functions.

(WebCore::ScrollElasticityController::handleWheelEvent):
Use the unaccelerated scrolling deltas when needed.

* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:
Add new WKSI functions.

Source/WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Init new WKSI functions.

Source/WebKit2:

* Shared/WebEvent.h:
(WebWheelEvent):
(WebKit::WebWheelEvent::scrollCount):
(WebKit::WebWheelEvent::unacceleratedScrollingDelta):
Add scroll count and unaccelerated scrolling delta.

* Shared/WebEventConversion.cpp:
(WebKit::WebKit2PlatformWheelEvent::WebKit2PlatformWheelEvent):
Initialize scroll count and unaccelerated scrolling deltas.

* Shared/WebWheelEvent.cpp:
(WebKit::WebWheelEvent::WebWheelEvent):
Initialize scroll count and unaccelerated scrolling deltas.

(WebKit::WebWheelEvent::encode):
(WebKit::WebWheelEvent::decode):
Encode and decode scroll count and unaccelerated scrolling deltas.

* Shared/mac/WebEventFactory.mm:
(WebKit::WebEventFactory::createWebWheelEvent):
Initialize the scroll count and unaccelerated scrolling deltas from the underlying NSEvent.

* UIProcess/WebPageProxy.cpp:
(WebKit::coalesce):
Coalesce unaccelerated scrolling deltas as well.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Init new WKSI functions.

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

12 years ago[chromium] Compute the best target node on a GestureTap event
commit-queue@webkit.org [Tue, 15 May 2012 19:58:56 +0000 (19:58 +0000)]
[chromium] Compute the best target node on a GestureTap event
https://bugs.webkit.org/show_bug.cgi?id=85101

Patch by Terry Anderson <tdanderson@chromium.org> on 2012-05-15
Reviewed by Adam Barth.

Source/WebCore:

Using the tests in the touchadjustment/ directory.

* WebCore.gypi:
Include TouchAdjustment.* files.
* page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::zoomableIntersectionQuotient):
(WebCore::TouchAdjustment::findNodeWithLowestDistanceMetric):
No longer using the INFINITY constant due to problems with compiling
on chromium win.

Source/WebKit/chromium:

* features.gypi:
Enable the touch adjustment code by default.
* src/WebInputEventConversion.cpp:
(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
In the case of a GestureTap, deltaX represents the horizontal padding of the touch
area and deltaY represents the vertical padding of the touch area.

LayoutTests:

* platform/chromium/test_expectations.txt:
The flaky tests in touchadjustment/ have been addressed in WK86218.

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

12 years agoAdd AudioSummingJunction class to handle fan-in (abstracted from AudioNodeInput)
crogers@google.com [Tue, 15 May 2012 19:56:51 +0000 (19:56 +0000)]
Add AudioSummingJunction class to handle fan-in (abstracted from AudioNodeInput)
https://bugs.webkit.org/show_bug.cgi?id=86396

Reviewed by Kenneth Russell.

No new tests.  Existing layout tests already extensively test summing.

* CMakeLists.txt:
* GNUmakefile.list.am:
Add AudioSummingJunction files to makefiles.

* Modules/webaudio/AudioContext.cpp:
* Modules/webaudio/AudioContext.h:
(WebCore::AudioContext::handlePreRenderTasks):
(WebCore::AudioContext::handlePostRenderTasks):
(WebCore::AudioContext::deleteMarkedNodes):
(WebCore::AudioContext::markSummingJunctionDirty):
(WebCore::AudioContext::removeMarkedSummingJunction):
(WebCore::AudioContext::handleDirtyAudioSummingJunctions):
Simple munge from AudioNodeInput -> AudioSummingJunction

* Modules/webaudio/AudioNodeInput.cpp:
* Modules/webaudio/AudioNodeInput.h:
(WebCore::AudioNodeInput::AudioNodeInput):
(WebCore::AudioNodeInput::didUpdate):
Remove logic from AudioNodeInput which now is being moved to AudioSummingJunction.

* Modules/webaudio/AudioSummingJunction.cpp: Added.
* Modules/webaudio/AudioSummingJunction.h: Added.
(WebCore::AudioSummingJunction::AudioSummingJunction):
(WebCore::AudioSummingJunction::~AudioSummingJunction):
(WebCore::AudioSummingJunction::changedOutputs):
(WebCore::AudioSummingJunction::updateRenderingState):
(WebCore::AudioSummingJunction::context):
(WebCore::AudioSummingJunction::numberOfRenderingConnections):
(WebCore::AudioSummingJunction::renderingOutput):
(WebCore::AudioSummingJunction::isConnected):
(WebCore::AudioSummingJunction::numberOfConnections):
Add AudioSummingJunction which is an abstraction to manage/track the connections from AudioNodeOutputs
representing the fan-in points for unity gain summing junctions.

* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:
Add AudioSummingJunction files to makefiles.

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

12 years agoUnreviewed, rolling out r117095.
commit-queue@webkit.org [Tue, 15 May 2012 19:55:38 +0000 (19:55 +0000)]
Unreviewed, rolling out r117095.
http://trac.webkit.org/changeset/117095
https://bugs.webkit.org/show_bug.cgi?id=86511

broke Qt Mac build (Requested by estes on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-15

* Shared/Plugins/Netscape/NetscapePluginModule.cpp:
* Shared/Plugins/Netscape/NetscapePluginModule.h:
* Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
* Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
* Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
* UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
(WebKit::PluginInfoStore::getPluginInfo):
* WebProcess/Plugins/Netscape/JSNPMethod.cpp:
* WebProcess/Plugins/Netscape/JSNPMethod.h:
* WebProcess/Plugins/Netscape/JSNPObject.cpp:
* WebProcess/Plugins/Netscape/JSNPObject.h:
* WebProcess/Plugins/Netscape/NPJSObject.cpp:
* WebProcess/Plugins/Netscape/NPJSObject.h:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
* WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp:
* WebProcess/Plugins/Netscape/NPRuntimeUtilities.h:
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:
* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
* WebProcess/Plugins/Netscape/NetscapePluginStream.h:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
* WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.h:
* WebProcess/Plugins/Netscape/mac/PluginProxyMac.mm:
* WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp:
* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:

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

12 years ago [WK2] Crash when dropping a reference to a non-existing file
ap@apple.com [Tue, 15 May 2012 19:52:12 +0000 (19:52 +0000)]
    [WK2] Crash when dropping a reference to a non-existing file
        https://bugs.webkit.org/show_bug.cgi?id=86505
        <rdar://problem/11402084>

        Reviewed by Darin Adler.

        * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::performDragControllerAction): Check that
        extension handle actually has a non-null extension. Extensions for non-existent files can not
        exist, so they are passed as null ones.

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

12 years agoFixing the flaky 'script-src-redirect.html' test.
commit-queue@webkit.org [Tue, 15 May 2012 19:51:45 +0000 (19:51 +0000)]
Fixing the flaky 'script-src-redirect.html' test.
https://bugs.webkit.org/show_bug.cgi?id=86433

Patch by Mike West <mkwst@chromium.org> on 2012-05-15
Reviewed by Adam Barth.

* http/tests/security/contentSecurityPolicy/resources/source-list-parsing-base.js:
(test):
* http/tests/security/contentSecurityPolicy/script-src-redirect.html:

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

12 years agoRuby annotation is incorrectly identified as a paragraph boundary
mitz@apple.com [Tue, 15 May 2012 19:25:23 +0000 (19:25 +0000)]
Ruby annotation is incorrectly identified as a paragraph boundary
https://bugs.webkit.org/show_bug.cgi?id=86507

Reviewed by Darin Adler.

Source/WebCore:

Test: editing/selection/paragraph-with-ruby.html

* editing/htmlediting.cpp:
(WebCore::isBlock): Changed to return false for ruby text.

LayoutTests:

* editing/selection/paragraph-with-ruby-expected.txt: Added.
* editing/selection/paragraph-with-ruby.html: Added.

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

12 years agoAdd WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM...
aestes@apple.com [Tue, 15 May 2012 19:23:05 +0000 (19:23 +0000)]
Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
https://bugs.webkit.org/show_bug.cgi?id=86508

Reviewed by Sam Weinig.

Source/WebKit2:

* Shared/cf/ArgumentCodersCF.cpp:
(CoreIPC::typeFromCFTypeRef):
(CoreIPC::encode):
(CoreIPC::decode):
(CoreIPC):
* Shared/cf/ArgumentCodersCF.h:
(CoreIPC):
* Shared/mac/KeychainAttribute.cpp:
* Shared/mac/KeychainAttribute.h:
* Shared/mac/SecKeychainItemRequestData.cpp:
* Shared/mac/SecKeychainItemRequestData.h:
* Shared/mac/SecKeychainItemResponseData.cpp:
* Shared/mac/SecKeychainItemResponseData.h:
* UIProcess/WebProcessProxy.h:
(WebKit):
(WebProcessProxy):
* WebProcess/mac/WebProcessMac.mm:

Source/WTF:

* wtf/Platform.h:

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

12 years ago[GTK] Un-used GStreamer linker options
commit-queue@webkit.org [Tue, 15 May 2012 19:22:08 +0000 (19:22 +0000)]
[GTK] Un-used GStreamer linker options
https://bugs.webkit.org/show_bug.cgi?id=86407

Patch by Philippe Normand <pnormand@igalia.com> on 2012-05-15
Reviewed by Martin Robinson.

* GNUmakefile.am: Remove no-longer used webcore_libadd variable.

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

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=86506
bdakin@apple.com [Tue, 15 May 2012 19:20:19 +0000 (19:20 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=86506
REGRESSION (tiled drawing): No scrollbar while page is loading
-and corresponding
<rdar://problem/11444589>

Reviewed by Anders Carlsson.

We have always had a mechanism in place to suppress painting overlay
scrollbars while the page is loading. However, that mechaism is
overriden if the page has been scrolled. It should be, anyway. It was
not being overriden when the scrolling was handled as a wheel event by
the scrolling tree. This patch takes advantage of the fact that
ScrollingTree::handleWheelEvent() already calls back to the main
thread for handleWheelEventPhase() and just patches
handleWheelEventPhase to mark m_haveScrolledSincePageLoad as true.
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::handleWheelEventPhase):

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

12 years agoWKContextSetCacheModel(contextref, kWKCacheModelDocumentViewer) doesn't prevent pages...
jberlin@webkit.org [Tue, 15 May 2012 19:05:52 +0000 (19:05 +0000)]
WKContextSetCacheModel(contextref, kWKCacheModelDocumentViewer) doesn't prevent pages from
going into the PageCache.
https://bugs.webkit.org/show_bug.cgi?id=85891

Reviewed by Brady Eidson.

Source/WebCore:

Do not claim that it is possible to cache a page when the page cache has a capacity of 0.

Covered by the modified DOMWindowExtensionNoCache WK2 API test.

* history/PageCache.cpp:
(WebCore::PageCache::canCache):
Check m_capacity.
* history/PageCache.h:

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::commitProvisionalLoad):
canCache is no longer static on PageCache.

Tools:

Set the cache model in DOMWindowExtensionNoCache so that the page cache is not used. This is
better than using pages with unload handlers because we may find a way to make pages with
unload handlers cacheable in the future.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
Remove simple-iframe-unload.html and simple-unload.html, since they are no longer used.

* TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp:
(TestWebKitAPI::TEST):
Set the cache model to kWKCacheModelDocumentViewer.

* TestWebKitAPI/Tests/WebKit2/simple-iframe-unload.html: Removed.
* TestWebKitAPI/Tests/WebKit2/simple-unload.html: Removed.

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

12 years agoAdd self as committer-but-not-reviewer
caryclark@google.com [Tue, 15 May 2012 19:03:54 +0000 (19:03 +0000)]
Add self as committer-but-not-reviewer

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

12 years agoUnreviewed, rolling out r116811.
jamesr@google.com [Tue, 15 May 2012 18:54:16 +0000 (18:54 +0000)]
Unreviewed, rolling out r116811.
http://trac.webkit.org/changeset/116811
https://bugs.webkit.org/show_bug.cgi?id=86257

Introduced layering violation

Source/WebCore:

* WebCore.gypi:

Source/WebKit/chromium:

* WebKit.gyp:
* src/Extensions3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp.
(WebCore):
(WebCore::Extensions3DChromium::Extensions3DChromium):
(WebCore::Extensions3DChromium::~Extensions3DChromium):
(WebCore::Extensions3DChromium::supports):
(WebCore::Extensions3DChromium::ensureEnabled):
(WebCore::Extensions3DChromium::isEnabled):
(WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
(WebCore::Extensions3DChromium::blitFramebuffer):
(WebCore::Extensions3DChromium::renderbufferStorageMultisample):
(WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
(WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
(WebCore::Extensions3DChromium::discardFramebufferEXT):
(WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
(WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
(WebCore::Extensions3DChromium::createVertexArrayOES):
(WebCore::Extensions3DChromium::deleteVertexArrayOES):
(WebCore::Extensions3DChromium::isVertexArrayOES):
(WebCore::Extensions3DChromium::bindVertexArrayOES):
(WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
(WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
(WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
(WebCore::Extensions3DChromium::paintFramebufferToCanvas):
(WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
(WebCore::Extensions3DChromium::texStorage2DEXT):
(WebCore::Extensions3DChromium::createQueryEXT):
(WebCore::Extensions3DChromium::deleteQueryEXT):
(WebCore::Extensions3DChromium::isQueryEXT):
(WebCore::Extensions3DChromium::beginQueryEXT):
(WebCore::Extensions3DChromium::endQueryEXT):
(WebCore::Extensions3DChromium::getQueryivEXT):
(WebCore::Extensions3DChromium::getQueryObjectuivEXT):
* src/GraphicsContext3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DChromium.cpp.
(WebCore):
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
(WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
(WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
(WebCore::GraphicsContext3DPrivate::platformTexture):
(GrMemoryAllocationChangedCallback):
(WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
(WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
(WebCore::GraphicsContext3DPrivate::grContext):
(WebCore::GraphicsContext3DPrivate::prepareTexture):
(WebCore::GraphicsContext3DPrivate::markContextChanged):
(WebCore::GraphicsContext3DPrivate::markLayerComposited):
(WebCore::GraphicsContext3DPrivate::layerComposited):
(WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
(WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3DPrivate::reshape):
(WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
(WebCore::GraphicsContext3DPrivate::isContextLost):
(WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
(WebCore::GraphicsContext3DPrivate::bindAttribLocation):
(WebCore::GraphicsContext3DPrivate::bufferData):
(WebCore::GraphicsContext3DPrivate::bufferSubData):
(WebCore::GraphicsContext3DPrivate::getActiveAttrib):
(WebCore::GraphicsContext3DPrivate::getActiveUniform):
(WebCore::GraphicsContext3DPrivate::getAttribLocation):
(WebCore::GraphicsContext3DPrivate::getContextAttributes):
(WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
(WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
(WebCore::GraphicsContext3DPrivate::getShaderSource):
(WebCore::GraphicsContext3DPrivate::getString):
(WebCore::GraphicsContext3DPrivate::getUniformLocation):
(WebCore::GraphicsContext3DPrivate::shaderSource):
(WebCore::GraphicsContext3DPrivate::texImage2D):
(WebCore::GraphicsContext3DPrivate::texSubImage2D):
(WebCore::GraphicsContext3DPrivate::uniform1fv):
(WebCore::GraphicsContext3DPrivate::uniform1iv):
(WebCore::GraphicsContext3DPrivate::uniform2fv):
(WebCore::GraphicsContext3DPrivate::uniform2iv):
(WebCore::GraphicsContext3DPrivate::uniform3fv):
(WebCore::GraphicsContext3DPrivate::uniform3iv):
(WebCore::GraphicsContext3DPrivate::uniform4fv):
(WebCore::GraphicsContext3DPrivate::uniform4iv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
(WebCore::GraphicsContext3DPrivate::getExtensions):
(WebCore::GraphicsContext3DPrivate::isResourceSafe):
(WebCore::GraphicsContext3DPrivate::initializeExtensions):
(WebCore::GraphicsContext3DPrivate::supportsExtension):
(WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
(WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::grContext):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
(WebCore::GraphicsContext3D::isResourceSafe):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
(GraphicsContextLostCallbackAdapter):
(WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
(WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
(WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
(WebCore::GraphicsContextLostCallbackAdapter::create):
(WebCore::GraphicsContext3DPrivate::setContextLostCallback):
(GraphicsErrorMessageCallbackAdapter):
(WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
(WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
(WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
(WebCore::GraphicsErrorMessageCallbackAdapter::create):
(WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
(WebCore::GraphicsContext3D::isGLES2Compliant):
(GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
(WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
(GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
(WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
* src/GraphicsContext3DPrivate.h: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.h.
(WebKit):
(WebCore):
(GraphicsContext3DPrivate):

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