[Tests] Rename fast/forms/number/number-crash.html to number-losing-renderer-on-click.html
https://bugs.webkit.org/show_bug.cgi?id=92085

Reviewed by Kent Tamura.

This patch renames test file fast/forms/number/number-crash.html to number-losing-renderer-on-click.html
to make test name denotes what test will be done.

* fast/forms/number/number-crash-expected.txt: Removed.
* fast/forms/number/number-crash.html: Removed.
* fast/forms/number/number-losing-renderer-on-click-expected.txt: Copied from LayoutTests/fast/forms/number/number-crash-expected.txt.
* fast/forms/number/number-losing-renderer-on-click.html: Copied from LayoutTests/fast/forms/number/number-crash.html.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make WebIntents and WebIntentsTag a build option for the build-webkit script
https://bugs.webkit.org/show_bug.cgi?id=91841

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-24
Reviewed by Philippe Normand.

And it will also be disabled when building with --minimal.

* Scripts/webkitperl/FeatureList.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Tests] Copy fast/forms/number/number-change-type-on-focus.html and number-losing-renderer-on-click.html to fast/forms/resources
https://bugs.webkit.org/show_bug.cgi?id=92083

Reviewed by Kent Tamura.

This patch copies two test HTML files in fast/forms/number into JavaScript code directory,
fast/forms/resources:
  - number-change-type-on-focus.html -> common-change-type-on-focus.js
  - number-losing-renderer-on-click.html -> common-losing-renderer-on-click.js

* fast/forms/resources/common-change-type-on-focus.js: Copied from LayoutTests/fast/forms/number/number-change-type-on-focus.html.
* fast/forms/resources/common-losing-renderer-on-click.js: Copied from LayoutTests/fast/forms/number/number-losing-renderer-on-click.html.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] EventSender shouldn't know about TestShell
https://bugs.webkit.org/show_bug.cgi?id=91449

Reviewed by Adam Barth.

Original patch by Adam Barth.

This patch removes the dependency from EventSender to TestShell.  Most
of EventSender works directly with a WebView, but there are a handful
of references to WebViewHost.  We don't want to re-use WebViewHost in
ContentShell because we want to use the multi-process embedding
environment for WebViews.

To avoid the dependency on WebViewHost, this patch introduces
TestDelegate, which is an abstract base class for WebViewHost.  In
ContentShell, we'll need another object to implement these functions.

* DumpRenderTree/chromium/EventSender.cpp:
(EventSender::EventSender):
(EventSender::keyDown):
(makeMenuItemStringsFor):
(EventSender::contextClick):
* DumpRenderTree/chromium/EventSender.h:
(EventSender):
(EventSender::setDelegate):
(EventSender::setWebView):
(EventSender::webview):
* DumpRenderTree/chromium/TestRunner/TestDelegate.h: Added.
(WebKit):
(TestDelegate):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
(TestShell::createMainWindow):
(TestShell::~TestShell):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::fillSpellingSuggestionList):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] EWebLauncher should not require config.h in the style check
https://bugs.webkit.org/show_bug.cgi?id=92070

Reviewed by Kentaro Hara.

* Scripts/webkitpy/style/checker.py:
Remove the include rules from the style-check for EWebLauncher because
EWebLauncher is simple EFL application.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Missing *explicit* keyword in dom and page.
https://bugs.webkit.org/show_bug.cgi?id=92074

Reviewed by Kentaro Hara.

Some constructors missed to use *explicit* keyword. They need to be added
*explicit* keyword to contructor which has a parameter in order to avoid
implicit type conversion.

Some files in dom directory can't use explicit keyword because of build breaks.

No new tests. Covered by existing tests.

* dom/BeforeLoadEvent.h:
(WebCore::BeforeLoadEvent::BeforeLoadEvent):
* dom/BeforeTextInsertedEvent.h:
(BeforeTextInsertedEvent):
* dom/ChildListMutationScope.h:
(WebCore::ChildListMutationScope::ChildListMutationScope):
* dom/ChildNodeList.h:
(ChildNodeList):
* dom/ClientRect.h:
(ClientRect):
* dom/ClientRectList.h:
(ClientRectList):
* dom/ComposedShadowTreeWalker.h:
(ComposedShadowTreeParentWalker):
* dom/DOMCoreException.h:
(WebCore::DOMCoreException::DOMCoreException):
* dom/DOMImplementation.h:
(DOMImplementation):
* dom/DatasetDOMStringMap.h:
(WebCore::DatasetDOMStringMap::DatasetDOMStringMap):
* dom/DeviceMotionController.h:
(DeviceMotionController):
* dom/DeviceOrientationController.h:
(DeviceOrientationController):
* dom/DocumentParser.h:
(DocumentParser):
* dom/EventException.h:
(WebCore::EventException::EventException):
* dom/EventListener.h:
(WebCore::EventListener::EventListener):
* dom/ExceptionBase.h:
(ExceptionBase):
* dom/GenericEventQueue.h:
(GenericEventQueue):
* dom/KeyboardEvent.h:
(WebCore::KeypressCommand::KeypressCommand):
* dom/MemoryInstrumentation.h:
(WebCore::MemoryObjectInfo::MemoryObjectInfo):
* dom/MessageChannel.h:
(MessageChannel):
* dom/MessagePort.h:
(MessagePort):
* dom/MessagePortChannel.h:
(MessagePortChannel):
* dom/MutationObserver.h:
* dom/NamedNodeMap.h:
(WebCore::NamedNodeMap::NamedNodeMap):
* dom/NodeFilter.h:
(WebCore::NodeFilter::NodeFilter):
* dom/NodeWithIndex.h:
(WebCore::NodeWithIndex::NodeWithIndex):
* dom/Range.h:
* dom/RangeException.h:
(WebCore::RangeException::RangeException):
* dom/RawDataDocumentParser.h:
(WebCore::RawDataDocumentParser::RawDataDocumentParser):
* dom/ScriptRunner.h:
(ScriptRunner):
* dom/SelectorQuery.h:
(SelectorQuery):
* dom/ShadowRoot.h:
(ShadowRoot):
* dom/SpaceSplitString.h:
(SpaceSplitStringData):
* dom/StaticHashSetNodeList.h:
(StaticHashSetNodeList):
* dom/StaticNodeList.h:
(WebCore::StaticNodeList::StaticNodeList):
* dom/TransformSource.h:
(TransformSource):
* dom/TreeScope.h:
(TreeScope):
* dom/WebKitNamedFlowCollection.h:
(WebKitNamedFlowCollection):
* page/EventHandler.h:
(EventHandler):
* page/FocusController.h:
(FocusController):
* page/FrameView.h:
(FrameView):
* page/MemoryInfo.h:
(MemoryInfo):
* page/Page.h:
(Page):
* page/PageGroup.h:
(PageGroup):
* page/PrintContext.h:
(PrintContext):
* page/Settings.h:
(Settings):
* page/SpeechInput.h:
(SpeechInput):
* page/SpeechInputResultList.h:
(SpeechInputResultList):
* page/WebKitAnimation.h:
* page/WindowFeatures.h:
(WindowFeatures):
* page/WorkerNavigator.h:
(WorkerNavigator):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector [JSC]: Enable initiator column in network panel.
https://bugs.webkit.org/show_bug.cgi?id=65533

Patch by Anthony Scian <ascian@rim.com> on 2012-07-24
Reviewed by Vsevolod Vlasov.

Source/WebCore:

With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
Removed references to it since the optionality is no longer required.

Test: http/tests/inspector/network/network-initiator.html

* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._createTable):
(WebInspector.NetworkLogView.prototype.switchToDetailedView):
(WebInspector.NetworkLogView.prototype.switchToBriefView):
(WebInspector.NetworkDataGridNode.prototype.createCells):
(WebInspector.NetworkDataGridNode.prototype.refreshRequest):
* inspector/front-end/Settings.js:

Source/WebKit/chromium:

With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
Removed references to it since the optionality is no longer required.

Test: http/tests/inspector/network/network-initiator.html

* src/js/DevTools.js:

LayoutTests:

Bug https://bugs.webkit.org/show_bug.cgi?id=65105 caused
network-initiator.html to be disabled due to caching CSS information.
Tweaked the test so that reloads could be forced to avoid the cache
copy (thanks to Vsevolod Vlasov for help on this); test works now and
is updated for availability of stack traces fixed in 40118. Consolidated
results into common expected results output.

* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest.InspectorTest.hardReloadPage):
(initialize_InspectorTest.InspectorTest.reloadPage):
(initialize_InspectorTest.InspectorTest._innerReloadPage):
* http/tests/inspector/network/network-initiator-expected.txt:
* http/tests/inspector/network/network-initiator.html:
* platform/chromium/TestExpectations:
* platform/chromium/http/tests/inspector/network/network-initiated-expected.txt: Removed.
* platform/mac/TestExpectations:

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