WebKit-https.git
6 years agoTake the normal NSView code path when drawing into an inclusive layer
andersca@apple.com [Fri, 31 May 2013 21:55:24 +0000 (21:55 +0000)]
Take the normal NSView code path when drawing into an inclusive layer
https://bugs.webkit.org/show_bug.cgi?id=117094
<rdar://problem/13812355>

Reviewed by Sam Weinig.

For now, take the normal code path when drawing into an inclusive layer.

* platform/mac/WidgetMac.mm:
(WebCore::Widget::paint):

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

6 years agoSource/WebCore: Update low memory handler to use new memory pressure notifications...
slewis@apple.com [Fri, 31 May 2013 21:44:26 +0000 (21:44 +0000)]
Source/WebCore: Update low memory handler to use new memory pressure notifications on new OS versions.
<rdar://problem/14027095>

Reviewed by Mark Rowe.

No change in functionality.

* WebCore.exp.in:
* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::install): Call new API
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Source/WebKit/mac: Update low memory handler to use new memory pressure notifications on new OS versions.
<rdar://problem/14027095>

Reviewed by Mark Rowe.

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Source/WebKit2: Update low memory handler to use new memory pressure notifications on new OS versions.
<rdar://problem/14027095>

Reviewed by Mark Rowe.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

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

6 years ago[BlackBerry] Update Button UX.
commit-queue@webkit.org [Fri, 31 May 2013 20:44:53 +0000 (20:44 +0000)]
[BlackBerry] Update Button UX.
https://bugs.webkit.org/show_bug.cgi?id=116992

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-05-31
Reviewed by Rob Buis.

BlackBerry PR 342298.
Internally Review by Jeff Rogers.

* css/themeBlackBerry.css:

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

6 years agoDerivedSources.make: any rules that use $(FEATURE_DEFINES) should be rebuilt when...
ddkilzer@apple.com [Fri, 31 May 2013 20:27:41 +0000 (20:27 +0000)]
DerivedSources.make: any rules that use $(FEATURE_DEFINES) should be rebuilt when FeatureDefines.xcconfig changes
<http://webkit.org/b/117081>

Reviewed by Mark Rowe.

* DerivedSources.make: Add $(PLATFORM_FEATURE_DEFINES)
dependency for all rules that use $(FEATURE_DEFINES) to generate
files.
(PLATFORM_FEATURE_DEFINES): Set this variable to
Configurations/FeatureDefines.xcconfig if not already set on
Mac OS X.

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

6 years ago REGRESSION (r141445): MPEG-4 videos do not play on certain hardware configura...
ap@apple.com [Fri, 31 May 2013 20:16:26 +0000 (20:16 +0000)]
    REGRESSION (r141445): MPEG-4 videos do not play on certain hardware configurations
        https://bugs.webkit.org/show_bug.cgi?id=117089
        <rdar://problem/13839717>

        Reviewed by Mark Rowe.

        * Configurations/WebContentProcess.xcconfig: Statically link to a framework that
        uses an XPC service to work around a libxpc limitation on Lion.

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

6 years agoText Field UX updates.
commit-queue@webkit.org [Fri, 31 May 2013 19:08:58 +0000 (19:08 +0000)]
Text Field UX updates.
https://bugs.webkit.org/show_bug.cgi?id=116996

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-05-31
Reviewed by Rob Buis.

BlackBerry PR 342333.
Internally Reviewed by Jeff Rogers.

Update disabled text field font color.

* css/themeBlackBerry.css:

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

6 years ago[sh4] Fix Overflow case of branchMul32 in baseline JIT.
commit-queue@webkit.org [Fri, 31 May 2013 18:22:57 +0000 (18:22 +0000)]
[sh4] Fix Overflow case of branchMul32 in baseline JIT.
https://bugs.webkit.org/show_bug.cgi?id=117057

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-31
Reviewed by Oliver Hunt.

Current implementation of Overflow case in branchMul32 performs an
unsigned multiplication whereas a signed multiplication is expected.

* assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::branchMul32):

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

6 years ago[sh4] Fix floating point comparisons in baseline JIT.
commit-queue@webkit.org [Fri, 31 May 2013 18:22:05 +0000 (18:22 +0000)]
[sh4] Fix floating point comparisons in baseline JIT.
https://bugs.webkit.org/show_bug.cgi?id=117066.

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-31
Reviewed by Oliver Hunt.

Current implementation of branchDouble function in baseline JIT is wrong
for some conditions and overkill for others. For instance:
- With DoubleGreaterThanOrEqual condition, branch will be taken if either
  operand is NaN with current implementation whereras it should not.
- With DoubleNotEqualOrUnordered condition, performed NaN checks are
  useless (because comparison result is false if either operand is NaN).

* assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::branchDouble):

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

6 years ago[sh4] Fix double floating point transfer in baseline JIT.
commit-queue@webkit.org [Fri, 31 May 2013 18:21:23 +0000 (18:21 +0000)]
[sh4] Fix double floating point transfer in baseline JIT.
https://bugs.webkit.org/show_bug.cgi?id=117054

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-31
Reviewed by Oliver Hunt.

In current implementation, dmovRegReg function transfers only one single
FPRegister as PR=1 and SZ=0 in floating point status/control register.
Double transfers must be performed with two fmov.s opcodes.

* assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::moveDouble):
(JSC::MacroAssemblerSH4::addDouble): Handle (op2==dest) case properly.
(JSC::MacroAssemblerSH4::sqrtDouble):
* assembler/SH4Assembler.h:
(JSC::SH4Assembler::fmovsRegReg):

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

6 years ago[sh4] Handle branchType properly in branchTruncateDoubleToInt32.
commit-queue@webkit.org [Fri, 31 May 2013 18:19:15 +0000 (18:19 +0000)]
[sh4] Handle branchType properly in branchTruncateDoubleToInt32.
https://bugs.webkit.org/show_bug.cgi?id=117062

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-31
Reviewed by Oliver Hunt.

Current implementation of branchTruncateDoubleToInt32 is incorrect
when branchType == BranchIfTruncateSuccessful in sh4 baseline JIT.

* assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::branchTruncateDoubleToInt32):

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

6 years agoUpdate CheckedInt.h to latest version from Mozilla
dino@apple.com [Fri, 31 May 2013 17:45:51 +0000 (17:45 +0000)]
Update CheckedInt.h to latest version from Mozilla
https://bugs.webkit.org/show_bug.cgi?id=117009

Reviewed by Darin Adler.

Mozilla have updated their version of CheckedInt and suggested
we sync. Here are the improvements:

- CheckedInt now consistently rejects unsupported types. Before, you
could sometimes construct a CheckedInt from an unsupported type (like,
float) or multiply a CheckedInt by a float, and have it not caught! See
https://bugzilla.mozilla.org/show_bug.cgi?id=869194
 - Fixed a possibility of undefined behavior in unary operator-. See bug
https://bugzilla.mozilla.org/show_bug.cgi?id=849666
 - CheckedInt now supports the "long long" and "unsigned long long"
types. We don't like "long long" (and neither does the Google C++ style
guide!) but we had to do that because libogg exposes typedefs to those
types. See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=869685
 - CheckedInt also now supports "signed char" in addition to "char" ---
they are not the same type! See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=847521
 - Fixed and simplified usage of CheckedInt outside of Mozilla. You'll
like this one! See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=849667
 - Fixed compilation with the Intel C++ compiler. See bug https://bugzilla.mozilla.org/show_bug.cgi?id=784309

* html/canvas/CheckedInt.h: Updated.

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

6 years agoDon't create an accelerated compositing layer unless we have to for snapshotting...
dino@apple.com [Fri, 31 May 2013 17:04:13 +0000 (17:04 +0000)]
Don't create an accelerated compositing layer unless we have to for snapshotting plug-ins
https://bugs.webkit.org/show_bug.cgi?id=117076
<rdar://problem/14030364>

Reviewed by Beth Dakin and Anders Carlsson.

If a plug-in can support software snapshotting, then don't create an
accelerated compositing layer for it while in snapshot mode. This is a
better user experience -- otherwise the page/plug-in looks like it broke.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::isAcceleratedCompositingEnabled): If we are in snapshotting mode
and we are a Flash plugin (the only one that supports software snapshots at the moment)
then do not create an accelerated compositing layer.

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

6 years ago[Windows] Unreviewed build fix for VS2005 builders.
bfulgham@apple.com [Fri, 31 May 2013 17:02:14 +0000 (17:02 +0000)]
[Windows] Unreviewed build fix for VS2005 builders.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def: Add
missing export for WTF::SHA1::computeHexDigest

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

6 years agoUnreviewed, rolling out r151022.
commit-queue@webkit.org [Fri, 31 May 2013 16:57:56 +0000 (16:57 +0000)]
Unreviewed, rolling out r151022.
http://trac.webkit.org/changeset/151022
https://bugs.webkit.org/show_bug.cgi?id=117084

Also breaks build by introducing duplicate symbols (Requested
by bfulgham on #webkit).

* TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:

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

6 years ago[Windows] Unreviewed build fix to NRWT
bfulgham@apple.com [Fri, 31 May 2013 16:45:31 +0000 (16:45 +0000)]
[Windows] Unreviewed build fix to NRWT

* Scripts/webkitpy/port/win.py:
(WinPort.create_debugger_command_file): Use proper argument for _filesystem.write_text_file.

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

6 years ago[Windows] Unreviewed build fix after r151012
bfulgham@apple.com [Fri, 31 May 2013 16:31:29 +0000 (16:31 +0000)]
[Windows] Unreviewed build fix after r151012

* TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Add dependency on
WTF library to support SHA tests

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

6 years agoMake sure gstreamer source element is thread-safe
commit-queue@webkit.org [Fri, 31 May 2013 16:17:47 +0000 (16:17 +0000)]
Make sure gstreamer source element is thread-safe
https://bugs.webkit.org/show_bug.cgi?id=115352

Patch by Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk> on 2013-05-31
Reviewed by Philippe Normand.

GStreamer source element may be created by any gstreamer element on any thread by calling
gst_element_make_from_uri with the URIs handled by the source element.
This patch makes sure the gstreamer source element is thread-safe to avoid issues with it
being created outside the main thread.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(_WebKitWebSrcPrivate):
(webkit_web_src_init):
(webKitWebSrcFinalize):
(webKitWebSrcSetProperty):
(webKitWebSrcGetProperty):
(webKitWebSrcStop):
(webKitWebSrcStart):
(webKitWebSrcChangeState):
(webKitWebSrcQueryWithParent):
(webKitWebSrcGetUri):
(webKitWebSrcSetUri):
(webKitWebSrcNeedDataMainCb):
(webKitWebSrcEnoughDataMainCb):
(webKitWebSrcSeekMainCb):
(webKitWebSrcSeekDataCb):
(webKitWebSrcSetMediaPlayer):
(StreamingClient::StreamingClient):
(StreamingClient::~StreamingClient):
(StreamingClient::didReceiveResponse):
(StreamingClient::didReceiveData):
(StreamingClient::didFinishLoading):
(StreamingClient::wasBlocked):
(StreamingClient::cannotShowURL):

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

6 years agoFix double hash lookup in PageMapMemoryUsageRecorder::visit
rafael.lobo@openbossa.org [Fri, 31 May 2013 16:16:11 +0000 (16:16 +0000)]
Fix double hash lookup in PageMapMemoryUsageRecorder::visit
https://bugs.webkit.org/show_bug.cgi?id=117071

Reviewed by Andreas Kling.

* wtf/FastMalloc.cpp:
(WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):

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

6 years ago[Windows] Unreviewed build fix after r151012
bfulgham@apple.com [Fri, 31 May 2013 16:14:22 +0000 (16:14 +0000)]
[Windows] Unreviewed build fix after r151012

* TestWebKitAPI/Tests/WTF/MD5.cpp: Include <wtf/StringExtras.h> to provide
snprintf definition for Windows.

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

6 years ago[Windows] Speculative build fix for pre-VS2010 compilers
bfulgham@apple.com [Fri, 31 May 2013 16:01:35 +0000 (16:01 +0000)]
[Windows] Speculative build fix for pre-VS2010 compilers

* wtf/Platform.h: Only treat WTF as DLL for VS2010 builds

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

6 years agoUnreviewed gardening. Update test-expectations after r151000.
jer.noble@apple.com [Fri, 31 May 2013 15:53:54 +0000 (15:53 +0000)]
Unreviewed gardening. Update test-expectations after r151000.

* fast/js/date-DST-time-cusps-expected.txt:

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

6 years agoBuild fix when CSSParser debugging is enabled
sergio@webkit.org [Fri, 31 May 2013 15:52:08 +0000 (15:52 +0000)]
Build fix when CSSParser debugging is enabled
https://bugs.webkit.org/show_bug.cgi?id=117075

Reviewed by Andreas Kling.

Build fails when enabling parser debugging by setting YYDEBUG to
1 because of a missing include.

* css/CSSGrammar.y.includes:

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

6 years ago[Qt][WK2] Newly added editing/selection/caret-after-keypress.html crashing
eustas@chromium.org [Fri, 31 May 2013 15:21:40 +0000 (15:21 +0000)]
[Qt][WK2] Newly added editing/selection/caret-after-keypress.html crashing
https://bugs.webkit.org/show_bug.cgi?id=117070

Unreviewed test expectations update.

WebKitTestRunner needs a more-complete implementation of eventSender.
Until then caret-after-keypress test is disabled

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

* platform/qt-5.0-wk2/TestExpectations:

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

6 years ago[Qt] Unreviewed gardening.
zarvai@inf.u-szeged.hu [Fri, 31 May 2013 13:29:28 +0000 (13:29 +0000)]
[Qt] Unreviewed gardening.

* platform/qt-5.0-wk1/TestExpectations: Skip flaky test.
* platform/qt-5.0-wk2/TestExpectations: Skip crashing test.
* platform/qt/fast/js/date-DST-time-cusps-expected.txt: Rebaselining after r151000.

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

6 years ago[Soup] [Gstreamer] ASSERT in StreamingClient::getOrCreateReadBuffer
commit-queue@webkit.org [Fri, 31 May 2013 10:25:08 +0000 (10:25 +0000)]
[Soup] [Gstreamer] ASSERT in StreamingClient::getOrCreateReadBuffer
https://bugs.webkit.org/show_bug.cgi?id=116686

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-31
Reviewed by Carlos Garcia Campos.

We were using g_input_stream_read_async() to handle redirections
because of Gnome bug #691489.

This produces an unexpected read attempt which triggers an assert
in StreamingClient::getOrCreateReadBuffer().

Now that the Gnome bug is fixed we can replace read_async() with
skip_async().

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::ResourceHandle::ensureReadBuffer):
(WebCore::redirectSkipCallback):
(WebCore::sendRequestCallback):

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

6 years agoMove MD5, SHA1 unit tests from WTF to TestWebKitAPI
commit-queue@webkit.org [Fri, 31 May 2013 10:06:32 +0000 (10:06 +0000)]
Move MD5, SHA1 unit tests from WTF to TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=116445

Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-05-31
Reviewed by Benjamin Poulain.

Source/WTF:

Remove the MD5 and SHA1 test cases from the WTF code. The same cases are now built and run under TestWebKitAPI.

* wtf/MD5.cpp:
(WTF::MD5::MD5):
* wtf/SHA1.cpp:
(WTF::SHA1::SHA1):

Tools:

Add the MD5 and SHA1 unit tests that were previously located inside WTF.

* TestWebKitAPI/CMakeLists.txt:
* TestWebKitAPI/GNUmakefile.am:
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/MD5.cpp: Added.
(TestWebKitAPI):
(TestWebKitAPI::expectMD5):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WTF/SHA1.cpp: Added.
(TestWebKitAPI):
(TestWebKitAPI::expectSHA1):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WTF/WTF.pro:
* TestWebKitAPI/win/TestWebKitAPI.vcproj:

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

6 years ago[EFL] Update EFL TextExpectation for WebAudio cases.
commit-queue@webkit.org [Fri, 31 May 2013 08:58:04 +0000 (08:58 +0000)]
[EFL] Update EFL TextExpectation for WebAudio cases.
https://bugs.webkit.org/show_bug.cgi?id=117061.

Unreviewed EFL Gardening.

WebAudio test cases delaynode-max-nondefault-delay.html, delaynode-scheduling.html
and javascriptaudionode.html pass with latest updates in efl port. Updating
TestExpectation accordingly.

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-05-31

* platform/efl/TestExpectations:

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

6 years ago[Mac] Should pass http/tests/images/png-partial-load-no-alpha.html
noel.gordon@gmail.com [Fri, 31 May 2013 07:15:03 +0000 (07:15 +0000)]
[Mac] Should pass http/tests/images/png-partial-load-no-alpha.html
https://bugs.webkit.org/show_bug.cgi?id=97170

Unreviewed test expectations update.

* platform/mac/TestExpectations: Passing after r150340: remove the
Mac-specfic [ImageOnlyFailure] for this test.

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

6 years agoselectionStart/selectionEnd return "obsolete" values when requested during "input...
eustas@chromium.org [Fri, 31 May 2013 05:14:45 +0000 (05:14 +0000)]
selectionStart/selectionEnd return "obsolete" values when requested during "input" event
https://bugs.webkit.org/show_bug.cgi?id=110742

Reviewed by Ryosuke Niwa.

Source/WebCore:

This patch defers firing "webkitEditableContentChanged" until new
selection is applied to control. This makes selection during "input"
more consistent and reliable.

Background: "input" event is fired by "webkitEditableContentChanged"
dispatcher. But "input" is scoped event, so under some conditions its
dispatching may be deferred. When "input" dispatching is deferred,
dispatcher observes updated selectionStart and selectionEnd.
Otherwise values repersent state before applying editing command.

So, to make selectionStart/End to be more predictable and useful, we
need either always dispatch "input" before selection is updated, or
always dispatch "input" after selection is updated.

As it was mentioned, dispatching could be deferred by scoping. So
dispatching before updating selection couldn't be guaranteed.
Moreover, it will be hard to calculate updated selection in user
code. On the other side - old selection could be easily tracked.

So, it looks logically that we should guarantee dispatching "input"
after updating selection. There are no execution paths in
"webkitEditableContentChanged" dispatched that depends on current
selection. So it is safe to fire this event after selection is updated.

Test: editing/selection/caret-after-keypress.html

* editing/Editor.cpp:
Dispatch "input" event after new selection in applied.

LayoutTests:

Test that cursor is up-to-date during "input" event.

* editing/selection/caret-after-keypress-expected.txt: Added.
* editing/selection/caret-after-keypress.html: Added.
* platform/mac-wk2/TestExpectations: Exclude new test.

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

6 years agoUnreviewed, EFL gardening.
gyuyoung.kim@samsung.com [Fri, 31 May 2013 04:32:12 +0000 (04:32 +0000)]
Unreviewed, EFL gardening.

Some of tests in printing are passing on EFL WK2. But, they are still failing on EFL WK1.

* platform/efl/TestExpectations:

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

6 years ago[Windows] Unreviewed build correction.
bfulgham@apple.com [Fri, 31 May 2013 03:59:58 +0000 (03:59 +0000)]
[Windows] Unreviewed build correction.

* Scripts/webkitpy/port/win.py:
(WinPort.create_debugger_command_file): The directory needs to be
a string, not a temporary directory object.

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

6 years ago[Windows] NRWT doesn't save crash logs on Apple's Windows port.
bfulgham@apple.com [Fri, 31 May 2013 03:31:18 +0000 (03:31 +0000)]
[Windows] NRWT doesn't save crash logs on Apple's Windows port.
https://bugs.webkit.org/show_bug.cgi?id=76935

Reviewed by Ryosuke Niwa.

Extend the WinPort class with commands to set and clean up various registry
values needed to invoke the correct debugger to get crash files.

* Scripts/webkitpy/port/win.py:
(WinPort): Added global caches for registry keys and settings
(WinPort._ntsd_location): Added
(WinPort.create_debugger_command_file): Added
(WinPort.read_registry_string): Added
(WinPort.write_registry_string): Added
(WinPort.setup_crash_log_saving): Added
(WinPort.restore_crash_log_saving): Added
(WinPort.setup_test_run): Added overload to add registry settings.
(WinPort.clean_up_test_run): Added overload to clean up registry settings.

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

6 years agoWebKit's Enter Full Screen for <video> elements isn't working
commit-queue@webkit.org [Fri, 31 May 2013 02:32:03 +0000 (02:32 +0000)]
WebKit's Enter Full Screen for <video> elements isn't working
https://bugs.webkit.org/show_bug.cgi?id=117001

Patch by Ruth Fong <ruth_fong@apple.com> on 2013-05-30
Reviewed by Jer Noble.

Fix workflow to allow a video to enter into full screen
mode from a kWKContextMenuItemTagEnterVideoFullscreen
context menu item by denoting the enterFullscreenForVideo
call as a user gesture, so Document::requestFullScreenForElement
will execute correctly.

No new tests. Covered by media/context-menu-actions.html,
which is disabled due to bug #116651.

* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::enterFullscreenForVideo):

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

6 years agoIt's easy to hit ASSERT_NOT_REACHED in WKDOMNodeClass
timothy_horton@apple.com [Fri, 31 May 2013 02:05:52 +0000 (02:05 +0000)]
It's easy to hit ASSERT_NOT_REACHED in WKDOMNodeClass
https://bugs.webkit.org/show_bug.cgi?id=117051

Reviewed by Anders Carlsson.

Re-add the ASSERT_NOT_REACHED, and return [WKDOMNode class] in the case
where we don't have a specific subclass.

* WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass):

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

6 years agofast/js/date-DST-time-cusps.html fails after http://trac.webkit.org/changeset/150833
barraclough@apple.com [Fri, 31 May 2013 01:52:47 +0000 (01:52 +0000)]
fast/js/date-DST-time-cusps.html fails after trac.webkit.org/changeset/150833
https://bugs.webkit.org/show_bug.cgi?id=116895
<rdar://problem/4777813> Safari incorrectly handles times that shouldn't exist
https://bugs.webkit.org/show_bug.cgi?id=11157

Reviewed by Alexey Proskuryakov.

Accidental progression, updating results to expect success.

* TestExpectations:
    - Remove expectations of failure.
* fast/js/script-tests/date-DST-time-cusps.js:
    - Prefer the latter option for non-existent time (due to clock rolling forward).

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

6 years agoAnother unreviewed speculative build fix for Mac.
roger_fong@apple.com [Fri, 31 May 2013 01:52:39 +0000 (01:52 +0000)]
Another unreviewed speculative build fix for Mac.

* wtf/text/WTFString.h:
(WTF::String::fromUTF8WithLatin1Fallback):

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

6 years agoFix jscore-test when not using --sdk option with jsDriver.pl
dfarler@apple.com [Fri, 31 May 2013 01:46:19 +0000 (01:46 +0000)]
Fix jscore-test when not using --sdk option with jsDriver.pl
https://bugs.webkit.org/show_bug.cgi?id=116339

Reviewed by Joe Pecoraro.

* tests/mozilla/jsDriver.pl:
(execute_tests):
With each test, the shell_command needs to be started from scratch.

This fix will clear the shell_command and start over as before with
the opt_arch option when not using --sdk with jsDriver.pl.

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

6 years agoUnreviewed build fix for Mac.
roger_fong@apple.com [Fri, 31 May 2013 01:07:10 +0000 (01:07 +0000)]
Unreviewed build fix for Mac.

* wtf/OSAllocator.h:
* wtf/text/WTFString.h:
(WTF::String::fromUTF8):

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

6 years agoFix double hash lookup in RenderTableSection::paintObject loop
rafael.lobo@openbossa.org [Fri, 31 May 2013 00:53:31 +0000 (00:53 +0000)]
Fix double hash lookup in RenderTableSection::paintObject loop
https://bugs.webkit.org/show_bug.cgi?id=117055

Reviewed by Antonio Gomes.

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintObject):

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

6 years agoGet rid of JavaScript exports file on AppleWin port.
roger_fong@apple.com [Fri, 31 May 2013 00:38:15 +0000 (00:38 +0000)]
Get rid of JavaScript exports file on AppleWin port.
https://bugs.webkit.org/show_bug.cgi?id=117050.

Reviewed by Darin Adler.

This requires turning WTF into a shared library and adding the WTF_EXPORT_PRIVATE to some methods where it was missed.
Start linking in WTF.lib now that it's a shared library.
Also, delete the JavaScriptCoreExportGenerator folder and remove dependencies.

* JavaScriptCore.vcxproj/JavaScriptCore.submit.sln:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* JavaScriptCore.vcxproj/JavaScriptCoreCommon.props:
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGenerator.vcxproj: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGenerator.vcxproj.filters: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorBuildCmd.cmd: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorCommon.props: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorDebug.props: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorPostBuild.cmd: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorPreBuild.cmd: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorProduction.props: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGeneratorRelease.props: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in: Removed.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/make-export-file-generator: Removed.
* JavaScriptCore.vcxproj/jsc/jscCommon.props:
* JavaScriptCore.vcxproj/testRegExp/testRegExp.vcxproj:
* JavaScriptCore.vcxproj/testRegExp/testRegExp.vcxproj.filters:
* JavaScriptCore.vcxproj/testRegExp/testRegExpCommon.props:
* JavaScriptCore.vcxproj/testapi/testapiCommon.props:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTFCommon.props:
* wtf/DateMath.h:
* wtf/ExportMacros.h:
* wtf/FilePrintStream.h:
* wtf/OSAllocator.h:
* wtf/PageAllocationAligned.h:
* wtf/Platform.h:
* wtf/PrintStream.h:
* wtf/StackBounds.h:
* wtf/StringPrintStream.h:
* wtf/ThreadSpecific.h:
* wtf/WTFThreadData.h:
* wtf/dtoa/cached-powers.h:
* wtf/dtoa/double-conversion.h:
* wtf/text/WTFString.h:
* wtf/unicode/Collator.h:
* wtf/unicode/UTF8.h:
* WebKit.vcxproj/WebKit.sln:
* WebKit.vcxproj/WebKit/WebKitCommon.props:
* DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
* DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props:
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:

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

6 years agoAdd --sdk option to jsDriver.pl to run with iOS Simulator
dfarler@apple.com [Fri, 31 May 2013 00:16:29 +0000 (00:16 +0000)]
Add --sdk option to jsDriver.pl to run with iOS Simulator
https://bugs.webkit.org/show_bug.cgi?id=116339

Reviewed by David Kilzer.

* tests/mozilla/jsDriver.pl:
(execute_tests):
Prefix shell command with the path to the "sim" tool.
(parse_args):
Add -d / --sdk option.
(usage):
Help message for -d / --sdk option.

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

6 years ago[sh4] Optimize NaN checks in LLINT for floating point comparisons.
commit-queue@webkit.org [Thu, 30 May 2013 23:21:17 +0000 (23:21 +0000)]
[sh4] Optimize NaN checks in LLINT for floating point comparisons.
https://bugs.webkit.org/show_bug.cgi?id=117049

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-30
Reviewed by Oliver Hunt.

Use the fcmp/eq opcode in sh4 LLINT to test if a double is NaN.
This is more efficient, doesn't require two tmp registers and requires
less code than current implementation (which converts double to float,
then checks 'E = Emax + 1' and 'f != 0').

* offlineasm/sh4.rb:

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

6 years agoFix double hash lookup in WebSocket::connect loop
rafael.lobo@openbossa.org [Thu, 30 May 2013 23:15:36 +0000 (23:15 +0000)]
Fix double hash lookup in WebSocket::connect loop
https://bugs.webkit.org/show_bug.cgi?id=117052

Reviewed by Anders Carlsson.

* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):

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

6 years agoJSCallbackObject does not correctly initialise the PropertySlot for getOwnPropertyDes...
oliver@apple.com [Thu, 30 May 2013 22:58:12 +0000 (22:58 +0000)]
JSCallbackObject does not correctly initialise the PropertySlot for getOwnPropertyDescriptor
https://bugs.webkit.org/show_bug.cgi?id=117053

Reviewed by Mark Hahnenberg.

Set appropriate thisValue on the PropertySlot

* API/JSCallbackObjectFunctions.h:
(JSC::::getOwnPropertyDescriptor):
* API/tests/testapi.mm:

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

6 years agoRemove ASSERT_NOT_REACHED from WKDOMNodeClass
timothy_horton@apple.com [Thu, 30 May 2013 22:55:28 +0000 (22:55 +0000)]
Remove ASSERT_NOT_REACHED from WKDOMNodeClass
https://bugs.webkit.org/show_bug.cgi?id=117051

Reviewed by Anders Carlsson.

It's easy to fail this assertion in seemingly-legitimate cases.

* WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass):

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

6 years ago[GTK] Updated as-IN translations
kov@webkit.org [Thu, 30 May 2013 22:47:36 +0000 (22:47 +0000)]
[GTK] Updated as-IN translations
https://bugs.webkit.org/show_bug.cgi?id=116953

Patch by Nilamdyuti Goswami <ngoswami@redhat.com> on 2013-05-30
Reviewed by Gustavo Noronha Silva (kov).

* as.po: Updated.

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

6 years agofast/dom/location-new-window-no-crash.html times out flakily on mac-wk2
timothy_horton@apple.com [Thu, 30 May 2013 21:31:21 +0000 (21:31 +0000)]
fast/dom/location-new-window-no-crash.html times out flakily on mac-wk2
https://bugs.webkit.org/show_bug.cgi?id=117037

Reviewed by Alexey Proskuryakov.

Close the window on a zero-delay timer, working around a bug where WKTR
will hang if a window is closed while a load is in progress.

Doesn't affect the test in an important way.

* fast/dom/script-tests/location-new-window-no-crash.js:

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

6 years agoRemove some 16bits conversion.
benjamin@webkit.org [Thu, 30 May 2013 21:15:46 +0000 (21:15 +0000)]
Remove some 16bits conversion.
https://bugs.webkit.org/show_bug.cgi?id=116935

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-05-30
Reviewed by Darin Adler.

Merge chromium ce35a544d09e6cb907457535340eb0e9984e57b8.
https://chromium.googlesource.com/chromium/blink/+/ce35a544d09e6cb907457535340eb0e9984e57b8

* html/parser/InputStreamPreprocessor.h:
* platform/FileSystem.cpp:
(WebCore::encodeForFileName):

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

6 years agoREGRESSION (r119759): Adobe Flash Player "smaller" installer relies on the incorrect...
andersca@apple.com [Thu, 30 May 2013 20:50:03 +0000 (20:50 +0000)]
REGRESSION (r119759): Adobe Flash Player "smaller" installer relies on the incorrect firing of a load event and needs an app-specific hack for compatibility
https://bugs.webkit.org/show_bug.cgi?id=117042
<rdar://problem/13916291>

Reviewed by Mark Rowe.

Ignore HTTP errors for scripts requested from within the installer. Instead of just checking for the
Adobe Flash installer, we use the "com.solidstatenetworks.awkhost" bundle identifier to determine
whether to apply the workaround. This could in theory fix other installers that use the same mechanism.

* loader/cache/CachedScript.cpp:
(WebCore::CachedScript::shouldIgnoreHTTPStatusCodeErrors):
* loader/cache/CachedScript.h:
* platform/RuntimeApplicationChecks.cpp:
(WebCore::applicationIsSolidStateNetworksDownloader):
* platform/RuntimeApplicationChecks.h:

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

6 years ago[GTK] Fix pass_by_value coverity warning in ChromeClientGtk
commit-queue@webkit.org [Thu, 30 May 2013 20:39:15 +0000 (20:39 +0000)]
[GTK] Fix pass_by_value coverity warning in ChromeClientGtk
https://bugs.webkit.org/show_bug.cgi?id=117021

Patch by Enrique Ocana Gonzalez <eocanha@igalia.com> on 2013-05-30
Reviewed by Anders Carlsson.

Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::paintWebView):

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

6 years agoUpdate XMLHttpRequest timeout tests to a newer version from W3C
zandobersek@gmail.com [Thu, 30 May 2013 18:34:56 +0000 (18:34 +0000)]
Update XMLHttpRequest timeout tests to a newer version from W3C
https://bugs.webkit.org/show_bug.cgi?id=117023

Reviewed by Alexey Proskuryakov.

The XMLHttpRequest Timeout tests have gone through a bit of restructuring and should
be updated. This is being primarily done because of the intention of updating the
testharness scripts which would break these tests if they were left not updated.

These tests were updated from the W3C web-platform-tests GitHub repository.
https://github.com/w3c/web-platform-tests

* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-aborted.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-aborted.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-abortedonmain.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-abortedonmain.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides-expected.txt: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides.html: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overridesexpires.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overridesexpires.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-runner.js:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-simple.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-simple.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-synconmain.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-synconmain.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-synconworker.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-twice.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-twice.js: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-aborted.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overrides-expected.txt: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overrides.html: Added.
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overridesexpires.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-simple.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-synconworker.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-twice.html:
* http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout.js:
(RequestTracker.prototype.startXHR):
(AbortedRequest.prototype.startXHR.handleEvent):
(runTestRequests):

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

6 years agoAllow no space between "background-position:" dimensions
sergio@webkit.org [Thu, 30 May 2013 18:20:32 +0000 (18:20 +0000)]
Allow no space between "background-position:" dimensions
https://bugs.webkit.org/show_bug.cgi?id=116870

Reviewed by Darin Adler.

From Blink r149314 by <ericwilligers@chromium.org>

Source/WebCore:

Specs allow no spaces between the dimensions of a
"background-position:" like "1px+1px", we should support
that.

Whitespaces are no longer early consumed, dramatically dropping
the shift/reduce conflicts to half. The productions unary_term,
calc_func_term, calc_func_expr and calc_func_paren_expr no longer
consume whitespaces.

* css/CSSGrammar.y.in:
* css/CSSParser.cpp:
(WebCore::CSSParser::realLex):

LayoutTests:

* fast/backgrounds/background-position-parsing-2-expected.txt:
* fast/backgrounds/background-position-parsing-2.html:

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

6 years agoHTMLMediaElement will not unthrottle page when playback stops for nreasons other...
jer.noble@apple.com [Thu, 30 May 2013 18:19:00 +0000 (18:19 +0000)]
HTMLMediaElement will not unthrottle page when playback stops for nreasons other than user-initiated pause.
https://bugs.webkit.org/show_bug.cgi?id=117016

Reviewed by Oliver Hunt.

Add a new class PageActivityAssertionToken to allow HTMLMediaElement to decouple
knowledge of and control over the lifetime of PageThrottler. The new class will
have weak references to and from the PageThrottler so that holders of the token
will not need to care if the Page or PageThrottler has been destroyed.

HTMLMediaElement will create one of these PageActivityAssertionTokens when playback
begins and destroy it when playback stops for any reason, or when the element is
destroyed.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement):
(WebCore::HTMLMediaElement::playInternal):
(WebCore::HTMLMediaElement::pauseInternal):
(WebCore::HTMLMediaElement::playbackProgressTimerFired):
(WebCore::HTMLMediaElement::updatePlayState):
* html/HTMLMediaElement.h:
* page/Page.cpp:
(WebCore::createActivityToken): Added simple factory method.
* page/Page.h:
* page/PageActivityAssertionToken.cpp:
(WebCore::PageActivityAssertionToken::PageActivityAssertionToken): Call addActivityToken();
(WebCore::PageActivityAssertionToken::~PageActivityAssertionToken): Call removeActivityToken();
(WebCore::PageActivityAssertionToken::invalidate): Clear m_throttler.
* page/PageActivityAssertionToken.h:
* page/PageThrottler.cpp:
(WebCore::PageThrottler::~PageThrottler): Invalidate all outstanding tokens.
(WebCore::PageThrottler::addActivityToken): Bump the activity count.
(WebCore::PageThrottler::removeActivityToken): Lower the activity count.
* page/PageThrottler.h:

Add the new files to the various build systems:
* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:

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

6 years ago[Mac] Enable cache partitioning and the public suffix list on 10.8
jpfau@apple.com [Thu, 30 May 2013 17:52:33 +0000 (17:52 +0000)]
[Mac] Enable cache partitioning and the public suffix list on 10.8
<rdar://problem/13679019>

Rubber-stamped by David Kilzer.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

WebKitLibraries:

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceMountainLion.a:

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

6 years agoFix double hash lookup in DocumentEventQueue::cancelEvent().
akling@apple.com [Thu, 30 May 2013 17:09:07 +0000 (17:09 +0000)]
Fix double hash lookup in DocumentEventQueue::cancelEvent().
<http://webkit.org/b/117031>

Reviewed by Anders Carlsson.

* dom/DocumentEventQueue.cpp:
(WebCore::DocumentEventQueue::cancelEvent):

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

6 years agoFix double hash lookup in WebPage::determinePrimarySnapshottedPlugIn() loop.
akling@apple.com [Thu, 30 May 2013 17:06:52 +0000 (17:06 +0000)]
Fix double hash lookup in WebPage::determinePrimarySnapshottedPlugIn() loop.
<http://webkit.org/b/117032>

Reviewed by Anders Carlsson.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::determinePrimarySnapshottedPlugIn):

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

6 years agoFix double hash lookup in DocumentLoader::removeSubresourceLoader().
akling@apple.com [Thu, 30 May 2013 17:05:33 +0000 (17:05 +0000)]
Fix double hash lookup in DocumentLoader::removeSubresourceLoader().
<http://webkit.org/b/117030>

Reviewed by Anders Carlsson.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::removeSubresourceLoader):

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

6 years agoFix double hash lookup in RenderView::repaintSelection() loop.
akling@apple.com [Thu, 30 May 2013 17:03:53 +0000 (17:03 +0000)]
Fix double hash lookup in RenderView::repaintSelection() loop.
<http://webkit.org/b/117029>

Reviewed by Anders Carlsson.

* rendering/RenderView.cpp:
(WebCore::RenderView::repaintSelection):

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

6 years ago[Qt] Unreviewed gardening.
zarvai@inf.u-szeged.hu [Thu, 30 May 2013 16:44:32 +0000 (16:44 +0000)]
[Qt] Unreviewed gardening.

* platform/qt-5.0-wk1/TestExpectations: Skip new failures after r150868.
* platform/qt-5.0-wk2/TestExpectations: re-skip still failing tests after r150892.
* platform/qt-5.0-wk2/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.png: Rebaselining after r150798.
* platform/qt-5.0-wk2/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Added.
* platform/qt-5.0-wk2/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.png: Added.
* platform/qt-5.0-wk2/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Added.
* platform/qt/TestExpectations: Skip new failre after r150853.

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

6 years agoCURL: Incorrect stripping of query from file URL
commit-queue@webkit.org [Thu, 30 May 2013 15:12:54 +0000 (15:12 +0000)]
CURL: Incorrect stripping of query from file URL
https://bugs.webkit.org/show_bug.cgi?id=104307

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-05-30
Reviewed by Darin Adler.

Clear the query part of the file URL if there is any.

* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::ResourceHandleManager::initializeHandle):

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

6 years ago[GTK] Needs to check for harfbuzz-icu
commit-queue@webkit.org [Thu, 30 May 2013 14:55:45 +0000 (14:55 +0000)]
[GTK] Needs to check for harfbuzz-icu
https://bugs.webkit.org/show_bug.cgi?id=116978

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-30
Reviewed by Xan Lopez.

HarfBuzz 0.9.18 splits harbuzz-icu into a separate library so we
also need to check for it in order to get the necessary flags for
the compiler and the linker.

We keep this conditional for now since we still want to support
earlier versions of HarfBuzz.

* Source/autotools/FindDependencies.m4:

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

6 years agoSeparate generic font family settings to a class
antti@apple.com [Thu, 30 May 2013 14:26:21 +0000 (14:26 +0000)]
Separate generic font family settings to a class
https://bugs.webkit.org/show_bug.cgi?id=117027

Reviewed by Andreas Kling.

The new class is under platform/ and can be accessed by the font code directly without platform violations.

* WebCore.xcodeproj/project.pbxproj:
* page/Settings.cpp:
(WebCore::invalidateAfterGenericFamilyChange):
(WebCore::Settings::Settings):
(WebCore::Settings::~Settings):
(WebCore::Settings::create):
(WebCore::Settings::standardFontFamily):
(WebCore::Settings::setStandardFontFamily):
(WebCore::Settings::fixedFontFamily):
(WebCore::Settings::setFixedFontFamily):
(WebCore::Settings::serifFontFamily):
(WebCore::Settings::setSerifFontFamily):
(WebCore::Settings::sansSerifFontFamily):
(WebCore::Settings::setSansSerifFontFamily):
(WebCore::Settings::cursiveFontFamily):
(WebCore::Settings::setCursiveFontFamily):
(WebCore::Settings::fantasyFontFamily):
(WebCore::Settings::setFantasyFontFamily):
(WebCore::Settings::pictographFontFamily):
(WebCore::Settings::setPictographFontFamily):
* page/Settings.h:
* platform/graphics/FontGenericFamilies.cpp: Added.
(WebCore::setGenericFontFamilyForScript):
(WebCore::genericFontFamilyForScript):
(WebCore::FontGenericFamilies::FontGenericFamilies):
(WebCore::FontGenericFamilies::standardFontFamily):
(WebCore::FontGenericFamilies::fixedFontFamily):
(WebCore::FontGenericFamilies::serifFontFamily):
(WebCore::FontGenericFamilies::sansSerifFontFamily):
(WebCore::FontGenericFamilies::cursiveFontFamily):
(WebCore::FontGenericFamilies::fantasyFontFamily):
(WebCore::FontGenericFamilies::pictographFontFamily):
(WebCore::FontGenericFamilies::setStandardFontFamily):
(WebCore::FontGenericFamilies::setFixedFontFamily):
(WebCore::FontGenericFamilies::setSerifFontFamily):
(WebCore::FontGenericFamilies::setSansSerifFontFamily):
(WebCore::FontGenericFamilies::setCursiveFontFamily):
(WebCore::FontGenericFamilies::setFantasyFontFamily):
(WebCore::FontGenericFamilies::setPictographFontFamily):
* platform/graphics/FontGenericFamilies.h: Added.
(WebCore::UScriptCodeHashTraits::emptyValue):
(WebCore::UScriptCodeHashTraits::constructDeletedValue):
(WebCore::UScriptCodeHashTraits::isDeletedValue):
(WebCore::FontGenericFamilies::create):

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

6 years ago[Qt][WK2] Unreviewed expected pixel result rebaselining after r150798.
zarvai@inf.u-szeged.hu [Thu, 30 May 2013 14:15:28 +0000 (14:15 +0000)]
[Qt][WK2] Unreviewed expected pixel result rebaselining after r150798.

* platform/qt-5.0-wk2/compositing/checkerboard-expected.png:
* platform/qt-5.0-wk2/compositing/culling/filter-occlusion-blur-large-expected.png:
* platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.png:
* platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/qt-5.0-wk2/compositing/masks/masked-ancestor-expected.png:
* platform/qt-5.0-wk2/compositing/masks/multiple-masks-expected.png:
* platform/qt-5.0-wk2/compositing/masks/simple-composited-mask-expected.png:
* platform/qt-5.0-wk2/compositing/overflow/nested-scrolling-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.png: Added.
* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-contain-no-repeat-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/newly-composited-on-scroll-expected.png:
* platform/qt-5.0-wk2/compositing/repaint/page-scale-repaint-expected.png:
* platform/qt-5.0-wk2/compositing/rtl/rtl-absolute-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/regions/region-style-image-background-color-expected.png.
* platform/qt-5.0-wk2/compositing/rtl/rtl-absolute-overflow-expected.png:
* platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/regions/region-style-image-background-color-expected.png.
* platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-expected.png:
* platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png:
* platform/qt-5.0-wk2/css1/basic/containment-expected.png: Added.
* platform/qt-5.0-wk2/css1/basic/id_as_selector-expected.png: Added.
* platform/qt-5.0-wk2/css1/basic/inheritance-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_bottom-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_bottom_width-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_left-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_left_width-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_right_inline-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_right_width-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_style-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_top-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_top_width-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/border_width-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/clear-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/clear_float-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/float_elements_in_series-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/float_margin-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/float_on_text_elements-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/height-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin_bottom-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin_inline-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin_left-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin_right-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/margin_top-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding_bottom-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding_inline-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding_left-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding_right-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/padding_top-expected.png: Added.
* platform/qt-5.0-wk2/css1/box_properties/width-expected.png: Added.
* platform/qt-5.0-wk2/css1/cascade/cascade_order-expected.png: Added.
* platform/qt-5.0-wk2/css1/classification/display-expected.png: Added.
* platform/qt-5.0-wk2/css1/classification/list_style_type-expected.png: Added.
* platform/qt-5.0-wk2/css1/classification/white_space-expected.png: Added.
* platform/qt-5.0-wk2/css1/color_and_background/background-expected.png: Added.
* platform/qt-5.0-wk2/css1/color_and_background/background_attachment-expected.png: Added.
* platform/qt-5.0-wk2/css1/color_and_background/background_position-expected.png: Added.
* platform/qt-5.0-wk2/css1/color_and_background/background_repeat-expected.png: Added.
* platform/qt-5.0-wk2/css1/conformance/forward_compatible_parsing-expected.png: Added.
* platform/qt-5.0-wk2/css1/font_properties/font-expected.png: Added.
* platform/qt-5.0-wk2/css1/font_properties/font_family-expected.png: Added.
* platform/qt-5.0-wk2/css1/font_properties/font_size-expected.png: Added.
* platform/qt-5.0-wk2/css1/font_properties/font_weight-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/floating_elements-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/height_of_lines-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/horizontal_formatting-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/inline_elements-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/replaced_elements-expected.png: Added.
* platform/qt-5.0-wk2/css1/formatting_model/vertical_formatting-expected.png: Added.
* platform/qt-5.0-wk2/css1/pseudo/anchor-expected.png: Added.
* platform/qt-5.0-wk2/css1/pseudo/firstletter-expected.png: Added.
* platform/qt-5.0-wk2/css1/pseudo/firstline-expected.png: Added.
* platform/qt-5.0-wk2/css1/pseudo/multiple_pseudo_elements-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/letter_spacing-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/line_height-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/text_decoration-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/text_indent-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/text_transform-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/vertical_align-expected.png: Added.
* platform/qt-5.0-wk2/css1/text_properties/word_spacing-expected.png: Added.
* platform/qt-5.0-wk2/css1/units/color_units-expected.png: Added.
* platform/qt-5.0-wk2/css1/units/length_units-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/layout-state-only-positioned-expected.png.
* platform/qt-5.0-wk2/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/abspos-replaced-width-margin-000-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-002-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-004-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-008-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-010-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-012-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-014-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/block-non-replaced-height-016-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0803-c5502-mrgn-r-02-c-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0803-c5505-mrgn-02-c-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t080301-c411-vt-mrgn-00-b-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t1002-c5523-width-02-b-g-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t1202-counters-08-b-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t1508-c527-font-07-b-expected.png: Added.
* platform/qt-5.0-wk2/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/qt-5.0-wk2/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/qt-5.0-wk2/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/qt-5.0-wk2/editing/deleting/delete-line-end-ws-001-expected.png: Added.
* platform/qt-5.0-wk2/editing/deleting/delete-line-end-ws-002-expected.png: Added.
* platform/qt-5.0-wk2/editing/inserting/insert-div-023-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/extend-by-character-004-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/focus_editable_html-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/move-by-character-004-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/select-all-001-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/select-all-002-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/select-all-003-expected.png: Added.
* platform/qt-5.0-wk2/editing/selection/select-all-004-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png.
* platform/qt-5.0-wk2/editing/selection/unrendered-001-expected.png:
* platform/qt-5.0-wk2/editing/selection/unrendered-002-expected.png:
* platform/qt-5.0-wk2/editing/selection/unrendered-003-expected.png:
* platform/qt-5.0-wk2/editing/selection/unrendered-004-expected.png:
* platform/qt-5.0-wk2/editing/selection/unrendered-005-expected.png:
* platform/qt-5.0-wk2/fast/backgrounds/background-inherit-color-bug-expected.png: Added.
* platform/qt-5.0-wk2/fast/backgrounds/background-leakage-transforms-expected.png: Added.
* platform/qt-5.0-wk2/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Added.
* platform/qt-5.0-wk2/fast/backgrounds/size/backgroundSize15-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/basic/016-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/basic/fieldset-stretch-to-legend-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/basic/truncation-rtl-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/008-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/layout-state-only-positioned-expected.png.
* platform/qt-5.0-wk2/fast/block/float/013-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/019-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/scroll-relative-table-inside-table-cell-expected.png.
* platform/qt-5.0-wk2/fast/block/float/021-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/025-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/027-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/032-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/033-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/block/float/035-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/repaint/newly-composited-on-scroll-expected.png.
* platform/qt-5.0-wk2/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/br-with-clear-2-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png.
* platform/qt-5.0-wk2/fast/block/float/centered-float-avoidance-complexity-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/float-avoidance-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/float/nested-clearance-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/block/float/relative-painted-twice-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-expected.png.
* platform/qt-5.0-wk2/fast/block/float/shrink-to-avoid-float-complexity-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/lineboxcontain/parsing-invalid-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/margin-collapse/103-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/margin-collapse/104-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/margin-collapse/empty-clear-blocks-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/047-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/051-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/055-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/auto/007-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/auto/vertical-lr/005-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/auto/vertical-lr/007-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/auto/vertical-rl/005-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/auto/vertical-rl/007-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/negative-rel-position-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/regions/region-style-image-background-color-expected.png.
* platform/qt-5.0-wk2/fast/block/positioning/relative-overflow-block-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/relative-overflow-replaced-expected.png: Added.
* platform/qt-5.0-wk2/fast/block/positioning/relative-overflow-replaced-float-expected.png: Added.
* platform/qt-5.0-wk2/fast/body-propagation/overflow/001-expected.png: Added.
* platform/qt-5.0-wk2/fast/body-propagation/overflow/001-xhtml-expected.png: Added.
* platform/qt-5.0-wk2/fast/body-propagation/overflow/005-declarative-expected.png: Added.
* platform/qt-5.0-wk2/fast/body-propagation/overflow/005-expected.png: Added.
* platform/qt-5.0-wk2/fast/body-propagation/overflow/005-xhtml-expected.png: Added.
* platform/qt-5.0-wk2/fast/borders/border-image-massive-scale-expected.png:
* platform/qt-5.0-wk2/fast/borders/border-image-rotate-transform-expected.png:
* platform/qt-5.0-wk2/fast/borders/border-image-scale-transform-expected.png:
* platform/qt-5.0-wk2/fast/borders/border-image-scaled-expected.png:
* platform/qt-5.0-wk2/fast/borders/inline-mask-overlay-image-expected.png:
* platform/qt-5.0-wk2/fast/borders/rtl-border-01-expected.png: Added.
* platform/qt-5.0-wk2/fast/borders/rtl-border-02-expected.png: Added.
* platform/qt-5.0-wk2/fast/borders/rtl-border-03-expected.png: Added.
* platform/qt-5.0-wk2/fast/box-shadow/basic-shadows-expected.png: Added.
* platform/qt-5.0-wk2/fast/box-sizing/box-sizing-expected.png: Added.
* platform/qt-5.0-wk2/fast/canvas/canvas-bg-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/canvas/canvas-text-alignment-expected.png: Added.
* platform/qt-5.0-wk2/fast/canvas/image-object-in-canvas-expected.png: Added.
* platform/qt-5.0-wk2/fast/css-generated-content/014-expected.png:
* platform/qt-5.0-wk2/fast/css-generated-content/table-parts-before-and-after-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/005-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.png:
* platform/qt-5.0-wk2/fast/css/border-height-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/clip-text-in-scaled-div-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/color-correction-backgrounds-and-text-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/empty-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/first-child-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/first-of-type-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/font_property_normal-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/hsl-color-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/last-child-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/last-of-type-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/line-height-overflow-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/nested-floating-relative-position-percentages-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/only-child-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/only-of-type-pseudo-class-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/shadow-multiple-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/text-overflow-ellipsis-text-align-center-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/text-overflow-ellipsis-text-align-justify-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/text-overflow-ellipsis-text-align-left-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/text-overflow-ellipsis-text-align-right-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.png: Added.
* platform/qt-5.0-wk2/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.png: Added.
* platform/qt-5.0-wk2/fast/dom/clone-node-dynamic-style-expected.png: Added.
* platform/qt-5.0-wk2/fast/dynamic/008-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/custom/text-xy-updates-SVGList-expected.png.
* platform/qt-5.0-wk2/fast/dynamic/anchor-lock-expected.png: Added.
* platform/qt-5.0-wk2/fast/dynamic/insert-before-table-part-in-continuation-expected.png: Added.
* platform/qt-5.0-wk2/fast/encoding/utf-16-big-endian-expected.png: Added.
* platform/qt-5.0-wk2/fast/encoding/utf-16-little-endian-expected.png: Added.
* platform/qt-5.0-wk2/fast/events/pointer-events-2-expected.png:
* platform/qt-5.0-wk2/fast/events/resize-events-expected.png: Added.
* platform/qt-5.0-wk2/fast/flexbox/016-expected.png: Added.
* platform/qt-5.0-wk2/fast/flexbox/flex-hang-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/button-default-title-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/button-table-styles-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/disabled-select-change-index-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/file/file-input-direction-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/form-hides-table-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-paint-order-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/frameset-flattening-advanced-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/frameset-flattening-grid-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/frameset-flattening-simple-expected.png:
* platform/qt-5.0-wk2/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/iframe-flattening-out-of-view-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/iframe-scrolling-attribute-expected.png: Added.
* platform/qt-5.0-wk2/fast/frames/transparent-scrollbar-expected.png:
* platform/qt-5.0-wk2/fast/gradients/background-clipped-expected.png:
* platform/qt-5.0-wk2/fast/gradients/css3-color-stop-units-expected.png:
* platform/qt-5.0-wk2/fast/html/details-position-expected.png: Added.
* platform/qt-5.0-wk2/fast/html/details-writing-mode-expected.png: Added.
* platform/qt-5.0-wk2/fast/images/gif-large-checkerboard-expected.png: Added.
* platform/qt-5.0-wk2/fast/images/gray-scale-jpeg-with-color-profile-expected.png: Added.
* platform/qt-5.0-wk2/fast/inline/inline-borders-with-bidi-override-expected.png: Added.
* platform/qt-5.0-wk2/fast/inline/inline-continuation-borders-expected.png: Added.
* platform/qt-5.0-wk2/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png: Added.
* platform/qt-5.0-wk2/fast/inline/long-wrapped-line-expected.png: Added.
* platform/qt-5.0-wk2/fast/layers/layer-content-visibility-change-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/layers/scroll-rect-to-visible-expected.png:
* platform/qt-5.0-wk2/fast/line-grid/line-grid-inside-columns-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/001-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/001-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/008-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/008-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/li-br-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/lists/ol-start-parsing-expected.png: Added.
* platform/qt-5.0-wk2/fast/lists/olstart-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/block-axis-horizontal-tb-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/client-rects-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/column-break-with-balancing-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/column-rules-stacking-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/columns-shorthand-parsing-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/float-multicol-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/float-paginate-complex-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/float-paginate-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/layers-in-multicol-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/layers-split-across-columns-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/paginate-block-replaced-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/pagination-h-horizontal-bt-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-h-horizontal-tb-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/repaint/image-with-clip-path-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-h-vertical-lr-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-h-vertical-rl-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-v-horizontal-bt-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-v-horizontal-tb-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/repaint/image-with-clip-path-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-v-vertical-lr-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/fast/multicol/pagination-v-vertical-rl-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/repaint/newly-composited-on-scroll-expected.png.
* platform/qt-5.0-wk2/fast/multicol/positioned-with-constrained-height-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/progression-reverse-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/anonymous-style-inheritance-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-child-generated-content-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-child-property-removal-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-columns-child-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-as-nested-columns-child-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/span/span-margin-collapsing-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/table-vertical-align-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
* platform/qt-5.0-wk2/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/006-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/overflow-auto-table-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/overflow-stacking-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/paged-x-on-root-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/paged-y-on-root-expected.png: Added.
* platform/qt-5.0-wk2/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/qt-5.0-wk2/fast/reflections/reflection-direction-expected.png: Added.
* platform/qt-5.0-wk2/fast/regions/region-style-image-background-color-expected.png:
* platform/qt-5.0-wk2/fast/regions/region-style-inline-background-color-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
* platform/qt-5.0-wk2/fast/repaint/fixed-position-transparency-with-overflow-expected.png:
* platform/qt-5.0-wk2/fast/repaint/float-new-in-block-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/repaint/layout-state-only-positioned-expected.png:
* platform/qt-5.0-wk2/fast/repaint/overflow-scroll-body-appear-expected.png:
* platform/qt-5.0-wk2/fast/repaint/scroll-fixed-layer-with-reflection-expected.png:
* platform/qt-5.0-wk2/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png:
* platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png:
* platform/qt-5.0-wk2/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
* platform/qt-5.0-wk2/fast/repaint/transform-absolute-in-positioned-container-expected.png:
* platform/qt-5.0-wk2/fast/replaced/005-expected.png: Added.
* platform/qt-5.0-wk2/fast/replaced/width100percent-image-expected.png:
* platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png:
* platform/qt-5.0-wk2/fast/selectors/166-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/023-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/027-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/034-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/038-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/040-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/040-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/border-collapsing/002-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/border-collapsing/004-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/border-collapsing/004-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/empty-cells-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/frame-and-rules-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/height-percent-test-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/fast/table/height-percent-test-vertical-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/table/overflowHidden-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/prepend-in-anonymous-table-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/table-display-types-vertical-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/wide-colspan-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/layout-state-only-positioned-expected.png.
* platform/qt-5.0-wk2/fast/table/wide-column-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/fast/text/backslash-to-yen-sign-euc-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/hyphenate-limit-lines-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/large-text-composed-char-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/softHyphen-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/text-letter-spacing-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/wbr-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/word-break-expected.png: Added.
* platform/qt-5.0-wk2/fast/transforms/rotated-transform-affects-scrolling-1-expected.png: Added.
* platform/qt-5.0-wk2/fast/transforms/rotated-transform-affects-scrolling-2-expected.png: Added.
* platform/qt-5.0-wk2/fast/writing-mode/border-radius-clipping-vertical-lr-expected.png: Added.
* platform/qt-5.0-wk2/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/qt-5.0-wk2/fast/writing-mode/box-shadow-vertical-rl-expected.png: Added.
* platform/qt-5.0-wk2/fast/writing-mode/fieldsets-expected.png: Added.
* platform/qt-5.0-wk2/fonts/cursive-expected.png: Added.
* platform/qt-5.0-wk2/fonts/default-expected.png: Added.
* platform/qt-5.0-wk2/fonts/fantasy-expected.png: Added.
* platform/qt-5.0-wk2/fonts/monospace-expected.png: Added.
* platform/qt-5.0-wk2/fonts/sans-serif-expected.png: Added.
* platform/qt-5.0-wk2/fonts/serif-expected.png: Added.
* platform/qt-5.0-wk2/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png: Added.
* platform/qt-5.0-wk2/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png: Added.
* platform/qt-5.0-wk2/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png: Added.
* platform/qt-5.0-wk2/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png: Added.
* platform/qt-5.0-wk2/printing/return-from-printing-mode-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
* platform/qt-5.0-wk2/svg/as-image/image-preserveAspectRatio-all-expected.png: Added.
* platform/qt-5.0-wk2/svg/as-image/image-respects-pageScaleFactor-expected.png:
* platform/qt-5.0-wk2/svg/custom/altglyph-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/external-paintserver-reference-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png.
* platform/qt-5.0-wk2/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/junk-data-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/linking-base-external-reference-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png.
* platform/qt-5.0-wk2/svg/custom/missing-xlink-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/object-sizing-no-width-height-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/path-bad-data-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/pattern-scaling-expected.png: Added.
* platform/qt-5.0-wk2/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
* platform/qt-5.0-wk2/svg/custom/text-xy-updates-SVGList-expected.png:
* platform/qt-5.0-wk2/svg/custom/use-font-face-crash-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-appendItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-initialize-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-removeItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGPathSegList-appendItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGPathSegList-clear-and-initialize-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGPathSegList-insertItemBefore-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGPathSegList-removeItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGPathSegList-replaceItem-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/SVGStringList-basics-expected.png: Added.
* platform/qt-5.0-wk2/svg/dom/css-transforms-expected.png: Added.
* platform/qt-5.0-wk2/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
* platform/qt-5.0-wk2/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/qt-5.0-wk2/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png: Added.
* platform/qt-5.0-wk2/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png: Added.
* platform/qt-5.0-wk2/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png: Added.
* platform/qt-5.0-wk2/svg/filters/feImage-multiple-targets-id-change-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png.
* platform/qt-5.0-wk2/svg/hixie/error/012-expected.png: Added.
* platform/qt-5.0-wk2/svg/in-html/circle-expected.png: Added.
* platform/qt-5.0-wk2/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png.
* platform/qt-5.0-wk2/svg/repaint/image-with-clip-path-expected.png:
* platform/qt-5.0-wk2/svg/text/kerning-expected.png: Added.
* platform/qt-5.0-wk2/svg/text/multichar-glyph-expected.png: Added.
* platform/qt-5.0-wk2/svg/wicd/rightsizing-grid-expected.png: Added.
* platform/qt-5.0-wk2/svg/wicd/test-rightsizing-b-expected.png:
* platform/qt-5.0-wk2/svg/wicd/test-scalable-background-image1-expected.png: Added.
* platform/qt-5.0-wk2/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
* platform/qt-5.0-wk2/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
* platform/qt-5.0-wk2/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/qt-5.0-wk2/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/qt-5.0-wk2/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug101674-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug10269-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug10296-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug1055-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug113235-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug113235-3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug11944-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug120364-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug12384-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug1302-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug131020-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug131020_iframe-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug137388-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug16252-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug194024-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug22019-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug23151-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug2479-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug2479-3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug2479-4-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug27038-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug29314-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug2947-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug32205-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug38916-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug3977-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug43039-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug43854-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug44505-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug46480-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug46480-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug50695-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug56405-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug5797-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug5835-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug625-expected.png:
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug650-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug67915-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug7112-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug7112-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug73321-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug92143-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/bugs/bug96343-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/collapsing_borders/bug41262-3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/bloomberg-expected.png:
* platform/qt-5.0-wk2/tables/mozilla/core/captions-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/cell_heights-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/col_span-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/col_widths_auto_fix-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/col_widths_fix_fixPer-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/nested1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/one_row-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/core/row_span-expected.png:
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_index-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_layers-opacity-expected.png:
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_position-table-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-cell-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-column-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-column-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-row-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_table_bgcolor_name-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_td_bgcolor_name-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_td_bgcolor_rgb-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_td_height-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_td_nowrap-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_th_bgcolor_name-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_th_bgcolor_rgb-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_th_height-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_th_nowrap-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_tr_bgcolor_name-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/marvin/x_tr_bgcolor_rgb-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/cell_widths-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/nestedTables-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/test3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/test6-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/wa_table_thtd_rowspan-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla/other/wa_table_tr_align-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug10140-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug101759-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug10216-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug106966-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug131020-3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug14007-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug19526-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug220653-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug22122-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug67915-2-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug7243-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug89315-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug91057-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/backgrounds-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/captions1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/captions2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/captions3-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/col_span2-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/columns-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/conflicts-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/core/standards1-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.png:
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_position-table-column-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.png:
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png:
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/other/empty_cells-expected.png: Added.
* platform/qt-5.0-wk2/tables/mozilla_expected_failures/other/test4-expected.png: Added.
* platform/qt-5.0-wk2/transforms/2d/transform-fixed-container-expected.png:

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

6 years agoAvoid using CSSOM style declarations in HTML editing.
akling@apple.com [Thu, 30 May 2013 12:53:18 +0000 (12:53 +0000)]
Avoid using CSSOM style declarations in HTML editing.
<http://webkit.org/b/117019>

Reviewed by Antti Koivisto.

Convert the editing code to use ComputedStyleExtractor instead of instantiating CSSOM wrappers.

* css/CSSComputedStyleDeclaration.h:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::getFontSizeCSSValuePreferringKeyword):
(WebCore::ComputedStyleExtractor::useFixedFontDefaultSize):
(WebCore::ComputedStyleExtractor::propertyMatches):
(WebCore::ComputedStyleExtractor::copyProperties):
(WebCore::ComputedStyleExtractor::copyPropertiesInSet):

    Moved here from CSSComputedStyleDeclaration. These methods are used by HTML editing.

(WebCore::CSSComputedStyleDeclaration::copyProperties):

    Reimplemented to call ComputedStyleExtractor.

* css/CSSStyleDeclaration.h:
* css/PropertySetCSSStyleDeclaration.h:
* css/PropertySetCSSStyleDeclaration.cpp:
(WebCore::PropertySetCSSStyleDeclaration::copyProperties):

    Removed CSSStyleDeclaration::cssPropertyMatches(), the remaining code lives in
    ComputedStyleExtractor::propertyMatches() and is only used by HTML editing.

* css/StylePropertySet.h:
* css/StylePropertySet.cpp:
(WebCore::MutableStylePropertySet::removeEquivalentProperties):

    Added an overload that takes a ComputedStyleExtractor.
    This code should move into EditingStyle.cpp, material for a follow-up patch.

* editing/ApplyStyleCommand.cpp:
(WebCore::toIdentifier):

    Add a file-local helper for yanking the identifier value (if any) out of a CSSPrimitiveValue.

(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
(WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
(WebCore::highestEmbeddingAncestor):
* editing/EditingStyle.h:
* editing/EditingStyle.cpp:
(WebCore::editingStyleFromComputedStyle):
(WebCore::extractPropertyValue):
(WebCore::identifierForStyleProperty):
(WebCore::textColorFromStyle):
(WebCore::backgroundColorFromStyle):
(WebCore::EditingStyle::init):
(WebCore::EditingStyle::removeStyleAddedByNode):
(WebCore::EditingStyle::removeStyleConflictingWithStyleOfNode):
(WebCore::EditingStyle::triStateOfStyle):
(WebCore::EditingStyle::styleIsPresentInComputedStyleOfNode):
(WebCore::EditingStyle::removeStyleFromRulesAndContext):
(WebCore::StyleChange::StyleChange):
(WebCore::fontWeightIsBold):
(WebCore::extractPropertiesNotIn):
(WebCore::getPropertiesNotIn):

    Use ComputedStyleExtractor instead of CSSComputedStyleDeclaration in all of this code.
    Templatized a bunch of the code so we don't have to repeat ourselves for both StylePropertySet
    and ComputedStyleExtractor inputs.

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

6 years agoRemove "hidden"=true from Inspector.json
commit-queue@webkit.org [Thu, 30 May 2013 12:41:23 +0000 (12:41 +0000)]
Remove "hidden"=true from Inspector.json
https://bugs.webkit.org/show_bug.cgi?id=114116

Patch by Roland Takacs <rtakacs@inf.u-szeged.hu> on 2013-05-30
Reviewed by Timothy Hatcher.

Remove "hidden"=true because it's a Chromium concept.
Patch created by Timothy Hatcher.

* inspector/Inspector.json:

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

6 years ago[EFL][EGL] Implement TransportSurface client.
kalyan.kondapally@intel.com [Thu, 30 May 2013 12:28:20 +0000 (12:28 +0000)]
[EFL][EGL] Implement TransportSurface client.
https://bugs.webkit.org/show_bug.cgi?id=114122

Reviewed by Kenneth Rohde Christiansen.

Covered by existing WebGL tests.

This patch implements the client support for Transport
Surface with EGL backend using GLES2.

* platform/graphics/surfaces/efl/GLTransportSurface.cpp:
(WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
(WebCore::GLTransportSurfaceClient::GLTransportSurfaceClient):
* platform/graphics/surfaces/efl/GLTransportSurface.h:
(GLTransportSurfaceClient):
* platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:
(WebCore::GraphicsSurfacePrivate::initializeClient):
* platform/graphics/surfaces/egl/EGLConfigSelector.cpp:
(WebCore):
(WebCore::EGLConfigSelector::surfaceClientConfig):
(WebCore::EGLConfigSelector::findMatchingConfigWithVisualId):
* platform/graphics/surfaces/egl/EGLConfigSelector.h:
(WebCore):
(EGLConfigSelector):

Support for retrieving valid EGLConfig on client side.

* platform/graphics/surfaces/egl/EGLHelper.cpp:
(WebCore):
(WebCore::resolveDisplay):
(WebCore::EGLHelper::resolveEGLBindings):
(WebCore::EGLHelper::createEGLImage):
(WebCore::EGLHelper::destroyEGLImage):
(WebCore::EGLHelper::imageTargetTexture2DOES):
* platform/graphics/surfaces/egl/EGLHelper.h:

Helper functions to create and destroy EGLImage.

* platform/graphics/surfaces/egl/EGLXSurface.cpp:
(WebCore::EGLXTransportSurfaceClient::EGLXTransportSurfaceClient):
(WebCore):
(WebCore::EGLXTransportSurfaceClient::~EGLXTransportSurfaceClient):
(WebCore::EGLXTransportSurfaceClient::destroy):
(WebCore::EGLXTransportSurfaceClient::prepareTexture):
(WebCore::EGLTextureFromPixmap::EGLTextureFromPixmap):
(WebCore::EGLTextureFromPixmap::~EGLTextureFromPixmap):
(WebCore::EGLTextureFromPixmap::destroy):
(WebCore::EGLTextureFromPixmap::isValid):
(WebCore::EGLTextureFromPixmap::bindTexImage):
(WebCore::EGLTextureFromPixmap::reBindTexImage):
* platform/graphics/surfaces/egl/EGLXSurface.h:
(EGLXTransportSurfaceClient):

TransportSurfaceClient implementation.

(WebCore):
* platform/graphics/surfaces/glx/GLXSurface.cpp:
(WebCore::GLXTransportSurfaceClient::GLXTransportSurfaceClient):
* platform/graphics/surfaces/glx/GLXSurface.h:
(GLXTransportSurfaceClient):
* platform/graphics/surfaces/glx/X11Helper.cpp:
(WebCore::X11Helper::createOffScreenWindow):
(WebCore):
(WebCore::X11Helper::createPixmap):
* platform/graphics/surfaces/glx/X11Helper.h:
(X11Helper):

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

6 years agoRename 'KURL::elidedString' and inspector's 'String.prototype.trimMiddle' for clarity.
mkwst@chromium.org [Thu, 30 May 2013 12:08:58 +0000 (12:08 +0000)]
Rename 'KURL::elidedString' and inspector's 'String.prototype.trimMiddle' for clarity.
https://bugs.webkit.org/show_bug.cgi?id=111700

Reviewed by Darin Adler.

Darin suggested that 'KURL::elidedString' is inaccurately named[1], this
patch is an attempt to do better. It additionally brings the Inspector's
'String.prototype.trimMiddle' method into line, as the two methods do
more or less the same thing.

After a bit of discussion with Maciej and Daniel Bates on IRC, I've
settled on 'KURL::stringCenterEllipsizedToLength(unsigned)' and
'String.prototype.centerEllipsizedToLength(number)' respectively.

No new tests are added, as this patch shouldn't have any visible effect
on the web. It's strictly an internal refactoring.

* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):
(WebCore::WebSocket::send):
* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::send):
(WebCore::WebSocketChannel::fail):
* bindings/ScriptControllerBase.cpp:
(WebCore::ScriptController::canExecuteScripts):
* dom/Document.cpp:
(WebCore::Document::processHttpEquiv):
* dom/ScriptElement.cpp:
(WebCore::ScriptElement::executeScript):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::canPlayType):
(WebCore::HTMLMediaElement::isSafeToLoadURL):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::submitForm):
(WebCore::FrameLoader::loadFrameRequest):
(WebCore::FrameLoader::commitProvisionalLoad):
(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
(WebCore::FrameLoader::loadProvisionalItemFromCachedPage):
(WebCore::createWindow):
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::willSendRequest):
(WebCore::MainResourceLoader::responseReceived):
* loader/MixedContentChecker.cpp:
(WebCore::MixedContentChecker::logWarning):
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::didReceiveResponse):
(WebCore::ApplicationCacheGroup::didFail):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::canRequest):
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::loadResource):
(WebCore::CachedResourceLoader::printAccessDeniedMessage):
* page/ContentSecurityPolicy.cpp:
(WebCore::CSPDirectiveList::checkSourceAndReportViolation):
(WebCore::CSPDirectiveList::allowScriptNonce):
(WebCore::CSPDirectiveList::allowPluginType):
* platform/KURL.cpp:
(WebCore::KURL::stringCenterEllipsizedToLength):
* platform/KURL.h:
    Rename 'KURL::elidedString' to 'KURL::stringCenterEllipsizedToLength',
    and adjust callsites accordingly.
* inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.Placard.prototype._update):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
* inspector/front-end/HeapSnapshotGridNodes.js:
(WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
* inspector/front-end/Linkifier.js:
(WebInspector.Linkifier.DefaultFormatter.prototype.formatLiveAnchor):
* inspector/front-end/ResourceUtils.js:
(WebInspector.linkifyURLAsNode):
* inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer.prototype._titleForFile):
* inspector/front-end/utilities.js:
    Rename 'String.prototype.trimMiddle' to 'String.prototype.centerEllipsizedToLength'
    and adjust callsites accordingly.

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

6 years agoRename FontFallbackList.cpp/h to FontGlyphs.cpp/h
antti@apple.com [Thu, 30 May 2013 10:44:22 +0000 (10:44 +0000)]
Rename FontFallbackList.cpp/h to FontGlyphs.cpp/h
https://bugs.webkit.org/show_bug.cgi?id=117022

Reviewed by Andreas Kling.

Rename to match the class name.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/Font.h:
* platform/graphics/FontCache.cpp:
* platform/graphics/FontFallbackList.cpp: Removed.
* platform/graphics/FontFallbackList.h: Removed.
* platform/graphics/FontFastPath.cpp:
* platform/graphics/FontGlyphs.cpp: Copied from Source/WebCore/platform/graphics/FontFallbackList.cpp.
* platform/graphics/FontGlyphs.h: Copied from Source/WebCore/platform/graphics/FontFallbackList.h.
* platform/graphics/mac/FontComplexTextMac.cpp:

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

6 years agoWeb Inspector: tests in PerformanceTests/inspector/ are timing out
rniwa@webkit.org [Thu, 30 May 2013 10:43:06 +0000 (10:43 +0000)]
Web Inspector: tests in PerformanceTests/inspector/ are timing out
https://bugs.webkit.org/show_bug.cgi?id=77024

Reviewed by Andreas Kling.

PerformanceTests:

These tests have been disabled for ages and don't conform to the standard format.

* Skipped:
* inspector: Removed.
* inspector/console-300-lines.html: Removed.
* inspector/first-open-elements.html: Removed.
* inspector/first-open-resources.html: Removed.
* inspector/first-open-scripts.html.broken: Removed.
* inspector/heap-snapshot-advanced.html: Removed.
* inspector/heap-snapshot-performance-test.js: Removed.
* inspector/heap-snapshot.html: Removed.
* inspector/inspector-startup-time.html: Removed.
* inspector/network-append-30-requests.html.broken: Removed.
* inspector/performance-test.js: Removed.
* inspector/show-panel.html.broken: Removed.

Tools:

Remove inspector performance tests since they have been disabled for ages,
and they don't use the standard parser-style performance output.

It's adding a lot of code complexity to our infrastructure.

* Scripts/webkitpy/performance_tests/perftest.py:
(SingleProcessPerfTest.__init__):
(PerfTestFactory):
* Scripts/webkitpy/performance_tests/perftest_unittest.py:
(TestPerfTestFactory.test_regular_test):
* Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
(TestDriver.run_test):
(MainTest.run_test):
(MainTest._tests_for_runner):
(MainTest.test_run_test_set_kills_drt_per_run):
(MainTest._test_run_with_json_output):
(MainTest):
(MainTest.test_run_with_upload_json_should_generate_perf_webkit_json):

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

6 years agoGet rid of Position::computedStyle
rniwa@webkit.org [Thu, 30 May 2013 10:42:06 +0000 (10:42 +0000)]
Get rid of Position::computedStyle
https://bugs.webkit.org/show_bug.cgi?id=117024

Reviewed by Andreas Kling.

Removed the function.

* dom/Position.cpp:
* dom/Position.h:
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::positionToComputeInlineStyleChange): We need a position
inside the dummy element since we'll get the containing element's style instead
if we had the position before the dummy element.
* editing/EditingStyle.cpp:
(WebCore::StyleChange::StyleChange):

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

6 years agoRemove obsolete forward declaration from InspectorFrontendHost.h
commit-queue@webkit.org [Thu, 30 May 2013 08:14:28 +0000 (08:14 +0000)]
Remove obsolete forward declaration from InspectorFrontendHost.h
https://bugs.webkit.org/show_bug.cgi?id=117017

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-05-30
Reviewed by Joseph Pecoraro.

Remove obsolete forward declaration and fix style issue as well.

No change in behavior, no new tests.

* inspector/InspectorFrontendHost.h:
(WebCore):
(InspectorFrontendHost):

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

6 years ago[GTK] Cleanup TestExpectations
commit-queue@webkit.org [Thu, 30 May 2013 07:34:57 +0000 (07:34 +0000)]
[GTK] Cleanup TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=117005

Unreviewed GTK gardening.

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-05-30

* platform/gtk/TestExpectations: Get rid of duplicate entry line.

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

6 years agoRemove requires_http_server as Chromium Android was the only port that needed this
rniwa@webkit.org [Thu, 30 May 2013 07:32:33 +0000 (07:32 +0000)]
Remove requires_http_server as Chromium Android was the only port that needed this
https://bugs.webkit.org/show_bug.cgi?id=117018

Reviewed by Benjamin Poulain.

Removed the unused code that existed for Chromium Android port.

* Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(LayoutTestRunner.run_tests):
(LayoutTestRunner._handle_finished_test_list):
* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._run_tests):
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._collect_tests):
(PerfTestsRunner.run):
* Scripts/webkitpy/port/base.py:
(Port.to.start_helper):
* Scripts/webkitpy/port/base_unittest.py:
(PortTest.test_build_path):

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

6 years agoExpose incrementalRenderingSuppressionTimeout via WK2
timothy_horton@apple.com [Thu, 30 May 2013 06:24:36 +0000 (06:24 +0000)]
Expose incrementalRenderingSuppressionTimeout via WK2
https://bugs.webkit.org/show_bug.cgi?id=117015
<rdar://problem/13992853>

Reviewed by Darin Adler.

* dom/Document.cpp:
(WebCore::Document::setVisualUpdatesAllowed):
Inform the FrameLoader that we're ready to transition the page, if
nothing else already has. This will be forwarded to the FrameLoaderClient,
and WebKit2's implementation will go ahead and un-freeze the layer tree,
so that the incremental rendering suppression watchdog timer actually works.

(WebCore::Document::setVisualUpdatesAllowedByClient):
Make incremental rendering suppression extension tokens play nice with the
watchdog timer; allow setVisualUpdatesAllowedByClient=true to re-enable updates
if either the page is in the "completed" state or the watchdog has already fired.

* loader/FrameLoader.cpp:
* loader/FrameLoader.h:
(WebCore::FrameLoader::forcePageTransitionIfNeeded): Added.
Forward to the client.

* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::forcePageTransitionIfNeeded): Added.

* Shared/WebPreferencesStore.h:
* UIProcess/API/C/WKPreferencesPrivate.h:
Add IncrementalRenderingSuppressionTimeout preference.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetIncrementalRenderingSuppressionTimeout): Added.
(WKPreferencesGetIncrementalRenderingSuppressionTimeout): Added.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebKit::WebFrameLoaderClient::forcePageTransitionIfNeeded): Added.
Call didCompletePageTransition, which un-freezes the layer tree.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didCompletePageTransition):
Fix some indentation.

(WebKit::WebPage::updatePreferences):
Forward the timeout value through to WebCore.

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

6 years agoProgressEvent should not be cancelable
commit-queue@webkit.org [Thu, 30 May 2013 06:04:29 +0000 (06:04 +0000)]
ProgressEvent should not be cancelable
https://bugs.webkit.org/show_bug.cgi?id=114444

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-05-29
Reviewed by Darin Adler.

Source/WebCore:

Parameter "cancelable" in ProgressEvent is set to false, by default, as mentioned in the specification. The spec link is given below.

Spec: http://www.w3.org/TR/2011/CR-progress-events-20110922/#suggested-names-for-events-using-the-progressevent-interface

No new tests. file-reader-event-listener.html and infoOnProgressEvent-expected.txt are updated.

* dom/ProgressEvent.cpp:
(WebCore::ProgressEvent::ProgressEvent):
(WebCore):

LayoutTests:

file-reader-event-listener.html, xmlhttprequest-get-expected.txt and infoOnProgressEvent-expected.txt are updated.

* fast/files/file-reader-event-listener-expected.txt:
* fast/files/file-reader-event-listener.html:
* fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
* http/tests/xmlhttprequest/infoOnProgressEvent-expected.txt:
* platform/efl/TestExpectations:

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

6 years agoFix paint-related milestones to not fire when the layer tree is frozen
simon.fraser@apple.com [Thu, 30 May 2013 04:34:35 +0000 (04:34 +0000)]
Fix paint-related milestones to not fire when the layer tree is frozen
https://bugs.webkit.org/show_bug.cgi?id=117012

Source/WebCore:

Reviewed by Tim Horton.

In the previous code, it was possible to paint some layer and schedule
the m_paintRelatedMilestonesTimer, but then the layer tree was put into
a frozen state because the page redirected. However, the paint-related
milestones timer would still fire. This caused woes with header/footer
banners.

Fix by not firing paint-related milestones if the layer tree is frozen,
which we know via a new ChromeClient callback. When unfrozen, we'll
paint again, and fire the timer later.

* page/ChromeClient.h:
(WebCore::ChromeClient::layerTreeStateIsFrozen):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::paintRelatedMilestonesTimerFired):

Source/WebKit2:

Reviewed by Tim Horton.

Implement ChromeClient::layerTreeStateIsFrozen() to return
the frozen state of the drawing area.

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::layerTreeStateIsFrozen):
* WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):

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

6 years agoWeb Inspector: get rid of obsolete InspectorFrontendHost.hiddenPanels()
commit-queue@webkit.org [Thu, 30 May 2013 04:30:56 +0000 (04:30 +0000)]
Web Inspector: get rid of obsolete InspectorFrontendHost.hiddenPanels()
https://bugs.webkit.org/show_bug.cgi?id=60152

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-05-29
Reviewed by Andreas Kling.

* WebCoreSupport/WebInspectorClient.mm:

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

6 years agoStore form control list with RefPtr
rniwa@webkit.org [Thu, 30 May 2013 04:17:28 +0000 (04:17 +0000)]
Store form control list with RefPtr
https://bugs.webkit.org/show_bug.cgi?id=116910

Reviewed by Kent Tamura.

Merge https://chromium.googlesource.com/chromium/blink/+/582132773280455ead1d42b0073be37efdeaf989.

Unfortunately, the Blink change doesn't provide much insight as to what kind of crashes are fixed
by this code change but it cleans up the way form elements with state are registered to the form
controller so it seems benefitial to merge it anyway.

* dom/Document.cpp:
(WebCore::Document::dispose):
* html/FormController.cpp:
(WebCore::FormController::createSavedFormStateMap):
(WebCore::FormController::registerFormElementWithState):
(WebCore::FormController::unregisterFormElementWithState):
(WebCore):
* html/FormController.h:
(FormController):
* html/HTMLFormControlElementWithState.cpp:
(WebCore::HTMLFormControlElementWithState::HTMLFormControlElementWithState):
(WebCore::HTMLFormControlElementWithState::~HTMLFormControlElementWithState):
(WebCore::HTMLFormControlElementWithState::insertedInto):
(WebCore):
(WebCore::HTMLFormControlElementWithState::removedFrom):
* html/HTMLFormControlElementWithState.h:
(HTMLFormControlElementWithState):
* html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::insertedInto):

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

6 years agoTake ComputedStyleExtractor for a spin.
akling@apple.com [Thu, 30 May 2013 04:11:39 +0000 (04:11 +0000)]
Take ComputedStyleExtractor for a spin.
<http://webkit.org/b/116968>

Reviewed by Antti Koivisto.

Convert some editing and SVG code to use ComputedStyleExtractor instead of creating full
blown CSSComputedStyleDeclaration objects.

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
(WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
(WebCore::highestEmbeddingAncestor):
(WebCore::ApplyStyleCommand::computedFontSize):
* editing/EditingStyle.cpp:
(WebCore::EditingStyle::mergeStyleFromRulesForSerialization):
(WebCore::EditingStyle::textDirectionForSelection):
(WebCore::getIdentifierValue):
(WebCore::backgroundColorInEffect):
* editing/EditingStyle.h:
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::computeCSSPropertyValue):

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

6 years agoAdd a special case for SelectorDataList::execute when there is only one selector
benjamin@webkit.org [Thu, 30 May 2013 03:02:10 +0000 (03:02 +0000)]
Add a special case for SelectorDataList::execute when there is only one selector
https://bugs.webkit.org/show_bug.cgi?id=116891

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-05-29
Reviewed by Andreas Kling.

In the vast majority of cases, querySelector is called with a single selector.

This patch takes that input into account to improve the performance of
SelectorDataList::execute(). For the case of a single selector, we avoid three
branches executed for every node of the traversal.

This improves QuerySelector's time by 2.3%.

* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::execute):

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

6 years ago-webkit-text-underline-position should not be inherited
dino@apple.com [Thu, 30 May 2013 01:21:37 +0000 (01:21 +0000)]
-webkit-text-underline-position should not be inherited
https://bugs.webkit.org/show_bug.cgi?id=116363

Reverting http://trac.webkit.org/changeset/150366
It was an incorrect fix referring to an old specification.

Source/WebCore:

* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* rendering/style/RenderStyle.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:
(StyleRareInheritedData):
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:
(StyleRareNonInheritedData):

LayoutTests:

* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt:
* fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-underline-position.js:

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

6 years ago[CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
ryuan.choi@samsung.com [Thu, 30 May 2013 01:19:50 +0000 (01:19 +0000)]
[CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
https://bugs.webkit.org/show_bug.cgi?id=116899

Reviewed by Laszlo Gombos.

* CMakeLists.txt: Fixed if statement to escape when find command fails.

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

6 years agoprepare-Changelog should not be generating namespace-only or class-name-only lines...
commit-queue@webkit.org [Thu, 30 May 2013 01:07:22 +0000 (01:07 +0000)]
prepare-Changelog should not be generating namespace-only or class-name-only lines like "(WebCore):"
https://bugs.webkit.org/show_bug.cgi?id=113221

Patch by Ruth Fong <ruth_fong@apple.com> on 2013-05-29
Reviewed by Ryosuke Niwa.

Teach prepare-Changelog to not list the names of modified namespaces,
classes, or structs in C++ files. Thus, if a change is made
within a namespace/class/struct yet outside a function, it will
not be reflected in the ChangeLog entry.
See https://bugs.webkit.org/show_bug.cgi?id=113221#c8
for more details on how ChangeLog entries are affected.

* Scripts/prepare-ChangeLog:
(get_function_line_ranges_for_cpp):
(delete_namespaces_from_ranges_for_cpp): Added.
(is_function_in_namespace): Added.
* Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt: Updated
to reflect revised definition of a function (i.e. excludes namespaces, classes, structs)

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

6 years agoWebKit should expose HSTS APIs to determine whether a host is in the HSTS cache and...
andersca@apple.com [Thu, 30 May 2013 00:10:59 +0000 (00:10 +0000)]
WebKit should expose HSTS APIs to determine whether a host is in the HSTS cache and to reset HSTS policies
https://bugs.webkit.org/show_bug.cgi?id=117010
<rdar://problem/13689666>

Reviewed by Tim Horton.

* UIProcess/API/C/mac/WKContextPrivateMac.h:
* UIProcess/API/C/mac/WKContextPrivateMac.mm:
* UIProcess/API/C/mac/WKPagePrivateMac.cpp:
* UIProcess/API/C/mac/WKPagePrivateMac.h:
* UIProcess/WebContext.h:
(WebContext):
* UIProcess/mac/WebContextMac.mm:
(WebKit):
(WebKit::privateBrowsingSession):
(WebKit::WebContext::isURLKnownHSTSHost):
(WebKit::WebContext::resetHSTSHosts):

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

6 years agoWKViews using shouldClipToVisibleRect=YES should respect prepareContentInRect: if...
timothy_horton@apple.com [Wed, 29 May 2013 23:52:22 +0000 (23:52 +0000)]
WKViews using shouldClipToVisibleRect=YES should respect prepareContentInRect: if called
https://bugs.webkit.org/show_bug.cgi?id=116989
<rdar://problem/14007440>

Reviewed by Anders Carlsson.

* UIProcess/API/mac/WKView.mm:
(-[WKView prepareContentInRect:]):
If prepareContentInRect: is called, save the rect and set a flag so we know we should use it.

(-[WKView _updateViewExposedRect]):
Give the WebPage (and later the DrawingArea) the union of the rect handed to prepareContentInRect:
and the WKView's visibleRect, if we're in that mode, so that applications that do their own scrolling
can cause tiles to be created in currently offscreen views (for overdraw).

(-[WKView setFrameSize:]):
(-[WKView _updateWindowAndViewFrames]):
(-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
(-[WKView enableFrameSizeUpdates]):
(-[WKView setShouldClipToVisibleRect:]):
(-[WKView forceAsyncDrawingAreaSizeUpdate:]):
Use [_updateViewExposedRect].

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

6 years agoAdd more accurate activity state tracking
oliver@apple.com [Wed, 29 May 2013 23:17:59 +0000 (23:17 +0000)]
Add more accurate activity state tracking
https://bugs.webkit.org/show_bug.cgi?id=116893

Reviewed by Gavin Barraclough.

Source/WebCore:

Add a hysteresis to Page activity throttling.  We do this
through a PageThrottler class that now handles entering and
exiting throttling state, and adds a hysteresis to we can
limit the amount of on/off bouncing on the throttle.

Media elements now make use of this to disable timer throttling
while they are playing, and plugins use it to momentarily bounce
from throttled to unthrottled state.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement):
(WebCore::HTMLMediaElement::pageThrottlerIfPossible):
(WebCore):
(WebCore::HTMLMediaElement::playInternal):
(WebCore::HTMLMediaElement::pauseInternal):
* html/HTMLMediaElement.h:
(WebCore):
* html/MediaController.cpp:
(MediaController::unpause):
* page/ChromeClient.h:
(WebCore::ChromeClient::incrementActivePageCount):
(WebCore::ChromeClient::decrementActivePageCount):
(ChromeClient):
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::~Page):
(WebCore::Page::setThrottled):
* page/Page.h:
(WebCore):
(Page):
(WebCore::Page::pageThrottler):
* page/PageThrottleState.h: Added.
* page/PageThrottler.cpp: Added.
(WebCore):
(WebCore::PageThrottler::PageThrottler):
(WebCore::PageThrottler::~PageThrottler):
(WebCore::PageThrottler::clearPage):
(WebCore::PageThrottler::throttlePage):
(WebCore::PageThrottler::unthrottlePage):
(WebCore::PageThrottler::setThrottled):
(WebCore::PageThrottler::preventThrottling):
(WebCore::PageThrottler::allowThrottling):
(WebCore::PageThrottler::stopThrottleHysteresisTimer):
(WebCore::PageThrottler::reportInterestingEvent):
(WebCore::PageThrottler::startThrottleHysteresisTimer):
(WebCore::PageThrottler::throttleHysteresisTimerFired):
* page/PageThrottler.h: Added.
(WebCore):
(PageThrottler):
(WebCore::PageThrottler::create):
(WebCore::PageThrottler::shouldThrottleAnimations):
(WebCore::PageThrottler::shouldThrottleTimers):

Source/WebKit2:

This extends the logic in WebCore from a Page to Process
granularity, so we will avoid lowering the child process
priority if there is active content.  This also plumbs in
the logic to allow plugins to report that they have done
something "interesting".  Currently this is somewhat conservative
but even this is sufficient to fix some stuttering issues
that we've seen.

* Shared/ChildProcess.cpp:
(WebKit::ChildProcess::ChildProcess):
* Shared/ChildProcess.h:
(ChildProcess):
(WebKit::ChildProcess::processSuppressionEnabled):
(WebKit::ChildProcess::incrementActiveTaskCount):
(WebKit::ChildProcess::decrementActiveTaskCount):
* Shared/mac/ChildProcessMac.mm:
(WebKit):
(WebKit::ChildProcess::setProcessSuppressionEnabledInternal):
(WebKit::ChildProcess::setProcessSuppressionEnabled):
(WebKit::ChildProcess::incrementActiveTaskCount):
(WebKit::ChildProcess::decrementActiveTaskCount):
(WebKit::ChildProcess::suspensionHysteresisTimerFired):
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::NPRuntimeObjectMap):
(WebKit::NPRuntimeObjectMap::evaluate):
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
(WebCore):
(NPRuntimeObjectMap):
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::PluginView):
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::incrementActivePageCount):
(WebKit):
(WebKit::WebChromeClient::decrementActivePageCount):
* WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):

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

6 years agoRemove leftover files for ENABLE_PAGE_POPUP and ENABLE_CALENDAR_PICKER
tkent@chromium.org [Wed, 29 May 2013 22:16:40 +0000 (22:16 +0000)]
Remove leftover files for ENABLE_PAGE_POPUP and ENABLE_CALENDAR_PICKER
https://bugs.webkit.org/show_bug.cgi?id=116999

Reviewed by Anders Carlsson.

.:

* ManualTests/forms/calendar-picker-crash-by-type-change.html: Removed.
* ManualTests/forms/calendar-picker.html: Removed.
* ManualTests/forms/color-suggestion-picker.html: Removed.
* ManualTests/forms/date-suggestion-picker.html: Removed.

Source/WebCore:

* Resources/pagepopups/colorSuggestionPicker.css: Removed.
* Resources/pagepopups/colorSuggestionPicker.js: Removed.
* Resources/pagepopups/pickerCommon.css: Removed.
* Resources/pagepopups/pickerCommon.js: Removed.
* Resources/pagepopups/suggestionPicker.css: Removed.
* Resources/pagepopups/suggestionPicker.js: Removed.

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

6 years agoUnreviewed build fix; remove unintentional semicolon.
jer.noble@apple.com [Wed, 29 May 2013 21:59:58 +0000 (21:59 +0000)]
Unreviewed build fix; remove unintentional semicolon.

* Modules/webaudio/AudioScheduledSourceNode.cpp:
(WebCore::AudioScheduledSourceNode::finish):

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

6 years agoMerge PODArea::Chunk into PODFreeListArena::FreeListChunk
andersca@apple.com [Wed, 29 May 2013 21:53:13 +0000 (21:53 +0000)]
Merge PODArea::Chunk into PODFreeListArena::FreeListChunk
https://bugs.webkit.org/show_bug.cgi?id=117000

Reviewed by Oliver Hunt.

* platform/PODArena.h:
(WebCore::PODArena::roundUp):
* platform/PODFreeListArena.h:
(PODFreeListArena):
(WebCore::PODFreeListArena::FreeListChunk::FreeListChunk):
(FreeListChunk):
(WebCore::PODFreeListArena::FreeListChunk::~FreeListChunk):
(WebCore::PODFreeListArena::FreeListChunk::allocate):

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

6 years agoMove some PODArena members to PODFreeListArena
andersca@apple.com [Wed, 29 May 2013 21:28:57 +0000 (21:28 +0000)]
Move some PODArena members to PODFreeListArena
https://bugs.webkit.org/show_bug.cgi?id=116993

Reviewed by Sam Weinig.

This is more work towards merging the two classes.

* platform/PODArena.h:
(PODArena):
* platform/PODFreeListArena.h:
(PODFreeListArena):
(WebCore::PODFreeListArena::PODFreeListArena):

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

6 years ago[Windows] Be consistent with allocation/deallocation behavior
bfulgham@apple.com [Wed, 29 May 2013 21:28:28 +0000 (21:28 +0000)]
[Windows] Be consistent with allocation/deallocation behavior
https://bugs.webkit.org/show_bug.cgi?id=116998

Reviewed by Anders Carlsson.

* WebPreferences.cpp:
(WebPreferences::setStringValue): Switch from using _wcsdup and
CFStringCreateWithCharactersNoCopy to just use the standard
CFStringCreateWithCharacters call.

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

6 years ago[Mac] Scrubbing long movie files results in timeline snapping back to 0 during scrub.
jer.noble@apple.com [Wed, 29 May 2013 21:20:47 +0000 (21:20 +0000)]
[Mac] Scrubbing long movie files results in timeline snapping back to 0 during scrub.
https://bugs.webkit.org/show_bug.cgi?id=116986

Reviewed by Eric Carlson.

Source/WebCore:

Keep a count of the number of in-flight seek requests, and only issue a timeupdate
(which triggers a "seeked" event) when the final seek completes.

Test: media/video-seek-multiple.html

* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::seek):
(WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(MediaPlayerPrivateAVFoundation):

LayoutTests:

* media/video-seek-multiple-expected.txt: Added.
* media/video-seek-multiple.html: Added.

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

6 years agomedia/video-pause-immediately.html test failing on some platforms.
jer.noble@apple.com [Wed, 29 May 2013 20:55:33 +0000 (20:55 +0000)]
media/video-pause-immediately.html test failing on some platforms.
https://bugs.webkit.org/show_bug.cgi?id=116985

video-pause-immediately.html will fail on some platforms if the <video> element issues a
timeupdate event at currentTime=0. Fix the test by only removing the timeupdate listener
inside the currentTime>0 conditional.

Reviewed by Eric Carlson.

* media/video-pause-immediately.html:

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

6 years agoRemove unused code from PODArena
andersca@apple.com [Wed, 29 May 2013 20:43:33 +0000 (20:43 +0000)]
Remove unused code from PODArena
https://bugs.webkit.org/show_bug.cgi?id=116990

Reviewed by Sam Weinig.

PODArena is only used as a base class of PODFreeListArena so remove unused member functions and make all
members protected to make it impossible to use it without subclassing.

PODArena is a risky class to use since it doesn't return memory to the system unless the arena object is destroyed.
This was the reason why PODFreeListArea was added. An upcoming patch will merge PODArena with PODFreeListArena and
this is a small step towards that goal.

* platform/PODArena.h:

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

6 years agoRemove custom binding for Clipboard setDragImage function
darin@apple.com [Wed, 29 May 2013 19:48:29 +0000 (19:48 +0000)]
Remove custom binding for Clipboard setDragImage function
https://bugs.webkit.org/show_bug.cgi?id=116422

Reviewed by Sam Weinig.

* bindings/js/JSClipboardCustom.cpp: Removed setDragImage binding.

* dom/Clipboard.cpp:
(WebCore::Clipboard::canSetDragImage): Added a condition that this is a drag
and drop clipboard. That used to be checked in the setDragImage binding.
(WebCore::Clipboard::setDragImage): Added a version that takes an Element
and calls through to the existing functions (in the legacy code path), or handles
both the Element and HTMLImageElement not-in-document cases (in the new code path).

* dom/Clipboard.h: Updated for changes above.

* dom/Clipboard.idl: Removed [Custom] from setDragImage.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleDrag): Call the new setDragImage instead of the
old setDragImageElement.

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

6 years agoReturn earlier if there's no session storage namespace
andersca@apple.com [Wed, 29 May 2013 19:43:30 +0000 (19:43 +0000)]
Return earlier if there's no session storage namespace
https://bugs.webkit.org/show_bug.cgi?id=116984
<rdar://problem/13976781>

Reviewed by Tim Horton.

If we can't find a session storage namespace, return before creating an entry in the m_storageAreasByConnection
hash map since then we'll crash trying to remove it later.

* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::createSessionStorageMap):

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

6 years agoCleanup AudioSourceNode.idl from WebKit build.
commit-queue@webkit.org [Wed, 29 May 2013 19:41:09 +0000 (19:41 +0000)]
Cleanup AudioSourceNode.idl from WebKit build.
https://bugs.webkit.org/show_bug.cgi?id=116905.

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-05-29
Reviewed by Darin Adler.

AudioSourceNode.idl is not part of WebAudio Specifications anymore.
AudioNode is inherited directly in all the audio source nodes.

Source/WebCore:

No new tests. Current test cases will cover all the scenarios.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/webaudio/AudioBufferSourceNode.h:
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioScheduledSourceNode.cpp:
(WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode):
* Modules/webaudio/AudioScheduledSourceNode.h:
* Modules/webaudio/AudioSourceNode.h: Removed.
* Modules/webaudio/AudioSourceNode.idl: Removed.
* Modules/webaudio/MediaElementAudioSourceNode.cpp:
(WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
* Modules/webaudio/MediaElementAudioSourceNode.h:
(MediaElementAudioSourceNode):
* Modules/webaudio/MediaElementAudioSourceNode.idl:
* Modules/webaudio/MediaStreamAudioDestinationNode.idl:
* Modules/webaudio/MediaStreamAudioSourceNode.cpp:
(WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
* Modules/webaudio/MediaStreamAudioSourceNode.h:
(MediaStreamAudioSourceNode):
* Modules/webaudio/MediaStreamAudioSourceNode.idl:
* Modules/webaudio/OscillatorNode.h:
* Modules/webaudio/OscillatorNode.idl:
* Target.pri:
* WebCore.xcodeproj/project.pbxproj:

Tools:

* Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:

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

6 years ago[BlackBerry] Add more cellular technologies into the NetworkInfo enum
commit-queue@webkit.org [Wed, 29 May 2013 19:32:06 +0000 (19:32 +0000)]
[BlackBerry] Add more cellular technologies into the NetworkInfo enum
https://bugs.webkit.org/show_bug.cgi?id=116982

PR 340189
Patch by Otto Derek Cheung <otcheung@rim.com> on 2013-05-29
Reviewed by Rob Buis.

Provide more specific bandwidth speeds on different network
services our devices provide.

* WebCoreSupport/NetworkInfoClientBlackBerry.cpp:
(WebCore):
(WebCore::NetworkInfoClientBlackBerry::bandwidth):

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

6 years agoOptimize RenderText::offsetNext for 8 bit strings
abarth@webkit.org [Wed, 29 May 2013 19:26:16 +0000 (19:26 +0000)]
Optimize RenderText::offsetNext for 8 bit strings
https://bugs.webkit.org/show_bug.cgi?id=116877

Reviewed by Darin Adler.

Source/WebCore:

Previously, this function was always upconverting strings to 16 bits in
order to create a cursorMovementIterator. This patch adds a fast path
for ASCII and Latin-1 strings, which don't need this complicated cursor
movement logic.

I ran into this code because nextOffset showed up as a memory pig on a
memory profile of Mobile Gmail.

Test: editing/selection/move-by-character-brute-force.html

* rendering/RenderText.cpp:
(WebCore::RenderText::previousOffset):
(WebCore::RenderText::nextOffset):

LayoutTests:

Test that caret movement works correctly for many code points.

* editing/selection/move-by-character-brute-force-expected.txt: Added.
* editing/selection/move-by-character-brute-force.html: Added.

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

6 years agoFix more CMake GTK+ build issues after r150336
mrobinson@webkit.org [Wed, 29 May 2013 19:24:05 +0000 (19:24 +0000)]
Fix more CMake GTK+ build issues after r150336

.:

* Source/cmake/OptionsGTK.cmake: Actually set the new output name variable
and be sure to set WTF_USE_EGL when EGL is enabled.

Source/WebKit2:

* CMakeLists.txt: We need to allow for setting the WebProcess output name, since
WebKitGTK+ expects it to be called WebKitWebProcess.
* PlatformGTK.cmake: No longer set WebProcess_EXECUTABLE_NAME as it's been replaced
by WebKit2_WebProcess_OUTPUT_NAME.

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