Web Inspector: mouse drifts away from resizer when resizing docked inspector
https://bugs.webkit.org/show_bug.cgi?id=22263

Patch by Matt Baker <mattbaker@apple.com> on 2014-09-15
Reviewed by Joseph Pecoraro.

Modified the docked resizer dragging logic to record the initial mouse down position relative to the
resizer client rectangle. Added check while dragging the resizer to ensure that the cursor is positioned
correctly with respect to the resize direction before updating the attached window dimension.

* UserInterface/Base/Main.js:
(WebInspector._dockedResizerMouseDown.dockedResizerDrag):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Windows rebaselining to account for subpixel layout Part 1.

* platform/win/editing/selection/move-left-right-expected.txt:
* platform/win/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
* platform/win/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
* platform/win/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
* platform/win/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
* platform/win/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
* platform/win/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
* platform/win/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
* platform/win/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
* platform/win/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Core: Websocket state should be set to closed in didReceiveMessage call back.
https://bugs.webkit.org/show_bug.cgi?id=136219

Patch by Shivakumar JM <shiva.jm@samsung.com> on 2014-09-15
Reviewed by Alexey Proskuryakov.

Source/WebCore:

Set the Websocket state to closed in didReceiveMessage call back.

Test: http/tests/websocket/tests/hybi/error-event-ready-state.html

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

LayoutTests:

Added test to check readyState is CLOSED within onerror event.

* http/tests/websocket/tests/hybi/error-event-ready-state-expected.txt: Added.
* http/tests/websocket/tests/hybi/error-event-ready-state.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Un-inline the Node constructor
https://bugs.webkit.org/show_bug.cgi?id=136842

Reviewed by Benjamin Poulain.

Un-inline the Node constructor as it does not seem to impact
performance, based on my testing:
http://dromaeo.com/?id=226992,226998

This reduces the stripped binary size by ~4Kb.

No new tests, no behavior change.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed Windows gardening. fast/forms/label test expectations now match Mac platform's expectations.

* platform/win/fast/forms/label: Removed.
* platform/win/fast/forms/label/labelable-elements-expected.txt: Removed.
* platform/win/fast/forms/label/labels-add-htmlFor-label-expected.txt: Removed.
* platform/win/fast/forms/label/labels-add-parent-label-expected.txt: Removed.
* platform/win/fast/forms/label/labels-change-htmlFor-attribute-expected.txt: Removed.
* platform/win/fast/forms/label/labels-multiple-sibling-labels-expected.txt: Removed.
* platform/win/fast/forms/label/labels-parent-and-sibling-labels-expected.txt: Removed.
* platform/win/fast/forms/label/labels-remove-htmlFor-attribute-expected.txt: Removed.
* platform/win/fast/forms/label/labels-remove-htmlFor-label-expected.txt: Removed.
* platform/win/fast/forms/label/labels-remove-parent-label-expected.txt: Removed.
* platform/win/fast/forms/label/labels-set-htmlFor-attribute-expected.txt: Removed.

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