[ATK] Translate ATK_ROLE_SECTION into "AXSection" in DRT/WKTR
https://bugs.webkit.org/show_bug.cgi?id=125456

Reviewed by Chris Fleizach.

Tools:

Return 'AXSection' for section roles instead of 'AXDiv'.

* DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:

LayoutTests:

Update expectations for GTK and EFL that were expecting AXDiv for
section roles, so they now expect AXSection.

* accessibility/adjacent-continuations-cause-assertion-failure-expected.txt:
* accessibility/div-within-anchors-causes-crash-expected.txt:
* platform/efl-wk1/accessibility/image-map2-expected.txt:
* platform/efl-wk1/accessibility/transformed-element-expected.txt:
* platform/efl-wk2/accessibility/image-map2-expected.txt:
* platform/efl-wk2/accessibility/transformed-element-expected.txt:
* platform/efl/accessibility/media-emits-object-replacement-expected.txt:
* platform/gtk/accessibility/aria-roles-unignored-expected.txt:
* platform/gtk/accessibility/aria-roles-unignored.html:
* platform/gtk/accessibility/entry-and-password-expected.txt:
* platform/gtk/accessibility/image-map2-expected.txt:
* platform/gtk/accessibility/media-emits-object-replacement-expected.txt:
* platform/gtk/accessibility/object-with-title-expected.txt:
* platform/gtk/accessibility/object-with-title.html:
* platform/gtk/accessibility/replaced-objects-in-anonymous-blocks-expected.txt:
* platform/gtk/accessibility/spans-paragraphs-and-divs-expected.txt:
* platform/gtk/accessibility/spans-paragraphs-and-divs.html:
* platform/gtk/accessibility/transformed-element-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] OpenGL compile error.
https://bugs.webkit.org/show_bug.cgi?id=125383

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-12-09
Reviewed by Darin Adler.

* platform/graphics/opengl/Extensions3DOpenGLES.h: Define GL_HALF_FLOAT_ARB on Windows when OPENGL_ES_2 is used.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove docs/make-bytecode-docs.pl
https://bugs.webkit.org/show_bug.cgi?id=125462

This sript is very old and no longer outputs useful data since the
op code definitions have moved from Interpreter.cpp.

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-12-09
Reviewed by Darin Adler.

* DerivedSources.make:
* docs/make-bytecode-docs.pl: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the build of projects including <WebKit/WebUIDelegatePrivate.h>

Rubber-stamped by Dan Bernstein.

* WebView/WebAllowDenyPolicyListener.h:
Use TARGET_OS_IPHONE rather than PLATFORM(IOS) in an exposed header.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r160260): Memory pressure signal causes web process to hang.
<https://webkit.org/b/125465>

Reviewed by Tim Horton.

This command caused all of my web processes to hang:

    notifyutil -p org.WebKit.lowMemory

This only happens when the cache pruning code encounters a resource
using purgeable memory.

* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::pruneLiveResourcesToSize):

    Grab the next CachedResource pointer before continuing the loop.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CSE should work in SSA
https://bugs.webkit.org/show_bug.cgi?id=125430

Reviewed by Oliver Hunt and Mark Hahnenberg.

* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::run):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGPlan.cpp:
(JSC::DFG::Plan::compileInThreadImpl):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement Document.cloneNode()
https://bugs.webkit.org/show_bug.cgi?id=11646

Reviewed by Darin Adler.

Source/WebCore: 

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

Implement the behavior specified in the current DOM4 working draft:
http://www.w3.org/TR/2013/WD-dom-20131107/#dom-node-clonenode

Tests: fast/dom/Document/clone-node.html
       fast/dom/HTMLDocument/clone-node-quirks-mode.html
       svg/custom/clone-node.html

* dom/Document.cpp:
(WebCore::Document::cloneNode):
(WebCore::Document::cloneDocumentWithoutChildren):
(WebCore::Document::cloneDataFromDocument):
* dom/Document.h:
* html/HTMLDocument.cpp:
(WebCore::HTMLDocument::cloneDocumentWithoutChildren):
* html/HTMLDocument.h:
* svg/SVGDocument.cpp:
(WebCore::SVGDocument::cloneDocumentWithoutChildren):
* svg/SVGDocument.h:

LayoutTests: 

* dom/xhtml/level3/core/documentgetinputencoding04-expected.txt:
* dom/xhtml/level3/core/documentgetxmlencoding05-expected.txt:
* dom/xhtml/level3/core/nodeisequalnode01-expected.txt:
* dom/xhtml/level3/core/nodeisequalnode21-expected.txt:
* dom/xhtml/level3/core/nodeisequalnode25-expected.txt:
* dom/xhtml/level3/core/nodeisequalnode26-expected.txt:
* fast/dom/Document/clone-node-expected.txt: Added.
* fast/dom/Document/clone-node.html: Added.
* fast/dom/HTMLDocument/clone-node-quirks-mode-expected.txt: Added.
* fast/dom/HTMLDocument/clone-node-quirks-mode.html: Added.
* svg/custom/clone-node-expected.txt: Added.
* svg/custom/clone-node.html: Added.


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