[CMAKE][EFL] Enable DOM4 Events Constructor
https://bugs.webkit.org/show_bug.cgi?id=117858

Reviewed by Laszlo Gombos.

.:

* Source/cmake/OptionsEfl.cmake: Enabled ENABLE_DOM4_EVENTS_CONSTRUCTOR.
* Source/cmake/WebKitFeatures.cmake: Added ENABLE_DOM4_EVENTS_CONSTRUCTOR.
* Source/cmakeconfig.h.cmake: Ditto.

Tools:

* Scripts/webkitperl/FeatureList.pm: Enable the feature for the EFL port.

LayoutTests:

* platform/efl/TestExpectations: Unskip the related tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Refine the StackBounds computation for Windows.
https://bugs.webkit.org/show_bug.cgi?id=117854.

Reviewed by Brent Fulgham.

* wtf/StackBounds.cpp:
(WTF::StackBounds::initialize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r149652): accessing items in .children via id doesn't work when element is not rooted in DOM tree
https://bugs.webkit.org/show_bug.cgi?id=117836

Reviewed by Benjamin Poulain.

Source/WebCore: 

When the root node of a HTML collection is not in the document or in a shadow tree,
we shouldn't use its tree scope's id and name maps to find name getters.

Always use the slow path in such cases.

Test: fast/dom/htmlallcollection-detached-node-children.html

* html/HTMLCollection.cpp:
(WebCore::HTMLCollection::namedItem):

LayoutTests: 

Add a regression test for named getter for a detached element.

* fast/dom/htmlallcollection-detached-node-children-expected.txt: Added.
* fast/dom/htmlallcollection-detached-node-children.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r145788): mouse drag on canvas shouldn't start selection
https://bugs.webkit.org/show_bug.cgi?id=117860

Reviewed by Benjamin Poulain.

Source/WebCore: 

Like HTMLImageElement, HTMLCanvasElement shouldn't start selection.

Also uninline some virtual function overrides.

Test: fast/events/mosuedrag-on-canvas-should-not-start-selection.html

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::areAuthorShadowsAllowed):
(WebCore::HTMLCanvasElement::canContainRangeEndPoint):
(WebCore::HTMLCanvasElement::canStartSelection):
* html/HTMLCanvasElement.h:

LayoutTests: 

Add a regression test for dragging mouse inside a canvas.
The canvas should not be selected and mouseup event should fire.

* fast/events/mosuedrag-on-canvas-should-not-start-selection-expected.txt: Added.
* fast/events/mosuedrag-on-canvas-should-not-start-selection.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r151808): fast/xmlhttprequest/xmlhttprequest-recursive-sync-event.html fails
https://bugs.webkit.org/show_bug.cgi?id=117862

Add a failing test expectation.

* platform/mac/TestExpectations:


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