DOMParser.parseFromString() should support creating HTML Document with mime-type text/html
https://bugs.webkit.org/show_bug.cgi?id=120826

Reviewed by Darin Adler.

Source/WebCore:

The specification http://domparsing.spec.whatwg.org/#the-domparser-interface for DOMParser.parseFromString()
allows the document creation if the mimeType is one of the supported types:
["text/html", "text/xml", "application/xml", "application/xhtml+xml", "image/svg+xml"]

Also script elements get marked unexecutable and the contents of noscript get parsed as markup.

blink review URL: https://codereview.chromium.org/23903014/

Test: fast/dom/domparser-parsefromstring-mimetype-support.html

* xml/DOMParser.cpp:
(WebCore::DOMParser::parseFromString):

LayoutTests:

* fast/dom/domparser-parsefromstring-mimetype-support-expected.txt: Added.
* fast/dom/domparser-parsefromstring-mimetype-support.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use the new C++11 function declaration syntax throughout our hash collection classes
https://bugs.webkit.org/show_bug.cgi?id=121195

Reviewed by Andreas Kling.

* wtf/HashMap.h:
* wtf/HashSet.h:
* wtf/HashTable.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed indentation in JSC Debugger header files.
https://bugs.webkit.org/show_bug.cgi?id=121203.

Reviewed by Ryosuke Niwa.

* debugger/Debugger.h:
* debugger/DebuggerActivation.h:
(JSC::DebuggerActivation::create):
(JSC::DebuggerActivation::createStructure):
* debugger/DebuggerCallFrame.h:
(JSC::DebuggerCallFrame::DebuggerCallFrame):
(JSC::DebuggerCallFrame::callFrame):
(JSC::DebuggerCallFrame::dynamicGlobalObject):
(JSC::DebuggerCallFrame::scope):
(JSC::DebuggerCallFrame::exception):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix the build.

Move MoveOnly.h to Tests/WTF and fix the broken Xcode project that caused me to add the header
file in the Tests/ directory in the first place.

* TestWebKitAPI/CMakeLists.txt:
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/MoveOnly.h: Renamed from Tools/TestWebKitAPI/Tests/MoveOnly.h.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix GCC builds.

* TestWebKitAPI/Tests/WTF/MoveOnly.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Removed some unused functions from the debugger interface
https://bugs.webkit.org/show_bug.cgi?id=121194

Reviewed by Joseph Pecoraro.

We plan to use the "evaluate" API and debugger activation property access for all the features we need.

Source/WebCore: 

* inspector/JavaScriptCallFrame.idl: These are the interfaces I removed.

* bindings/js/JSJavaScriptCallFrameCustom.cpp:
* inspector/InjectedScript.cpp:
* inspector/InjectedScript.h:
* inspector/InjectedScriptSource.js:
* inspector/Inspector.json:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::setScriptSource):
* inspector/InspectorDebuggerAgent.h:
* inspector/JavaScriptCallFrame.idl:
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.prototype.):
(WebInspector.RemoteObject.prototype.setPropertyValue): These files are mechanical removals of code that used
or implemented the interfaces I removed.

Source/WebInspectorUI: 

* UserInterface/InspectorBackendCommands.js: Updated by script.

LayoutTests: 

* inspector/debugger/debugger-change-variable-expected.txt: Removed.
* inspector/debugger/debugger-change-variable.html: Removed. This test was failing
because we don't support this API.

* platform/mac/inspector/console/command-line-api-expected.txt: This test changed line numbers
because I changed inspector .js files.


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