Unreviewed EFL gardening.
https://bugs.webkit.org/show_bug.cgi?id=99161

Unskip editing/pasteboard and add test expectations for failing tests.

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2012-10-12

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Fix run-binding-tests failures introduced in r131167.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateConstructorGetter):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore):
(WebCore::TestObjV8Internal::TestObjConstructorGetter):
(WebCore::V8TestObj::installPerContextProperties):
(WebCore::V8TestObj::installPerContextPrototypeProperties):
(WebCore::V8TestObj::wrapSlow):
* bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Resume button in element inspector -> scripts has tooltip 'pause script execution'
https://bugs.webkit.org/show_bug.cgi?id=99165

Reviewed by Pavel Feldman.

Pause/resume button title is now updated when debugger is paused/resumed.

* English.lproj/localizedStrings.js:
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._updateDebuggerButtons):
(WebInspector.ScriptsPanel.prototype._createDebugToolbar):
(WebInspector.ScriptsPanel.prototype._updateButtonTitle):
(WebInspector.ScriptsPanel.prototype._createButtonAndRegisterShortcuts):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: trim filename in the call stack sidebar
https://bugs.webkit.org/show_bug.cgi?id=99169

Reviewed by Yury Semikhatsky.

Otherwise long file names are rendered poorly.

* inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.Placard.prototype._update):
* inspector/front-end/inspector.css:
(.placard .subtitle):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: move delete watch expression farther from the expand triangle
https://bugs.webkit.org/show_bug.cgi?id=99166

Reviewed by Pavel Feldman.

Aligned 'delete watch expression' button on the right side (was on the left) so
that it is hard to click it when expanding watched value.

* inspector/front-end/inspector.css:
(.properties-tree.watch-expressions):
(.section .properties .delete-button):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: use hard-coded zoom factors instead of 1.2 powers.
https://bugs.webkit.org/show_bug.cgi?id=99173

Reviewed by Vsevolod Vlasov.

Overwise we step too fast.

* inspector/front-end/inspector.js:
(WebInspector._zoomIn):
(WebInspector._zoomOut):
(WebInspector):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Creating a MediaStream subscription in watchlist
https://bugs.webkit.org/show_bug.cgi?id=99172

Reviewed by Yuta Kitamura.

* Scripts/webkitpy/common/config/watchlist:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Gardening to make the bots green
https://bugs.webkit.org/show_bug.cgi?id=99176

Unreviewed EFL gardening.

Skip failing tests in order to make the bots green.

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-12

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Styles] !important priority not honored inside the same declaration
https://bugs.webkit.org/show_bug.cgi?id=99170

Reviewed by Yury Semikhatsky.

Source/WebCore:

Property priorities were not considered inside the same CSS rule. !important properties should stay active
even if followed by non-!important properties with the same name.

* inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyle::styleWithProperties):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.onpopulate):
(WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace):

LayoutTests:

* inspector/elements/elements-panel-styles-expected.txt:
* inspector/elements/resources/elements-panel-styles.css:
(.foo):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rebaseline inspector/styles/region-style-crash.html after r131176.

* inspector/styles/region-style-crash-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Share resources installed for inspector
https://bugs.webkit.org/show_bug.cgi?id=98991

Reviewed by Gyuyoung Kim.

.:

Now, WebKit1/Efl and WebKit2/Efl install same resources to different directory
when INSPECTOR is enabled.

This patch changes to install resources one time and share it.

* Source/PlatformEfl.cmake:
Extracted build scripts which install resources from WebKit/PlatformEfl.cmake.
* Source/cmake/OptionsEfl.cmake:

Source/WebKit:

* PlatformEfl.cmake:
Extracted build scripts which install resources to WebKit/PlatformEfl.cmake.

Source/WebKit2:

* PlatformEfl.cmake: Removed build script which install resources to share.
* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::inspectorPageURL): Modified not to use makeString.
(WebKit::WebInspectorProxy::inspectorBaseURL): Changed resource path.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Gardening of the WK2 Debug Bot failing tests
https://bugs.webkit.org/show_bug.cgi?id=99184

Unreviewed EFL gardening.

Skip failing tests on WK2 debug bot. Also, unskip tests that are
consistently passing.

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-12

* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:
* platform/efl-wk2/http/tests/loading/text-content-type-with-binary-extension-expected.txt:
* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] More pixel expectations and gardening.

Skip some pixel tests which are failing in WK1 and add correct PNG
baselines for quite a few tests which render correctly in WK2.

* platform/efl-wk1/TestExpectations:
* platform/efl/TestExpectations:
* platform/efl/compositing/fixed-position-scroll-offset-history-restore-expected.png: Added.
* platform/efl/compositing/geometry/fixed-in-composited-expected.png:
* platform/efl/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/efl/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/efl/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/efl/compositing/repaint/newly-composited-repaint-rect-expected.png: Added.
* platform/efl/fast/block/positioning/rtl-fixed-positioning-expected.png:
* platform/efl/fast/block/positioning/vertical-rl/fixed-positioning-expected.png:
* platform/efl/fast/dynamic/anchor-lock-expected.png:
* platform/efl/fast/events/autoscroll-expected.png:
* platform/efl/fast/events/reveal-link-when-focused-expected.png:
* platform/efl/fast/layers/scroll-rect-to-visible-expected.png:
* platform/efl/fast/multicol/scrolling-overflow-expected.png:
* platform/efl/fast/multicol/shrink-to-column-height-for-pagination-expected.png:
* platform/efl/fast/overflow/clip-rects-fixed-ancestor-expected.png:
* platform/efl/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/efl/fast/overflow/scrollRevealButton-expected.png:
* platform/efl/fast/repaint/absolute-position-changed-expected.png:
* platform/efl/fast/repaint/fixed-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-and-absolute-position-scrolled-expected.png:
* platform/efl/fast/repaint/fixed-child-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-expected.png:
* platform/efl/fast/repaint/fixed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-scale-expected.png:
* platform/efl/fast/repaint/fixed-scroll-simple-expected.png:
* platform/efl/fast/repaint/fixed-table-cell-expected.png:
* platform/efl/fast/repaint/fixed-table-overflow-expected.png:
* platform/efl/fast/repaint/fixed-table-overflow-zindex-expected.png:
* platform/efl/fast/repaint/fixed-tranformed-expected.png:
* platform/efl/fast/repaint/repaint-during-scroll-expected.png:
* platform/efl/fast/repaint/scroll-absolute-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png:
* platform/efl/fast/repaint/scroll-fixed-reflected-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-fixed-layer-expected.png:
* platform/efl/fast/repaint/scroll-relative-table-inside-table-cell-expected.png: Added.
* platform/efl/fast/text/atsui-negative-spacing-features-expected.png:
* platform/efl/fast/text/justify-ideograph-complex-expected.png:
* platform/efl/fast/text/large-text-composed-char-expected.png:
* platform/efl/http/tests/loading/simple-subframe-expected.png: Added.
* platform/efl/svg/as-image/img-preserveAspectRatio-support-1-expected.png:
* platform/efl/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1647-expected.png: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Note that this test is flaky.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r131189.
http://trac.webkit.org/changeset/131189
https://bugs.webkit.org/show_bug.cgi?id=99187

Made inspector http tests crash on WK2. (Requested by rakuco
on #webkit).

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

.:

* Source/PlatformEfl.cmake:
* Source/cmake/OptionsEfl.cmake:

Source/WebKit:

* PlatformEfl.cmake:

Source/WebKit2:

* PlatformEfl.cmake:
* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::inspectorPageURL):
(WebKit::WebInspectorProxy::inspectorBaseURL):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
More baselines updates after http://trac.webkit.org/changeset/131134.
It seems http://trac.webkit.org/changeset/131158 wasn't quite complete.

* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-no-markup-expected.png: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-linux-x86/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-linux-x86/svg/text/bidi-text-query-expected.txt: Removed.
* platform/chromium-linux-x86/transforms/2d/hindi-rotated-expected.png: Removed.
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-linux/svg/text/bidi-text-query-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/text/bidi-text-query-expected.txt: Removed.
* platform/chromium-win-xp/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-win-xp/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-win-xp/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Removed.
* platform/chromium-win-xp/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Removed.
* platform/chromium-win-xp/svg/text/bidi-text-query-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderBR should share its constant newline string between instances.
<http://webkit.org/b/99121>

Reviewed by Anders Carlsson.

* rendering/RenderBR.cpp:
(WebCore::newlineString):
(WebCore::RenderBR::RenderBR):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a basic NetworkProcess.app to the WebKit2 build
https://bugs.webkit.org/show_bug.cgi?id=98543

Reviewed by Sam Weinig.

This change sets up the Mac build to include a NetworkProcess.app.
It also launches this app when the first WebProcess is created.
It then quits this app when the UIProcess terminates.

The app, it does nothing.
                     -McBain

Pure project file/build system stuff:
* Configurations/NetworkProcess.xcconfig: Added.
* WebKit2.xcodeproj/project.pbxproj:
* WebKit2Prefix.h:

Basic UIProcess side of things:
* UIProcess/Network/NetworkProcessProxy.cpp: Added.
(WebKit):
(WebKit::NetworkProcessProxy::create):
(WebKit::NetworkProcessProxy::NetworkProcessProxy):
(WebKit::NetworkProcessProxy::~NetworkProcessProxy):
(WebKit::NetworkProcessProxy::didReceiveMessage):
(WebKit::NetworkProcessProxy::didClose):
(WebKit::NetworkProcessProxy::didReceiveInvalidMessage):
(WebKit::NetworkProcessProxy::syncMessageSendTimedOut):
(WebKit::NetworkProcessProxy::didFinishLaunching):
* UIProcess/Network/NetworkProcessProxy.h: Added.
(WebKit):
(NetworkProcessProxy):

Basic NetworkProcess side of things:
* NetworkProcess/Info.plist: Added.
* NetworkProcess/NetworkProcess.cpp: Added.
(WebKit):
(WebKit::NetworkProcess::shared):
(WebKit::NetworkProcess::NetworkProcess):
(WebKit::NetworkProcess::~NetworkProcess):
(WebKit::NetworkProcess::initialize):
(WebKit::NetworkProcess::shouldTerminate):
(WebKit::NetworkProcess::didReceiveMessage):
(WebKit::NetworkProcess::didClose):
(WebKit::NetworkProcess::didReceiveInvalidMessage):
(WebKit::NetworkProcess::syncMessageSendTimedOut):
* NetworkProcess/NetworkProcess.h: Added.
(WebCore):
(WebKit):
(NetworkProcess):

Add the main method for the NetworkProcess itself:
* WebProcess/WebKitMain.cpp:
(WebKitMain):
* NetworkProcess/NetworkProcessMain.h: Added.
(WebKit):
* NetworkProcess/mac/NetworkProcessMainMac.mm: Added.
(WebKit):
(WebKit::NetworkProcessMain):

Teach ProcessLauncher about the new app type:
* UIProcess/Launcher/ProcessLauncher.cpp:
(WebKit::ProcessLauncher::processTypeAsString):
(WebKit::ProcessLauncher::getProcessTypeFromString):
* UIProcess/Launcher/ProcessLauncher.h:
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::createProcess):

Launch the NetworkProcess when we launch the first WebProcess:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::ensureNetworkProcess):
* UIProcess/WebContext.h:
(WebContext):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening.

* platform/qt-5.0-wk2/css3/filters/composited-during-animation-layertree-expected.txt: Updated.
* platform/qt/TestExpectations: Skip a flakey test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Check parameter's safety first
https://bugs.webkit.org/show_bug.cgi?id=99136

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2012-10-12
Reviewed by Chris Rogers.

Pointer parameter was used before NULL checking.
This patch moves safety checking statements to the head of the function.

No new tests. No behavior change.

* platform/audio/AudioChannel.cpp:
(WebCore::AudioChannel::copyFromRange):
(WebCore::AudioChannel::sumFrom):
* platform/audio/EqualPowerPanner.cpp:
(WebCore::EqualPowerPanner::pan):

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