Unreviewed GTK gardening.

Adjust and move expectations for tests in svg/ and tables/ as
necessary to cover current testing situation for both WebKit1 and WebKit2.

* platform/gtk-wk1/TestExpectations:
* platform/gtk-wk2/TestExpectations:
* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: fix DefaultTextEditor's broken backspace
https://bugs.webkit.org/show_bug.cgi?id=107130

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-17
Reviewed by Pavel Feldman.

Source/WebCore:

Remove css "position: relative;" style from "webkit-line-content" class, which
somehow brakes editing experience. Remove "height: 100%" from text-editor-overlay-highlight
class and cast necessary height via inserting "&nbsp;" into overlay span elements.

No new tests: no change in behaviour.

* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel.prototype._appendOverlayHighlight):
* inspector/front-end/textEditor.css:
(.text-editor-overlay-highlight):

LayoutTests:

Fix test expected results to correspond to changes.

* inspector/editor/text-editor-highlight-regexp-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Final rebaselines after Skia flags changed
https://bugs.webkit.org/show_bug.cgi?id=106833
https://bugs.webkit.org/show_bug.cgi?id=99138

Unreviewed test expectations update

* platform/chromium-linux/fast/borders/outline-alpha-inline-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/foreign-object-skew-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix vprintf_stderr_common() to compile with -Wshorten-64-to-32
<http://webkit.org/b/107126>

Reviewed by Darin Adler.

Fixes the following build error:

    Assertions.cpp:92:22: error: implicit conversion loses integer precision: 'CFIndex' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32]
            int length = CFStringGetMaximumSizeForEncoding(CFStringGetLength(str), kCFStringEncodingUTF8);
                ~~~~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

* wtf/Assertions.cpp:
(vprintf_stderr_common): Use CFIndex type instead of int for the
return value of CFStringGetMaximumSizeForEncoding().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium} Removing extraneous expectations

Unreviewed expectations clean-up

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Don't use NSApplication run loop in NetworkProcess
        https://bugs.webkit.org/show_bug.cgi?id=107061

        Reviewed by Anders Carlsson.

        Only WebProcess and PluginProcess should use Cocoa APIs that require the run loop.

        * PluginProcess/mac/PluginProcessMac.mm:
        (WebKit::PluginProcess::platformInitializePluginProcess):
        * WebProcess/mac/WebProcessMac.mm:
        (WebKit::WebProcess::platformInitializeProcess):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Test expectations update after Skia shader changes

Unreviewed new GPU expectations

* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png:
* platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r139929.
http://trac.webkit.org/changeset/139929
https://bugs.webkit.org/show_bug.cgi?id=107141

Speculative fix didn't work (Requested by jsbell on #webkit).

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

* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[AC] Memory leak in GLXConfigSelector::createConfig()
https://bugs.webkit.org/show_bug.cgi?id=106657

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2013-01-17
Reviewed by Laszlo Gombos.

Free the memory returned by glXGetVisualFromFBConfig() using
XFree to avoid a memory leak.

No new tests. No change in behavior.

* platform/graphics/surfaces/glx/GLXConfigSelector.h:
(WebCore::GLXConfigSelector::createConfig):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix texImage2D from a WebGL canvas.
https://bugs.webkit.org/show_bug.cgi?id=106941

Patch by John Bauman <jbauman@chromium.org> on 2013-01-17
Reviewed by Kenneth Russell.

Source/WebCore:

Clear the copied image whenever the canvas is modified, even if using
accelerated compositing.

Test: fast/canvas/webgl/tex-image-webgl.html

* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::markContextChanged):

LayoutTests:

Add test to ensure doing teximage2d from a webgl canvas works. This
test is the same as a webgl conformance test.

* fast/canvas/webgl/tex-image-webgl-expected.txt: Added.
* fast/canvas/webgl/tex-image-webgl.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Remove a --es5_readonly flag from V8 initialization and address duplicated code
https://bugs.webkit.org/show_bug.cgi?id=106790

Patch by Peter Rybin <peter.rybin@gmail.com> on 2013-01-17
Reviewed by Kentaro Hara.

Couple of statements are moved to a newly created method. Old V8 flag setter is removed
according to FIXME and per V8 change http://code.google.com/p/v8/source/detail?r=12415

* bindings/v8/V8Initializer.cpp:
(WebCore::initializeV8Common): newly created method
(WebCore):
(WebCore::V8Initializer::initializeMainThreadIfNeeded):
(WebCore::V8Initializer::initializeWorker):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary public method TiledBackingStore::supportsAlpha()
https://bugs.webkit.org/show_bug.cgi?id=107067

Patch by Jae Hyun Park <jae.park@company100.net> on 2013-01-17
Reviewed by Kentaro Hara.

This patch removes unnecessary public method TiledBackingStore::supportsAlpha()
because supportsAlpha() is never called from other classes.

No new tests, no change in behavior.

* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::setSupportsAlpha):
* platform/graphics/TiledBackingStore.h:
(TiledBackingStore):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][CMAKE] Compress resource files of inspector
https://bugs.webkit.org/show_bug.cgi?id=106210

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-01-17
Reviewed by Gyuyoung Kim.

Add compressing JavaScript
for smaller package and faster connection of remote web inspector.

* Source/PlatformEfl.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Added svn:ignore=*.pyc, so that ud_opcode.pyc and ud_optable.pyc don't show up
        in svn stat.

        * disassembler/udis86: Added property svn:ignore.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Spectrum] Color picker in CSS editor does not update textual color value
https://bugs.webkit.org/show_bug.cgi?id=107110

Reviewed by Vsevolod Vlasov.

The Spectrum picker was never told to update the textual color upon user-initiated color changes.

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype.updateTitle.):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.
https://bugs.webkit.org/show_bug.cgi?id=107113

Skipping test with missing expectation result.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-01-17

* platform/efl-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Timeline] REGRESSION: Sidebar shrinks when user switches to memory statistics mode.
https://bugs.webkit.org/show_bug.cgi?id=105857

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-17
Reviewed by Pavel Feldman.

Fix: do not apply constraints to sidebar width while view is offscreen;
constraint check will be applied when view goes visible.

* inspector/front-end/SidebarView.js:
(WebInspector.SidebarView.prototype.applyConstraints): Check if view is
offscreen.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Network] Memory leaks when user walks between requests.
https://bugs.webkit.org/show_bug.cgi?id=107114

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-17
Reviewed by Vsevolod Vlasov.

Unregister event listeners when view is detached.

* inspector/front-end/RequestCookiesView.js: Fixed memory leak.
* inspector/front-end/RequestHeadersView.js: Ditto.
* inspector/front-end/RequestTimingView.js: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "loadHeapSnapshot"
https://bugs.webkit.org/show_bug.cgi?id=104545

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-17
Reviewed by Yury Semikhatsky.

Source/WebCore:

This change will allow stronger typing of profiler output.

* inspector/Inspector.json:
Split "getProfile" to "getCPUProfile" and "getHeapSnapshot".
* inspector/InspectorProfilerAgent.cpp: Ditto.
* inspector/InspectorProfilerAgent.h: Ditto.
* inspector/front-end/CPUProfileView.js: Adopd changes.
* inspector/front-end/HeapSnapshotView.js: Ditto.

Source/WebKit/chromium:

Adopt changes: mimic old behavior.

* src/WebDevToolsAgentImpl.cpp: Adopt signature changes.

Tools:

Adopt signature changes.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
(ProfilerAgent.getCPUProfile): Renamed.
(ProfilerAgent.getHeapSnapshot): Added.

LayoutTests:

Adopted new method signatures.

* inspector/profiler/heap-snapshot-get-profile-crash.html:
Adopted new method signatures.
* inspector/profiler/heap-snapshot-loader.html: Ditto.
* inspector/profiler/heap-snapshot-test.js: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] svg/custom/text-use-click-crash.xhtml added by r139029 hits assertion in enclosingTextFormControl
https://bugs.webkit.org/show_bug.cgi?id=106361

Reviewed by Darin Adler.

Source/WebCore:

When ASSERT hit in enclosingTextFormControl(Position), position.anchorNode() was /use/shadow-root/text,
and position.anchorType() was PositionIsBeforeAnchor. In this case, position.containerNode() should be
ShadowRoot if SHADOW_DOM flag is enabled. However, SHADOW_DOM flag is not enabled in mac port,
position.containerNode() returns 0. This hits ASSERT.

We have two options to solve this problem. (1) is to allow Position to have ShadowRoot as a container node,
but this will affect a lot of code. (2) is to loosen ASSERT condition.

I've chosen (2) option in this patch.

Test: svg/custom/text-use-click-crash.xhtml should cover this.

* html/HTMLTextFormControlElement.cpp:
(WebCore::enclosingTextFormControl):

LayoutTests:

Removed crash test expectation.

* platform/mac/TestExpectations:


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