[Qt][WK2] New resize tests fail
https://bugs.webkit.org/show_bug.cgi?id=103875

Reviewed by Jocelyn Turcotte.

Removes reference to unused viewportSpy, adds clearing the sizeSpy to the init method instead.

* UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Speech Recognition API: Update SpeechRecognitionEvent to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Kentaro Hara.

Source/WebCore:

Specification for the Speech Recognition API:
http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html

This patch does the following:
o Adds results, and removing result, on SpeechRecognitionEvent
o Renaming SpeechRecognitionResult::final to isFinal
o Removing emma from SpeechRecognitionResult

The emma attribute is supposed to move from SpeechRecognitionResult to the SpeechRecognitionEvent,
but that caused GC issues for unrelated code so it will be added later when properly fixed.

Existing tests updated to test the new API.

* Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::start):
(WebCore::SpeechRecognition::didReceiveResults):
(WebCore):
* Modules/speech/SpeechRecognition.h:
(SpeechRecognition):
* Modules/speech/SpeechRecognitionEvent.cpp:
(WebCore::SpeechRecognitionEvent::createResult):
(WebCore):
(WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::~SpeechRecognitionEvent):
* Modules/speech/SpeechRecognitionEvent.h:
(SpeechRecognitionEventInit):
(SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::resultIndex):
(WebCore::SpeechRecognitionEvent::results):
* Modules/speech/SpeechRecognitionEvent.idl:
* Modules/speech/SpeechRecognitionResult.cpp:
* Modules/speech/SpeechRecognitionResult.h:
(WebCore::SpeechRecognitionResult::isFinal):
(SpeechRecognitionResult):
* Modules/speech/SpeechRecognitionResult.idl:
* WebCore.gypi:
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
(WebCore):
* bindings/js/JSDictionary.h:
* bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
(WebCore):
* bindings/v8/Dictionary.h:
(Dictionary):
* bindings/v8/custom/V8SpeechRecognitionResultCustom.cpp: Removed.

Source/WebKit/chromium:

Adding the new didReceiveResults method.

* public/WebSpeechRecognizerClient.h:
* src/SpeechRecognitionClientProxy.cpp:
(WebKit::SpeechRecognitionClientProxy::didReceiveResults):
(WebKit):
* src/SpeechRecognitionClientProxy.h:
(SpeechRecognitionClientProxy):

Tools:

Changing the mock to use the new results delivery API.

* DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:

LayoutTests:

Updating basic tests and removing emma tests temporarily.

* fast/speech/scripted/emma-expected.txt: Removed.
* fast/speech/scripted/emma.html: Removed.
* fast/speech/scripted/speechrecognition-basics-expected.txt:
* fast/speech/scripted/speechrecognition-basics.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update Acid3 test to the latest version
https://bugs.webkit.org/show_bug.cgi?id=102943

Reviewed by Ojan Vafai.

The Acid3 test has been updated to not break when browsers starts to implement new
standards. This updates our copy of the Acid3 test.

* fast/dom/Range/acid3-surround-contents.html:
* http/tests/misc/acid3.html:


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