WebKit.git
9 years agogetComputedStyle for padding is not implemented.
alexis.menard@openbossa.org [Thu, 29 Dec 2011 18:36:52 +0000 (18:36 +0000)]
getComputedStyle for padding is not implemented.
https://bugs.webkit.org/show_bug.cgi?id=75352

Reviewed by Andreas Kling.

Source/WebCore:

Implement getComputedStyle for padding shorthand property.

Test: fast/css/getComputedStyle/getComputedStyle-padding-shorthand.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests:

Add test to cover that we return correct values.

* fast/css/getComputedStyle/getComputedStyle-padding-shorthand-expected.txt: Added.
* fast/css/getComputedStyle/getComputedStyle-padding-shorthand.html: Added.

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

9 years ago[GTK] media/video-scales-in-media-document.html fails
commit-queue@webkit.org [Thu, 29 Dec 2011 18:21:17 +0000 (18:21 +0000)]
[GTK] media/video-scales-in-media-document.html fails
https://bugs.webkit.org/show_bug.cgi?id=75079

Moves the test into platform/chromium/media and removes the Skipped
entry for gtk.

Patch by Dale Curtis <dalecurtis@chromium.org> on 2011-12-29
Reviewed by Eric Carlson.

* platform/chromium/media/video-scales-in-media-document-expected.txt: Renamed from LayoutTests/media/video-scales-in-media-document-expected.txt.
* platform/chromium/media/video-scales-in-media-document.html: Renamed from LayoutTests/media/video-scales-in-media-document.html.
* platform/gtk/Skipped:

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

9 years agoUse HashMap<OwnPtr> in OriginAccessMap
caio.oliveira@openbossa.org [Thu, 29 Dec 2011 17:52:48 +0000 (17:52 +0000)]
Use HashMap<OwnPtr> in OriginAccessMap
https://bugs.webkit.org/show_bug.cgi?id=75327

Reviewed by Andreas Kling.

* page/SecurityPolicy.cpp:
(WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::resetOriginAccessWhitelists):

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

9 years ago[Qt] Remove unused m_signalListeners from WorkQueue
caio.oliveira@openbossa.org [Thu, 29 Dec 2011 17:22:51 +0000 (17:22 +0000)]
[Qt] Remove unused m_signalListeners from WorkQueue
https://bugs.webkit.org/show_bug.cgi?id=75354

Reviewed by Andreas Kling.

This is unused since r76507.

* Platform/WorkQueue.h:
* Platform/qt/WorkQueueQt.cpp:
(WorkQueue::platformInvalidate):

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

9 years agoWeb Inspector: support sourceMappingURL magic comment.
podivilov@chromium.org [Thu, 29 Dec 2011 17:12:45 +0000 (17:12 +0000)]
Web Inspector: support sourceMappingURL magic comment.
https://bugs.webkit.org/show_bug.cgi?id=75356

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/ContentSearchUtils.cpp:
(WebCore::ContentSearchUtils::findSourceMapURL):
* inspector/ContentSearchUtils.h:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::sourceMapURLForScript):

LayoutTests:

* http/tests/inspector/compiler-source-mapping-debug.html:
* http/tests/inspector/resources/compiled.js:

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

9 years agoWeb Inspector: Suggest pop-over doesn't hide on tab switch
apavlov@chromium.org [Thu, 29 Dec 2011 17:08:05 +0000 (17:08 +0000)]
Web Inspector: Suggest pop-over doesn't hide on tab switch
https://bugs.webkit.org/show_bug.cgi?id=73611

Reviewed by Pavel Feldman.

* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype.willHide):
* inspector/front-end/TextPrompt.js:
(WebInspector.TextPrompt.prototype.complete):
(WebInspector.TextPrompt.prototype._completionsReady):
(WebInspector.TextPrompt.prototype.acceptSuggestion):
(WebInspector.TextPrompt.prototype.hideSuggestBox):
(WebInspector.TextPrompt.SuggestBox.prototype._completionsReady):

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

9 years agoWeb Inspector: Implement CSS selector profiler
apavlov@chromium.org [Thu, 29 Dec 2011 17:02:43 +0000 (17:02 +0000)]
Web Inspector: Implement CSS selector profiler
https://bugs.webkit.org/show_bug.cgi?id=74004

Reviewed by Pavel Feldman.

Source/WebCore:

This implementation of CSS selector profiler measures the total time required to match a certain selector
against DOM nodes and apply the style declaration properties to the particular element,
as well as the number of selector  matches (i.e. the number of nodes that matched the selector.)
The results are approximate due to internal matching algorithm optimizations (shared styles et al.)
Multiple selectors with the same selectorText are coalesced into a single record.

* English.lproj/localizedStrings.js:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.sh:
* inspector/front-end/CSSSelectorProfileView.js: Added.
(WebInspector.CSSSelectorDataGridNode):
(WebInspector.CSSSelectorDataGridNode.prototype.get rawData):
(WebInspector.CSSSelectorProfileView):
(WebInspector.CSSSelectorProfileView.prototype.get statusBarItems):
(WebInspector.CSSSelectorProfileView.prototype.get profile):
(WebInspector.CSSSelectorProfileView.prototype.set profile):
(WebInspector.CSSSelectorProfileView.prototype._createProfileNodes):
(WebInspector.CSSSelectorProfileView.prototype.rebuildGridItems):
(WebInspector.CSSSelectorProfileView.prototype.refreshData):
(WebInspector.CSSSelectorProfileView.prototype.refreshShowAsPercents):
(WebInspector.CSSSelectorProfileView.prototype._sortProfile.get selectorComparator):
(WebInspector.CSSSelectorProfileView.prototype._sortProfile.timeComparator):
(WebInspector.CSSSelectorProfileView.prototype._sortProfile.matchesComparator):
(WebInspector.CSSSelectorProfileView.prototype._sortProfile):
(WebInspector.CSSSelectorProfileType):
(WebInspector.CSSSelectorProfileType.prototype.get buttonTooltip):
(WebInspector.CSSSelectorProfileType.prototype.buttonClicked):
(WebInspector.CSSSelectorProfileType.prototype.get treeItemTitle):
(WebInspector.CSSSelectorProfileType.prototype.get description):
(WebInspector.CSSSelectorProfileType.prototype.reset):
(WebInspector.CSSSelectorProfileType.prototype.isRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype.setRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype.startRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype.stopRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype.createSidebarTreeElementForProfile):
(WebInspector.CSSSelectorProfileType.prototype.createView):
* inspector/front-end/DetailedHeapshotView.js:
* inspector/front-end/ProfileView.js:
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfileType.prototype.reset):
(WebInspector.ProfilesPanel.prototype._reset):
(WebInspector.ProfilesPanel.prototype.addProfileHeader):
(WebInspector.ProfilesPanel.prototype._removeTemporaryProfile):
(WebInspector.ProfilesPanel.prototype.setRecordingProfile):
(WebInspector.ProfilesPanel.prototype.takeHeapSnapshot):
(WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
(WebInspector.ProfilerDispatcher.prototype.addProfileHeader):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:
* inspector/front-end/profilesPanel.css:

LayoutTests:

* inspector/profiler/detailed-heapshots-test.js:
(initialize_DetailedHeapshotTest):
* inspector/profiler/profiler-test.js:
(initialize_ProfilerTest.InspectorTest.startProfilerTest.startTest):
(initialize_ProfilerTest.InspectorTest.startProfilerTest):

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

9 years ago[GTK] Context menu is hidden right after showing it when first menu item is not disabled
carlosgc@webkit.org [Thu, 29 Dec 2011 16:39:08 +0000 (16:39 +0000)]
[GTK] Context menu is hidden right after showing it when first menu item is not disabled
https://bugs.webkit.org/show_bug.cgi?id=75357

Reviewed by Martin Robinson.

The problem is that we are passing GDK_CURRENT_TIME (which is 0)
to gtk_popup_menu, because the events are async and
gtk_get_current_event is NULL when calling gtk_menu_popup. GtkMenu
has a timeout to decide whether the press-release was fast enough
and ignore the button release event in that case. That way, a
normal right click shows the menu while a long press hides the
menu when the button is released. So, we need to know the real time
when the right button was pressed and pass it to gtk_popup_menu.

* UIProcess/WebPageProxy.h: Make
currentlyProcessedMouseDownEvent() public.
* UIProcess/gtk/WebContextMenuProxyGtk.cpp:
(WebKit::WebContextMenuProxyGtk::showContextMenu): Use
WebPageProxy::currentlyProcessedMouseDownEvent() to get the
current mouse event and pass its button number and time to
gtk_popup_menu.

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

9 years ago[GTK] Fix several conding style issues in WebKit2 GTK+ code
carlosgc@webkit.org [Thu, 29 Dec 2011 16:33:38 +0000 (16:33 +0000)]
[GTK] Fix several conding style issues in WebKit2 GTK+ code
https://bugs.webkit.org/show_bug.cgi?id=75339

Reviewed by Martin Robinson.

In addition to the WebKit coding style, code in UIProcess/API/gtk
should follow style and conventions described here
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API

* UIProcess/API/gtk/WebKitSettings.cpp: Remove trailing whitespaces.
(webkit_settings_class_init): Remove trailing whitespaces, fix
indentation issues in API doc comments, add missing trailing to
some properties.
(webkit_settings_set_enable_fullscreen): Move the code after
get_enable_fullscreen() for consistency.
* UIProcess/API/gtk/WebKitSettings.h: Remove trailing
whitespaces. Fix * placement and line up parameters.
* UIProcess/API/gtk/WebKitWebView.cpp: Remove several empty lines.
(webkit_web_view_class_init): Mark property nicks and blurbs for translation.
(webkitWebViewSetTitle): Remove trailing whitespaces.
* UIProcess/API/gtk/WebKitWebView.h: Line up parameters.
* UIProcess/API/gtk/WebKitWebViewBase.cpp: Use the angle-bracket
form for including file from WebCore and wtf. Use GRefPtr for
GtkIMContext and bool instead of gboolean. Use the placement new
syntax for private struct instead of new/delete.
(webkitWebViewBaseRealize):
(webkitWebViewBaseFinalize):
(webkit_web_view_base_init):
(webkitWebViewBaseFocusInEvent):
(webkitWebViewBaseFocusOutEvent):
(webkitWebViewBaseKeyPressEvent): Remove trailing whitespaces.
(webkitWebViewBaseKeyReleaseEvent):
(webkit_web_view_base_class_init):
(webkitWebViewBaseGetIMContext):

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

9 years agoUnreviewed, rolling out r103798.
commit-queue@webkit.org [Thu, 29 Dec 2011 15:08:57 +0000 (15:08 +0000)]
Unreviewed, rolling out r103798.
http://trac.webkit.org/changeset/103798
https://bugs.webkit.org/show_bug.cgi?id=75353

some small scrollbar differences are making the tests fail on
several platforms (Requested by jchaffraix on #webkit).

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

Source/WebCore:

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateLayerPositionsAfterScroll):

LayoutTests:

* fast/layers/scroll-with-transform-composited-layer-expected.html: Removed.
* fast/layers/scroll-with-transform-composited-layer.html: Removed.
* fast/layers/scroll-with-transform-layer-expected.html: Removed.
* fast/layers/scroll-with-transform-layer.html: Removed.

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

9 years agoWeb Inspector: Focus of the DOM tree is not restored when switching to the Elements...
apavlov@chromium.org [Thu, 29 Dec 2011 14:58:11 +0000 (14:58 +0000)]
Web Inspector: Focus of the DOM tree is not restored when switching to the Elements panel
https://bugs.webkit.org/show_bug.cgi?id=75351

Reviewed by Yury Semikhatsky.

* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.wasShown):

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

9 years agoREGRESSION (r93614): Safari Reader doesn't repaint correctly when scrolling
jchaffraix@webkit.org [Thu, 29 Dec 2011 14:06:18 +0000 (14:06 +0000)]
REGRESSION (r93614): Safari Reader doesn't repaint correctly when scrolling
https://bugs.webkit.org/show_bug.cgi?id=67100

Reviewed by Dan Bernstein.

Source/WebCore:

Tests: fast/layers/scroll-with-transform-composited-layer-expected.html
       fast/layers/scroll-with-transform-composited-layer.html
       fast/layers/scroll-with-transform-layer-expected.html
       fast/layers/scroll-with-transform-layer.html

The regression came from a previous optimization that was wrongly kept after r93614.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateLayerPositionsAfterScroll):
Remove the early return for transformed layer. This change worked as we used
to call updateLayerPositions from scrollTo which would call updateLayerPosition on
all our descendants. After r93614, this is no longer the case and we explicitely need
to call updateLayerPosition on our descendants from updateLayerPositionsAfterScroll.

LayoutTests:

Added 2 ref tests for scrolling inside a transformed layers (either composited
or not).

* fast/layers/scroll-with-transform-composited-layer-expected.html: Added.
* fast/layers/scroll-with-transform-composited-layer.html: Added.
* fast/layers/scroll-with-transform-layer-expected.html: Added.
* fast/layers/scroll-with-transform-layer.html: Added.

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

9 years agoWeb Inspector: Tree views can be collapsed/hidden using the keyboard arrows
apavlov@chromium.org [Thu, 29 Dec 2011 13:28:52 +0000 (13:28 +0000)]
Web Inspector: Tree views can be collapsed/hidden using the keyboard arrows
https://bugs.webkit.org/show_bug.cgi?id=46272

Reviewed by Yury Semikhatsky.

WebInspector.SidebarSectionTreeElement which is not selectable has also been made non-collapsible
and expanded by default.

* inspector/front-end/AuditsPanel.js:
(WebInspector.AuditsPanel):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._registerProfileType):
* inspector/front-end/SidebarTreeElement.js:
(WebInspector.SidebarSectionTreeElement):
(WebInspector.SidebarSectionTreeElement.prototype.selectable.false.collapse):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel):

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

9 years agoWeb Inspector: [chromium] pass dock to side request to the embedder.
pfeldman@chromium.org [Thu, 29 Dec 2011 13:10:48 +0000 (13:10 +0000)]
Web Inspector: [chromium] pass dock to side request to the embedder.
https://bugs.webkit.org/show_bug.cgi?id=75344

Reviewed by Yury Semikhatsky.

Source/WebCore:

I'd like to enable dock-to-right for the front-end window. This is a background work
to pass control flow from the front-end to the front-end host.

* inspector/InspectorFrontendClient.h:
* inspector/InspectorFrontendClientLocal.h:
(WebCore::InspectorFrontendClientLocal::requestSetDockSide):
* inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::requestSetDockSide):
* inspector/InspectorFrontendHost.h:
* inspector/InspectorFrontendHost.idl:
* inspector/front-end/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.requestAttachWindow):
(.WebInspector.InspectorFrontendHostStub.prototype.requestDetachWindow):
(.WebInspector.InspectorFrontendHostStub.prototype.requestSetDockSide):

Source/WebKit/chromium:

* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::requestSetDockSide):
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::requestSetDockSide):
* src/InspectorFrontendClientImpl.h:

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

9 years agoWeb Inspector: add "enable source maps" checkbox setting.
podivilov@chromium.org [Thu, 29 Dec 2011 12:16:05 +0000 (12:16 +0000)]
Web Inspector: add "enable source maps" checkbox setting.
https://bugs.webkit.org/show_bug.cgi?id=75311

Reviewed by Pavel Feldman.

Source/WebCore:

When "enable source maps" is on, all auto detected source maps are silently applied.

* English.lproj/localizedStrings.js:
* inspector/front-end/DebuggerPresentationModel.js:
* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.populateTextAreaContextMenu):
* inspector/front-end/RawSourceCode.js:
(WebInspector.RawSourceCode):
(WebInspector.RawSourceCode.prototype.setFormatted):
(WebInspector.RawSourceCode.prototype._updateSourceMapping.didCreateSourceMapping):
(WebInspector.RawSourceCode.prototype._updateSourceMapping):
(WebInspector.RawSourceCode.prototype._createUISourceCode):
* inspector/front-end/Settings.js:
(WebInspector.Settings):
* inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen):
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode):
* inspector/front-end/inspector.js:
(WebInspector._toolbarItemClicked):

LayoutTests:

* http/tests/inspector/compiler-source-mapping-debug-expected.txt:
* http/tests/inspector/compiler-source-mapping-debug.html:
* inspector/debugger/raw-source-code.html:

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

9 years agoTighten our checks for needsSectionRecalc in RenderTable
jchaffraix@webkit.org [Thu, 29 Dec 2011 11:21:20 +0000 (11:21 +0000)]
Tighten our checks for needsSectionRecalc in RenderTable
https://bugs.webkit.org/show_bug.cgi?id=73972

Reviewed by Adam Barth.

Refactoring covered under the new tests.

Now most of the functions use the header, first body and footer's
getters that checks if we need a section recalculation. The only
exceptions are addChild and recalcSections as they can be called
with the bit set.

* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
(WebCore::RenderTable::outerBorderAfter):
(WebCore::RenderTable::sectionAbove):
(WebCore::RenderTable::sectionBelow):
Updated the previous functions to use the sections' getters.

(WebCore::RenderTable::RenderTable):
(WebCore::RenderTable::addChild):
(WebCore::RenderTable::recalcSections):
Update the previous functions after the 2 renames
(see below).

* rendering/RenderTable.h:
(WebCore::RenderTable::header):
(WebCore::RenderTable::footer):
(WebCore::RenderTable::firstBody):
Added some ASSERT here. Also renamed m_head to m_header
and m_foot to m_footer to match the getter and to avoid
unneeded abbreviation.

(WebCore::RenderTable::hasSections):
(WebCore::RenderTable::topSection):
Updated the previous functions to use the section getters.

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

9 years agoUse HashMap<OwnPtr> for UserScriptMap and UserStyleSheetMap
caio.oliveira@openbossa.org [Thu, 29 Dec 2011 10:50:30 +0000 (10:50 +0000)]
Use HashMap<OwnPtr> for UserScriptMap and UserStyleSheetMap
https://bugs.webkit.org/show_bug.cgi?id=75323

Reviewed by Darin Adler.

* dom/Document.cpp:
(WebCore::Document::pageGroupUserSheets):
* page/PageGroup.cpp:
(WebCore::PageGroup::addUserScriptToWorld):
(WebCore::PageGroup::addUserStyleSheetToWorld):
(WebCore::PageGroup::removeUserScriptFromWorld):
(WebCore::PageGroup::removeUserStyleSheetFromWorld): fix a small mistake in
previous code. Now the entry for world is removed (and deleted) only if its
stylesheet vector is empty.
(WebCore::PageGroup::removeUserScriptsFromWorld):
(WebCore::PageGroup::removeUserStyleSheetsFromWorld):
(WebCore::PageGroup::removeAllUserContent):
* page/UserScriptTypes.h:
* page/UserStyleSheetTypes.h:

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

9 years agospill unboxed values in DFG 32_64
yuqiang.xian@intel.com [Thu, 29 Dec 2011 04:33:20 +0000 (04:33 +0000)]
spill unboxed values in DFG 32_64
https://bugs.webkit.org/show_bug.cgi?id=75291

Reviewed by Filip Pizlo.

Currently all the values are spilled as boxed in DFG 32_64, which is
not necessary and introduces additional stores/loads. Instead we
can spill them as unboxed if feasible. It can be applied to the
Integers, Cells and Booleans in DFG 32_64. Doubles are left as is
because they don't need to be boxed at all. The modifications to the
spill/fill and the OSR exit are required, as well as a bug fix to the
"isUnknownJS" logic.

* bytecode/ValueRecovery.h:
(JSC::ValueRecovery::displacedInRegisterFile):
(JSC::ValueRecovery::virtualRegister):
(JSC::ValueRecovery::dump):
* dfg/DFGGenerationInfo.h:
(JSC::DFG::GenerationInfo::isUnknownJS):
(JSC::DFG::GenerationInfo::spill):
* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::isKnownNotBoolean):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::silentFillGPR):
(JSC::DFG::SpeculativeJIT::spill):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillInteger):
(JSC::DFG::SpeculativeJIT::fillDouble):
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoReduce memory used by NamedNodeMap.
kling@webkit.org [Thu, 29 Dec 2011 03:56:25 +0000 (03:56 +0000)]
Reduce memory used by NamedNodeMap.
<http://webkit.org/b/75333>

Reviewed by Sam Weinig.

Give NamedNodeMap's attribute vector an inline capacity of 4. The vast majority
of elements have <= 4 attributes, and if they don't have any we normally don't
allocate an attribute map at all.

This reduces memory consumption by 1.2MB (on 64-bit) when loading the full HTML5
spec at <http://whatwg.org/c>.

* dom/NamedNodeMap.h:

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

9 years agoReduce memory used by SpaceSplitString.
kling@webkit.org [Thu, 29 Dec 2011 03:54:44 +0000 (03:54 +0000)]
Reduce memory used by SpaceSplitString.
<http://webkit.org/b/75315>

Reviewed by Sam Weinig.

Split the string upon creation instead of waiting until it's accessed.
This allows us to get rid of all data members except the substring vector.
Since we're storing AtomicStrings, this is way more memory-efficient than
the previous implementation in the majority of cases.

Also reduced the inline capcity of the vector to 2 (from 8), after testing
showed this to cover 90% of the cases on the Alexa top sites.

All in all this reduces memory consumption by 1.1MB (on 64-bit) when
loading the full HTML5 spec at <http://whatwg.org/c>. On that same page,
less than 2ms is spent (on my MBP) splitting the ~20000 strings.

* dom/SpaceSplitString.cpp:
(WebCore::SpaceSplitStringData::createVector):
(WebCore::SpaceSplitStringData::containsAll):
(WebCore::SpaceSplitStringData::remove):
* dom/SpaceSplitString.h:
(WebCore::SpaceSplitStringData::SpaceSplitStringData):
(WebCore::SpaceSplitStringData::contains):
(WebCore::SpaceSplitStringData::size):
(WebCore::SpaceSplitStringData::operator[]):

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

9 years agoSource/WebKit/chromium: [WebWorkers][Chromium] Remove remains of cross-process dedica...
dslomov@google.com [Thu, 29 Dec 2011 02:03:47 +0000 (02:03 +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: http://svn.webkit.org/repository/webkit/trunk@103789 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[GTK] Fix compilation issue when selecting opengl for Accelerated compositing
commit-queue@webkit.org [Thu, 29 Dec 2011 01:25:47 +0000 (01:25 +0000)]
[GTK] Fix compilation issue when selecting opengl for Accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=75309

Patch by ChangSeok Oh <shivamidow@gmail.com> on 2011-12-28
Reviewed by Martin Robinson.

.:

Replace WTF_USE_TEXTURE_MAPPER_OPENGL to WTF_USE_TEXTURE_MAPPER_GL

* GNUmakefile.am:

Source/WebCore:

Add TextureMapperGL and TextureMapperGLCairo files.
They define new classes required to implement TextureMapperGL for GTK port.

No new tests required.

* GNUmakefile.list.am:
* platform/graphics/cairo/TextureMapperGLCairo.cpp: Added.
(WebCore::BGRA32PremultimpliedBufferCairo::BGRA32PremultimpliedBufferCairo):
(WebCore::BGRA32PremultimpliedBufferCairo::~BGRA32PremultimpliedBufferCairo):
(WebCore::BGRA32PremultimpliedBufferCairo::beginPaint):
(WebCore::BGRA32PremultimpliedBufferCairo::data):
(WebCore::BGRA32PremultimpliedBufferCairo::endPaint):
(WebCore::uidForImage):
(WebCore::BGRA32PremultimpliedBuffer::create):
* platform/graphics/cairo/TextureMapperGLCairo.h: Added.

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

9 years agoUnreviewed, rolling out r103785.
commit-queue@webkit.org [Thu, 29 Dec 2011 01:14:01 +0000 (01:14 +0000)]
Unreviewed, rolling out r103785.
http://trac.webkit.org/changeset/103785
https://bugs.webkit.org/show_bug.cgi?id=75332

Broke builders; looks like clobbering didnt help (Requested by
dslomov on #webkit).

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

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: http://svn.webkit.org/repository/webkit/trunk@103787 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd an implicit block conversion operator to WTF::Function
andersca@apple.com [Thu, 29 Dec 2011 00:09:25 +0000 (00:09 +0000)]
Add an implicit block conversion operator to WTF::Function
https://bugs.webkit.org/show_bug.cgi?id=75325

Reviewed by Dan Bernstein.

* wtf/Compiler.h:
Add a define for COMPILER_SUPPORTS(BLOCKS). It's only defined for clang, since the gcc blocks implementation
is buggy, especially when it comes to C++.

* wtf/Functional.h:
Add a block conversion operator that creates and returns an autoreleased block that will call the function when executed.

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

9 years agoSource/WebKit/chromium: [WebWorkers][Chromium] Remove remains of cross-process dedica...
dslomov@google.com [Thu, 29 Dec 2011 00:00:58 +0000 (00:00 +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: http://svn.webkit.org/repository/webkit/trunk@103785 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r103782.
commit-queue@webkit.org [Wed, 28 Dec 2011 23:42:40 +0000 (23:42 +0000)]
Unreviewed, rolling out r103782.
http://trac.webkit.org/changeset/103782
https://bugs.webkit.org/show_bug.cgi?id=75328

broke origin-whitelisting-removal.html (Requested by kling on
#webkit).

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

* page/SecurityPolicy.cpp:
(WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::resetOriginAccessWhitelists):

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

9 years agoEnable the [Supplemental] IDL on Qt
haraken@chromium.org [Wed, 28 Dec 2011 23:30:48 +0000 (23:30 +0000)]
Enable the [Supplemental] IDL on Qt
https://bugs.webkit.org/show_bug.cgi?id=75274

Reviewed by Adam Barth.

This patch enables the [Supplemental] IDL on Qt by changing the build
flow of Qt 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/*

* DerivedSources.pri: Described the above build flow.

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

9 years agoUse HashMap<OwnPtr> in OriginAccessMap
caio.oliveira@openbossa.org [Wed, 28 Dec 2011 22:43:44 +0000 (22:43 +0000)]
Use HashMap<OwnPtr> in OriginAccessMap
https://bugs.webkit.org/show_bug.cgi?id=75327

Reviewed by Andreas Kling.

* page/SecurityPolicy.cpp:
(WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
(WebCore::SecurityPolicy::resetOriginAccessWhitelists):

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

9 years agoUse HashMap<OwnPtr> for ProgressTracker's items
caio.oliveira@openbossa.org [Wed, 28 Dec 2011 22:08:14 +0000 (22:08 +0000)]
Use HashMap<OwnPtr> for ProgressTracker's items
https://bugs.webkit.org/show_bug.cgi?id=75326

Reviewed by Andreas Kling.

* loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::~ProgressTracker): although is empty, the destructor was
kept so in the header file we can forward declare ProgressItem and use in an OwnPtr.
(WebCore::ProgressTracker::reset):
(WebCore::ProgressTracker::incrementProgress):
(WebCore::ProgressTracker::completeProgress): removed a useless assignment to item
member just before it is deleted.
* loader/ProgressTracker.h:

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

9 years agogetComputedStyle for border-color is not implemented.
alexis.menard@openbossa.org [Wed, 28 Dec 2011 21:26:35 +0000 (21:26 +0000)]
getComputedStyle for border-color is not implemented.
https://bugs.webkit.org/show_bug.cgi?id=75324

Reviewed by Andreas Kling.

Source/WebCore:

Implement getComputedStyle for border-color.

Test: fast/css/getComputedStyle/getComputedStyle-border-color-shorthand.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests:

Add test to cover that we return correct values.

* fast/css/getComputedStyle/getComputedStyle-border-color-shorthand-expected.txt: Added.
* fast/css/getComputedStyle/getComputedStyle-border-color-shorthand.html: Added.

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

9 years agoUse OwnPtr to handle lifetime and deletion of FontFace objects
darin@apple.com [Wed, 28 Dec 2011 21:12:23 +0000 (21:12 +0000)]
Use OwnPtr to handle lifetime and deletion of FontFace objects
https://bugs.webkit.org/show_bug.cgi?id=75221

Reviewed by Daniel Bates.

* css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::getFontData): Use add instead of get/set to read and
then later fill a cache. Use new version of registerCustomFont that takes PassOwnPtr.
* css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::getFontData): Ditto.

* dom/Document.cpp:
(WebCore::Document::registerCustomFont): Take a PassOwnPtr instead of raw pointer.
* dom/Document.h: Ditto.

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

9 years ago"Fake" insertion mode in HTMLTreeBuilder doesn't do anything
abarth@webkit.org [Wed, 28 Dec 2011 21:10:50 +0000 (21:10 +0000)]
"Fake" insertion mode in HTMLTreeBuilder doesn't do anything
https://bugs.webkit.org/show_bug.cgi?id=75322

Reviewed by Darin Adler.

This machinery isn't needed anymore now that we're using the new
foreign content hotness.

* html/parser/HTMLTreeBuilder.cpp:
* html/parser/HTMLTreeBuilder.h:
(WebCore::HTMLTreeBuilder::setInsertionMode):

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

9 years ago[Qt] fails fast/inline/nested-text-descendants.html
robert@webkit.org [Wed, 28 Dec 2011 21:04:08 +0000 (21:04 +0000)]
[Qt] fails fast/inline/nested-text-descendants.html
https://bugs.webkit.org/show_bug.cgi?id=75321

Unreviewed, skip reference test fast/inline/nested-text-descendants.html
on Qt for now. It is the only platform that fails it.

* platform/qt/Skipped:

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

9 years ago<math><option><option></html><option></option> used to crash the parser
abarth@webkit.org [Wed, 28 Dec 2011 20:36:46 +0000 (20:36 +0000)]
<math><option><option></html><option></option> used to crash the parser
https://bugs.webkit.org/show_bug.cgi?id=75317

Reviewed by Eric Seidel.

Add a test so that this case continues to not crash.

* fast/parser/math-options-crash-expected.txt: Added.
* fast/parser/math-options-crash.html: Added.

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

9 years agogetComputedStyle for border-style is not implemented.
alexis.menard@openbossa.org [Wed, 28 Dec 2011 20:18:03 +0000 (20:18 +0000)]
getComputedStyle for border-style is not implemented.
https://bugs.webkit.org/show_bug.cgi?id=75312

Reviewed by Andreas Kling.

Source/WebCore:

Implement getComputedStyle for border-style.

Test: fast/css/getComputedStyle/getComputedStyle-border-style-shorthand.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests:

Add test to cover that we return correct values.

* fast/css/getComputedStyle/getComputedStyle-border-style-shorthand-expected.txt: Added.
* fast/css/getComputedStyle/getComputedStyle-border-style-shorthand.html: Added.

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

9 years agogetComputedStyle for border-bottom, border-top, border-left, border-right is not...
alexis.menard@openbossa.org [Wed, 28 Dec 2011 20:13:44 +0000 (20:13 +0000)]
getComputedStyle for border-bottom, border-top, border-left, border-right is not implemented.
https://bugs.webkit.org/show_bug.cgi?id=74743

Reviewed by Tony Chang.

Source/WebCore:

Implement getComputedStyle for border-top, border-bottom, border-right, border-left.

Test: fast/css/getComputedStyle/getComputedStyle-border-shorthand.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
(WebCore::CSSComputedStyleDeclaration::getCSSPropertyValuesForShorthandProperties):
* css/CSSComputedStyleDeclaration.h:

LayoutTests:

Add test to cover that we return correct values.

* fast/css/getComputedStyle/getComputedStyle-border-shorthand-expected.txt: Added.
* fast/css/getComputedStyle/getComputedStyle-border-shorthand.html: Added.

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

9 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: http://svn.webkit.org/repository/webkit/trunk@103773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103772 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103771 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103769 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103763 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103761 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103755 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103748 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103744 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103743 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103740 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103734 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103733 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103730 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103727 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103718 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103715 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 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: http://svn.webkit.org/repository/webkit/trunk@103706 268f45cc-cd09-0410-ab3c-d52691b4dbfc