Do not filter cookies requested through the CookieStorageShim.
https://bugs.webkit.org/show_bug.cgi?id=117511
<rdar://problem/13603433>

Reviewed by Beth Dakin.

Since the shim function is called when the underlying media engine is
creating an HTTPRequest, use CookieRequestHeaderFieldValue (which does
not filter out HTTP-only cookies) rather than CookiesForDOM (which does).

* Shared/mac/CookieStorageShim.cpp:
(WebKit::webKitCookieStorageCopyRequestHeaderFieldsForURL):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add baselines for test added in r151444

Unreviewed.

* platform/gtk/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Added.
* platform/win/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
There are unused variables in ApplyStyleCommand::mergeEndWithNextIfIdentical and ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds
https://bugs.webkit.org/show_bug.cgi?id=117475

Reviewed by Andreas Kling.

Removed.

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::mergeEndWithNextIfIdentical):
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Positioned Replaced Elements That Aren't RenderReplaced get Incorrect Width
https://bugs.webkit.org/show_bug.cgi?id=93735

Reviewed by Darin Adler.

Source/WebCore:

Replaced elements that aren't RenderReplaced aren't |isReplaced| and don't have an
intrinsic height or width. This causes them to go down the wrong height and width computation
path in RenderBox when they are absolute positioned.

The notion of |isReplaced| is entwined with the notion of being |isInline| so it isn't really
possible to make them isReplaced without re-wiring a lot of code. So instead use an ad-hoc definition
of isReplacedElement in RenderBox to bring all replaced elements into the height and width calculation.
To make sure we get the right height and width in there, give non-RenderReplaced replaced renderers
the helpers for returning their approximation of intrinsic height and width.

Test: fast/replaced/width-and-height-of-positioned-replaced-elements.html

* rendering/RenderBox.cpp:
(WebCore::isReplacedElement):
(WebCore::RenderBox::computePositionedLogicalWidth):
(WebCore::RenderBox::computePositionedLogicalHeight):
* rendering/RenderBox.h:
(WebCore::RenderBox::intrinsicSize):
* rendering/RenderButton.h:
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::RenderListBox):
(WebCore::RenderListBox::computeLogicalHeight):
* rendering/RenderListBox.h:
* rendering/RenderMenuList.h:
* rendering/RenderReplaced.h:
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::RenderTextControl):
(WebCore::RenderTextControl::computeLogicalHeight):
* rendering/RenderTextControl.h:

LayoutTests:

* fast/forms/onselect-textfield-expected.txt:
* fast/replaced/width-and-height-of-positioned-replaced-elements-expected.png: Added.
* fast/replaced/width-and-height-of-positioned-replaced-elements-expected.txt: Added.
* fast/replaced/width-and-height-of-positioned-replaced-elements.html: Added.
* platform/mac-wk2/fast/replaced/width-and-height-of-positioned-replaced-elements-expected.txt: Added.
* platform/mac/fast/forms/button-positioned-expected.txt:
* platform/mac/fast/forms/input-appearance-preventDefault-expected.txt:
* platform/mac/fast/replaced/width-and-height-of-positioned-replaced-elements-expected.txt: Added.
* platform/qt/fast/forms/button-positioned-expected.txt:
* platform/qt/fast/forms/input-appearance-preventDefault-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Open Source the Safari Web Inspector back to WebKit.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update the framework bundle identifier for the Web Inspector.

Reviewed by Mark Rowe.

Source/WebKit/mac:

* WebCoreSupport/WebInspectorClient.mm:
(useWebKitWebInspector):
(WebInspectorFrontendClient::localizedStringsURL):
(-[WebInspectorWindowController inspectorPagePath]):

Source/WebKit2:

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::inspectorReallyUsesWebKitUserInterface):
(WebKit::WebInspectorProxy::inspectorPageURL):
(WebKit::WebInspectorProxy::inspectorBaseURL):
* WebProcess/WebPage/mac/WebInspectorMac.mm:
(WebKit::inspectorReallyUsesWebKitUserInterface):
(WebKit::WebInspector::localizedStringsURL):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add WebInspectorUI to the Makefile.

Reviewed by Mark Rowe.

* Source/Makefile:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Rebaselining various tests that are at the moment failing and need the new baseline.

* platform/gtk/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-019-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-020-expected.txt:
* platform/gtk/editing/pasteboard/4944770-2-expected.txt:
* platform/gtk/editing/pasteboard/8145-2-expected.txt:
* platform/gtk/editing/pasteboard/paste-line-endings-006-expected.txt:
* platform/gtk/editing/pasteboard/paste-text-008-expected.txt:
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-003-expected.txt:
* platform/gtk/editing/pasteboard/paste-xml-expected.txt:
* platform/gtk/http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [Windows] Implement 'attributeValue' accessor to support testing.
https://bugs.webkit.org/show_bug.cgi?id=117513

Reviewed by Anders Carlsson.

* WebCore.vcxproj/WebCore.vcxproj: Add new implementation file.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
* accessibility/win/AccessibilityObjectWrapperWin.cpp: Added.
* accessibility/win/AccessibilityObjectWrapperWin.h: Add declaration

Source/WebKit/win: [Windows] Implement 'attributeValue' accessor to support testing.
https://bugs.webkit.org/show_bug.cgi?id=117513

Reviewed by Anders Carlsson.

* AccessibleBase.cpp:
(AccessibleBase::attributeValue): Added.
* AccessibleBase.h: Added method declaration.
* Interfaces/AccessibleComparable.idl: New accessor interface.

Tools: [Windows] Implement 'attributeValue' accessor to support testing
https://bugs.webkit.org/show_bug.cgi?id=117513

Reviewed by Anders Carlsson.

* DumpRenderTree/win/AccessibilityControllerWin.cpp:
(comparableObject): Move earlier in file.
(findAccessibleObjectById): New implemenation.
(AccessibilityController::accessibleElementById): New implementation.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Set the font size for in-band captions on the display box, not the :cue.
https://bugs.webkit.org/show_bug.cgi?id=117515

Reviewed by Eric Carlson.

Make the in-band font size behavior match the out-of-band behavior.

* html/track/TextTrackCueGeneric.cpp:
(WebCore::TextTrackCueGeneric::setFontSize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=117514
Removed extra Xcode code coverage flags.

Reviewed by Sam Weinig.

* Scripts/webkitdirs.pm:
(XcodeCoverageSupportOptions):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add an option to run-webkit-tests to skip java dependency check
https://bugs.webkit.org/show_bug.cgi?id=117516

Reviewed by Andreas Kling.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
* Scripts/webkitpy/port/mac.py:
(MacPort._check_port_build):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rebaseline results after r151451

Unreviewed, gardening.

* platform/efl/fast/forms/button-positioned-expected.txt:
* platform/efl/fast/forms/input-appearance-preventDefault-expected.txt:
* platform/efl/fast/replaced/width-and-height-of-positioned-replaced-elements-expected.txt: Added.
* platform/gtk/fast/forms/button-positioned-expected.txt:
* platform/gtk/fast/forms/input-appearance-preventDefault-expected.png:
* platform/gtk/fast/forms/input-appearance-preventDefault-expected.txt:
* platform/gtk/fast/replaced/width-and-height-of-positioned-replaced-elements-expected.txt: Added.
* platform/win/fast/forms/onselect-textfield-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r151408.
http://trac.webkit.org/changeset/151408
https://bugs.webkit.org/show_bug.cgi?id=117519

Opting for a different approach (Requested by rfong on
#webkit).

* win/WinTools.make: Removed.
* win/tools32/WinTools.make: Renamed from WebKitLibraries/win/tools64/WinTools.make.
* win/tools64/scripts/COPYRIGHT-END-YEAR: Removed.
* win/tools64/scripts/VERSION: Removed.
* win/tools64/scripts/auto-version.sh: Removed.
* win/tools64/scripts/feature-defines.sh: Removed.
* win/tools64/vsprops/FeatureDefines.props: Removed.
* win/tools64/vsprops/FeatureDefines.vsprops: Removed.
* win/tools64/vsprops/FeatureDefinesCairo.props: Removed.
* win/tools64/vsprops/FeatureDefinesCairo.vsprops: Removed.
* win/tools64/vsprops/WinCairo.props: Removed.
* win/tools64/vsprops/WinCairo.vsprops: Removed.
* win/tools64/vsprops/cURL.props: Removed.
* win/tools64/vsprops/cURL.vsprops: Removed.
* win/tools64/vsprops/common.props: Removed.
* win/tools64/vsprops/common.vsprops: Removed.
* win/tools64/vsprops/debug.props: Removed.
* win/tools64/vsprops/debug.vsprops: Removed.
* win/tools64/vsprops/debug_all.vsprops: Removed.
* win/tools64/vsprops/debug_wincairo.props: Removed.
* win/tools64/vsprops/debug_wincairo.vsprops: Removed.
* win/tools64/vsprops/debugsuffix.props: Removed.
* win/tools64/vsprops/production.props: Removed.
* win/tools64/vsprops/production.vsprops: Removed.
* win/tools64/vsprops/release.props: Removed.
* win/tools64/vsprops/release.vsprops: Removed.
* win/tools64/vsprops/releaseproduction.vsprops: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Have build-webkit build the WebInspectorUI project.

* Scripts/build-webkit:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clean up the initializer mess in Document
https://bugs.webkit.org/show_bug.cgi?id=117448

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-06-11
Reviewed by Ryosuke Niwa.

Basic cleaning from
https://chromium.googlesource.com/chromium/blink/+/e54ba8d3b62b0245ecdf2f3ec11cd33b4035a4d7

* dom/Document.cpp:
(WebCore::Document::Document):
* dom/Document.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the element type in the selector checkers
https://bugs.webkit.org/show_bug.cgi?id=117450

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-06-11
Reviewed by Anders Carlsson.

* css/SelectorCheckerFastPath.cpp:
(WebCore::HTMLNames::checkClassValue):
* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::executeSingleClassNameSelectorData):


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