Layout Test fast/forms/input-widths.html is failing
https://bugs.webkit.org/show_bug.cgi?id=92863

Reviewed by Kent Tamura.

This patch removes test cases for "date", "datetime", "datetime-local",
"month", "time" and "week" input types from fast/forms/input-widths.html
and updates its expectation, because these test cases aren't reasonable
any more.

This patch also removes test sample of input type "color".

After r124314, All chromium ports, except for Android, input type
"time" uses "monospace" font which makes input field wider.

* fast/forms/input-widths-expected.txt: Removed expectation of "date", "datetime", "datetime-local",
"month", "time" and "week" input types.
* fast/forms/input-widths.html: Removed test cases for "date", "datetime", "datetime-local",
"month", "time" and "week" input types, and a test sample for "color".
* platform/chromium/TestExpectations: Removed disabling line of fast/forms/input-widths.html

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DFGSpeculativeJIT.h has too many inline method bodies
https://bugs.webkit.org/show_bug.cgi?id=92957

Reviewed by Antti Koivisto.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::speculationCheck):
(DFG):
(JSC::DFG::SpeculativeJIT::speculationWatchpoint):
(JSC::DFG::SpeculativeJIT::forwardSpeculationCheck):
(JSC::DFG::SpeculativeJIT::speculationCheckWithConditionalDirection):
(JSC::DFG::SpeculativeJIT::terminateSpeculativeExecution):
(JSC::DFG::SpeculativeJIT::terminateSpeculativeExecutionWithConditionalDirection):
* dfg/DFGSpeculativeJIT.h:
(SpeculativeJIT):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MediaStream API: Move RTCConfiguration to its proper place
https://bugs.webkit.org/show_bug.cgi?id=92867

Reviewed by Adam Barth.

This patch moves RTCConfiguration to Source/WebCore/platform/mediastream,
and adds its WebKit interface for chromium.

Source/Platform:

* Platform.gypi:
* chromium/public/WebRTCConfiguration.h: Added.
(WebCore):
(WebKit):
(WebRTCICEServer):
(WebKit::WebRTCICEServer::WebRTCICEServer):
(WebKit::WebRTCICEServer::~WebRTCICEServer):
(WebKit::WebRTCICEServer::operator=):
(WebKit::WebRTCICEServer::isNull):
(WebRTCConfiguration):
(WebKit::WebRTCConfiguration::WebRTCConfiguration):
(WebKit::WebRTCConfiguration::~WebRTCConfiguration):
(WebKit::WebRTCConfiguration::operator=):
(WebKit::WebRTCConfiguration::isNull):

Source/WebCore:

No functional code changes.

* GNUmakefile.list.am:
* Modules/mediastream/RTCPeerConnection.cpp:
* WebCore.gypi:
* platform/chromium/support/WebRTCConfiguration.cpp: Added.
(WebKit):
(WebKit::WebRTCICEServer::WebRTCICEServer):
(WebKit::WebRTCICEServer::assign):
(WebKit::WebRTCICEServer::reset):
(WebKit::WebRTCICEServer::uri):
(WebKit::WebRTCICEServer::credential):
(WebKit::WebRTCConfiguration::WebRTCConfiguration):
(WebKit::WebRTCConfiguration::assign):
(WebKit::WebRTCConfiguration::reset):
(WebKit::WebRTCConfiguration::numberOfServers):
(WebKit::WebRTCConfiguration::server):
* platform/mediastream/RTCConfiguration.h: Added.
(WebCore):
(RTCIceServer):
(WebCore::RTCIceServer::create):
(WebCore::RTCIceServer::~RTCIceServer):
(WebCore::RTCIceServer::uri):
(WebCore::RTCIceServer::credential):
(WebCore::RTCIceServer::RTCIceServer):
(RTCConfiguration):
(WebCore::RTCConfiguration::create):
(WebCore::RTCConfiguration::~RTCConfiguration):
(WebCore::RTCConfiguration::appendServer):
(WebCore::RTCConfiguration::numberOfServers):
(WebCore::RTCConfiguration::server):
(WebCore::RTCConfiguration::RTCConfiguration):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, missed a style goof in the previous patch: "NodeIndex nodeIndex"
in a method signature is painfully redundant.

* dfg/DFGSpeculativeJIT.h:
(SpeculativeJIT):



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

* platform/qt/Skipped:
* platform/qt/fast/box-sizing/box-sizing-expected.txt:
* platform/qt/fast/forms/basic-selects-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, expectations cleanup

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CSSRegions: Crash when reattaching a region to a named flow.
https://bugs.webkit.org/show_bug.cgi?id=91307

Reviewed by Abhishek Arya.

Source/WebCore:

The lifetime of a flow thread  has changed from not being destroyed (until the RenderView is destroyed) to being destroyed,
under certain conditions, no attached regions and no content, before RenderView is destroyed.
When the flow thread does not have any content and the region to be detached is the last region for the flow thread,
the flow thread is destroyed.
In this case, if the same region has to be attached again to the flow thread, the flow thread needs to be
recreated, otherwise the crash will result.

Test: fast/regions/region-flow-reattach-crash.html

* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::attachRegion):
We skip the attach if we are in the middle of document destruction.
We recreate the flow thread to which the region is intended to be attached only if the region was
not previously marked as invalid in relation to the flow thread (because the region was part of a
circular dependency).
(WebCore::RenderRegion::detachRegion): After the region is detached from flow thread,
null the region internal pointer to the flow thread to mark that the region is not
attached.

LayoutTests:

Test that after the last region from a flow thread is reattached
to the same flow thread, the flow thread object is properly recreated
thus preventing a crash.

* fast/regions/region-flow-reattach-crash-expected.txt: Added.
* fast/regions/region-flow-reattach-crash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Update expectations of calendar-picker-appearance.html
https://bugs.webkit.org/show_bug.cgi?id=92710

* platform/chromium-linux-x86/fast/forms/date/calendar-picker-appearance-expected.png: Removed.
* platform/chromium-linux/fast/forms/date/calendar-picker-appearance-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.png:
* platform/chromium-mac/fast/forms/date/calendar-picker-appearance-expected.png:
* platform/chromium-win-xp/fast/forms/date/calendar-picker-appearance-expected.png:
* platform/chromium-win/fast/forms/date/calendar-picker-appearance-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Add WebKitNetworkResponse::suggested-filename property
https://bugs.webkit.org/show_bug.cgi?id=92878

Patch by Claudio Saavedra <csaavedra@igalia.com> on 2012-08-02
Reviewed by Carlos Garcia Campos.

Webcore has API the suggested filename for a response, add
a property and getter for it in WebKitNetworkResponse.

* docs/webkitgtk-sections.txt: Add the symbols
* webkit/webkitnetworkresponse.cpp:
(_WebKitNetworkResponsePrivate): Add suggested_filename.
(webkit_network_response_finalize): Free it on finalize
(webkit_network_response_get_property): Add the getter call.
(webkit_network_response_class_init): Install the property.
(webkit_network_response_get_suggested_filename): New getter.
* webkit/webkitnetworkresponse.h: Add the declaration to header
file.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Gardening after r124278, r124371
https://bugs.webkit.org/show_bug.cgi?id=92959

Unreviewed gardening.

Putting to TestExpectations css3/flexbox/content-height-with-scrollbars.html and
http/tests/security/contentSecurityPolicy/object-src-url-blocked.html.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-02

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Test expectation updates.
https://bugs.webkit.org/show_bug.cgi?id=76270
https://bugs.webkit.org/show_bug.cgi?id=92941

Mark a test as flakily crashing, unskip some questionably-skipped tests, reorganize slow test section a bit.

* platform/chromium/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] fast/forms/color/input-appearance-color.html and input-color-onchange-event.html are failing on WebKit waterfall
https://bugs.webkit.org/show_bug.cgi?id=88951

Unreviewed.

Rebaseline these two tests.


* platform/chromium-linux/fast/forms/color/input-appearance-color-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/forms/color/input-appearance-color-expected.png: Added.
* platform/chromium-mac/fast/forms/color/input-appearance-color-expected.png: Added.
* platform/chromium-mac/fast/forms/color/input-appearance-color-expected.txt: Added.
* platform/chromium-win/fast/forms/color/input-appearance-color-expected.png: Added.
* platform/chromium-win/fast/forms/color/input-appearance-color-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/chromium/fast/forms/color/input-color-onchange-event-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Improve garbage collector hint if page uses Canvas contexts
https://bugs.webkit.org/show_bug.cgi?id=92856

Patch by ulan@chromium.org <ulan@chromium.org> on 2012-08-02
Reviewed by Kentaro Hara.

Request GC by sending context disposed and idle notification to V8 instead
of sending low memory notification. It is faster as it causes one GC
instead of seven GCs caused by low memory notification.

* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
* bindings/v8/V8Binding.h:
(V8BindingPerIsolateData):
(WebCore::V8BindingPerIsolateData::setShouldCollectGarbageSoon):
(WebCore::V8BindingPerIsolateData::clearShouldCollectGarbageSoon):
(WebCore::V8BindingPerIsolateData::shouldCollectGarbageSoon):
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::hintForGCIfNecessary):
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed.  Rolled DEPS.

* DEPS:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Test expectation updates.
https://bugs.webkit.org/show_bug.cgi?id=92948
http://crbug.com/131687

Unreviewed, test expectation updates.

Removed bogus baseline.  Fixed some other expectation problems.

* platform/chromium-linux-x86/fast/js/dfg-double-vote-fuzz-expected.txt: Removed.
* platform/chromium/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Implement hyphenation for Chromium
https://bugs.webkit.org/show_bug.cgi?id=48610

Reviewed by Eric Seidel.

This change adds a couple of methods canHyphenate and computeLastHyphenLocation
to Platform so Chromium can implement them. Also, this change uses these methods
to implement the hyphenation methods of WebCore. (This change does not change
any behaviors until Chromium implements these methods.)

Source/Platform:

* chromium/public/Platform.h:
(Platform):
(WebKit::Platform::canHyphenate): Added a stub method so Chromium can implement it.
(WebKit::Platform::computeLastHyphenLocation): ditto.

Source/WebCore:

No new tests because this change is for fixing a couple of existing layout tests
'fast/text/hyphenate-character.html' and 'fast/text/hyphens.html'.

* WebCore.gypi:
* platform/text/chromium/Hyphenation.cpp: Added.
(WebCore):
(WebCore::canHyphenate): Called Platform::canHyphenation().
(WebCore::lastHyphenLocation): Called Platform::computeLastHyphenLocation().


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: rename reportMemoryUsage to reportDescendantMemoryUsage in StyleRuleBase descendants
https://bugs.webkit.org/show_bug.cgi?id=92966

Reviewed by Alexander Pavlov.

Renamed reportMemoryUsage to reportDescendantMemoryUsage in all descendants of
StyleRuleBase to avoid accidental recursive calls to StyleRuleBase::reportMemoryUsage
when a new type of rule is added.

* css/StyleRule.cpp:
(WebCore::StyleRuleBase::reportMemoryUsage):
(WebCore::StyleRule::reportDescendantMemoryUsage):
(WebCore::StyleRulePage::reportDescendantMemoryUsage):
(WebCore::StyleRuleFontFace::reportDescendantMemoryUsage):
(WebCore::StyleRuleBlock::reportDescendantMemoryUsage):
(WebCore::StyleRuleMedia::reportDescendantMemoryUsage):
(WebCore::StyleRuleRegion::reportDescendantMemoryUsage):
* css/StyleRule.h:
(StyleRule):
(StyleRuleFontFace):
(StyleRulePage):
(StyleRuleBlock):
(StyleRuleMedia):
(StyleRuleRegion):
* css/StyleRuleImport.cpp:
(WebCore::StyleRuleImport::reportDescendantMemoryUsage):
* css/StyleRuleImport.h:
(StyleRuleImport):
* css/WebKitCSSKeyframesRule.cpp:
(WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
* css/WebKitCSSKeyframesRule.h:
(StyleRuleKeyframes):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, update expectations for 6 failing http/tests/appcache/abort-cache-on*.html tests.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaseline test color-suggestion-picker-with-scrollbar-appearance.html

Unreviewed.

* platform/chromium-linux/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png: Added.
* platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png: Added.
* platform/chromium-win/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png: Added.
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, mark 3 404-related appcache tests as TEXT.

* platform/chromium/TestExpectations:

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