WebKit-https.git
8 years agoEntering "make" in Source builds only JavaScriptGlue and ANGLE
mitz@apple.com [Wed, 28 Dec 2011 19:47:45 +0000 (19:47 +0000)]
Entering "make" in Source builds only JavaScriptGlue and ANGLE
https://bugs.webkit.org/show_bug.cgi?id=75318

Reviewed by Anders Carlsson.

* Makefile: Changed to make Source and Tools.
* Source/Makefile: Changed to make all projects in Source.

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

8 years agoInline flow not learning height of all text descendants
robert@webkit.org [Wed, 28 Dec 2011 19:18:05 +0000 (19:18 +0000)]
Inline flow not learning height of all text descendants
https://bugs.webkit.org/show_bug.cgi?id=75305

Reviewed by Dan Bernstein.

Source/WebCore:

Tests: fast/inline/nested-text-descendants-expected.html
       fast/inline/nested-text-descendants.html

The root inline box would only learn it had text descendants if its first grandchild
was text. It wasn't informed of subsequent text grandchildren so could not factor them
into its calculation of the line height.
To fix this, propagate the existence of a text descendant to the root inline box
by walking up through the text child's ancestors.

* rendering/InlineFlowBox.cpp:
(WebCore::setHasTextDescendantsOnAncestors):
(WebCore::InlineFlowBox::addToLine):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::setHasTextDescendants):

LayoutTests:

* fast/inline/nested-text-descendants-expected.html: Added.
* fast/inline/nested-text-descendants.html: Added.

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

8 years agoAdd a new WTF::bind overload that takes 6 parameters
andersca@apple.com [Wed, 28 Dec 2011 19:16:31 +0000 (19:16 +0000)]
Add a new WTF::bind overload that takes 6 parameters
https://bugs.webkit.org/show_bug.cgi?id=75287

Reviewed by Sam Weinig.

* wtf/Functional.h:

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

8 years agoUnreviewed, rolling out r103620.
commit-queue@webkit.org [Wed, 28 Dec 2011 18:21:04 +0000 (18:21 +0000)]
Unreviewed, rolling out r103620.
http://trac.webkit.org/changeset/103620
https://bugs.webkit.org/show_bug.cgi?id=75316

Causes many crashes (Requested by abarth on #webkit).

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

Source/WebCore:

* loader/FrameLoaderClient.h:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::postMessageTimerFired):

Source/WebKit/chromium:

* public/WebDOMMessageEvent.h:
* public/WebFrameClient.h:
* src/FrameLoaderClientImpl.cpp:
* src/FrameLoaderClientImpl.h:

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
* DumpRenderTree/chromium/LayoutTestController.h:
* DumpRenderTree/chromium/WebViewHost.cpp:
* DumpRenderTree/chromium/WebViewHost.h:

LayoutTests:

* platform/chromium/fast/events/intercept-postmessage-expected.txt: Removed.
* platform/chromium/fast/events/intercept-postmessage.html: Removed.

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

8 years ago[V8][Chromium] 'randomString' in document.body.style always returns true
apavlov@chromium.org [Wed, 28 Dec 2011 18:08:37 +0000 (18:08 +0000)]
[V8][Chromium] 'randomString' in document.body.style always returns true
https://bugs.webkit.org/show_bug.cgi?id=75313

Reviewed by Adam Barth.

Source/WebCore:

* bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
(WebCore::V8CSSStyleDeclaration::namedPropertyQuery):

LayoutTests:

* fast/css/style-enumerate-properties-expected.txt:
* fast/css/style-enumerate-properties.html:

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

8 years agoWeb Inspector: Add domain.png to WebCore.gypi / WebKit.qrc.
vsevik@chromium.org [Wed, 28 Dec 2011 16:06:48 +0000 (16:06 +0000)]
Web Inspector: Add domain.png to WebCore.gypi / WebKit.qrc.
https://bugs.webkit.org/show_bug.cgi?id=75310

Reviewed by Pavel Feldman.

* WebCore.gypi:
* inspector/front-end/WebKit.qrc:

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

8 years agoWeb Inspector: ExperimentsSettings causes warning on chromium when reading localizedS...
vsevik@chromium.org [Wed, 28 Dec 2011 16:02:35 +0000 (16:02 +0000)]
Web Inspector: ExperimentsSettings causes warning on chromium when reading localizedStrings.
https://bugs.webkit.org/show_bug.cgi?id=75299

Reviewed by Pavel Feldman.

* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen.prototype._createExperimentCheckbox):

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

8 years agoWeb Inspector: Scripts panel: add debug sidebar resizer to TabbedEditorContainer.
vsevik@chromium.org [Wed, 28 Dec 2011 15:59:15 +0000 (15:59 +0000)]
Web Inspector: Scripts panel: add debug sidebar resizer to TabbedEditorContainer.
https://bugs.webkit.org/show_bug.cgi?id=75300

Reviewed by Pavel Feldman.

* inspector/front-end/ScriptsPanel.js:
* inspector/front-end/scriptsPanel.css:
(#scripts-debug-sidebar-resizer-widget):

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

8 years agoWeb Inspector: Introduce a Profiler launcher view similar to that in the Audits panel
apavlov@chromium.org [Wed, 28 Dec 2011 15:25:05 +0000 (15:25 +0000)]
Web Inspector: Introduce a Profiler launcher view similar to that in the Audits panel
https://bugs.webkit.org/show_bug.cgi?id=75228

Reviewed by Pavel Feldman.

Source/WebCore:

* English.lproj/localizedStrings.js:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/front-end/AuditLauncherView.js:
(WebInspector.AuditLauncherView):
* inspector/front-end/AuditsPanel.js:
(WebInspector.AuditsPanel):
* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotProfileType):
(WebInspector.DetailedHeapshotProfileType.prototype.get treeItemTitle):
(WebInspector.DetailedHeapshotProfileType.prototype.get description):
* inspector/front-end/ProfileLauncherView.js: Added.
(WebInspector.ProfileLauncherView):
(WebInspector.ProfileLauncherView.prototype.setUpEventListeners):
(WebInspector.ProfileLauncherView.prototype.addProfileType):
(WebInspector.ProfileLauncherView.prototype._controlButtonClicked):
(WebInspector.ProfileLauncherView.prototype._updateControls):
(WebInspector.ProfileLauncherView.prototype._profileTypeChanged):
(WebInspector.ProfileLauncherView.prototype._onProfileStarted):
(WebInspector.ProfileLauncherView.prototype._onProfileFinished):
* inspector/front-end/ProfileView.js:
(WebInspector.CPUProfileType):
(WebInspector.CPUProfileType.prototype.get treeItemTitle):
(WebInspector.CPUProfileType.prototype.get description):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfileType.prototype.get treeItemTitle):
(WebInspector.ProfileType.prototype.get description):
(WebInspector.ProfilesPanel.prototype.get statusBarItems):
(WebInspector.ProfilesPanel.prototype.toggleRecordButton):
(WebInspector.ProfilesPanel.prototype._onProfileTypeSelected):
(WebInspector.ProfilesPanel.prototype._reset):
(WebInspector.ProfilesPanel.prototype._showLauncherView):
(WebInspector.ProfilesPanel.prototype._registerProfileType):
(WebInspector.ProfilesPanel.prototype._addProfileHeader):
(WebInspector.ProfilesPanel.prototype._updateInterface):
(WebInspector.ProfileTypeTreeElement):
(WebInspector.ProfileTypeTreeElement.prototype.collapse):
(WebInspector.ProfilesSidebarTreeElement):
(WebInspector.ProfilesSidebarTreeElement.prototype.onattach):
(WebInspector.ProfilesSidebarTreeElement.prototype.onselect):
(WebInspector.ProfilesSidebarTreeElement.prototype.get selectable):
(WebInspector.ProfilesSidebarTreeElement.prototype.refresh):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/WelcomeView.js: Removed.
* inspector/front-end/auditsPanel.css:
(.audit-launcher-view .audit-launcher-view-content):
(.audit-launcher-view div.button-container):
(.panel-enabler-view.audit-launcher-view label):
(.panel-enabler-view.audit-launcher-view label.disabled):
* inspector/front-end/inspector.html:
* inspector/front-end/panelEnablerView.css:
(.panel-enabler-view img):
(.panel-enabler-view .flexible-space):
(.panel-enabler-view button:not(.status-bar-item)):
(body.inactive .panel-enabler-view button, .panel-enabler-view button:disabled):
(.panel-enabler-view input[type="radio"]):
(.panel-enabler-view input[type="radio"]:active:not(:disabled)):
(.panel-enabler-view input[type="radio"]:checked):
(.panel-enabler-view input[type="radio"]:checked:active):
* inspector/front-end/profilesPanel.css:
(.profile-launcher-view-tree-item > .icon):
(.profile-launcher-view-content):
(.profile-launcher-view-content h1):
(.panel-enabler-view.profile-launcher-view form):
(.panel-enabler-view.profile-launcher-view label):
(.profile-launcher-view-content p):
(.panel-enabler-view.profile-launcher-view button:not(.status-bar-item)):
(.profile-launcher-view-content button.running:not(.status-bar-item)):
(body.inactive .profile-launcher-view-content button.running:not(.status-bar-item)):

LayoutTests:

* inspector/profiler/profiler-test.js:
(initialize_ProfilerTest):

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

8 years agoUnreviewed, rolling out r103763.
yurys@chromium.org [Wed, 28 Dec 2011 13:41:15 +0000 (13:41 +0000)]
Unreviewed, rolling out r103763.
http://trac.webkit.org/changeset/103763
https://bugs.webkit.org/show_bug.cgi?id=75307

"Compilation fails on Snow Leopard" (Requested by yurys on
#webkit).

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

* inspector/CodeGeneratorInspector.py:
(Helper):
(create_ad_hoc_type_declaration.Helper):
(CodeGenerator.generate_type_builder):
(get_in_c_type_text):

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

8 years agoWeb Inspector: CodeGeneratorInspector.py: generate enum types.
yurys@chromium.org [Wed, 28 Dec 2011 13:29:33 +0000 (13:29 +0000)]
Web Inspector: CodeGeneratorInspector.py: generate enum types.
https://bugs.webkit.org/show_bug.cgi?id=74954

Patch by Peter Rybin <peter.rybin@gmail.com> on 2011-12-28
Reviewed by Yury Semikhatsky.

Internal map of string contants is created. C enums are created for
each JSON enum.

* inspector/CodeGeneratorInspector.py:
(EnumConstants.add_constant):
(EnumConstants):
(EnumConstants.get_enum_constant_code):
(TypeBindings.create_type_declaration_.EnumBinding.get_code_generator.CodeGenerator.generate_type_builder):
(TypeBindings.create_type_declaration_.EnumBinding.get_in_c_type_text):
(TypeBindings.create_type_declaration_.EnumBinding.get_setter_value_expression_pattern):
(TypeBindings.create_type_declaration_.PlainString.reduce_to_raw_type):
(TypeBindings.create_type_declaration_.PlainString.get_setter_value_expression_pattern):
(get_in_c_type_text):
(get_setter_value_expression_pattern):
(PlainObjectBinding.get_in_c_type_text):
(PlainObjectBinding.get_setter_value_expression_pattern):
(RawTypesBinding.get_in_c_type_text):
(RawTypesBinding.get_setter_value_expression_pattern):
(get_annotated_type_text):
(MethodGenerateModes.get_modes):
(MethodGenerateModes.StrictParameterMode.get_c_param_type_text):
(MethodGenerateModes.StrictParameterMode):
(MethodGenerateModes.StrictParameterMode.get_setter_value_expression):
(MethodGenerateModes.RawParameterMode.get_c_param_type_text):
(MethodGenerateModes.RawParameterMode):
(MethodGenerateModes.RawParameterMode.get_setter_value_expression):
(MethodGenerateModes.CombinedMode.get_c_param_type_text):
(MethodGenerateModes):
(MethodGenerateModes.CombinedMode):
(MethodGenerateModes.CombinedMode.get_setter_value_expression):

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

8 years agoIndexedDB: IDBKeyRange constructor should throw when lower > upper
hans@chromium.org [Wed, 28 Dec 2011 12:58:43 +0000 (12:58 +0000)]
IndexedDB: IDBKeyRange constructor should throw when lower > upper
https://bugs.webkit.org/show_bug.cgi?id=74705

Reviewed by Tony Chang.

Source/WebCore:

Make IDBKeyRange throw an exception when lower > upper,
or lower == upper and one or both of the bounds is open.

Tested in storage/indexeddb/keyrange.html.

* storage/IDBKeyRange.cpp:
(WebCore::IDBKeyRange::bound):

LayoutTests:

Update tests to check that the IDBKeyRange constructor throws when
trying to specify illegal key ranges, and update tests that were
doing that.

* storage/indexeddb/index-cursor-expected.txt:
* storage/indexeddb/index-cursor.html:
* storage/indexeddb/keyrange-expected.txt:
* storage/indexeddb/keyrange.html:
* storage/indexeddb/objectstore-cursor-expected.txt:
* storage/indexeddb/objectstore-cursor.html:

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

8 years agoWeb Inspector: [protocol] empty enum constant should be replaced with identifier
apavlov@chromium.org [Wed, 28 Dec 2011 12:28:04 +0000 (12:28 +0000)]
Web Inspector: [protocol] empty enum constant should be replaced with identifier
https://bugs.webkit.org/show_bug.cgi?id=75273

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/Inspector.json:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::asInspectorStyleSheet):
(WebCore::InspectorCSSAgent::detectOrigin):
* inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::buildObjectForRule):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSRule.prototype.get isRegular):

LayoutTests:

* inspector/styles/get-set-stylesheet-text-expected.txt:
* inspector/styles/styles-new-API-expected.txt:
* inspector/styles/styles-source-offsets.html:

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

8 years ago[Qt][WK2] Crash in ~WebGraphicsLayer when running fast/multicol/pagination-* tests
kbalazs@webkit.org [Wed, 28 Dec 2011 12:04:28 +0000 (12:04 +0000)]
[Qt][WK2] Crash in ~WebGraphicsLayer when running fast/multicol/pagination-* tests
https://bugs.webkit.org/show_bug.cgi?id=75000

Reviewed by Noam Rosenthal.

Don't adopt a tile client that belongs to a parent layer.
This is unnecessary and also unsafe because we can live
through that client.

* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):

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

8 years agoWeb Inspector: complete annotating SDK component.
pfeldman@chromium.org [Wed, 28 Dec 2011 09:31:41 +0000 (09:31 +0000)]
Web Inspector: complete annotating SDK component.
https://bugs.webkit.org/show_bug.cgi?id=75259

Reviewed by Yury Semikhatsky.

* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._addScript):
* inspector/front-end/NetworkManager.js:
(WebInspector.NetworkManager.prototype._cacheDisabledSettingChanged):
(WebInspector.NetworkDispatcher.prototype._isNull):
(WebInspector.NetworkDispatcher.prototype.webSocketCreated):
* inspector/front-end/Resource.js:
(WebInspector.Resource.displayName):
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeModel.prototype._onResourceUpdated):
(WebInspector.ResourceTreeModel.prototype._consoleMessageAdded):
(WebInspector.ResourceTreeFrame.prototype.get name):
* inspector/front-end/TabbedEditorContainer.js:

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

8 years agoContinue moving compiler feature checks to use the COMPILER_SUPPORTS() macro
weinig@apple.com [Wed, 28 Dec 2011 06:07:56 +0000 (06:07 +0000)]
Continue moving compiler feature checks to use the COMPILER_SUPPORTS() macro
https://bugs.webkit.org/show_bug.cgi?id=75268

Reviewed by Anders Carlsson.

* wtf/Compiler.h:
Add support for COMPILER_SUPPORTS(CXX_NULLPTR) and COMPILER_SUPPORTS(CXX_DELETED_FUNCTIONS).

* wtf/Noncopyable.h:
Use COMPILER_SUPPORTS(CXX_DELETED_FUNCTIONS).

* wtf/NullPtr.cpp:
* wtf/NullPtr.h:
Use COMPILER_SUPPORTS(CXX_NULLPTR). Remove support for HAVE(NULLPTR).

* wtf/RefPtr.h:
* wtf/RetainPtr.h:
Switch from HAVE(NULLPTR) to COMPILER_SUPPORTS(CXX_NULLPTR).

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

8 years agoCrash in the WebKit accessibility code while attempting to retrieve the title UI...
commit-queue@webkit.org [Wed, 28 Dec 2011 05:29:03 +0000 (05:29 +0000)]
Crash in the WebKit accessibility code while attempting to retrieve the title UI element.
https://bugs.webkit.org/show_bug.cgi?id=75279

Patch by Anantanarayanan G Iyengar <ananta@chromium.org> on 2011-12-27
Reviewed by Ryosuke Niwa.

Fix a crash in the the WebKit accessibility code which occurs while retrieving
the title UI clement. The fix is to NULL check the RenderObject::node return value.

No test added as there is no reduction.

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::titleUIElement):

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

8 years ago[EFL] Remove duplicate code and remove entry after freeing the matrix.
commit-queue@webkit.org [Wed, 28 Dec 2011 05:13:56 +0000 (05:13 +0000)]
[EFL] Remove duplicate code and remove entry after freeing the matrix.
https://bugs.webkit.org/show_bug.cgi?id=75073

Patch by JungJik Lee <jungjik.lee@samsung.com> on 2011-12-27
Reviewed by Ryosuke Niwa.

Remove duplicate ewk_tile_unused_cache_freeze code.
Entry matrix should free first before removing entry in inlist,
because in eina_matrixsparce_free callback entry pointer is referenced to decrease the reference count.

* ewk/ewk_tiled_matrix.cpp:
(ewk_tile_matrix_free):

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

8 years ago[mac] Stop using bootstrap_look_up2
mitz@apple.com [Wed, 28 Dec 2011 04:08:42 +0000 (04:08 +0000)]
[mac] Stop using bootstrap_look_up2
https://bugs.webkit.org/show_bug.cgi?id=75280

Reviewed by Mark Rowe.

* PluginProcess/mac/PluginProcessMainMac.mm:
(WebKit::PluginProcessMain): Changed to use bootstrap_look_up() instead of
bootstrap_look_up2().
* WebProcess/mac/WebProcessMainMac.mm:
(WebKit::WebProcessMain): Ditto.

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

8 years ago[Qt] Make the inputMethodEvent set or confirm the composition
kenneth@webkit.org [Wed, 28 Dec 2011 03:16:31 +0000 (03:16 +0000)]
[Qt] Make the inputMethodEvent set or confirm the composition
https://bugs.webkit.org/show_bug.cgi?id=75256

Reviewed by Chang Shu.

* UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::inputMethodEvent):

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

8 years agoAdd pass/crash expectation for svg/W3C-SVG-1.1/animate-elem-52-t.svg
rniwa@webkit.org [Wed, 28 Dec 2011 02:54:10 +0000 (02:54 +0000)]
Add pass/crash expectation for svg/W3C-SVG-1.1/animate-elem-52-t.svg
on Chromium Mac and Linux debug bots per the WebKit bug 74788.

* platform/chromium/test_expectations.txt:

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

8 years agoRemove initWebKitAnimationEvent method
dominicc@chromium.org [Wed, 28 Dec 2011 02:47:37 +0000 (02:47 +0000)]
Remove initWebKitAnimationEvent method
https://bugs.webkit.org/show_bug.cgi?id=71698

Reviewed by Ojan Vafai.

Source/WebCore:

Now that WebKitAnimationEvent has a constructor, we don't need
this
method. <https://www.w3.org/Bugs/Public/show_bug.cgi?id=15338> is
tracking the change to the CSS Animations spec.

* dom/WebKitAnimationEvent.cpp:
* dom/WebKitAnimationEvent.h:
* dom/WebKitAnimationEvent.idl:

LayoutTests:

* fast/events/init-events-expected.txt:
* fast/events/script-tests/init-events.js:

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

8 years agoChromium rebaselines for http://crbug.com/9768. It's hard to make sense of these...
rniwa@webkit.org [Wed, 28 Dec 2011 02:43:44 +0000 (02:43 +0000)]
Chromium rebaselines for crbug.com/9768. It's hard to make sense of these failures at this point
but actual results appear to be correct.

* platform/chromium-linux/fast/forms/select-initial-position-expected.png:
* platform/chromium-linux/fast/forms/select-initial-position-expected.txt: Added.
* platform/chromium-linux/fast/forms/select-visual-hebrew-expected.png:
* platform/chromium-linux/fast/forms/select-visual-hebrew-expected.txt:
* platform/chromium-linux/fast/forms/visual-hebrew-text-field-expected.png:
* platform/chromium-linux/fast/forms/visual-hebrew-text-field-expected.txt: Removed.
* platform/chromium-win-xp/fast/text/international/001-expected.png: Added.
* platform/chromium-win-xp/fast/text/international/002-expected.png: Added.
* platform/chromium-win-xp/fast/text/international/wrap-CJK-001-expected.png: Added.
* platform/chromium-win/fast/forms/select-initial-position-expected.png:
* platform/chromium-win/fast/forms/select-initial-position-expected.txt:
* platform/chromium-win/fast/forms/select-visual-hebrew-expected.png:
* platform/chromium-win/fast/forms/select-visual-hebrew-expected.txt:
* platform/chromium-win/fast/forms/visual-hebrew-text-field-expected.png:
* platform/chromium-win/fast/forms/visual-hebrew-text-field-expected.txt:
* platform/chromium-win/fast/text/cg-fallback-bolding-expected.png:
* platform/chromium-win/fast/text/cg-fallback-bolding-expected.txt:
* platform/chromium-win/fast/text/international/001-expected.png:
* platform/chromium-win/fast/text/international/001-expected.txt:
* platform/chromium-win/fast/text/international/002-expected.png:
* platform/chromium-win/fast/text/international/002-expected.txt:
* platform/chromium-win/fast/text/international/wrap-CJK-001-expected.png:
* platform/chromium-win/fast/text/international/wrap-CJK-001-expected.txt:
* platform/chromium/test_expectations.txt:

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

8 years agoChromium Linux rebaseline. The difference is negligible for the purpose of this test.
rniwa@webkit.org [Wed, 28 Dec 2011 02:33:03 +0000 (02:33 +0000)]
Chromium Linux rebaseline. The difference is negligible for the purpose of this test.

* platform/chromium-linux/fast/forms/textarea-width-expected.png:
* platform/chromium-linux/fast/forms/textarea-width-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years agoChromium Linux rebsaeline for http://crbug.com/10430. Glyphs look correct.
rniwa@webkit.org [Wed, 28 Dec 2011 02:27:23 +0000 (02:27 +0000)]
Chromium Linux rebsaeline for crbug.com/10430. Glyphs look correct.

* platform/chromium-linux/svg/W3C-SVG-1.1/text-intro-05-t-expected.png: Added.
* platform/chromium-linux/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Added.
* platform/chromium-win-vista/svg/W3C-SVG-1.1/text-intro-05-t-expected.png:
* platform/chromium-win-vista/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/text-intro-05-t-expected.png:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/text-intro-05-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt:
* platform/chromium/test_expectations.txt:

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

8 years agoChromium rebaseline after Skia revision 105271.
rniwa@webkit.org [Wed, 28 Dec 2011 02:16:50 +0000 (02:16 +0000)]
Chromium rebaseline after Skia revision 105271.
fast/css/shadow-multiple.html appears to have regressed; the failure is tracked by http://crbug.com/105271.

* platform/chromium-win-xp/fast/multicol: Removed.
* platform/chromium-win-xp/fast/multicol/shadow-breaking-expected.png: Removed.
* platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years agoRemove initWebKitTransitionEvent method
dominicc@chromium.org [Wed, 28 Dec 2011 02:07:26 +0000 (02:07 +0000)]
Remove initWebKitTransitionEvent method
https://bugs.webkit.org/show_bug.cgi?id=71701

Reviewed by Ojan Vafai.

Source/WebCore:

Now that WebKitTransitionEvent has a constructor, we don't need
this
method. <https://www.w3.org/Bugs/Public/show_bug.cgi?id=15339> is
tracking the change to the CSS Transitions spec.

* dom/WebKitTransitionEvent.cpp:
* dom/WebKitTransitionEvent.h:
* dom/WebKitTransitionEvent.idl:

LayoutTests:

Now that WebKitTransitionEvent has a constructor, we don't need
this method.

* fast/events/init-events-expected.txt:
* fast/events/script-tests/init-events.js:

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

8 years agoMisc fixes and cleanups in Functional.h
andersca@apple.com [Wed, 28 Dec 2011 01:31:16 +0000 (01:31 +0000)]
Misc fixes and cleanups in Functional.h
https://bugs.webkit.org/show_bug.cgi?id=75281

Reviewed by Andreas Kling.

- Reformat template declarations so that the class begins on a new line.
- Change the parameter template parameters to start at P1 instead of P0.
- Add function wrappers and bind overloads for 4 and 5 parameter functions.
- Change the Function call operator to be const so const functions can be called.

* wtf/Functional.h:

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

8 years agoChromium Linux CPU rebaseline after r103723.
rniwa@webkit.org [Wed, 28 Dec 2011 01:13:00 +0000 (01:13 +0000)]
Chromium Linux CPU rebaseline after r103723.

* platform/chromium-gpu-linux/media/video-layer-crash-expected.png:
* platform/chromium-gpu-linux/media/video-transformed-expected.png:
* platform/chromium-gpu-linux/media/video-zoom-controls-expected.png:
* platform/chromium-gpu-win/media/video-transformed-expected.txt: Removed.
* platform/chromium/test_expectations.txt:

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

8 years agoChromium rebaseline after r98596 part 6.
rniwa@webkit.org [Wed, 28 Dec 2011 00:57:00 +0000 (00:57 +0000)]
Chromium rebaseline after r98596 part 6.

* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-clipped-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-clipped-nonzero-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-objectBoundingBox-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-on-clipped-use-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-on-g-and-child-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-on-g-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-on-svg-and-child-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-on-svg-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-transform-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/clip-path/clip-path-use-as-child-expected.png: Added.
* platform/chromium-cg-mac/svg/clip-path/clip-path-clipped-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-on-g-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-on-svg-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-transform-2-expected.png: Removed.
* platform/chromium-cg-mac/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
* platform/chromium-linux/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png:
* platform/chromium-linux/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-clipped-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-clipped-nonzero-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-objectBoundingBox-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-on-clipped-use-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-on-g-and-child-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-on-g-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-on-svg-and-child-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-on-svg-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-transform-2-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-use-as-child-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-userSpaceOnUse-expected.png:
* platform/chromium-linux/svg/clip-path/clip-path-with-text-clipped-expected.png:
* platform/chromium-mac-leopard/svg/W3C-SVG-1.1/masking-path-05-f-expected.png: Removed.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png:
* platform/chromium-mac-snowleopard/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png:
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-clipped-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-clipped-nonzero-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-objectBoundingBox-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-on-clipped-use-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-on-g-and-child-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-on-g-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-on-svg-and-child-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-on-svg-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-transform-2-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-use-as-child-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/clip-path/clip-path-with-text-clipped-expected.png: Added.
* platform/chromium-mac/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-clipped-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-on-g-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-on-svg-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-transform-2-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-with-text-clipped-expected.png: Removed.
* platform/chromium-win-xp/svg/clip-path: Removed.
* platform/chromium-win/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png:
* platform/chromium-win/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-clipped-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-clipped-nonzero-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-objectBoundingBox-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-on-clipped-use-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-on-g-and-child-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-on-g-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-on-svg-and-child-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-on-svg-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-transform-2-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-use-as-child-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-userSpaceOnUse-expected.png:
* platform/chromium-win/svg/clip-path/clip-path-with-text-clipped-expected.png:
* platform/chromium/test_expectations.txt:
* platform/gtk/svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-nonzero-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-objectBoundingBox-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-on-clipped-use-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-on-g-and-child-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-on-g-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-on-svg-and-child-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-on-svg-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-transform-2-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-userSpaceOnUse-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-nonzero-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-objectBoundingBox-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-on-clipped-use-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-on-g-and-child-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-on-g-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-on-svg-and-child-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-on-svg-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-transform-2-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-userSpaceOnUse-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-clipped-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-clipped-nonzero-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-objectBoundingBox-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-on-clipped-use-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-on-g-and-child-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-on-g-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-on-svg-and-child-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-on-svg-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-transform-2-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-use-as-child-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-userSpaceOnUse-expected.txt: Removed.
* svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Added.
* svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Added.
* svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: Added.
* svg/clip-path/clip-path-clipped-expected.txt: Added.
* svg/clip-path/clip-path-clipped-nonzero-expected.txt: Added.
* svg/clip-path/clip-path-objectBoundingBox-expected.txt: Added.
* svg/clip-path/clip-path-on-clipped-use-expected.txt: Added.
* svg/clip-path/clip-path-on-g-and-child-expected.txt: Added.
* svg/clip-path/clip-path-on-g-expected.txt: Added.
* svg/clip-path/clip-path-on-svg-and-child-expected.txt: Added.
* svg/clip-path/clip-path-on-svg-expected.txt: Added.
* svg/clip-path/clip-path-transform-2-expected.txt: Added.
* svg/clip-path/clip-path-use-as-child-expected.txt: Added.
* svg/clip-path/clip-path-userSpaceOnUse-expected.txt: Added.

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

8 years agoMove HarfBuzz files into their own directory
tony@chromium.org [Wed, 28 Dec 2011 00:49:27 +0000 (00:49 +0000)]
Move HarfBuzz files into their own directory
https://bugs.webkit.org/show_bug.cgi?id=72780

Reviewed by Daniel Bates.

FontCacheLinux.cpp got moved to platform/graphics/skia/FontCacheSkia.cpp since it wasn't HarfBuzz specific.

I used HarfBuzz in filenames since that seems to be how the name is capitalized on the project home page.

Fixed some style errors caught by the style checker.

* PlatformBlackBerry.cmake:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/graphics/chromium/FontPlatformData.h:
* platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp: Renamed from Source/WebCore/platform/graphics/chromium/ComplexTextControllerLinux.cpp.
* platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.h: Renamed from Source/WebCore/platform/graphics/chromium/ComplexTextControllerLinux.h.
* platform/graphics/harfbuzz/FontHarfBuzz.cpp: Renamed from Source/WebCore/platform/graphics/chromium/FontLinux.cpp.
* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp: Renamed from Source/WebCore/platform/graphics/chromium/FontPlatformDataLinux.cpp.
* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h: Renamed from Source/WebCore/platform/graphics/chromium/FontPlatformDataLinux.h.
* platform/graphics/harfbuzz/HarfBuzzSkia.cpp: Renamed from Source/WebCore/platform/graphics/chromium/HarfbuzzSkia.cpp.
* platform/graphics/harfbuzz/HarfBuzzSkia.h: Renamed from Source/WebCore/platform/graphics/chromium/HarfbuzzSkia.h.
* platform/graphics/harfbuzz/SimpleFontDataSkia.cpp: Renamed from Source/WebCore/platform/graphics/chromium/SimpleFontDataLinux.cpp.
* platform/graphics/skia/FontCacheSkia.cpp: Renamed from Source/WebCore/platform/graphics/chromium/FontCacheLinux.cpp.
* platform/graphics/skia/GlyphPageTreeNodeSkia.cpp:

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

8 years agoUnreviewed, rolling out r103734.
commit-queue@webkit.org [Wed, 28 Dec 2011 00:33:24 +0000 (00:33 +0000)]
Unreviewed, rolling out r103734.
http://trac.webkit.org/changeset/103734
https://bugs.webkit.org/show_bug.cgi?id=75278

Broke cr-mac (Requested by dslomov on #webkit).

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

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebCommonWorkerClient.h:
(WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
(WebKit::WebCommonWorkerClient::allowFileSystem):
(WebKit::WebCommonWorkerClient::openFileSystem):
(WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
(WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
(WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
* public/WebFrameClient.h:
(WebKit::WebFrameClient::createWorker):
* public/WebSharedWorker.h:
* public/WebSharedWorkerClient.h: Removed.
* public/WebWorkerClient.h:
(WebKit::WebWorkerClient::~WebWorkerClient):
* src/DatabaseObserver.cpp:
(WebKit::AllowDatabaseMainThreadBridge::create):
(WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
(WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
(WebKit::allowDatabaseForWorker):
(WebCore::DatabaseObserver::canEstablishDatabase):
* src/IDBFactoryBackendProxy.cpp:
(WebKit::IDBFactoryBackendProxy::openFromWorker):
* src/LocalFileSystemChromium.cpp:
(WebCore::openFileSystemHelper):
* src/WebSharedWorkerImpl.cpp:
(WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::client):
(WebKit::WebSharedWorker::create):
* src/WebSharedWorkerImpl.h:
(WebKit::WebSharedWorkerImpl::commonClient):
(WebKit::WebSharedWorkerImpl::newCommonClient):
* src/WebWorkerBase.cpp:
(WebKit::initializeWebKitStaticValues):
(WebKit::WebWorkerBase::WebWorkerBase):
(WebKit::WebWorkerBase::~WebWorkerBase):
(WebKit::WebWorkerBase::stopWorkerThread):
(WebKit::WebWorkerBase::initializeLoader):
(WebKit::WebWorkerBase::dispatchTaskToMainThread):
(WebKit::WebWorkerBase::invokeTaskMethod):
(WebKit::WebWorkerBase::didCreateDataSource):
(WebKit::WebWorkerBase::createApplicationCacheHost):
(WebKit::WebWorkerBase::postMessageToWorkerObject):
(WebKit::WebWorkerBase::postMessageTask):
(WebKit::WebWorkerBase::postExceptionToWorkerObject):
(WebKit::WebWorkerBase::postExceptionTask):
(WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
(WebKit::WebWorkerBase::postConsoleMessageTask):
(WebKit::WebWorkerBase::postMessageToPageInspector):
(WebKit::WebWorkerBase::postMessageToPageInspectorTask):
(WebKit::WebWorkerBase::updateInspectorStateCookie):
(WebKit::WebWorkerBase::updateInspectorStateCookieTask):
(WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
(WebKit::WebWorkerBase::confirmMessageTask):
(WebKit::WebWorkerBase::reportPendingActivity):
(WebKit::WebWorkerBase::reportPendingActivityTask):
(WebKit::WebWorkerBase::workerContextClosed):
(WebKit::WebWorkerBase::workerContextClosedTask):
(WebKit::WebWorkerBase::workerContextDestroyed):
(WebKit::WebWorkerBase::workerContextDestroyedTask):
(WebKit::WebWorkerBase::postTaskToLoader):
(WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
* src/WebWorkerBase.h:
(WebKit::WebWorkerBase::view):
(WebKit::WebWorkerBase::setWorkerThread):
(WebKit::WebWorkerBase::workerThread):
* src/WebWorkerClientImpl.cpp:
* src/WebWorkerClientImpl.h:
(WebKit::WebWorkerClientImpl::newCommonClient):
* src/WebWorkerImpl.cpp: Added.
(WebKit::WebWorker::create):
(WebKit::WebWorkerImpl::WebWorkerImpl):
(WebKit::WebWorkerImpl::~WebWorkerImpl):
(WebKit::WebWorkerImpl::newCommonClient):
(WebKit::WebWorkerImpl::commonClient):
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
(WebKit::WebWorkerImpl::startWorkerContext):
(WebKit::WebWorkerImpl::terminateWorkerContext):
(WebKit::WebWorkerImpl::postMessageToWorkerContext):
(WebKit::WebWorkerImpl::workerObjectDestroyed):
(WebKit::WebWorkerImpl::clientDestroyed):
* src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
(WebKit::WebWorkerImpl::client):
* src/WorkerFileSystemCallbacksBridge.cpp:
(WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
(WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
* src/WorkerFileSystemCallbacksBridge.h:

Tools:

* DumpRenderTree/chromium/TestWebWorker.h:
(TestWebWorker::createWorker):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createWorker):
* DumpRenderTree/chromium/WebViewHost.h:

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

8 years ago[chromium] Unreviewed. According to the flakiness dashboard,
tony@chromium.org [Wed, 28 Dec 2011 00:26:47 +0000 (00:26 +0000)]
[chromium] Unreviewed. According to the flakiness dashboard,
fast/forms/input-text-paste-maxlength.html,
fast/filesystem/filesystem-reference.html,
fast/filesystem/filesystem-uri-origin.html, and
fast/canvas/canvas-putImageData.html are no longer flaky.

* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Unreviewed, clean up some obsolete expecatations.
tony@chromium.org [Wed, 28 Dec 2011 00:12:27 +0000 (00:12 +0000)]
[chromium] Unreviewed, clean up some obsolete expecatations.

* platform/chromium/test_expectations.txt:
svg/dom/SVGRectElement/rect-modify-rx.svg is passing according to the flakiness dashboard
and storage/close-during-stress-test.html is flaky in non-debug (very rare, less than 1% of the time).

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

8 years agoChromium rebaseline after r98596 part 5.
rniwa@webkit.org [Wed, 28 Dec 2011 00:03:41 +0000 (00:03 +0000)]
Chromium rebaseline after r98596 part 5.

* platform/chromium-cg-mac-snowleopard/fast/transforms: Added.
* platform/chromium-cg-mac-snowleopard/fast/transforms/shadows-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/writing-mode/border-styles-vertical-lr-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/writing-mode/border-styles-vertical-rl-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/custom/use-on-clip-path-with-transformation-expected.png: Added.
* platform/chromium-cg-mac/fast/transforms/shadows-expected.png: Removed.
* platform/chromium-cg-mac/fast/writing-mode/border-styles-vertical-lr-expected.png: Removed.
* platform/chromium-cg-mac/fast/writing-mode/border-styles-vertical-rl-expected.png: Removed.
* platform/chromium-cg-mac/svg/custom/use-on-clip-path-with-transformation-expected.png: Removed.
* platform/chromium-linux-x86/fast/transforms: Removed.
* platform/chromium-linux-x86/fullscreen: Removed.
* platform/chromium-linux/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-linux/fast/transforms/shadows-expected.png:
* platform/chromium-linux/fast/writing-mode/border-styles-vertical-lr-expected.png:
* platform/chromium-linux/fast/writing-mode/border-styles-vertical-rl-expected.png:
* platform/chromium-linux/fast/writing-mode/box-shadow-horizontal-bt-expected.png:
* platform/chromium-linux/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/chromium-linux/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/chromium-linux/fullscreen/full-screen-stacking-context-expected.png:
* platform/chromium-linux/svg/custom/resource-invalidate-on-target-update-expected.png:
* platform/chromium-mac-leopard/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-mac-leopard/fast/transforms/shadows-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-mac-snowleopard/fast/transforms: Added.
* platform/chromium-mac-snowleopard/fast/transforms/shadows-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/writing-mode/border-styles-vertical-lr-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/writing-mode/border-styles-vertical-rl-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/writing-mode/box-shadow-horizontal-bt-expected.png:
* platform/chromium-mac-snowleopard/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/chromium-mac-snowleopard/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/chromium-mac-snowleopard/fullscreen/full-screen-stacking-context-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/resource-invalidate-on-target-update-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/use-on-clip-path-with-transformation-expected.png: Added.
* platform/chromium-mac/fast/transforms/shadows-expected.png: Removed.
* platform/chromium-mac/fast/writing-mode/border-styles-vertical-lr-expected.png: Removed.
* platform/chromium-mac/fast/writing-mode/border-styles-vertical-rl-expected.png: Removed.
* platform/chromium-mac/svg/custom/use-on-clip-path-with-transformation-expected.png: Removed.
* platform/chromium-win-vista/fullscreen: Removed.
* platform/chromium-win-xp/fast/transforms: Removed.
* platform/chromium-win/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-win/fast/transforms/shadows-expected.png:
* platform/chromium-win/fast/writing-mode/border-styles-vertical-lr-expected.png:
* platform/chromium-win/fast/writing-mode/border-styles-vertical-rl-expected.png:
* platform/chromium-win/fast/writing-mode/box-shadow-horizontal-bt-expected.png:
* platform/chromium-win/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/chromium-win/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/chromium-win/fullscreen/full-screen-stacking-context-expected.png:
* platform/chromium-win/svg/custom/resource-invalidate-on-target-update-expected.png:
* platform/chromium-win/svg/custom/use-on-clip-path-with-transformation-expected.png:
* platform/chromium/test_expectations.txt:
* platform/gtk/svg/custom/resource-invalidate-on-target-update-expected.txt: Removed.
* platform/mac/svg/custom/resource-invalidate-on-target-update-expected.txt: Removed.
* platform/mac/svg/custom/use-on-clip-path-with-transformation-expected.txt: Removed.
* platform/qt/svg/custom/use-on-clip-path-with-transformation-expected.txt: Removed.
* svg/custom/resource-invalidate-on-target-update-expected.txt: Added.
* svg/custom/use-on-clip-path-with-transformation-expected.txt: Added.

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

8 years agoChromium rebaseline after r98596 part 4.
rniwa@webkit.org [Tue, 27 Dec 2011 23:46:09 +0000 (23:46 +0000)]
Chromium rebaseline after r98596 part 4.

* platform/chromium-cg-mac-snowleopard/fast/box-shadow/border-radius-big-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/box-shadow/spread-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/box-shadow/spread-multiple-inset-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/box-shadow/spread-multiple-normal-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/clip: Added.
* platform/chromium-cg-mac-snowleopard/fast/clip/overflow-border-radius-clip-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/css/nested-rounded-corners-expected.png: Added.
* platform/chromium-cg-mac/fast/box-shadow/border-radius-big-expected.png: Removed.
* platform/chromium-cg-mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Removed.
* platform/chromium-cg-mac/fast/box-shadow/spread-expected.png: Removed.
* platform/chromium-cg-mac/fast/box-shadow/spread-multiple-inset-expected.png: Removed.
* platform/chromium-cg-mac/fast/box-shadow/spread-multiple-normal-expected.png: Removed.
* platform/chromium-cg-mac/fast/clip/overflow-border-radius-clip-expected.png: Removed.
* platform/chromium-cg-mac/fast/css/nested-rounded-corners-expected.png: Removed.
* platform/chromium-cg-mac/fast/forms/validation-message-appearance-expected.txt: Removed.
* platform/chromium-linux-x86/fast/box-shadow: Removed.
* platform/chromium-linux-x86/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-linux/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.png:
* platform/chromium-linux/fast/box-shadow/inset-expected.png:
* platform/chromium-linux/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
* platform/chromium-linux/fast/box-shadow/spread-expected.png:
* platform/chromium-linux/fast/box-shadow/spread-multiple-inset-expected.png:
* platform/chromium-linux/fast/box-shadow/spread-multiple-normal-expected.png:
* platform/chromium-linux/fast/clip/overflow-border-radius-clip-expected.png:
* platform/chromium-linux/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-linux/fast/css/nested-rounded-corners-expected.png:
* platform/chromium-linux/fast/css/text-input-with-webkit-border-radius-expected.png:
* platform/chromium-linux/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac-leopard/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-mac-leopard/fast/box-shadow/spread-multiple-inset-expected.png:
* platform/chromium-mac-leopard/fast/clip/overflow-border-radius-clip-expected.png:
* platform/chromium-mac-leopard/fast/css/box-shadow-and-border-radius-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/text-input-with-webkit-border-radius-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/basic-shadows-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/border-radius-big-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/inset-box-shadows-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/inset-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/spread-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/spread-multiple-inset-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/box-shadow/spread-multiple-normal-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/clip: Added.
* platform/chromium-mac-snowleopard/fast/clip/overflow-border-radius-clip-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/box-shadow-and-border-radius-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/nested-rounded-corners-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/text-input-with-webkit-border-radius-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac/fast/box-shadow/border-radius-big-expected.png: Removed.
* platform/chromium-mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Removed.
* platform/chromium-mac/fast/box-shadow/spread-expected.png: Removed.
* platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Removed.
* platform/chromium-mac/fast/box-shadow/spread-multiple-normal-expected.png: Removed.
* platform/chromium-mac/fast/clip/overflow-border-radius-clip-expected.png: Removed.
* platform/chromium-mac/fast/css/nested-rounded-corners-expected.png: Removed.
* platform/chromium-mac/fast/css/text-input-with-webkit-border-radius-expected.png: Removed.
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt: Removed.
* platform/chromium-win-vista/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-win-xp/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-win/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-win/fast/box-shadow/border-radius-big-expected.png:
* platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
* platform/chromium-win/fast/box-shadow/inset-expected.png:
* platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
* platform/chromium-win/fast/box-shadow/spread-expected.png:
* platform/chromium-win/fast/box-shadow/spread-multiple-inset-expected.png:
* platform/chromium-win/fast/box-shadow/spread-multiple-normal-expected.png:
* platform/chromium-win/fast/clip/overflow-border-radius-clip-expected.png:
* platform/chromium-win/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-win/fast/css/nested-rounded-corners-expected.png:
* platform/chromium-win/fast/css/text-input-with-webkit-border-radius-expected.png:
* platform/chromium-win/fast/forms/validation-message-appearance-expected.png:
* platform/chromium/fast/forms/validation-message-appearance-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years ago[TexMap][QT] The fragment shader in OpenGL ES2 requires the default precision
commit-queue@webkit.org [Tue, 27 Dec 2011 23:37:27 +0000 (23:37 +0000)]
[TexMap][QT] The fragment shader in OpenGL ES2 requires the default precision
qualifier.
https://bugs.webkit.org/show_bug.cgi?id=75168

Patch by Huang Dongsung <luxtella@company100.net> on 2011-12-27
Reviewed by Noam Rosenthal.

No new functionality so no new tests.

* platform/graphics/opengl/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::initializeShaders):

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

8 years agoSource/WebKit/chromium: [WebWorkers][Chromium] Remove remains of cross-process dedica...
dslomov@google.com [Tue, 27 Dec 2011 23:34:01 +0000 (23:34 +0000)]
Source/WebKit/chromium: [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
https://bugs.webkit.org/show_bug.cgi?id=66509
Just renames, merges and removal of dead code. Here are the list of renames:
  - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
  - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
  - WebWorkerBase merged into WebSharedWorkerImpl
  - NewWebWorkerBase renamed into WebWorkerBase
WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
Will be removed after coordinated patch in chromium.

Reviewed by David Levin.

* WebKit.gyp:
* public/WebCommonWorkerClient.h:
* public/WebSharedWorker.h:
* public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
(WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
(WebKit::WebSharedWorkerClient::allowFileSystem):
(WebKit::WebSharedWorkerClient::openFileSystem):
(WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
(WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
(WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
* public/WebWorkerClient.h:
* src/DatabaseObserver.cpp:
(WebKit::AllowDatabaseMainThreadBridge::create):
(WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
(WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
(WebKit::allowDatabaseForWorker):
(WebCore::DatabaseObserver::canEstablishDatabase):
* src/IDBFactoryBackendProxy.cpp:
(WebKit::IDBFactoryBackendProxy::openFromWorker):
* src/LocalFileSystemChromium.cpp:
(WebCore::openFileSystemHelper):
* src/WebSharedWorkerImpl.cpp:
(WebKit::initializeWebKitStaticValues):
(WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::stopWorkerThread):
(WebKit::WebSharedWorkerImpl::initializeLoader):
(WebKit::WebSharedWorkerImpl::didCreateDataSource):
(WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
(WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
(WebKit::WebSharedWorkerImpl::postMessageTask):
(WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
(WebKit::WebSharedWorkerImpl::postExceptionTask):
(WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
(WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
(WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
(WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
(WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
(WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
(WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
(WebKit::WebSharedWorkerImpl::confirmMessageTask):
(WebKit::WebSharedWorkerImpl::reportPendingActivity):
(WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
(WebKit::WebSharedWorkerImpl::workerContextClosed):
(WebKit::WebSharedWorkerImpl::workerContextClosedTask):
(WebKit::WebSharedWorkerImpl::workerContextDestroyed):
(WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
(WebKit::WebSharedWorkerImpl::postTaskToLoader):
(WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
(WebKit::WebSharedWorker::create):
* src/WebSharedWorkerImpl.h:
(WebKit::WebSharedWorkerImpl::view):
(WebKit::WebSharedWorkerImpl::commonClient):
(WebKit::WebSharedWorkerImpl::client):
(WebKit::WebSharedWorkerImpl::setWorkerThread):
(WebKit::WebSharedWorkerImpl::workerThread):
* src/WebWorkerBase.cpp:
(WebKit::invokeTaskMethod):
(WebKit::WebWorkerBase::dispatchTaskToMainThread):
* src/WebWorkerBase.h:
* src/WebWorkerClientImpl.cpp:
* src/WebWorkerClientImpl.h:
(WebKit::WebWorkerClientImpl::commonClient):
* src/WebWorkerImpl.cpp: Removed.
* src/WebWorkerImpl.h: Removed.
* src/WorkerFileSystemCallbacksBridge.cpp:
(WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
(WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
* src/WorkerFileSystemCallbacksBridge.h:

Tools: [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
https://bugs.webkit.org/show_bug.cgi?id=66509
Just renames, merges and removal of dead code. Here are the list of renames:
  - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
  - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
  - WebWorkerBase merged into WebSharedWorkerImpl
  - NewWebWorkerBase renamed into WebWorkerBase

Reviewed by David Levin.

* DumpRenderTree/chromium/TestWebWorker.h:
(TestWebWorker::createWorker):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createWorker):
* DumpRenderTree/chromium/WebViewHost.h:

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

8 years agoChromium rebaseline after r98596 part 3.
rniwa@webkit.org [Tue, 27 Dec 2011 23:32:59 +0000 (23:32 +0000)]
Chromium rebaseline after r98596 part 3.

* fast/borders/borderRadiusGroove01-expected.txt: Removed.
* fast/borders/borderRadiusGroove02-expected.txt: Removed.
* fast/borders/borderRadiusInset01-expected.txt: Removed.
* fast/borders/borderRadiusOutset01-expected.txt: Removed.
* fast/borders/borderRadiusRidge01-expected.txt: Removed.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-groove-01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-groove-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-groove-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-inset-outset-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-split-inline-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-wide-border-01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-wide-border-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-wide-border-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-radius-wide-border-04-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-styles-split-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusGroove01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusGroove02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusInset01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusOutset01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusRidge01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/different-color-borders-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/fieldsetBorderRadius-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/mixed-border-styles-radius2-expected.png: Added.
* platform/chromium-cg-mac/fast/borders/border-radius-groove-01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-groove-02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-groove-03-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-inset-outset-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-split-inline-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-wide-border-01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-wide-border-02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-wide-border-03-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-radius-wide-border-04-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/border-styles-split-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusGroove01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusGroove02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusInset01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusOutset01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusRidge01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/different-color-borders-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/fieldsetBorderRadius-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/mixed-border-styles-radius2-expected.png: Removed.
* platform/chromium-linux/fast/borders/border-radius-groove-01-expected.png:
* platform/chromium-linux/fast/borders/border-radius-groove-02-expected.png:
* platform/chromium-linux/fast/borders/border-radius-groove-03-expected.png:
* platform/chromium-linux/fast/borders/border-radius-inset-outset-expected.png:
* platform/chromium-linux/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-linux/fast/borders/border-radius-wide-border-01-expected.png:
* platform/chromium-linux/fast/borders/border-radius-wide-border-02-expected.png:
* platform/chromium-linux/fast/borders/border-radius-wide-border-03-expected.png:
* platform/chromium-linux/fast/borders/border-radius-wide-border-04-expected.png:
* platform/chromium-linux/fast/borders/border-styles-split-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusGroove01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusGroove02-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusInset01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusOutset01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusRidge01-expected.png:
* platform/chromium-linux/fast/borders/different-color-borders-expected.png:
* platform/chromium-linux/fast/borders/fieldsetBorderRadius-expected.png:
* platform/chromium-linux/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-linux/fast/borders/mixed-border-styles-radius2-expected.png:
* platform/chromium-mac-leopard/fast/borders/border-radius-split-inline-expected.png: Added.
* platform/chromium-mac-leopard/fast/borders/different-color-borders-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-radius-groove-01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-groove-02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-groove-03-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-inset-outset-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-split-inline-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-wide-border-01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-wide-border-02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-wide-border-03-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-wide-border-04-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-styles-split-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusGroove01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusGroove02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusInset01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusOutset01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusRidge01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/different-color-borders-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/fieldsetBorderRadius-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/mixed-border-styles-radius2-expected.png: Added.
* platform/chromium-mac/fast/borders/border-radius-groove-01-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-groove-02-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-groove-03-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-inset-outset-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-split-inline-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-wide-border-01-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-wide-border-02-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-wide-border-03-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-radius-wide-border-04-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-styles-split-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusGroove01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusGroove02-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusInset01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusOutset01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusRidge01-expected.png: Removed.
* platform/chromium-mac/fast/borders/different-color-borders-expected.png: Removed.
* platform/chromium-mac/fast/borders/fieldsetBorderRadius-expected.png: Removed.
* platform/chromium-mac/fast/borders/mixed-border-styles-radius2-expected.png: Removed.
* platform/chromium-win/fast/borders/border-radius-groove-01-expected.png:
* platform/chromium-win/fast/borders/border-radius-groove-02-expected.png:
* platform/chromium-win/fast/borders/border-radius-groove-03-expected.png:
* platform/chromium-win/fast/borders/border-radius-inset-outset-expected.png:
* platform/chromium-win/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-win/fast/borders/border-radius-wide-border-01-expected.png:
* platform/chromium-win/fast/borders/border-radius-wide-border-02-expected.png:
* platform/chromium-win/fast/borders/border-radius-wide-border-03-expected.png:
* platform/chromium-win/fast/borders/border-radius-wide-border-04-expected.png:
* platform/chromium-win/fast/borders/border-styles-split-expected.png:
* platform/chromium-win/fast/borders/borderRadiusGroove01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusGroove02-expected.png:
* platform/chromium-win/fast/borders/borderRadiusInset01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusOutset01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusRidge01-expected.png:
* platform/chromium-win/fast/borders/different-color-borders-expected.png:
* platform/chromium-win/fast/borders/fieldsetBorderRadius-expected.png:
* platform/chromium-win/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-win/fast/borders/mixed-border-styles-radius2-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Minor cleanup of gyp files.
tony@chromium.org [Tue, 27 Dec 2011 23:24:23 +0000 (23:24 +0000)]
[chromium] Minor cleanup of gyp files.
https://bugs.webkit.org/show_bug.cgi?id=75269

Reviewed by Adam Barth.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp: msvs_guid is no longer needed
and vim/emacs specific hooks should be added by the user.

Source/WebKit/chromium:

* WebKit.gyp: msvs_guid is no longer needed.

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

8 years agoAdd an expected result meant to be added in r103723.
rniwa@webkit.org [Tue, 27 Dec 2011 23:04:25 +0000 (23:04 +0000)]
Add an expected result meant to be added in r103723.

* platform/chromium/compositing/scaling: Added.
* platform/chromium/compositing/scaling/tiled-layer-recursion-expected.png: Added.

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

8 years ago[Chromium] uninitialized variable in fakeMouseMoveEventTimerFired
rniwa@webkit.org [Tue, 27 Dec 2011 22:49:51 +0000 (22:49 +0000)]
[Chromium] uninitialized variable in fakeMouseMoveEventTimerFired
https://bugs.webkit.org/show_bug.cgi?id=75263

Reviewed by Tony Chang.

The failure was caused by PlatformKeyboardEvent::getCurrentModifierState in PlatformKeyboardEventChromium.cpp
not initializing arguments on Linux. Fixed the failure by always assigning false to the arguments.

But we should really fix this function for Linux. Not recognizing any modifier isn't great.

* platform/chromium/PlatformKeyboardEventChromium.cpp:
(WebCore::PlatformKeyboardEvent::getCurrentModifierState):

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

8 years agoWIP: Enable the [Supplemental] IDL on Gtk
haraken@chromium.org [Tue, 27 Dec 2011 22:31:45 +0000 (22:31 +0000)]
WIP: Enable the [Supplemental] IDL on Gtk
https://bugs.webkit.org/show_bug.cgi?id=74972

Reviewed by Adam Barth.

.:

This patch adds dom_binding_idls, which is used in Source/WebCore/GNUmakefile.list.am.

* GNUmakefile.am:

Source/WebCore:

This patch enables the [Supplemental] IDL on Gtk by changing the build
flow of Gtk as follows.

- Previous build flow:
    foreach $idl (all IDL files) {
        generate-bindings.pl depends on $idl;
        generate-bindings.pl reads $idl;
        generate-bindings.pl generates .h and .cpp files for $idl;
    }

- New build flow (See the discussions in bug 72138 for more details):
    resolve-supplemental.pl depends on all IDL files;
    resolve-supplemental.pl reads all IDL files;
    resolve-supplemental.pl resolves the dependency of [Supplemental=XXXX];
    resolve-supplemental.pl outputs supplemental_dependency.tmp;
    foreach $idl (all IDL files) {
        generate-bindings.pl depends on $idl and supplemental_dependency.tmp;
        generate-bindings.pl reads $idl;
        generate-bindings.pl reads supplemental_dependency.tmp;
        generate-bindings.pl generates .h and .cpp files for $idl,
            including all attributes in the IDL files that are implementing $idl;
    }

Tests: Confirm that build succeeds.
       http/tests/websocket/tests/*

* GNUmakefile.am: Described the above build flow.
* GNUmakefile.list.am: Added a list of IDL files. Instead, removed a list of JS*.h and JS*.cpp
that are generated by the IDL files.

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=75260
barraclough@apple.com [Tue, 27 Dec 2011 22:09:16 +0000 (22:09 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=75260
Null name for host function can result in dereference of uninitialize memory

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

This is a recent regression in ToT, if the name passed to finishCreation of a host function is null,
we are currently skipping the putDirect, which leaves memory uninitialized. This patch reverts the
aspect of the change that introduced the issue.  It might be better if functions that don't have a
name don't have this property at all, but that's change should be separate from fixing the bug.

* runtime/JSFunction.cpp:
(JSC::JSFunction::finishCreation):
    - Always initialize the name property.

LayoutTests:

Added a test for String applies to the ThrowTypeError function object -
if this does not crash, it passes!

* fast/js/basic-strict-mode-expected.txt:
* fast/js/script-tests/basic-strict-mode.js:

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

8 years ago[chromium] When building with clang, enable -Wglobal-constructors
tony@chromium.org [Tue, 27 Dec 2011 22:04:20 +0000 (22:04 +0000)]
[chromium] When building with clang, enable -Wglobal-constructors
https://bugs.webkit.org/show_bug.cgi?id=74365

Reviewed by Adam Barth.

Source/WebCore:

* WebCore.gyp/WebCore.gyp:

Source/WebKit/chromium:

* WebKit.gyp: Only add it to the webkit target.  I got errors when
trying to compile webkit_unit_tests.

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

8 years agoFunction should handle wrapping/unwrapping RefPtr and PassRefPtr
andersca@apple.com [Tue, 27 Dec 2011 21:39:43 +0000 (21:39 +0000)]
Function should handle wrapping/unwrapping RefPtr and PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=75266

Reviewed by Sam Weinig.

Source/JavaScriptCore:

Add ParamStorageTraits that can be used for deciding how bound parameters should be stored
and peeked at. For RefPtr we want to use the raw pointer when "peeking" to avoid ref-churn.
For PassRefPtr, we want to use RefPtr for storage but still use the raw pointer when peeking.

* wtf/Functional.h:
(WTF::ParamStorageTraits::wrap):
(WTF::ParamStorageTraits::unwrap):

Tools:

* TestWebKitAPI/Tests/WTF/Functional.cpp:
(TestWebKitAPI::Number::create):
(TestWebKitAPI::Number::~Number):
(TestWebKitAPI::Number::value):
(TestWebKitAPI::Number::Number):
(TestWebKitAPI::multiplyNumberByTwo):
(TestWebKitAPI::TEST):

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

8 years agoChromium rebaseline after r98596 part 2.
rniwa@webkit.org [Tue, 27 Dec 2011 21:04:16 +0000 (21:04 +0000)]
Chromium rebaseline after r98596 part 2.

* fast/borders/borderRadiusDotted02-expected.txt: Added.
* fast/borders/borderRadiusDotted03-expected.txt: Added.
* fast/borders/borderRadiusDouble01-expected.txt: Removed.
* fast/borders/borderRadiusDouble02-expected.txt: Removed.
* fast/borders/borderRadiusDouble03-expected.txt: Removed.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted04-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted05-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDotted06-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble04-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble05-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble06-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble07-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble08-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDouble09-expected.png: Added.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted03-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted04-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted05-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDotted06-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble03-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble04-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble05-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble06-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble07-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble08-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDouble09-expected.png: Removed.
* platform/chromium-linux/fast/borders/borderRadiusDotted01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDotted02-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDotted03-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDotted04-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDotted05-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDotted06-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble02-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble03-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble04-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble05-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble06-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble07-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble08-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble09-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted03-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted04-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted05-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDotted06-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble03-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble04-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble05-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble06-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble07-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble08-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDouble09-expected.png: Added.
* platform/chromium-mac/fast/borders/borderRadiusDotted01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDotted02-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDotted03-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDotted04-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDotted05-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble02-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble03-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble04-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble05-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble06-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble07-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble08-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDouble09-expected.png: Removed.
* platform/chromium-win/fast/borders/borderRadiusDotted01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDotted02-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDotted03-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDotted04-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDotted05-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDotted06-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble02-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble03-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble04-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble05-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble06-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble07-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble08-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDouble09-expected.png:
* platform/chromium/test_expectations.txt:
* platform/qt/fast/borders/borderRadiusDotted02-expected.txt: Removed.
* platform/qt/fast/borders/borderRadiusDotted03-expected.txt: Removed.

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

8 years agoChromium rebaseline after r98596 part 1.
rniwa@webkit.org [Tue, 27 Dec 2011 20:49:55 +0000 (20:49 +0000)]
Chromium rebaseline after r98596 part 1.

* fast/borders/border-radius-complex-inner-expected.txt: Added.
* fast/borders/borderRadiusArcs01-expected.txt: Removed.
* fast/borders/borderRadiusDashed01-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/backgrounds/gradient-background-leakage-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusAllStylesAllCorners-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusArcs01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDashed01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDashed02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDashed03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDashed04-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/borderRadiusDashed05-expected.png: Added.
* platform/chromium-cg-mac/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Removed.
* platform/chromium-cg-mac/fast/backgrounds/border-radius-split-background-image-expected.png: Removed.
* platform/chromium-cg-mac/fast/backgrounds/gradient-background-leakage-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusAllStylesAllCorners-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusArcs01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDashed01-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDashed02-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDashed03-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDashed04-expected.png: Removed.
* platform/chromium-cg-mac/fast/borders/borderRadiusDashed05-expected.png: Removed.
* platform/chromium-linux-x86/fast/backgrounds: Removed.
* platform/chromium-linux-x86/fast/borders: Removed.
* platform/chromium-linux/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
* platform/chromium-linux/fast/backgrounds/border-radius-split-background-image-expected.png:
* platform/chromium-linux/fast/borders/border-radius-complex-inner-expected.png:
* platform/chromium-linux/fast/borders/border-radius-different-width-001-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusArcs01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDashed01-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDashed02-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDashed03-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDashed04-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDashed05-expected.png:
* platform/chromium-linux/svg/batik/text/textLength-expected.png: Added.
* platform/chromium-linux/svg/batik/text/textLength-expected.txt: Removed.
* platform/chromium-mac-leopard/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
* platform/chromium-mac-leopard/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/backgrounds/gradient-background-leakage-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-radius-complex-inner-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-radius-different-width-001-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusAllStylesAllCorners-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusArcs01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDashed01-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDashed02-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDashed03-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDashed04-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/borderRadiusDashed05-expected.png: Added.
* platform/chromium-mac/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Removed.
* platform/chromium-mac/fast/backgrounds/border-radius-split-background-image-expected.png: Removed.
* platform/chromium-mac/fast/backgrounds/gradient-background-leakage-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusAllStylesAllCorners-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusArcs01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDashed01-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDashed02-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDashed03-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDashed04-expected.png: Removed.
* platform/chromium-mac/fast/borders/borderRadiusDashed05-expected.png: Removed.
* platform/chromium-win-vista/fast/borders: Removed.
* platform/chromium-win-xp/fast/borders: Removed.
* platform/chromium-win/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
* platform/chromium-win/fast/backgrounds/border-radius-split-background-image-expected.png:
* platform/chromium-win/fast/backgrounds/gradient-background-leakage-expected.png:
* platform/chromium-win/fast/borders/border-radius-complex-inner-expected.png:
* platform/chromium-win/fast/borders/border-radius-different-width-001-expected.png:
* platform/chromium-win/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
* platform/chromium-win/fast/borders/borderRadiusArcs01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed01-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed02-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed03-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed04-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed05-expected.png:
* platform/chromium/test_expectations.txt:
* platform/gtk/fast/borders/border-radius-complex-inner-expected.txt: Removed.
* platform/mac/fast/borders/border-radius-complex-inner-expected.txt: Removed.
* platform/qt/fast/borders/border-radius-complex-inner-expected.txt: Removed.
* platform/qt/fast/borders/borderRadiusDashed01-expected.txt: Removed.

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

8 years ago[Chromium] media/video-layer-crash.html media/video-transformed.html media/video...
rniwa@webkit.org [Tue, 27 Dec 2011 20:27:37 +0000 (20:27 +0000)]
[Chromium] media/video-layer-crash.html media/video-transformed.html media/video-zoom-controls.html are failing on linux and win gpu.
https://bugs.webkit.org/show_bug.cgi?id=73905

Unreviewed rebaseline.

Also rebaselined compositing/color-matching/image-color-matching.html, compositing/geometry/vertical-scroll-composited.html
and compositing/scaling/tiled-layer-recursion.html.

* platform/chromium-cg-mac-leopard/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-cg-mac-snowleopard/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-gpu-cg-mac/media/video-transformed-expected.png:
* platform/chromium-gpu-mac/media/video-transformed-expected.png:
* platform/chromium-gpu-win/media/video-layer-crash-expected.txt: Removed.
* platform/chromium-gpu-win/media/video-transformed-expected.png:
* platform/chromium-gpu-win/media/video-transformed-expected.txt: Added.
* platform/chromium-linux/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-linux/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-linux/compositing/scaling/tiled-layer-recursion-expected.png:
* platform/chromium-mac-leopard/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-mac-snowleopard/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-win/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-win/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-win/compositing/scaling/tiled-layer-recursion-expected.png:
* platform/chromium/compositing/geometry/vertical-scroll-composited-expected.png: Replaced.
* platform/chromium/compositing/scaling: Removed.
* platform/chromium/compositing/scaling/tiled-layer-recursion-expected.png: Removed.
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] really enable wpo for WebCore libs and for WTF
tony@chromium.org [Tue, 27 Dec 2011 20:13:11 +0000 (20:13 +0000)]
[chromium] really enable wpo for WebCore libs and for WTF
https://bugs.webkit.org/show_bug.cgi?id=75264

Reviewed by Adam Barth.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp: Enable WPO for wtf and yarr.

Source/WebCore:

* WebCore.gyp/WebCore.gyp: The variable was getting clobbered by the
value set in common.gypi.  Use a target_defaults instead to set the
variable.  I tested manually on my Windows machine and
WholeProgramOptimization is getting set when buildtype is Official.

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

8 years agobidi-override-in-anonymous-block.html is failing
rniwa@webkit.org [Tue, 27 Dec 2011 19:53:18 +0000 (19:53 +0000)]
bidi-override-in-anonymous-block.html is failing
https://bugs.webkit.org/show_bug.cgi?id=74688

Chromium rebaseline after r103719.

* platform/chromium-cg-mac/fast/css/bidi-override-in-anonymous-block-expected.png: Removed.
* platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.png: Removed.
* platform/chromium-win/fast/css/bidi-override-in-anonymous-block-expected.txt:
* platform/chromium/fast/css/bidi-override-in-anonymous-block-expected.png: Added.
* platform/chromium/fast/css/bidi-override-in-anonymous-block-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] remove references to files no longer in the tree
tony@chromium.org [Tue, 27 Dec 2011 19:43:15 +0000 (19:43 +0000)]
[chromium] remove references to files no longer in the tree
https://bugs.webkit.org/show_bug.cgi?id=75262

Reviewed by Adam Barth.

* WebCore.gypi: platform/mac/PlatformMouseEventMac.mm and platform/mac/WheelEventMac.mm
were removed in r103652.

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

8 years agobidi-override-in-anonymous-block.html is failing
abarth@webkit.org [Tue, 27 Dec 2011 19:36:01 +0000 (19:36 +0000)]
bidi-override-in-anonymous-block.html is failing
https://bugs.webkit.org/show_bug.cgi?id=74688

Unreviewed.

This test just needs an updated expectation.  The case that changed is
the last (in the HTML) Ruby case.  That tests an <rt> element nested
inside an <rb> element.  Previously, the <rt> element closed the <rb>
element, but the HTML5 spec changed the parser so that the <rt> does
not close the <rb>.  I don't fully understand the issues, but the
discussion on the mailing list makes it sound like this is the better
way to parse Ruby.

In any case, the change in parsing behavior changed how we render this
test case.  The bidi aspect are still functioning correctly.

* platform/chromium/test_expectations.txt:
* platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt:
* platform/mac/test_expectations.txt:

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

8 years agoUnreviewed web inspector localizedStrings.js fix.
vsevik@chromium.org [Tue, 27 Dec 2011 19:12:58 +0000 (19:12 +0000)]
Unreviewed web inspector localizedStrings.js fix.

* English.lproj/localizedStrings.js:

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

8 years agoChromium rebaseline after r103251.
rniwa@webkit.org [Tue, 27 Dec 2011 18:35:22 +0000 (18:35 +0000)]
Chromium rebaseline after r103251.

Also remove failing expectations from tables/mozilla/bugs/bug9024.html on Snow Leopard
and svg/clip-path/clip-path-text-and-stroke.svg on all but Leopard.

* platform/chromium-cg-mac-leopard/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/chromium-cg-mac-leopard/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-05-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-06-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-07-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-08-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-15-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-16-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-17-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-18-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-51-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-52-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-53-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-54-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-55-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-56-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-57-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-58-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-59-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-61-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-62-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-63-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-64-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-65-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-66-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-67-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-68-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-69-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-71-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-72-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-73-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-74-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-75-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-76-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-77-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-78-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-79-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-81-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-82-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-83-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-84-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-85-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-86-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-87-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-88-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t170602-bdr-conflct-w-89-d-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/borders/border-antialiasing-expected.png:
* platform/chromium-cg-mac-snowleopard/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/chromium-cg-mac-snowleopard/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-06-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-16-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-53-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-54-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-56-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-61-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-62-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-63-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-64-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-65-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-66-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-67-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-68-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-69-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-73-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-74-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-76-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-83-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-84-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t170602-bdr-conflct-w-86-d-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/borders/border-antialiasing-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/chromium-mac-leopard/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-05-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-06-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-07-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-08-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-15-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-16-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-17-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-18-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-51-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-52-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-53-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-54-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-55-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-56-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-57-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-58-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-59-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-61-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-62-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-63-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-64-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-65-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-66-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-67-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-68-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-69-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-71-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-72-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-73-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-74-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-75-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-76-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-77-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-78-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-79-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-81-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-82-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-83-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-84-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-85-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-86-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-87-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-88-d-expected.png:
* platform/chromium-mac-leopard/css2.1/t170602-bdr-conflct-w-89-d-expected.png:
* platform/chromium-mac-leopard/fast/borders/border-antialiasing-expected.png:
* platform/chromium-mac-snowleopard/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/chromium-mac-snowleopard/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-06-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-16-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-53-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-54-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-56-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-61-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-62-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-63-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-64-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-65-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-66-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-67-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-68-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-69-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-73-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-74-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-76-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-83-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-84-d-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t170602-bdr-conflct-w-86-d-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-antialiasing-expected.png: Added.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-06-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-16-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-53-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-54-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-56-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-61-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-62-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-63-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-64-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-65-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-66-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-67-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-68-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-69-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-73-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-74-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-76-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-83-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-84-d-expected.png: Removed.
* platform/chromium-mac/css2.1/t170602-bdr-conflct-w-86-d-expected.png: Removed.
* platform/chromium-mac/fast/borders/border-antialiasing-expected.png: Removed.
* platform/chromium-win-xp/css2.1/20110323: Removed.
* platform/chromium-win/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/chromium-win/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-05-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-06-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-07-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-08-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-15-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-16-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-17-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-18-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-51-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-52-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-53-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-54-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-55-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-56-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-57-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-58-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-59-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-61-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-62-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-63-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-64-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-65-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-66-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-67-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-68-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-69-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-71-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-72-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-73-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-74-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-75-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-76-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-77-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-78-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-79-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-81-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-82-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-83-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-84-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-85-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-86-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-87-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-88-d-expected.png:
* platform/chromium-win/css2.1/t170602-bdr-conflct-w-89-d-expected.png:
* platform/chromium/css2.1/t170602-bdr-conflct-w-05-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-07-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-08-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-15-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-17-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-18-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-51-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-52-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-55-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-57-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-58-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-59-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-71-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-72-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-75-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-77-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-78-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-79-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-81-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-82-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-85-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-87-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-88-d-expected.png: Added.
* platform/chromium/css2.1/t170602-bdr-conflct-w-89-d-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

8 years agoWeb Inspector: Introduce support for experimental settings.
vsevik@chromium.org [Tue, 27 Dec 2011 18:23:08 +0000 (18:23 +0000)]
Web Inspector: Introduce support for experimental settings.
https://bugs.webkit.org/show_bug.cgi?id=75250

Reviewed by Pavel Feldman.

* English.lproj/localizedStrings.js:
* inspector/front-end/ScriptsPanel.js:
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
(WebInspector.ExperimentsSettings.prototype.get experiments):
(WebInspector.ExperimentsSettings.prototype.get experimentsEnabled):
(WebInspector.ExperimentsSettings.prototype._createExperiment):
(WebInspector.ExperimentsSettings.prototype.set _cleanUpSetting.get var):
(WebInspector.ExperimentsSettings.prototype.set _cleanUpSetting):
(set WebInspector.Experiment):
(WebInspector.Experiment.prototype.get name):
(WebInspector.Experiment.prototype.get title):
(WebInspector.Experiment.prototype.isEnabled):
(WebInspector.Experiment.prototype.setEnabled):
(set WebInspector):
* inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen):
(WebInspector.SettingsScreen.prototype._createExperimentsWarningSubsection):
(WebInspector.SettingsScreen.prototype._createExperimentCheckbox.listener):
(WebInspector.SettingsScreen.prototype._createExperimentCheckbox):
* inspector/front-end/helpScreen.css:
(.settings-experiments-warning-subsection-warning):
(.settings-experiments-warning-subsection-message):

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

8 years agoWeb Inspector: inspector/dom-statistics.html test fails on Chromium
yurys@chromium.org [Tue, 27 Dec 2011 17:47:38 +0000 (17:47 +0000)]
Web Inspector: inspector/dom-statistics.html test fails on Chromium
https://bugs.webkit.org/show_bug.cgi?id=75258

Disable inspector/dom-statistics.html for now until we finalize MemoryAgent functionality.

Reviewed by Pavel Feldman.

* inspector/dom-statistics.html-disabled: Renamed from LayoutTests/inspector/dom-statistics.html.

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

8 years agoWeb Inspector: exception when scrolling in JavaScriptOutline dialog with empty query
apavlov@chromium.org [Tue, 27 Dec 2011 17:46:48 +0000 (17:46 +0000)]
Web Inspector: exception when scrolling in JavaScriptOutline dialog with empty query
https://bugs.webkit.org/show_bug.cgi?id=75255

Reviewed by Pavel Feldman.

* inspector/front-end/JavaScriptOutlineDialog.js:
(WebInspector.JavaScriptOutlineDialog.prototype._onScroll):

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

8 years agoWeb Inspector: add more annotations on SDK classes.
pfeldman@chromium.org [Tue, 27 Dec 2011 16:26:32 +0000 (16:26 +0000)]
Web Inspector: add more annotations on SDK classes.
https://bugs.webkit.org/show_bug.cgi?id=75247

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/Inspector.json:
* inspector/compile-front-end.sh:
* inspector/front-end/ApplicationCacheModel.js:
(WebInspector.ApplicationCacheDispatcher.prototype.networkStateUpdated):
* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype._breakpoint):
* inspector/front-end/Color.js:
(WebInspector.Color.prototype.get shorthex):
(WebInspector.Color.prototype.get hex):
(WebInspector.Color.prototype.get rgb):
(WebInspector.Color.prototype.get hsl):
(WebInspector.Color.prototype.get nickname):
(WebInspector.Color.prototype.hasShortHex):
(WebInspector.Color.prototype._individualRGBValueToFloatValue):
(WebInspector.Color.prototype._rgbStringsToHex):
(WebInspector.Color.prototype._parse.this.nickname.set 2):
(WebInspector.Color.prototype._parse.this.hsla.set 1):
(WebInspector.Color.prototype._parse.this.rgba.set 0):
(WebInspector.Color.prototype._parse.set WebInspector):
(WebInspector.Color.prototype._parse):
* inspector/front-end/CompilerSourceMapping.js:
* inspector/front-end/ConsoleModel.js:
* inspector/front-end/ContentProviders.js:
(WebInspector.ScriptContentProvider):
(WebInspector.ConcatenatedScriptsContentProvider):
(WebInspector.CompilerSourceMappingContentProvider):
(WebInspector.StaticContentProvider):
* inspector/front-end/CookieParser.js:
(WebInspector.CookieParser.KeyValue):
(WebInspector.CookieParser.prototype.parseCookie):
(WebInspector.CookieParser.prototype.parseSetCookie):
(WebInspector.CookieParser.prototype._extractKeyValue):
* inspector/front-end/DOMStorage.js:
* inspector/front-end/Database.js:
(WebInspector.DatabaseDispatcher.prototype.sqlTransactionSucceeded):
(WebInspector.DatabaseDispatcher.prototype.sqlTransactionFailed):
* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.Location):
(WebInspector.DebuggerModel.prototype._failedToParseScriptSource):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModelResourceBinding.prototype._setContentWithInitialContent):
* inspector/front-end/ElementsTreeOutline.js:
* inspector/front-end/HAREntry.js:
* inspector/front-end/NetworkLog.js:
(WebInspector.NetworkLog.prototype._mainFrameNavigated):
* inspector/front-end/Placard.js:
* inspector/front-end/RawSourceCode.js:
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.CompilerSourceMapping.prototype.uiLocationToRawLocation):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.fromPrimitiveValue):
(WebInspector.RemoteObject.prototype.setPropertyValue.propertySetCallback):
(WebInspector.RemoteObject.prototype.setPropertyValue):
(WebInspector.LocalJSONObject.prototype.get hasChildren):
(WebInspector.LocalJSONObject.prototype._children):
* inspector/front-end/Resource.js:
(WebInspector.Resource.restoreRevisions):
(WebInspector.Resource.prototype.get queryParameters):
(WebInspector.Resource.prototype.get formParameters):
(WebInspector.Resource.prototype.isHttpFamily):
* inspector/front-end/ResourceCategory.js:
* inspector/front-end/ResourceUtils.js:
* inspector/front-end/ScopeChainSidebarPane.js:
(WebInspector.ScopeChainSidebarPane.prototype.update):
* inspector/front-end/Script.js:
(WebInspector.Script.prototype.isInlineScript):
* inspector/front-end/ScriptFormatter.js:
(WebInspector.ScriptFormatter.positionToLocation):
* inspector/front-end/WelcomeView.js:
(WebInspector.WelcomeView.prototype.addMessage):
* inspector/front-end/externs.js:
(Array.prototype.upperBound):

LayoutTests:

* inspector/runtime/runtime-setPropertyValue-expected.txt:
* inspector/runtime/runtime-setPropertyValue.html:

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

8 years agoWeb Inspector: Scripts panel tabbed editor does not reopen closed tabs.
vsevik@chromium.org [Tue, 27 Dec 2011 16:23:26 +0000 (16:23 +0000)]
Web Inspector: Scripts panel tabbed editor does not reopen closed tabs.
https://bugs.webkit.org/show_bug.cgi?id=75245

Reviewed by Pavel Feldman.

* inspector/front-end/NetworkItemView.js:
(WebInspector.NetworkItemView):
* inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer):
(WebInspector.TabbedEditorContainer.prototype._tabClosed):
* inspector/front-end/TabbedPane.js:
(WebInspector.TabbedPane.prototype.closeTab):
(WebInspector.TabbedPane.prototype.selectTab):

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

8 years agoWeb Inspector: report per document JS event listener count
yurys@chromium.org [Tue, 27 Dec 2011 16:21:50 +0000 (16:21 +0000)]
Web Inspector: report per document JS event listener count
https://bugs.webkit.org/show_bug.cgi?id=74298

Source/WebCore:

This patch adds JS event listener count to the memory agent
report.

Reviewed by Pavel Feldman.

Test: inspector/dom-statistics.html

* inspector/Inspector.json:
* inspector/InspectorMemoryAgent.cpp:

LayoutTests:

Added a test for basic functionality of MemoryAgent.

Reviewed by Pavel Feldman.

* inspector/dom-statistics-expected.txt: Added.
* inspector/dom-statistics.html: Added.
* platform/chromium/inspector/dom-statistics-expected.txt: Added.

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

8 years agoWeb Inspector: [REGRESSION] Go to Function dialog always has a minimal height
apavlov@chromium.org [Tue, 27 Dec 2011 15:29:56 +0000 (15:29 +0000)]
Web Inspector: [REGRESSION] Go to Function dialog always has a minimal height
https://bugs.webkit.org/show_bug.cgi?id=75254

Reviewed by Yury Semikhatsky.

* inspector/front-end/scriptsPanel.css:
(.script-view):

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

8 years agoWeb Inspector: Create tabbed editor for scripts panel.
vsevik@chromium.org [Tue, 27 Dec 2011 10:26:18 +0000 (10:26 +0000)]
Web Inspector: Create tabbed editor for scripts panel.
https://bugs.webkit.org/show_bug.cgi?id=75230

Reviewed by Pavel Feldman.

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.sh:
* inspector/front-end/ScriptsNavigator.js:
(WebInspector.ScriptsNavigator.prototype.replaceUISourceCodes.get if):
(WebInspector.ScriptsNavigator.prototype.replaceUISourceCodes):
(WebInspector.NavigatorScriptTreeElement.prototype.ondblclick):
(WebInspector.NavigatorScriptTreeElement.prototype.onenter):
* inspector/front-end/ScriptsPanel.js:
* inspector/front-end/TabbedEditorContainer.js: Added.
* inspector/front-end/TabbedPane.js:
(WebInspector.TabbedPane.prototype.get visibleView):
(WebInspector.TabbedPane.prototype.get selectedTabId):
(WebInspector.TabbedPane.prototype.closeAllTabs):
(WebInspector.TabbedPane.prototype.changeTabTitle):
(WebInspector.TabbedPane.prototype.changeTabView):
(WebInspector.TabbedPaneTab):
(WebInspector.TabbedPaneTab.prototype.get title):
(WebInspector.TabbedPaneTab.prototype.set title):
(WebInspector.TabbedPaneTab.prototype.get view):
(WebInspector.TabbedPaneTab.prototype.set view):
(WebInspector.TabbedPaneTab.prototype._createTabElement):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:
* inspector/front-end/scriptsPanel.css:
(.scripts-views-container):
(.script-view):
(#scripts-editor-container-tabbed-pane .tabbed-pane-header):
(#scripts-editor-container-tabbed-pane .tabbed-pane-header-contents):
(#scripts-editor-container-tabbed-pane .tabbed-pane-content):

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

8 years agoNot reviewed: Rolling out r103703 for breaking Canvas2DLayerChromiumTest.testFullLife...
pfeldman@chromium.org [Tue, 27 Dec 2011 10:21:51 +0000 (10:21 +0000)]
Not reviewed: Rolling out r103703 for breaking Canvas2DLayerChromiumTest.testFullLifecycle.

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::Canvas2DLayerChromium):
(WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium):
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
(WebCore::Canvas2DLayerChromium::setTextureManager):
(WebCore::Canvas2DLayerChromium::updateCompositorResources):
(WebCore::Canvas2DLayerChromium::pushPropertiesTo):
(WebCore::Canvas2DLayerChromium::unreserveContentsTexture):
(WebCore::Canvas2DLayerChromium::cleanupResources):
* platform/graphics/chromium/Canvas2DLayerChromium.h:

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

8 years ago[Qt] Unreviewed Xmas gardening after r103617, add additional console message:
ossy@webkit.org [Tue, 27 Dec 2011 10:16:01 +0000 (10:16 +0000)]
[Qt] Unreviewed Xmas gardening after r103617, add additional console message:
CONSOLE MESSAGE: line 2: <html xmlns='http://www.w3.org/1999/xhtml/'><body><p>Running an XSL-T 1.0 stylesheet with a 2.0 processor.</p></body></html>

* platform/qt/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt: Added.

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

8 years agoWK2: AX: platform/mac/accessibility/search-predicate.html is failing
commit-queue@webkit.org [Tue, 27 Dec 2011 09:01:21 +0000 (09:01 +0000)]
WK2: AX: platform/mac/accessibility/search-predicate.html is failing
https://bugs.webkit.org/show_bug.cgi?id=75039

Patch by Sam White <samuel.white@rochester.edu> on 2011-12-27
Reviewed by Chris Fleizach.

This test is failing in WK2 because WK2 isn't correctly reporting
visited links as visited. This issue has been reported before as
bug https://bugs.webkit.org/show_bug.cgi?id=58334.

I think the most appropriate first action is to add this test to
platform/wk2/Skipped under the existing bug and note the addition
in the existing bugs comments.

WebKitTestRunner has several known bugs

* platform/wk2/Skipped:

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

8 years ago[chromium] Bypass the shadow texture copy for accelerated
vangelis@chromium.org [Tue, 27 Dec 2011 08:25:12 +0000 (08:25 +0000)]
[chromium] Bypass the shadow texture copy for accelerated
canvas when running the compositor in single threaded mode.
https://bugs.webkit.org/show_bug.cgi?id=75146

The texture copy fails on Windows as glCopyTexImage2D() doesn't
support BGRA source textures.
This change also modified Canvas2DLayerChromium::updateCompositorResources
to call glCopyTexSubImage2D() instead of glCopyTexImage2D() so that
the copy can work with texture allocated via the glTexStorage2D
extension.

Reviewed by James Robinson.

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::Canvas2DLayerChromium):
(WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium):
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
(WebCore::Canvas2DLayerChromium::setTextureManager):
(WebCore::Canvas2DLayerChromium::updateCompositorResources):
(WebCore::Canvas2DLayerChromium::pushPropertiesTo):
(WebCore::Canvas2DLayerChromium::unreserveContentsTexture):
(WebCore::Canvas2DLayerChromium::cleanupResources):
* platform/graphics/chromium/Canvas2DLayerChromium.h:

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

8 years ago[EFL][WK2] Implement context menu for EFL port.
gyuyoung.kim@samsung.com [Tue, 27 Dec 2011 07:30:19 +0000 (07:30 +0000)]
[EFL][WK2] Implement context menu for EFL port.
https://bugs.webkit.org/show_bug.cgi?id=74995

Reviewed by Anders Carlsson.

Implement missing ContextMenuEfl class in order to support WK2's context menu.
Because WK2's context menu still needs WebCore's context menu implementation.
And of course, this patch also can be used for WK1 without CROSS_PLATFORM_CONTEXT_MENU
option.

* platform/ContextMenu.h:
* platform/ContextMenuItem.h:
* platform/PlatformMenuDescription.h:
* platform/efl/ContextMenuEfl.cpp:
(WebCore::ContextMenu::~ContextMenu):
(WebCore::ContextMenu::appendItem):
(WebCore::ContextMenu::insertItem):
(WebCore::ContextMenu::itemCount):
(WebCore::ContextMenu::setPlatformDescription):
(WebCore::ContextMenu::platformDescription):
(WebCore::ContextMenu::releasePlatformDescription):
(WebCore::platformMenuDescription):
(WebCore::contextMenuItemVector):
* platform/efl/ContextMenuItemEfl.cpp:
(WebCore::ContextMenuItem::ContextMenuItem):
(WebCore::ContextMenuItem::~ContextMenuItem):
(WebCore::ContextMenuItem::setType):
(WebCore::ContextMenuItem::type):
(WebCore::ContextMenuItem::setAction):
(WebCore::ContextMenuItem::action):
(WebCore::ContextMenuItem::setTitle):
(WebCore::ContextMenuItem::title):
(WebCore::ContextMenuItem::setChecked):
(WebCore::ContextMenuItem::checked):
(WebCore::ContextMenuItem::setEnabled):
(WebCore::ContextMenuItem::enabled):

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

8 years ago[Refactoring] Node::setTreeScopeRecursively() doesn't need includeRoot parameter
morrita@google.com [Tue, 27 Dec 2011 07:12:57 +0000 (07:12 +0000)]
[Refactoring] Node::setTreeScopeRecursively() doesn't need includeRoot parameter
https://bugs.webkit.org/show_bug.cgi?id=75240

Reviewed by Anders Carlsson.

No new tests. No behavior change.

* dom/Node.cpp:
(WebCore::Node::setTreeScopeRecursively):
* dom/Node.h:

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

8 years ago<http://webkit.org/b/75196> REGRESSION(r103643): Command-clicking a link no longer...
mrowe@apple.com [Tue, 27 Dec 2011 06:27:03 +0000 (06:27 +0000)]
<webkit.org/b/75196> REGRESSION(r103643): Command-clicking a link no longer opens a new tab.

r103643 contained some botched copy-paste code that caused the state of the Command key
to be lost when translating from a WebKit2 event to a WebCore event.

Reviewed by Dan Bernstein.

* Shared/WebEventConversion.cpp:
(WebKit::WebKit2PlatformMouseEvent::WebKit2PlatformMouseEvent): Test for the correct modifier.
(WebKit::WebKit2PlatformWheelEvent::WebKit2PlatformWheelEvent): Ditto.
(WebKit::WebKit2PlatformKeyboardEvent::WebKit2PlatformKeyboardEvent): Ditto.
(WebKit::WebKit2PlatformGestureEvent::WebKit2PlatformGestureEvent): Ditto.
(WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): Ditto.

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

8 years agoErrk! OS X build fix.
barraclough@apple.com [Tue, 27 Dec 2011 06:14:52 +0000 (06:14 +0000)]
Errk! OS X build fix.

* JavaScriptCore.exp:

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

8 years agoWindows build fix.
barraclough@apple.com [Tue, 27 Dec 2011 05:09:57 +0000 (05:09 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* runtime/JSObject.h:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=75231
barraclough@apple.com [Tue, 27 Dec 2011 04:56:37 +0000 (04:56 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=75231
Fail to throw in strict mode on assign to read only static properties

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

There are three bugs here:
* symbolTablePut should throw for strict mode accesses.
* lookupPut should throw for strict mode accesses.
* NumberConstructor should override put to call lookupPut, to trap assignment to readonly properties.

* runtime/JSActivation.cpp:
(JSC::JSActivation::symbolTablePut):
(JSC::JSActivation::put):
* runtime/JSActivation.h:
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::put):
* runtime/JSStaticScopeObject.cpp:
(JSC::JSStaticScopeObject::put):
* runtime/JSVariableObject.h:
(JSC::JSVariableObject::symbolTablePut):
* runtime/Lookup.h:
(JSC::lookupPut):
* runtime/NumberConstructor.cpp:
(JSC::NumberConstructor::put):
* runtime/NumberConstructor.h:

LayoutTests:

Added test cases / updated now-passing results.

* fast/js/mozilla/strict/15.10.7-expected.txt:
* fast/js/script-tests/strict-readonly-statics.js: Added.
(testWindowUndefined):
(testNumberMAX_VALUE):
* fast/js/strict-readonly-statics-expected.txt: Added.
* fast/js/strict-readonly-statics.html: Added.

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

8 years ago[EFL] Last parameter of ewk_view_scroll is always true.
ryuan.choi@samsung.com [Tue, 27 Dec 2011 04:38:33 +0000 (04:38 +0000)]
[EFL] Last parameter of ewk_view_scroll is always true.
https://bugs.webkit.org/show_bug.cgi?id=75157

Reviewed by Andreas Kling.

Remove unnecessary parameter in ewk_view_scroll and related code, because
it's always true and ewk_view_tile can scroll when it is only true.

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::scroll):
* ewk/ewk_private.h:
* ewk/ewk_view.cpp:
(_ewk_view_scroll_add):
(ewk_view_scroll):
* ewk/ewk_view.h:
* ewk/ewk_view_tiled.cpp:
(_ewk_view_tiled_smart_scrolls_process):

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

8 years agoUpdate Chromium test expectations.
rniwa@webkit.org [Tue, 27 Dec 2011 03:39:07 +0000 (03:39 +0000)]
Update Chromium test expectations.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed mac/test_expectations.txt update.
morrita@google.com [Tue, 27 Dec 2011 03:15:22 +0000 (03:15 +0000)]
Unreviewed mac/test_expectations.txt update.
- bidi-override-in-anonymous-block.html

* platform/mac/test_expectations.txt:

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

8 years agoUnreviewed mac/test_expectations.txt update.
morrita@google.com [Tue, 27 Dec 2011 03:07:00 +0000 (03:07 +0000)]
Unreviewed mac/test_expectations.txt update.

* platform/mac/test_expectations.txt:

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

8 years agoUse OwnPtr and OwnArrayPtr in a couple more places
darin@apple.com [Mon, 26 Dec 2011 21:45:02 +0000 (21:45 +0000)]
Use OwnPtr and OwnArrayPtr in a couple more places
https://bugs.webkit.org/show_bug.cgi?id=75211

Reviewed by Andreas Kling.

I had a patch with some changes from a while back from going through all sorts of
classes and changing code to use adoptPtr. Most were landed long ago, these are the
ones that still apply.

There are six pieces here that could each be landed separately.
The big one is CSSParser.

* css/CSSGrammar.y: Update for members and functions that now
return PassOwnPtr instead of raw pointers.
* css/CSSParser.cpp:
(WebCore::CSSParser::CSSParser): Remove explicit construction
for m_valueList and m_data since OwnPtr and OwnArrayPtr initialize
to zero without it.
(WebCore::CSSParser::~CSSParser): Removed delete m_valueList and
fastFree(m_data) since OwnPtr and OwnArrayPtr handle that.
(WebCore::CSSParser::setupParser): Use adoptArrayPtr and new for
the character array instead of fastFree/fastMalloc. Added get
function calls as needed.
(WebCore::CSSParser::parseValue): Added get function calls as needed.
(WebCore::CSSParser::parseContent): Ditto.
(WebCore::CSSParser::parseFillProperty): Ditto.
(WebCore::CSSParser::parseTransformOriginShorthand): Ditto.
(WebCore::CSSParser::parseBorderImage): Ditto.
(WebCore::CSSParser::parseTransformOrigin): Ditto.
(WebCore::CSSParser::parsePerspectiveOrigin): Ditto.
(WebCore::CSSParser::sinkFloatingValueList): Changed to return PassOwnPtr.
The adoptPtr call is here.
(WebCore::CSSParser::sinkFloatingFunction): Ditto.
(WebCore::CSSParser::markSelectorListStart): Added get function calls as needed.
(WebCore::CSSParser::markSelectorListEnd): Ditto.
(WebCore::CSSParser::markRuleBodyStart): Ditto.
(WebCore::CSSParser::markRuleBodyEnd): Ditto.
(WebCore::CSSParser::markPropertyStart): Ditto.
(WebCore::CSSParser::markPropertyEnd): Ditto.
* css/CSSParser.h: Moved conditional includes to their own paragraph.
Made sinkFloatingValueList and sinkFloatingFunction return PassOwnPtr.
Made m_valueList an OwnPtr and m_data an OwnArrayPtr.
* css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue): Added a call to the get function.

* html/PluginDocument.h: Made isPluginDocument private. Also marked all the
functions that are overriding here as OVERRIDE since I was touching the header.

* html/parser/HTMLToken.h:
(WebCore::HTMLTokenTypes::DoctypeData::DoctypeData): Removed an unneeded line
explicitly initializing the base class.

* page/animation/AnimationBase.cpp:
(WebCore::RefCountedPropertyWrapper::RefCountedPropertyWrapper): Fixed indent.

* rendering/style/RenderStyle.h: Moved conditional includes to their own paragraph.

* xml/parser/MarkupTokenBase.h:
(WebCore::MarkupTokenBase::beginDOCTYPE): Removed unneeded parentheses.

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

8 years agoFix miss-commit of utf8 change.
barraclough@apple.com [Mon, 26 Dec 2011 19:55:18 +0000 (19:55 +0000)]
Fix miss-commit of utf8 change.

Reviewed by Filip Pizlo

Eeep, patch as landed a while ago had no effect! - acidentally landed
modified version of patch used for performance testing.

(This isn't covered by layout tests because layour tests don't use jsc,
and the tests/mozilla tests use latin1, which was already supported!)

Landing changes as intended (and as originally reviewed).

* jsc.cpp:
(jscSource):

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

8 years agoWeb Inspector: Extract FileEditor from ScriptsPanel.
vsevik@chromium.org [Mon, 26 Dec 2011 19:47:13 +0000 (19:47 +0000)]
Web Inspector: Extract FileEditor from ScriptsPanel.
https://bugs.webkit.org/show_bug.cgi?id=75229

Reviewed by Pavel Feldman.

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.suggestedFileName):
* inspector/front-end/ScriptsNavigator.js:
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._reset):
(WebInspector.ScriptsPanel.prototype.get visibleView):
(WebInspector.ScriptsPanel.prototype._updateScriptViewStatusBarItems):
(WebInspector.ScriptsPanel.prototype._uiSourceCodeReplaced.get if):
(WebInspector.ScriptsPanel.EditorContainer):
(WebInspector.ScriptsPanel.EditorContainer.prototype.get currentSourceFrame):
(WebInspector.ScriptsPanel.EditorContainer.prototype.show):
(WebInspector.ScriptsPanel.EditorContainer.prototype.showSourceFrame):
(WebInspector.ScriptsPanel.EditorContainer.prototype.isSourceFrameOpen):
(WebInspector.ScriptsPanel.EditorContainer.prototype.replaceSourceFrames):
(WebInspector.ScriptsPanel.EditorContainer.prototype.setSourceFrameIsDirty):
(WebInspector.ScriptsPanel.EditorContainer.prototype.reset):
(WebInspector.ScriptsPanel.SingleFileEditorContainer):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.get currentSourceFrame):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.show):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.showSourceFrame):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.isSourceFrameOpen):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.replaceSourceFrames):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.setSourceFrameIsDirty):
(WebInspector.ScriptsPanel.SingleFileEditorContainer.prototype.reset):
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.get domain):
(WebInspector.UISourceCode.prototype.get folderName):
(WebInspector.UISourceCode.prototype.get fileName):
(WebInspector.UISourceCode.prototype.get displayName):
(WebInspector.UISourceCode.prototype._parseURL):

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

8 years agoUnreviewed build fix for ARMv7.
fpizlo@apple.com [Mon, 26 Dec 2011 18:13:16 +0000 (18:13 +0000)]
Unreviewed build fix for ARMv7.

* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::load16Signed):
(JSC::MacroAssemblerARMv7::load8Signed):

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

8 years agoRename WTF_INLINE, JS_INLINE to HIDDEN_INLINE
morrita@google.com [Mon, 26 Dec 2011 16:40:46 +0000 (16:40 +0000)]
Rename WTF_INLINE, JS_INLINE to HIDDEN_INLINE
https://bugs.webkit.org/show_bug.cgi?id=74990

Reviewed by Kevin Ollivier.

* runtime/JSExportMacros.h: Removed JS_INLINE
* wtf/ExportMacros.h: Renamed WTF_INLINE to HIDDEN_INLINE

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

8 years agoCheck in expected failures for a couple of tests.
darin@apple.com [Mon, 26 Dec 2011 16:34:57 +0000 (16:34 +0000)]
Check in expected failures for a couple of tests.

* platform/mac/media/video-colorspace-yuv420-expected.txt: Added.
* platform/mac/media/video-colorspace-yuv422-expected.txt: Added.

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

8 years agoFix a crash in WebProcess when starting a download not initiated by a WebPage
carlosgc@webkit.org [Mon, 26 Dec 2011 15:58:11 +0000 (15:58 +0000)]
Fix a crash in WebProcess when starting a download not initiated by a WebPage
https://bugs.webkit.org/show_bug.cgi?id=75225

Reviewed by Darin Adler.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::downloadRequest): Check initiatingPage is not
NULL before using it.

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

8 years agoFix mutation observer build after didMoveToNewDocument change
darin@apple.com [Mon, 26 Dec 2011 15:21:39 +0000 (15:21 +0000)]
Fix mutation observer build after didMoveToNewDocument change
https://bugs.webkit.org/show_bug.cgi?id=75224

Reviewed by Hajime Morita.

* dom/Node.cpp:
(WebCore::willCallDidMoveToNewDocument): Added.
(WebCore::didMoveToNewDocumentWasCalled): Added.
(WebCore::Node::setDocument): Call new debugging function.
(WebCore::Node::didMoveToNewDocument): Ditto. Also use ASSERT_UNUSED
unconditionally rather than UNUSED_PARAM inside and #if. Also added
a new assertion that checks that hte old document was passed through
properly.

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

8 years agoWeb Inspector: [Scripts] Implement iterative match highlighting in the "Go to Functio...
apavlov@chromium.org [Mon, 26 Dec 2011 14:59:42 +0000 (14:59 +0000)]
Web Inspector: [Scripts] Implement iterative match highlighting in the "Go to Function" dialog item list
https://bugs.webkit.org/show_bug.cgi?id=75226

Reviewed by Pavel Feldman.

* inspector/front-end/JavaScriptOutlineDialog.js:
(WebInspector.JavaScriptOutlineDialog):
(WebInspector.JavaScriptOutlineDialog.prototype._createSearchRegExp):
(WebInspector.JavaScriptOutlineDialog.prototype._filterFunctions):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown.previousItem):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown.nextItem):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown):
(WebInspector.JavaScriptOutlineDialog.prototype._updateSelection):
(WebInspector.JavaScriptOutlineDialog.prototype._onScroll):
(WebInspector.JavaScriptOutlineDialog.MatchHighlighter):
(WebInspector.JavaScriptOutlineDialog.MatchHighlighter.prototype.highlightViewportItems):
(WebInspector.JavaScriptOutlineDialog.MatchHighlighter.prototype.clearHighlight):
(WebInspector.JavaScriptOutlineDialog.MatchHighlighter.prototype._highlightItem):
(WebInspector.JavaScriptOutlineDialog.MatchHighlighter.prototype._viewportRowRange):
* inspector/front-end/javaScriptOutlineDialog.css:
(.js-outline-dialog > .container > div.item > span.highlight):

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

8 years agoWeb Inspector: Extract FileSelector from ScriptsPanel.
vsevik@chromium.org [Mon, 26 Dec 2011 14:30:26 +0000 (14:30 +0000)]
Web Inspector: Extract FileSelector from ScriptsPanel.
https://bugs.webkit.org/show_bug.cgi?id=75173

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/ScriptsNavigator.js:
(WebInspector.ScriptsNavigator):
(WebInspector.ScriptsNavigator.prototype.get defaultFocusedElement):
(WebInspector.ScriptsNavigator.prototype.show):
(WebInspector.ScriptsNavigator.prototype.setScriptSourceIsDirty):
(WebInspector.ScriptsNavigator.prototype.replaceUISourceCodes):
(WebInspector.ScriptsNavigator.prototype.scriptSelected):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.get defaultFocusedElement):
(WebInspector.ScriptsPanel.prototype._uiSourceCodeAdded.get if):
(WebInspector.ScriptsPanel.prototype.setScriptSourceIsBeingEdited):
(WebInspector.ScriptsPanel.prototype._reset):
(WebInspector.ScriptsPanel.prototype._showSourceLine):
(WebInspector.ScriptsPanel.prototype._showAndRevealInFileSelector):
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
(WebInspector.ScriptsPanel.prototype._updateExecutionLine):
(WebInspector.ScriptsPanel.prototype._scriptSelected):
(WebInspector.ScriptsPanel.FileSelector):
(WebInspector.ScriptsPanel.FileSelector.prototype.get defaultFocusedElement):
(WebInspector.ScriptsPanel.FileSelector.prototype.show):
(WebInspector.ScriptsPanel.FileSelector.prototype.addUISourceCode):
(WebInspector.ScriptsPanel.FileSelector.prototype.isScriptSourceAdded):
(WebInspector.ScriptsPanel.FileSelector.prototype.revealUISourceCode):
(WebInspector.ScriptsPanel.FileSelector.prototype.setScriptSourceIsDirty):
(WebInspector.ScriptsPanel.FileSelector.prototype.replaceUISourceCodes):
(WebInspector.ScriptsPanel.ComboBoxFileSelector):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.get defaultFocusedElement):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.show):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.showDebugSidebarResizeWidget):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.addUISourceCode):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.isScriptSourceAdded):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.revealUISourceCode):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._innerRevealUISourceCode):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._addToHistory):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.replaceUISourceCodes):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._showScriptFoldersSettingChanged):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._reset):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype.setScriptSourceIsDirty):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._createEditorToolbar):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._addOptionToFilesSelect.get var):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._addOptionToFilesSelect.insertOrdered.optionCompare):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._addOptionToFilesSelect.insertOrdered):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._addOptionToFilesSelect):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._resetFilesSelect):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._updateBackAndForwardButtons):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._goBack):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._goForward):
(WebInspector.ScriptsPanel.ComboBoxFileSelector.prototype._filesSelectChanged):
* inspector/front-end/inspector.html:
* inspector/front-end/utilities.js:
():

LayoutTests:

* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest):
* inspector/debugger/scripts-panel.html:
* inspector/debugger/scripts-sorting.html:
* inspector/debugger/source-frame-count.html:

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

8 years agoWeb Inspector: Implement "Go to Function" dialog for JavaScript
apavlov@chromium.org [Mon, 26 Dec 2011 12:39:39 +0000 (12:39 +0000)]
Web Inspector: Implement "Go to Function" dialog for JavaScript
https://bugs.webkit.org/show_bug.cgi?id=75092

Reviewed by Pavel Feldman.

* English.lproj/localizedStrings.js:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.sh:
* inspector/front-end/JavaScriptOutlineDialog.js: Added.
(WebInspector.JavaScriptOutlineDialog.onMouseDown):
(WebInspector.JavaScriptOutlineDialog):
(WebInspector.JavaScriptOutlineDialog.didAddChunk):
(WebInspector.JavaScriptOutlineDialog.install):
(WebInspector.JavaScriptOutlineDialog._show):
(WebInspector.JavaScriptOutlineDialog.createShortcut):
(WebInspector.JavaScriptOutlineDialog.prototype._resizeWindow):
(WebInspector.JavaScriptOutlineDialog.prototype._appendItemElements):
(WebInspector.JavaScriptOutlineDialog.prototype._createSearchRegExp):
(WebInspector.JavaScriptOutlineDialog.prototype._filterFunctions):
(WebInspector.JavaScriptOutlineDialog.prototype._selectFirstItem):
(WebInspector.JavaScriptOutlineDialog.prototype._hide):
(WebInspector.JavaScriptOutlineDialog.prototype._onBlur):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown.previousItem):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown.nextItem):
(WebInspector.JavaScriptOutlineDialog.prototype._onKeyDown):
(WebInspector.JavaScriptOutlineDialog.prototype._scheduleFilter):
(WebInspector.JavaScriptOutlineDialog.prototype._updateSelection):
(WebInspector.JavaScriptOutlineDialog.prototype._onClick):
(WebInspector.JavaScriptOutlineDialog.prototype._onMouseMove):
(WebInspector.JavaScriptOutlineDialog.prototype._highlightFunctionLine):
* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.get uiSourceCode):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._didBuildOutlineChunk):
(WebInspector.ScriptsPanel.prototype._reset):
(WebInspector.ScriptsPanel.prototype.requestVisibleScriptOutline):
(WebInspector.ScriptsPanel.prototype._createEditorToolbar):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:
* inspector/front-end/javaScriptOutlineDialog.css: Added.
(.js-outline-dialog):
(.js-outline-dialog > input):
(.js-outline-dialog > div.progress):
(.js-outline-dialog > div.container):
(.js-outline-dialog > .container > div.item):
(.js-outline-dialog > .container > div.item.selected):

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

8 years agoWeb Inspector: make SDK compilation component self-contained.
pfeldman@chromium.org [Mon, 26 Dec 2011 12:27:47 +0000 (12:27 +0000)]
Web Inspector: make SDK compilation component self-contained.
https://bugs.webkit.org/show_bug.cgi?id=75172

Reviewed by Yury Semikhatsky.

* inspector/compile-front-end.sh:
* inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl):
(WebInspector.ConsoleMessageImpl.prototype.get stackTrace):
(WebInspector.ConsoleMessageImpl.prototype.clone):
* inspector/front-end/ConsoleModel.js:
(WebInspector.ConsoleModel.prototype._messageRepeatCountUpdated):
(WebInspector.ConsoleMessage):
(WebInspector.ConsoleMessage.prototype.isErrorOrWarning):
(WebInspector.ConsoleMessage.prototype.updateRepeatCount):
(WebInspector.ConsoleMessage.prototype.clone):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
* inspector/front-end/ResourceUtils.js:
* inspector/front-end/UIUtils.js:
(WebInspector.resetToolbarColors):
(WebInspector.populateHrefContextMenu):

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

8 years agoUnreviewed bad merge fix.
morrita@google.com [Mon, 26 Dec 2011 10:41:12 +0000 (10:41 +0000)]
Unreviewed bad merge fix.

Patch by Hajime Morrita <morrita@google.com> on 2011-12-26

* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::didMoveToNewDocument):

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=74067
commit-queue@webkit.org [Mon, 26 Dec 2011 07:05:00 +0000 (07:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=74067
Refactoring: Unitfy willMoveToNewDocument() and didMoveToNewDocument()

Patch by Hajime Morrita <morrita@chromium.org> on 2011-12-25
Reviewed by Darin Adler.

No new tests. No behavior change.

This change combines two method Node::willMoveToNewOwnerDocument() and Node::didMoveToNewOwnerDocument()
into Node::didMoveToNewDocument(Document* oldDocument).

The intention of this change is:
- Making upcoming refactoring (Bug 59816) possible. The refactoring will turn Node::m_document into
  Node::m_treeScope, and we will no longer have Node::setDocument() where we can invoke both
  willMoveToNewDocument() and didMoveToNewDocument() at once.
- Killing one extra virtual method call.
- Making the concept of "move" clearer by keeping such an operation into the single method.

* dom/Node.cpp:
(WebCore::setWillMoveToNewDocumentWasCalled):
(WebCore::setDidMoveToNewDocumentWasCalled):
(WebCore::Node::setDocument):
(WebCore::Node::didMoveToNewDocument):
* dom/Node.h:
* dom/StyledElement.cpp:
(WebCore::StyledElement::attributeChanged):
* html/FormAssociatedElement.cpp:
(WebCore::FormAssociatedElement::didMoveToNewDocument):
* html/FormAssociatedElement.h:
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::didMoveToNewDocument):
(WebCore::HTMLFormControlElementWithState::didMoveToNewDocument):
* html/HTMLFormControlElement.h:
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::didMoveToNewDocument):
* html/HTMLFormElement.h:
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::didMoveToNewDocument):
* html/HTMLImageElement.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::didMoveToNewDocument):
* html/HTMLInputElement.h:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::didMoveToNewDocument):
* html/HTMLMediaElement.h:
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::didMoveToNewDocument):
* html/HTMLObjectElement.h:
* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::didMoveToNewDocument):
* html/HTMLPlugInImageElement.h:
* html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::didMoveToNewDocument):
* html/HTMLVideoElement.h:
* html/ImageDocument.cpp:
(WebCore::ImageDocumentElement::didMoveToNewDocument):
* html/ImageInputType.cpp:
(WebCore::ImageInputType::willMoveToNewDocument):
* loader/ImageLoader.cpp:
(WebCore::ImageLoader::elementDidMoveToNewDocument):
* loader/ImageLoader.h:
* svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::didMoveToNewDocument):
* svg/SVGImageElement.h:
* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::didMoveToNewDocument):
* svg/SVGSVGElement.h:

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

8 years agoREGRESSION(r102987): Fix the filename prefix of the generated empty .h
haraken@chromium.org [Mon, 26 Dec 2011 06:16:15 +0000 (06:16 +0000)]
REGRESSION(r102987): Fix the filename prefix of the generated empty .h
and .cpp files for [Supplemental] IDLs
https://bugs.webkit.org/show_bug.cgi?id=75082

Reviewed by Darin Adler.

In bug 74481, we changed generate-bindings.pl so that it generates empty .h
and .cpp files for the [Supplemental] IDLs. However, the filename prefixes of
those .h and .cpp files are wrong. This patch fixes the prefixes as follows:

    generator=JS  => JS*.h, JS*.cpp
    generator=V8  => V8*.h, V8*.cpp
    generator=ObjC  => DOM*.h, DOM*.cpp
    generator=GObject  => WebKitDOM*.h, WebKitDOM*.cpp
    generator=CPP  => WebDOM*.h, WebDOM*.cpp

No new tests. No change in behavior.
I confirmed that the names of generated .h and .cpp files are correct.

* bindings/scripts/CodeGenerator.pm:
(FileNamePrefix): Returns the prefix of file names.
* bindings/scripts/CodeGeneratorCPP.pm:
(GenerateInterface): Uses CodeGenerator::FileNamePrefix.
* bindings/scripts/CodeGeneratorGObject.pm:
(GenerateInterface): Ditto.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateInterface): Ditto.
* bindings/scripts/CodeGeneratorObjC.pm:
(GenerateInterface): Ditto.
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateInterface): Ditto.
* bindings/scripts/generate-bindings.pl:
(generateEmptyHeaderAndCpp): Ditto.

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

8 years ago../WebCore: WebCore changes for: Find indicators overlap when a match spans multiple...
mitz@apple.com [Mon, 26 Dec 2011 05:20:02 +0000 (05:20 +0000)]
../WebCore: WebCore changes for: Find indicators overlap when a match spans multiple text boxes
https://bugs.webkit.org/show_bug.cgi?id=75220

Reviewed by Darin Adler.

* WebCore.exp.in: Exported new unionRect(const Vector<FloatRect>&) and existing
FloatRect::intersects().
* platform/graphics/FloatRect.cpp:
(WebCore::unionRect): Added.
* platform/graphics/FloatRect.h:

../WebKit2: Find indicators overlap when a match spans multiple text boxes
https://bugs.webkit.org/show_bug.cgi?id=75220

Reviewed by Darin Adler.

* UIProcess/FindIndicator.cpp:
(WebKit::findIndicatorsForTextRectsOverlap): Added this helper function that checks for
pairwise intersections between all indicator rects.
(WebKit::FindIndicator::FindIndicator): Changed to use a single rect (the union of all text
rects) if any two indicator rects would otherwise overlap. This is similar to what Safari
does, and it eliminates overlapping rects for adjacent text boxes. In rare cases (such as when
a match spans two lines and adjacent text boxes on one of those lines) it results in a find
indicator that is too large and obscures some non-match text.
* UIProcess/FindIndicator.h:

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

8 years agoUse OwnPtr for CSSFontFace::m_sources
darin@apple.com [Mon, 26 Dec 2011 04:46:34 +0000 (04:46 +0000)]
Use OwnPtr for CSSFontFace::m_sources
https://bugs.webkit.org/show_bug.cgi?id=75219

Reviewed by Dan Bernstein.

* css/CSSFontFace.cpp:
(WebCore::CSSFontFace::isLoaded): Use the same size_t idiom here as in the rest
of the functions.
(WebCore::CSSFontFace::isValid): Ditto. Also removed unneeded empty special casing.
(WebCore::CSSFontFace::addSource): Changed to take a PassOwnPtr. Reordered so the
PassOwnPtr zeroing does not cause trouble.
(WebCore::CSSFontFace::getFontData): Added call to get.
(WebCore::CSSFontFace::hasSVGFontFaceSource): Use the same size_t idiom here as in
the rest of the functions.

* css/CSSFontFace.h: Use PassOwnPtr for addSource argument, and Vector<OwnPtr> for
the m_sources vector.

* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::addFontFaceRule): Use OwnPtr and PassOwnPtr for font face
sources that are passed to addSource.

* css/CSSSegmentedFontFace.cpp: Added a now-needed include.

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

8 years agoAllow XMLHttpRequest responseType to be set at any state up to and including HEADERS_...
jarred@sencha.com [Mon, 26 Dec 2011 04:02:21 +0000 (04:02 +0000)]
Allow XMLHttpRequest responseType to be set at any state up to and including HEADERS_RECEIVED
https://bugs.webkit.org/show_bug.cgi?id=75190

Source/WebCore:

XMLHttpRequest.responseType should be modifiable at any state up to and including the
HEADERS_RECEIVED state. Therefore, subsequent calls to open() should not reset responseType
to its default value, and calls to open() must follow the same spec mandate set forth in
setResponseType() for synchronous HTTP(S) requests made from the window context.

Reviewed by Alexey Proskuryakov.

Tests: fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request.html
       fast/xmlhttprequest/xmlhttprequest-responsetype-before-open.html
       fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received.html

* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::setResponseType):
Prevent setting the value only when in LOADING and DONE states. No longer check if
m_loader is present, which is instantiated on a call to send(), because responseType
can be safely changed after a request is sent.
(WebCore::XMLHttpRequest::open):
Do not reset m_responseTypeCode to the default value, and prevent calls to open()
for synchronous HTTP(S) requests made from the window context when m_responseTypeCode
is not the default value.

LayoutTests:

Reviewed by Alexey Proskuryakov.

* fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-expected.txt: Added.
* fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request-expected.txt: Added.
* fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request.html: Added.
Validate that calls to open() for synchronous HTTP(S) requests from the window context will
properly fail when responseType has been previously set to a non-default value.
* fast/xmlhttprequest/xmlhttprequest-responsetype-before-open.html: Added.
Validate that XMLHttpRequest.responseType can be set prior to a call to open().
* fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt: Added.
* fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received.html: Added.
Validate that XMLHttpRequest.responseType can be set at the HEADERS_RECEIVED state, but
no state later than that.

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

8 years agoThe ArgumentCount field in the CallFrame should have its tag left blank for other...
fpizlo@apple.com [Mon, 26 Dec 2011 02:16:39 +0000 (02:16 +0000)]
The ArgumentCount field in the CallFrame should have its tag left blank for other uses
https://bugs.webkit.org/show_bug.cgi?id=75199
<rdar://problem/10625105>
<rdar://problem/10625106>

Reviewed by Oliver Hunt.

* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::argumentPayloadSlot):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):
* interpreter/CallFrame.h:
(JSC::ExecState::argumentCountIncludingThis):
(JSC::ExecState::setArgumentCountIncludingThis):
* interpreter/Register.h:
(JSC::Register::unboxedInt32):
(JSC::Register::unboxedBoolean):
(JSC::Register::unboxedCell):
(JSC::Register::payload):
(JSC::Register::tag):
* jit/JITCall.cpp:
(JSC::JIT::compileOpCall):
* jit/JITCall32_64.cpp:
(JSC::JIT::compileLoadVarargs):
(JSC::JIT::compileOpCall):

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

8 years agoFix tests failing as a result of r103643
weinig@apple.com [Sun, 25 Dec 2011 21:32:15 +0000 (21:32 +0000)]
Fix tests failing as a result of r103643
https://bugs.webkit.org/show_bug.cgi?id=75209

Reviewed by Dan Bernstein.

Switch accidental switch of default scroll granularity from
ScrollByPageWheelEvent back to ScrollByPixelWheelEvent.

* platform/mac/PlatformEventFactory.mm:
(WebCore::PlatformWheelEventBuilder::PlatformWheelEventBuilder):

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

8 years agoYarr: Avoid copying vectors in CharacterClassConstructor.
kling@webkit.org [Sun, 25 Dec 2011 21:21:06 +0000 (21:21 +0000)]
Yarr: Avoid copying vectors in CharacterClassConstructor.
<http://webkit.org/b/75206>

Reviewed by Darin Adler.

Yarr::CharacterClassConstructor::charClass() was hot when loading twitter
feeds (1.2%), replace the usage of Vector::append() by swap() since we're
always clearing the source vector afterwards anyway.

* yarr/YarrPattern.cpp:
(JSC::Yarr::CharacterClassConstructor::charClass):

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

8 years agoChange CSS canvas code that does HashMap get/set to use the more efficient add idiom
darin@apple.com [Sun, 25 Dec 2011 19:03:16 +0000 (19:03 +0000)]
Change CSS canvas code that does HashMap get/set to use the more efficient add idiom
https://bugs.webkit.org/show_bug.cgi?id=75204

Reviewed by Dan Bernstein.

* dom/Document.cpp:
(WebCore::Document::getCSSCanvasContext): Change local variable name of element to
element; it's not the function result, so not good to name it result.
(WebCore::Document::getCSSCanvasElement): Use add instead of get/set so we only do
one hash table lookup.

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

8 years ago* gtest/xcode/gtest.xcodeproj: Added property svn:ignore.
darin@apple.com [Sun, 25 Dec 2011 17:08:08 +0000 (17:08 +0000)]
* gtest/xcode/gtest.xcodeproj: Added property svn:ignore.

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