WebKit-https.git
8 years agoWeb Inspector: Color picker should not be available in Computed Styles pane.
commit-queue@webkit.org [Thu, 14 Feb 2013 15:15:17 +0000 (15:15 +0000)]
Web Inspector: Color picker should not be available in Computed Styles pane.
https://bugs.webkit.org/show_bug.cgi?id=109697

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-02-14
Reviewed by Alexander Pavlov.

Changed the parentPane parameter of WebInspector.ComputedStylePropertiesSection to the correct value
(the ComputedStyleSidebarPane instance).

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):

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

8 years ago[Chromium] Add a setting to control scaling content to fit viewport
mnaganov@chromium.org [Thu, 14 Feb 2013 13:53:30 +0000 (13:53 +0000)]
[Chromium] Add a setting to control scaling content to fit viewport
https://bugs.webkit.org/show_bug.cgi?id=109584

Adds a setting called 'initializeAtMinimumPageScale'. By default,
it is set to 'true' which corresponds to Chrome on Android behavior--
adjust the page scale to make the content fit into the viewport
by width. When set to false, the setting instructs ChromeClientImpl to
set page scale to 1.0, unless the scale value is set by the page
in the viewport meta-tag.

Reviewed by Adam Barth.

* public/WebSettings.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::WebSettingsImpl):
(WebKit::WebSettingsImpl::setInitializeAtMinimumPageScale):
(WebKit):
* src/WebSettingsImpl.h:
(WebSettingsImpl):
(WebKit::WebSettingsImpl::initializeAtMinimumPageScale):
* tests/WebFrameTest.cpp:
* tests/data/viewport-2x-initial-scale.html: Added.
* tests/data/viewport-auto-initial-scale.html: Added.

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

8 years ago[Qt] Unreviewed gardening. Skip flaky test after r140689.
kadam@inf.u-szeged.hu [Thu, 14 Feb 2013 13:39:54 +0000 (13:39 +0000)]
[Qt] Unreviewed gardening. Skip flaky test after r140689.

* platform/qt/TestExpectations:

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

8 years agoWeb Inspector: don't create static local string for program literal in InspectorTimel...
yurys@chromium.org [Thu, 14 Feb 2013 13:19:18 +0000 (13:19 +0000)]
Web Inspector: don't create static local string for program literal in InspectorTimelineAgent
https://bugs.webkit.org/show_bug.cgi?id=109811

Reviewed by Pavel Feldman.

Use const char* constant value instead of creating String from it in thread-unsafe
static local variable.

* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):

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

8 years agoUnreviewed, rolling out r142808.
commit-queue@webkit.org [Thu, 14 Feb 2013 13:08:26 +0000 (13:08 +0000)]
Unreviewed, rolling out r142808.
http://trac.webkit.org/changeset/142808
https://bugs.webkit.org/show_bug.cgi?id=109816

Crashes on chromium webkit canary bots (Requested by atwilson_
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-14

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent):
(WebKit::WebViewImpl::bestTouchLinkNode):
(WebKit::WebViewImpl::enableTouchHighlight):
* src/WebViewImpl.h:
(WebViewImpl):
* tests/LinkHighlightTest.cpp:
(WebCore::TEST):

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

8 years ago[Web Inspector] Fix initiator name issue in reload scenario for Network Panel.
commit-queue@webkit.org [Thu, 14 Feb 2013 13:01:50 +0000 (13:01 +0000)]
[Web Inspector] Fix initiator name issue in reload scenario for Network Panel.
https://bugs.webkit.org/show_bug.cgi?id=108746.

Patch by Pan Deng <pan.deng@intel.com> on 2013-02-14
Reviewed by Vsevolod Vlasov.

WebInspector.displayNameForURL() does not work as expected in the reload scenario,
for example, "http://www.yahoo.com/" was trimed to "/" at one time, but at another,
the full host name will be displayed.
This fix return host + "/" in the issue scenario, and keep with get displayName() in ParsedURL.

No new tests.

* inspector/front-end/ParsedURL.js:
(WebInspector.ParsedURL.prototype.get displayName): append "/" in the display host scenario.
* inspector/front-end/ResourceUtils.js:
(WebInspector.displayNameForURL): add host in the head if url trimed as a "/".

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

8 years agoWeb Inspector: fix to record button remaining red after heap snapshot is taken
commit-queue@webkit.org [Thu, 14 Feb 2013 12:57:58 +0000 (12:57 +0000)]
Web Inspector: fix to record button remaining red after heap snapshot is taken
https://bugs.webkit.org/show_bug.cgi?id=109804

Patch by Alexei Filippov <alph@chromium.org> on 2013-02-14
Reviewed by Yury Semikhatsky.

Revert part of r142243 fix. Namely heap snapshot taking button made
stateless as it was before.

* inspector/front-end/HeapSnapshotView.js:
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype.toggleRecordButton):

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

8 years agoWeb Inspector: Consistently use SecurityOrigin::toRawString() for serialization acros...
apavlov@chromium.org [Thu, 14 Feb 2013 12:47:16 +0000 (12:47 +0000)]
Web Inspector: Consistently use SecurityOrigin::toRawString() for serialization across the backend code
https://bugs.webkit.org/show_bug.cgi?id=109801

Reviewed by Yury Semikhatsky.

No new tests, as existing tests cover the change.

* inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::didClearWindowObjectInWorld):
* inspector/InspectorIndexedDBAgent.cpp:
(WebCore::InspectorIndexedDBAgent::requestDatabaseNamesForFrame):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/PageRuntimeAgent.cpp:
(WebCore::PageRuntimeAgent::notifyContextCreated):

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

8 years agoAdd logging support to IndexedDB for non-Chromium platforms
sergio@webkit.org [Thu, 14 Feb 2013 12:35:09 +0000 (12:35 +0000)]
Add logging support to IndexedDB for non-Chromium platforms
https://bugs.webkit.org/show_bug.cgi?id=109809

Reviewed by Kentaro Hara.

Enable logging of IndexedDB through the StorageAPI log channel for
non-Chromium architectures.

No new tests required, we're just enabling logging for IndexedDB
using the currently available logging framework.

* Modules/indexeddb/IDBTracing.h:

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

8 years agoWeb Inspector: Remove uriForFile and fileForURI methods from FileSystemMapping.
vsevik@chromium.org [Thu, 14 Feb 2013 12:27:16 +0000 (12:27 +0000)]
Web Inspector: Remove uriForFile and fileForURI methods from FileSystemMapping.
https://bugs.webkit.org/show_bug.cgi?id=109704

Reviewed by Alexander Pavlov.

Source/WebCore:

Replaced this methods with one line implementation on the only call site.

* inspector/front-end/FileSystemMapping.js:
* inspector/front-end/FileSystemProjectDelegate.js:
(WebInspector.FileSystemProjectDelegate.prototype._filePathForURI):
(WebInspector.FileSystemProjectDelegate.prototype.setFileContent):
(WebInspector.FileSystemProjectDelegate.prototype._populate.filesLoaded):
(WebInspector.FileSystemProjectDelegate.prototype._populate):

LayoutTests:

* inspector/file-system-mapping-expected.txt:
* inspector/file-system-mapping.html:

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

8 years ago[Text Autosizing] Process narrow descendants with the same multiplier for the font...
commit-queue@webkit.org [Thu, 14 Feb 2013 12:09:18 +0000 (12:09 +0000)]
[Text Autosizing] Process narrow descendants with the same multiplier for the font size.
https://bugs.webkit.org/show_bug.cgi?id=109573

Source/WebCore:

Patch by Anton Vayvod <avayvod@chromium.org> on 2013-02-14
Reviewed by Julien Chaffraix.

Combine narrow descendants of the same autosizing cluster into a group that is autosized
with the same multiplier.

For example, on sites with a sidebar, sometimes the paragraphs next to the sidebar will have
a large margin individually applied (via a CSS selector), causing them all to individually
appear narrower than their enclosing blockContainingAllText. Rather than making each of
these paragraphs into a separate cluster, we want them all to share the same multiplier, as
if they were a single cluster.

Test: fast/text-autosizing/narrow-descendants-combined.html

* rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::processClusterInternal):

    Common implementation for processCluster() and processCompositeCluster that accepts the
    text width and whether the cluster should be autosized as parameters instead of
    calculating it inline.

(WebCore::TextAutosizer::processCluster):

    Calculates the text width for a single cluster and whether it should be autosized, then
    calls processClusterInternal() to apply the multiplier and process the cluster's
    descendants.

(WebCore::TextAutosizer::processCompositeCluster):

    Calculates the text width for a group of renderers and if the group should be autosized,
    then calls processClusterInternal() repeatedly with the same multiplier to apply it and
    process all the descendants of the group.

(WebCore::TextAutosizer::clusterShouldBeAutosized):

    Calls the multiple renderers version to avoid code duplication.

(WebCore::TextAutosizer::compositeClusterShouldBeAutosized):

    The multiple renderers version of clusterShouldBeAutosized.

* rendering/TextAutosizer.h:

    Updated method declarations.

LayoutTests:

Test to verify that all narrow descendants of a cluster are autosized with the same
multiplier.

Patch by Anton Vayvod <avayvod@chromium.org> on 2013-02-14
Reviewed by Julien Chaffraix.

* fast/text-autosizing/narrow-descendants-combined-expected.html: Added.
* fast/text-autosizing/narrow-descendants-combined.html: Added.

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

8 years agoLook into possibilities of typedef in webkit idl files
aandrey@chromium.org [Thu, 14 Feb 2013 11:53:55 +0000 (11:53 +0000)]
Look into possibilities of typedef in webkit idl files
https://bugs.webkit.org/show_bug.cgi?id=52340

Reviewed by Kentaro Hara.

Add typedef support for WebKit IDL parser.
Drive by: fixed a bug of generating "unrestrictedfloat" without a space.

Added a new IDL test TestTypedefs.idl. The results were generated without typedefs.

* bindings/scripts/IDLParser.pm:
(assertNoExtendedAttributesInTypedef):
(parseDefinitions):
(applyTypedefs):
(applyTypedefsForSignature):
(parseTypedef):
(parseUnrestrictedFloatType):
* bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp: Added.
(WebDOMTestTypedefs::WebDOMTestTypedefsPrivate::WebDOMTestTypedefsPrivate):
(WebDOMTestTypedefs::WebDOMTestTypedefsPrivate):
(WebDOMTestTypedefs::WebDOMTestTypedefs):
(WebDOMTestTypedefs::operator=):
(WebDOMTestTypedefs::impl):
(WebDOMTestTypedefs::~WebDOMTestTypedefs):
(WebDOMTestTypedefs::unsignedLongLongAttr):
(WebDOMTestTypedefs::setUnsignedLongLongAttr):
(WebDOMTestTypedefs::immutableSerializedScriptValue):
(WebDOMTestTypedefs::setImmutableSerializedScriptValue):
(WebDOMTestTypedefs::func):
(WebDOMTestTypedefs::multiTransferList):
(WebDOMTestTypedefs::setShadow):
(WebDOMTestTypedefs::nullableArrayArg):
(WebDOMTestTypedefs::immutablePointFunction):
(toWebCore):
(toWebKit):
* bindings/scripts/test/CPP/WebDOMTestTypedefs.h: Added.
(WebCore):
(WebDOMTestTypedefs):
* bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp: Added.
(_WebKitDOMTestTypedefsPrivate):
(WebKit):
(WebKit::kit):
(WebKit::core):
(WebKit::wrapTestTypedefs):
(webkit_dom_test_typedefs_finalize):
(webkit_dom_test_typedefs_set_property):
(webkit_dom_test_typedefs_get_property):
(webkit_dom_test_typedefs_constructor):
(webkit_dom_test_typedefs_class_init):
(webkit_dom_test_typedefs_init):
(webkit_dom_test_typedefs_func):
(webkit_dom_test_typedefs_multi_transfer_list):
(webkit_dom_test_typedefs_set_shadow):
(webkit_dom_test_typedefs_nullable_array_arg):
(webkit_dom_test_typedefs_immutable_point_function):
(webkit_dom_test_typedefs_string_array_function):
(webkit_dom_test_typedefs_get_unsigned_long_long_attr):
(webkit_dom_test_typedefs_set_unsigned_long_long_attr):
(webkit_dom_test_typedefs_get_immutable_serialized_script_value):
(webkit_dom_test_typedefs_set_immutable_serialized_script_value):
* bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h: Added.
(_WebKitDOMTestTypedefs):
(_WebKitDOMTestTypedefsClass):
* bindings/scripts/test/GObject/WebKitDOMTestTypedefsPrivate.h: Added.
(WebKit):
* bindings/scripts/test/JS/JSTestTypedefs.cpp: Added.
(WebCore):
(WebCore::JSTestTypedefsConstructor::constructJSTestTypedefs):
(WebCore::JSTestTypedefsConstructor::JSTestTypedefsConstructor):
(WebCore::JSTestTypedefsConstructor::finishCreation):
(WebCore::JSTestTypedefsConstructor::getOwnPropertySlot):
(WebCore::JSTestTypedefsConstructor::getOwnPropertyDescriptor):
(WebCore::JSTestTypedefsConstructor::getConstructData):
(WebCore::JSTestTypedefsPrototype::self):
(WebCore::JSTestTypedefsPrototype::getOwnPropertySlot):
(WebCore::JSTestTypedefsPrototype::getOwnPropertyDescriptor):
(WebCore::JSTestTypedefs::JSTestTypedefs):
(WebCore::JSTestTypedefs::finishCreation):
(WebCore::JSTestTypedefs::createPrototype):
(WebCore::JSTestTypedefs::destroy):
(WebCore::JSTestTypedefs::~JSTestTypedefs):
(WebCore::JSTestTypedefs::getOwnPropertySlot):
(WebCore::JSTestTypedefs::getOwnPropertyDescriptor):
(WebCore::jsTestTypedefsUnsignedLongLongAttr):
(WebCore::jsTestTypedefsImmutableSerializedScriptValue):
(WebCore::jsTestTypedefsConstructorTestSubObj):
(WebCore::jsTestTypedefsConstructor):
(WebCore::JSTestTypedefs::put):
(WebCore::setJSTestTypedefsUnsignedLongLongAttr):
(WebCore::setJSTestTypedefsImmutableSerializedScriptValue):
(WebCore::JSTestTypedefs::getConstructor):
(WebCore::jsTestTypedefsPrototypeFunctionFunc):
(WebCore::jsTestTypedefsPrototypeFunctionMultiTransferList):
(WebCore::jsTestTypedefsPrototypeFunctionSetShadow):
(WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
(WebCore::jsTestTypedefsPrototypeFunctionNullableArrayArg):
(WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
(WebCore::jsTestTypedefsPrototypeFunctionImmutablePointFunction):
(WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction):
(WebCore::isObservable):
(WebCore::JSTestTypedefsOwner::isReachableFromOpaqueRoots):
(WebCore::JSTestTypedefsOwner::finalize):
(WebCore::toJS):
(WebCore::toTestTypedefs):
* bindings/scripts/test/JS/JSTestTypedefs.h: Added.
(WebCore):
(JSTestTypedefs):
(WebCore::JSTestTypedefs::create):
(WebCore::JSTestTypedefs::createStructure):
(WebCore::JSTestTypedefs::impl):
(WebCore::JSTestTypedefs::releaseImpl):
(WebCore::JSTestTypedefs::releaseImplIfNotNull):
(JSTestTypedefsOwner):
(WebCore::wrapperOwner):
(WebCore::wrapperContext):
(JSTestTypedefsPrototype):
(WebCore::JSTestTypedefsPrototype::create):
(WebCore::JSTestTypedefsPrototype::createStructure):
(WebCore::JSTestTypedefsPrototype::JSTestTypedefsPrototype):
(JSTestTypedefsConstructor):
(WebCore::JSTestTypedefsConstructor::create):
(WebCore::JSTestTypedefsConstructor::createStructure):
* bindings/scripts/test/ObjC/DOMTestTypedefs.h: Added.
* bindings/scripts/test/ObjC/DOMTestTypedefs.mm: Added.
(-[DOMTestTypedefs dealloc]):
(-[DOMTestTypedefs finalize]):
(-[DOMTestTypedefs unsignedLongLongAttr]):
(-[DOMTestTypedefs setUnsignedLongLongAttr:]):
(-[DOMTestTypedefs immutableSerializedScriptValue]):
(-[DOMTestTypedefs setImmutableSerializedScriptValue:]):
(-[DOMTestTypedefs multiTransferList:tx:second:txx:]):
(-[DOMTestTypedefs setShadow:height:blur:color:alpha:]):
(-[DOMTestTypedefs immutablePointFunction]):
(core):
(kit):
* bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h: Added.
(WebCore):
* bindings/scripts/test/TestTypedefs.idl: Added.
* bindings/scripts/test/V8/V8TestTypedefs.cpp: Added.
(WebCore):
(WebCore::checkTypeOrDieTrying):
(TestTypedefsV8Internal):
(WebCore::TestTypedefsV8Internal::V8_USE):
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrGetter):
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrSetter):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrGetter):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrSetter):
(WebCore::TestTypedefsV8Internal::TestTypedefsConstructorGetter):
(WebCore::TestTypedefsV8Internal::TestTypedefsReplaceableAttrSetter):
(WebCore::TestTypedefsV8Internal::funcCallback):
(WebCore::TestTypedefsV8Internal::multiTransferListCallback):
(WebCore::TestTypedefsV8Internal::setShadowCallback):
(WebCore::TestTypedefsV8Internal::methodWithSequenceArgCallback):
(WebCore::TestTypedefsV8Internal::nullableArrayArgCallback):
(WebCore::TestTypedefsV8Internal::funcWithClampCallback):
(WebCore::TestTypedefsV8Internal::immutablePointFunctionCallback):
(WebCore::TestTypedefsV8Internal::stringArrayFunctionCallback):
(WebCore::V8TestTypedefs::constructorCallback):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetRawTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
(WebCore::V8TestTypedefs::createWrapper):
(WebCore::V8TestTypedefs::derefObject):
* bindings/scripts/test/V8/V8TestTypedefs.h: Added.
(WebCore):
(V8TestTypedefs):
(WebCore::V8TestTypedefs::toNative):
(WebCore::V8TestTypedefs::installPerContextProperties):
(WebCore::V8TestTypedefs::installPerContextPrototypeProperties):
(WebCore::wrap):
(WebCore::toV8):
(WebCore::toV8Fast):

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

8 years ago[V8] Rename XXXAccessorGetter() to XXXAttrGetterCustom(),
haraken@chromium.org [Thu, 14 Feb 2013 11:18:12 +0000 (11:18 +0000)]
[V8] Rename XXXAccessorGetter() to XXXAttrGetterCustom(),
and XXXAccessorSetter() to XXXAttrSetterCustom()
https://bugs.webkit.org/show_bug.cgi?id=109679

Reviewed by Adam Barth.

For naming consistency and clarification.

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateHeaderCustomCall):
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateImplementation):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrGetter):
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrSetter):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::customAttrAttrGetter):
(WebCore::TestObjV8Internal::customAttrAttrSetter):
* bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
* bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
* bindings/v8/custom/V8BiquadFilterNodeCustom.cpp:
(WebCore::V8BiquadFilterNode::typeAttrSetterCustom):
* bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::V8CanvasRenderingContext2D::strokeStyleAttrGetterCustom):
(WebCore::V8CanvasRenderingContext2D::strokeStyleAttrSetterCustom):
(WebCore::V8CanvasRenderingContext2D::fillStyleAttrGetterCustom):
(WebCore::V8CanvasRenderingContext2D::fillStyleAttrSetterCustom):
* bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::typesAttrGetterCustom):
* bindings/v8/custom/V8CoordinatesCustom.cpp:
(WebCore::V8Coordinates::altitudeAttrGetterCustom):
(WebCore::V8Coordinates::altitudeAccuracyAttrGetterCustom):
(WebCore::V8Coordinates::headingAttrGetterCustom):
(WebCore::V8Coordinates::speedAttrGetterCustom):
* bindings/v8/custom/V8CustomEventCustom.cpp:
(WebCore::V8CustomEvent::detailAttrGetterCustom):
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::V8DOMWindow::eventAttrGetterCustom):
(WebCore::V8DOMWindow::eventAttrSetterCustom):
(WebCore::V8DOMWindow::locationAttrSetterCustom):
(WebCore::V8DOMWindow::openerAttrSetterCustom):
* bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
(WebCore::V8DeviceMotionEvent::accelerationAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::accelerationIncludingGravityAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::rotationRateAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::intervalAttrGetterCustom):
* bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
(WebCore::V8DeviceOrientationEvent::alphaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::betaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::gammaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::absoluteAttrGetterCustom):
* bindings/v8/custom/V8DocumentLocationCustom.cpp:
(WebCore::V8Document::locationAttrGetterCustom):
(WebCore::V8Document::locationAttrSetterCustom):
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::V8Event::dataTransferAttrGetterCustom):
(WebCore::V8Event::clipboardDataAttrGetterCustom):
* bindings/v8/custom/V8FileReaderCustom.cpp:
(WebCore::V8FileReader::resultAttrGetterCustom):
* bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::V8HTMLDocument::allAttrSetterCustom):
* bindings/v8/custom/V8HTMLElementCustom.cpp:
(WebCore::V8HTMLElement::itemValueAttrGetterCustom):
(WebCore::V8HTMLElement::itemValueAttrSetterCustom):
* bindings/v8/custom/V8HTMLFrameElementCustom.cpp:
(WebCore::V8HTMLFrameElement::locationAttrSetterCustom):
* bindings/v8/custom/V8HTMLInputElementCustom.cpp:
(WebCore::V8HTMLInputElement::selectionStartAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionStartAttrSetterCustom):
(WebCore::V8HTMLInputElement::selectionEndAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionEndAttrSetterCustom):
(WebCore::V8HTMLInputElement::selectionDirectionAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionDirectionAttrSetterCustom):
* bindings/v8/custom/V8HTMLLinkElementCustom.cpp:
(WebCore::V8HTMLLinkElement::sizesAttrGetterCustom):
(WebCore::V8HTMLLinkElement::sizesAttrSetterCustom):
* bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
* bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::lengthAttrSetterCustom):
* bindings/v8/custom/V8HistoryCustom.cpp:
(WebCore::V8History::stateAttrGetterCustom):
* bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
(WebCore::V8JavaScriptCallFrame::scopeChainAttrGetterCustom):
(WebCore::V8JavaScriptCallFrame::thisObjectAttrGetterCustom):
(WebCore::V8JavaScriptCallFrame::typeAttrGetterCustom):
* bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::hashAttrSetterCustom):
(WebCore::V8Location::hostAttrSetterCustom):
(WebCore::V8Location::hostnameAttrSetterCustom):
(WebCore::V8Location::hrefAttrSetterCustom):
(WebCore::V8Location::pathnameAttrSetterCustom):
(WebCore::V8Location::portAttrSetterCustom):
(WebCore::V8Location::protocolAttrSetterCustom):
(WebCore::V8Location::searchAttrSetterCustom):
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
* bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAttrGetterCustom):
(WebCore::V8MessageEvent::portsAttrGetterCustom):
* bindings/v8/custom/V8OscillatorNodeCustom.cpp:
(WebCore::V8OscillatorNode::typeAttrSetterCustom):
* bindings/v8/custom/V8PannerNodeCustom.cpp:
(WebCore::V8PannerNode::panningModelAttrSetterCustom):
(WebCore::V8PannerNode::distanceModelAttrSetterCustom):
* bindings/v8/custom/V8PopStateEventCustom.cpp:
(WebCore::V8PopStateEvent::stateAttrGetterCustom):
* bindings/v8/custom/V8SVGLengthCustom.cpp:
(WebCore::V8SVGLength::valueAttrGetterCustom):
(WebCore::V8SVGLength::valueAttrSetterCustom):
* bindings/v8/custom/V8TrackEventCustom.cpp:
(WebCore::V8TrackEvent::trackAttrGetterCustom):
* bindings/v8/custom/V8WebKitAnimationCustom.cpp:
(WebCore::V8WebKitAnimation::iterationCountAttrGetterCustom):
* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::V8XMLHttpRequest::responseTextAttrGetterCustom):
(WebCore::V8XMLHttpRequest::responseAttrGetterCustom):

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

8 years agoREGRESSION(r142712): attribute values show up as "(null)" instead of null with the...
eric@webkit.org [Thu, 14 Feb 2013 10:23:17 +0000 (10:23 +0000)]
REGRESSION(r142712): attribute values show up as "(null)" instead of null with the threaded parser
https://bugs.webkit.org/show_bug.cgi?id=109784

Reviewed by Benjamin Poulain.

When I changed many callsites to use the (existing) String(Vector) constructor
I inadvertantly made those callsites convert empty vectors to null strings
instead of empty strings (like String(UChar,size_t) does).

This is due to an oddity/bug in our Vector implementation where data()
will be 0 if the Vector is empty, but only if it doesn't have inline capacity.
https://bugs.webkit.org/show_bug.cgi?id=109792

This changes String(Vector) to exactly match the behavior of String(vector.data(), vector.size()).

This regression was easily detectable with the threaded parser, because we use String
instead of AtomicString in our CompactToken (used to send the Token data
between threads). The main-thread parser path uses AtomicHTMLToken which
uses AtomicString(Vector) and does not have this bug.

* wtf/text/WTFString.h:
(String):
(WTF::String::String):

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

8 years agoWeb Inspector: extract DOM counters graph implementation into its own class
yurys@chromium.org [Thu, 14 Feb 2013 10:22:21 +0000 (10:22 +0000)]
Web Inspector: extract DOM counters graph implementation into its own class
https://bugs.webkit.org/show_bug.cgi?id=109796

Reviewed by Alexander Pavlov.

Extracted DOM counters graph implementation into DOMCountersGraph.js leaving
in MemoryStatistics.js only common parts shared with NativeMemoryGraph.js
Added some closure annotations and converted object literals into classes
with named constructors.

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.py:
* inspector/front-end/DOMCountersGraph.js: Added.
(WebInspector.DOMCountersGraph):
(WebInspector.DOMCounterUI):
(WebInspector.DOMCountersGraph.Counter):
(WebInspector.DOMCounterUI.prototype.setRange):
(WebInspector.DOMCounterUI.prototype.updateCurrentValue):
(WebInspector.DOMCounterUI.prototype.clearCurrentValueAndMarker):
(WebInspector.DOMCounterUI.prototype.saveImageUnderMarker):
(WebInspector.DOMCounterUI.prototype.restoreImageUnderMarker):
(WebInspector.DOMCounterUI.prototype.discardImageUnderMarker):
(WebInspector.DOMCountersGraph.prototype._createCurrentValuesBar):
(WebInspector.DOMCountersGraph.prototype._createCounterUIList):
(WebInspector.DOMCountersGraph.prototype._createCounterUIList.getNodeCount):
(WebInspector.DOMCountersGraph.prototype._createCounterUIList.getListenerCount):
(WebInspector.DOMCountersGraph.prototype._canvasHeight):
(WebInspector.DOMCountersGraph.prototype._onRecordAdded):
(WebInspector.DOMCountersGraph.prototype._draw):
(WebInspector.DOMCountersGraph.prototype._restoreImageUnderMarker):
(WebInspector.DOMCountersGraph.prototype._saveImageUnderMarker):
(WebInspector.DOMCountersGraph.prototype._drawMarker):
(WebInspector.DOMCountersGraph.prototype._drawGraph):
(WebInspector.DOMCountersGraph.prototype._discardImageUnderMarker):
* inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics):
(WebInspector.MemoryStatistics.Counter):
(WebInspector.MemoryStatistics.prototype._createCurrentValuesBar):
(WebInspector.MemoryStatistics.prototype._createCounterUIList):
(WebInspector.MemoryStatistics.prototype.setTopPosition):
(WebInspector.MemoryStatistics.prototype._canvasHeight):
(WebInspector.MemoryStatistics.prototype._onRecordAdded):
(WebInspector.MemoryStatistics.prototype._draw):
(WebInspector.MemoryStatistics.prototype._onClick):
(WebInspector.MemoryStatistics.prototype._onMouseOut):
(WebInspector.MemoryStatistics.prototype._onMouseOver):
(WebInspector.MemoryStatistics.prototype._onMouseMove):
(WebInspector.MemoryStatistics.prototype._restoreImageUnderMarker):
(WebInspector.MemoryStatistics.prototype._drawMarker):
(WebInspector.MemoryStatistics.prototype._discardImageUnderMarker):
* inspector/front-end/NativeMemoryGraph.js:
(WebInspector.NativeMemoryGraph.Counter):
(WebInspector.NativeMemoryGraph.prototype._onRecordAdded.addStatistics):
(WebInspector.NativeMemoryGraph.prototype._onRecordAdded):
(WebInspector.NativeMemoryGraph.prototype._draw):
* inspector/front-end/TimelinePanel.js:
* inspector/front-end/WebKit.qrc:

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

8 years agoSource/WebCore: Updating mouse cursor on style changes without emitting fake mousemov...
commit-queue@webkit.org [Thu, 14 Feb 2013 10:14:24 +0000 (10:14 +0000)]
Source/WebCore: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-02-14
Reviewed by Allan Sandfeld Jensen.

Mouse cursor changes in styles used to be reflected in UI through dispatching a fake
mousemove event. The old approach has some flaws: it emits a mousemove event in
javascript when there is no mouse movement involved (bug 85343); the fake mousemove
event is cancelled while there is a mouse button held down - cursor won't change
until mouse is moved or the button released (bug 53341); it has extra overhead of
using a timer which was introduced to make scrolling smoother.

The new approach does not use the fake mousemove event. Instead, it uses only the logic
needed for the actual cursor change to happen. This bypasses all the mousemove event related
overhead. The remaining code is a stripped version of what was run through the mousemove
event path. Everything that was not needed for changing a cursor is stripped off, everything
that is needed, remains the same.

The call to update cursor was moved up in the call tree from RenderObject::StyleDidChange
to RenderObject::SetStyle right after the StyleDidChange call. This allows to any updates
and style propagations in StyleDidChange to happen and makes sure that a cursor change is
not missed. Previous place was at the end of RenderObject::StyleDidChange, where it could
have been missed because of an early exit. For example, cursor change on mousedown/up on
a text node missed the correct cursor in the first pass.

Refactored EventHandler::selectCursor to not take a whole mouse event but instead work with
HitTestResult so that EventHandler::updateCursor must not create a useless PlatformEvent.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=85343 (mousemove event on cursor change)
       https://bugs.webkit.org/show_bug.cgi?id=53341 (no cursor change when mouse button down)

Tests: fast/events/mouse-cursor-change.html
       fast/events/mouse-cursor-no-mousemove.html

* page/EventHandler.cpp:
(WebCore::EventHandler::updateCursor): Newly added method for updating mouse cursor
(WebCore):
(WebCore::EventHandler::selectCursor):
(WebCore::EventHandler::handleMouseMoveEvent):
* page/EventHandler.h:
(EventHandler):
* rendering/RenderObject.cpp:
(WebCore::areNonIdenticalCursorListsEqual):
(WebCore):
(WebCore::areCursorsEqual):
(WebCore::RenderObject::setStyle):
(WebCore::RenderObject::styleDidChange):

LayoutTests: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857
Changing CSS cursor should work no matter is mouse button is pressed or not
https://bugs.webkit.org/show_bug.cgi?id=53341

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-02-14
Reviewed by Allan Sandfeld Jensen.

Added tests for changing cursor on mousemove, mousedown, mouseup and mousemove
while mouse button being hold down. Also added test to verify that a mousemove
event is not fired for changing cursor while mouse is not moving.

* fast/events/mouse-cursor-change-expected.txt: Added.
* fast/events/mouse-cursor-change.html: Added.
* fast/events/mouse-cursor-no-mousemove-expected.txt: Added.
* fast/events/mouse-cursor-no-mousemove.html: Added.
* platform/mac/TestExpectations:

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

8 years agoUnreviewed, rolling out r142841.
commit-queue@webkit.org [Thu, 14 Feb 2013 09:16:17 +0000 (09:16 +0000)]
Unreviewed, rolling out r142841.
http://trac.webkit.org/changeset/142841
https://bugs.webkit.org/show_bug.cgi?id=109791

Caused webkit_unit_tests to crash on chromium bots. (Requested
by atwilson_ on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-14

Source/Platform:

* chromium/public/WebUnitTestSupport.h:
(WebKit):
(WebKit::WebUnitTestSupport::createLayerTreeViewForTesting):

Source/WebKit/chromium:

* tests/GraphicsLayerChromiumTest.cpp:
(WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
* tests/ScrollingCoordinatorChromiumTest.cpp:
(WebKit::FakeWebViewClient::initializeLayerTreeView):

Tools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createOutputSurface):
(WebViewHost::initializeLayerTreeView):

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

8 years ago[EFL][jhbuild] Silence GSettings-related warning.
rakuco@webkit.org [Thu, 14 Feb 2013 08:57:40 +0000 (08:57 +0000)]
[EFL][jhbuild] Silence GSettings-related warning.
https://bugs.webkit.org/show_bug.cgi?id=109749

Reviewed by Martin Robinson.

Apply the same change done to the GTK+ port in r109127; this
silences the warnings printed by glib about the memory GSettings
backend being used.

Not only does this make the bots (as well as manual runs of, say,
WebKitTestRunner) much more silent, but it also removes an stderr
line (which run-perf-tests considers as a failure).

* Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.setup_environ_for_server): Explicitly set the
GSETTINGS_BACKEND environment variable to "memory".

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

8 years agoWeb Inspector: Native Memory Instrumentation: Report child nodes as direct members...
loislo@chromium.org [Thu, 14 Feb 2013 08:38:07 +0000 (08:38 +0000)]
Web Inspector: Native Memory Instrumentation: Report child nodes as direct members of a container node to make them look like a tree in the snapshot.
https://bugs.webkit.org/show_bug.cgi?id=109703

Also we need to traverse the tree from the top root element down to the leaves.

Reviewed by Yury Semikhatsky.

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::reportMemoryUsage):
* dom/Node.cpp:
(WebCore::Node::reportMemoryUsage):
* inspector/InspectorMemoryAgent.cpp:
(WebCore):

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

8 years ago[chromium] move mock notification presenter to TestRunner library
jochen@chromium.org [Thu, 14 Feb 2013 08:07:40 +0000 (08:07 +0000)]
[chromium] move mock notification presenter to TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=109706

Reviewed by Adam Barth.

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
* DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
(WebKit):
(WebTestRunner::WebTestProxy::notificationPresenter):
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.cpp: Renamed from Tools/DumpRenderTree/chromium/NotificationPresenter.cpp.
(WebTestRunner::NotificationPresenter::NotificationPresenter):
(WebTestRunner):
(WebTestRunner::NotificationPresenter::~NotificationPresenter):
(WebTestRunner::NotificationPresenter::grantPermission):
(WebTestRunner::NotificationPresenter::simulateClick):
(WebTestRunner::NotificationPresenter::show):
(WebTestRunner::NotificationPresenter::cancel):
(WebTestRunner::NotificationPresenter::objectDestroyed):
(WebTestRunner::NotificationPresenter::checkPermission):
(WebTestRunner::NotificationPresenter::requestPermission):
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.h: Renamed from Tools/DumpRenderTree/chromium/NotificationPresenter.h.
(WebTestRunner):
(NotificationPresenter):
(WebTestRunner::NotificationPresenter::setDelegate):
(WebTestRunner::NotificationPresenter::reset):
* DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::setDelegate):
(WebTestRunner::TestRunner::reset):
(WebTestRunner::TestRunner::notificationPresenter):
(WebTestRunner):
(WebTestRunner::TestRunner::grantWebNotificationPermission):
(WebTestRunner::TestRunner::simulateLegacyWebNotificationClick):
* DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
(WebKit):
(WebTestRunner):
(TestRunner):
* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::notificationPresenter):
(WebTestRunner):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
(TestShell::resetTestController):
* DumpRenderTree/chromium/TestShell.h:
(WebKit):
(TestShell):
* DumpRenderTree/chromium/WebViewHost.cpp:
* DumpRenderTree/chromium/WebViewHost.h:

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

8 years agoAdds the WebGL Conformance Tests limits folder.
gman@chromium.org [Thu, 14 Feb 2013 08:01:16 +0000 (08:01 +0000)]
Adds the WebGL Conformance Tests limits folder.
https://bugs.webkit.org/show_bug.cgi?id=108904

Reviewed by Kenneth Russell.

* platform/mac/TestExpectations:
* webgl/conformance/limits/gl-max-texture-dimensions-expected.txt: Added.
* webgl/conformance/limits/gl-max-texture-dimensions.html: Added.
* webgl/conformance/limits/gl-min-attribs-expected.txt: Added.
* webgl/conformance/limits/gl-min-attribs.html: Added.
* webgl/conformance/limits/gl-min-textures-expected.txt: Added.
* webgl/conformance/limits/gl-min-textures.html: Added.
* webgl/conformance/limits/gl-min-uniforms-expected.txt: Added.
* webgl/conformance/limits/gl-min-uniforms.html: Added.
* webgl/resources/webgl_test_files/conformance/limits/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/limits/gl-max-texture-dimensions.html: Added.
* webgl/resources/webgl_test_files/conformance/limits/gl-min-attribs.html: Added.
* webgl/resources/webgl_test_files/conformance/limits/gl-min-textures.html: Added.
* webgl/resources/webgl_test_files/conformance/limits/gl-min-uniforms.html: Added.

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

8 years ago[Shadow DOM] Implements a '::distributed()' pseudo element.
hayato@chromium.org [Thu, 14 Feb 2013 07:51:43 +0000 (07:51 +0000)]
[Shadow DOM] Implements a '::distributed()' pseudo element.
https://bugs.webkit.org/show_bug.cgi?id=82169

Reviewed by Dimitri Glazkov.

Source/WebCore:

Implements a '::distributed()' pseudo element.
See the Shadow DOM specification and the filed bug for the detail.

- http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#selecting-nodes-distributed-to-insertion-points
- https://www.w3.org/Bugs/Public/show_bug.cgi?id=19684

For example, suppose we are given the following DOM tree and shadow tree:

- <A>
  - <B>
    - <C>

[A's ShadowRoot]
  <D>
  - <style>
      E content::distributed(B C) { color: green; }
  - <E>
    - <content>  (Node B is distributed to this insertion point.)

In this case, the style rule defined in the shadow tree matches node 'C'.

A '::distributed()' pseudo element can not be a pseudo class since
an intersection between matched_elements(some_selector) and
matched_elements(some_selector::distributed(...)) is always an
empty set. A '::distributed()' pseudo element is the first-ever
*functional* pseudo element which takes a parameter, which can be
a selector.

This rule crosses the shadow boundary from a shadow tree to the
tree of its shadow host. That means a rule which includes
'::distributed()' pseudo element is defined in shadow tree, but
the node which is matched in the rule, the subject of the
selector, is outside of the shadow tree. Therefore, we cannot
predict where the subject of the selector will be beforehand.
Current CSS implementation assumes the subject of the selector
must exist in the current scope.

To overcome this issue, DocumentRuleSets now has a instance of
ShadowDistributedRules class.  A style rule will be stored in this
instance if the rule includes a '::distributed()' pseudo element.
This class also keeps track of each RuleSet by mapping it with a
scope where the rule was originally defined. In the example, the
scope is A's ShadowRoot.  The scope is used to check whether the
left-most matched element (in the example, it's a node 'E') exists
in the scope.

Internally, a '::distributed' pseudo element is represented by a
newly introduced 'ShadowDistributed' relation.  That makes an
implementation of SelectorChecker::checkSelector() much simpler.
A transformation from a distributed pseudo element to a
ShadowDistributed is done in parsing stage of CSS.

Since '::distributed()' is an experimental feature, it's actually
prefixed with '-webkit-' and guarded by SHADOW_DOM flag.

Tests: fast/dom/shadow/distributed-pseudo-element-for-shadow-element.html
       fast/dom/shadow/distributed-pseudo-element-match-all.html
       fast/dom/shadow/distributed-pseudo-element-match-descendant.html
       fast/dom/shadow/distributed-pseudo-element-nested.html
       fast/dom/shadow/distributed-pseudo-element-no-match.html
       fast/dom/shadow/distributed-pseudo-element-reprojection.html
       fast/dom/shadow/distributed-pseudo-element-scoped.html
       fast/dom/shadow/distributed-pseudo-element-support-selector.html
       fast/dom/shadow/distributed-pseudo-element-used-in-selector-list.html
       fast/dom/shadow/distributed-pseudo-element-with-any.html
       fast/dom/shadow/distributed-pseudo-element.html

* css/CSSGrammar.y.in:
CSS Grammar was updated to support '::distrbuted(selector)'.
This pseudo element is the first pseudo element which can take a selector as a parameter.
* css/CSSParser.cpp:
(WebCore::CSSParser::detectDashToken):
(WebCore::CSSParser::rewriteSpecifiersWithNamespaceIfNeeded):
(WebCore::CSSParser::rewriteSpecifiersWithElementName):
Here we are converting a '::distributed' pseudo element into a
ShadowDistributed relation internally.  To support the conversion,
these rewriteSpecifiersXXX functions (formally called
updateSpecifiersXXX) now return the specifiers which may be
converted.
(WebCore::CSSParser::rewriteSpecifiers):
* css/CSSParser.h:
* css/CSSParserValues.cpp:
(WebCore::CSSParserSelector::CSSParserSelector):
* css/CSSParserValues.h:
(CSSParserSelector):
(WebCore::CSSParserSelector::functionArgumentSelector):
To hold an intermediate selector which appears at the position of an argument in
functional pseudo element when parsing CSS.
(WebCore::CSSParserSelector::setFunctionArgumentSelector):
(WebCore::CSSParserSelector::isDistributedPseudoElement):
* css/CSSSelector.cpp:
Add new pseudo element, PseudoDistributed, and its internal representation, ShadowDistributed relation.
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
(WebCore::CSSSelector::selectorText):
* css/CSSSelector.h:
(CSSSelector):
(WebCore):
(WebCore::CSSSelector::isDistributedPseudoElement):
(WebCore::CSSSelector::isShadowDistributed):
* css/CSSSelectorList.cpp:
(WebCore):
(SelectorHasShadowDistributed):
(WebCore::SelectorHasShadowDistributed::operator()):
(WebCore::CSSSelectorList::hasShadowDistributedAt):
* css/CSSSelectorList.h:
(CSSSelectorList):
* css/DocumentRuleSets.cpp:
(WebCore):
(WebCore::ShadowDistributedRules::addRule):
Every CSS rule which includes '::distributed(...)' should be managed by calling this function.
(WebCore::ShadowDistributedRules::collectMatchRequests):
(WebCore::DocumentRuleSets::resetAuthorStyle):
* css/DocumentRuleSets.h:
(WebCore):
(ShadowDistributedRules):
(WebCore::ShadowDistributedRules::clear):
(DocumentRuleSets):
(WebCore::DocumentRuleSets::shadowDistributedRules)
DocumentRuleSets owns an instance of ShadowDistributedRules.
* css/RuleSet.cpp:
(WebCore::RuleSet::addChildRules):
Updated to check whether the rule contains '::distributed()' or not.
* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::match):
Support ShadowDistributed relation. Check all possible insertion points where a node is distributed.
* css/SelectorChecker.h:
(WebCore::SelectorChecker::SelectorCheckingContext::SelectorCheckingContext):
Adds enum of BehaviorAtBoundary. '::distributed()' is the only
rule which uses 'CrossedBoundary' since it is the only rule which
crosses shadow boundaries.
(SelectorCheckingContext):
* css/SelectorFilter.cpp:
(WebCore::SelectorFilter::collectIdentifierHashes):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRules):
(WebCore::StyleResolver::matchAuthorRules):
(WebCore::StyleResolver::collectMatchingRulesForList):
(WebCore::StyleResolver::ruleMatches):
* css/StyleResolver.h:
(MatchRequest):
(WebCore::MatchRequest::MatchRequest): Add behaviorAtBoundary field.
(WebCore):
(StyleResolver):
* html/shadow/InsertionPoint.cpp:
(WebCore::collectInsertionPointsWhereNodeIsDistributed):
(WebCore):
* html/shadow/InsertionPoint.h:
(WebCore):

LayoutTests:

* fast/dom/shadow/distributed-pseudo-element-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-for-shadow-element-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-for-shadow-element.html: Added.
* fast/dom/shadow/distributed-pseudo-element-match-all-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-match-all.html: Added.
* fast/dom/shadow/distributed-pseudo-element-match-descendant-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-match-descendant.html: Added.
* fast/dom/shadow/distributed-pseudo-element-nested-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-nested.html: Added.
* fast/dom/shadow/distributed-pseudo-element-no-match-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-no-match.html: Added.
* fast/dom/shadow/distributed-pseudo-element-reprojection-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-reprojection.html: Added.
* fast/dom/shadow/distributed-pseudo-element-scoped-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-scoped.html: Added.
* fast/dom/shadow/distributed-pseudo-element-support-selector-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-support-selector.html: Added.
* fast/dom/shadow/distributed-pseudo-element-used-in-selector-list-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-used-in-selector-list.html: Added.
* fast/dom/shadow/distributed-pseudo-element-with-any-expected.html: Added.
* fast/dom/shadow/distributed-pseudo-element-with-any.html: Added.
* fast/dom/shadow/distributed-pseudo-element.html: Added.

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

8 years agoAdd WebGL Conformance Tests more folder.
gman@chromium.org [Thu, 14 Feb 2013 07:41:10 +0000 (07:41 +0000)]
Add WebGL Conformance Tests more folder.
https://bugs.webkit.org/show_bug.cgi?id=109118

Reviewed by Kenneth Russell.

* webgl/conformance/more/conformance/constants-expected.txt: Added.
* webgl/conformance/more/conformance/constants.html: Added.
* webgl/conformance/more/conformance/getContext-expected.txt: Added.
* webgl/conformance/more/conformance/getContext.html: Added.
* webgl/conformance/more/conformance/methods-expected.txt: Added.
* webgl/conformance/more/conformance/methods.html: Added.
* webgl/conformance/more/conformance/webGLArrays-expected.txt: Added.
* webgl/conformance/more/conformance/webGLArrays.html: Added.
* webgl/conformance/more/functions/bindBuffer-expected.txt: Added.
* webgl/conformance/more/functions/bindBuffer.html: Added.
* webgl/conformance/more/functions/bindBufferBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/bindBufferBadArgs.html: Added.
* webgl/conformance/more/functions/bindFramebufferLeaveNonZero-expected.txt: Added.
* webgl/conformance/more/functions/bindFramebufferLeaveNonZero.html: Added.
* webgl/conformance/more/functions/bufferData-expected.txt: Added.
* webgl/conformance/more/functions/bufferData.html: Added.
* webgl/conformance/more/functions/bufferSubData-expected.txt: Added.
* webgl/conformance/more/functions/bufferSubData.html: Added.
* webgl/conformance/more/functions/bufferSubDataBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/bufferSubDataBadArgs.html: Added.
* webgl/conformance/more/functions/isTests-expected.txt: Added.
* webgl/conformance/more/functions/isTests.html: Added.
* webgl/conformance/more/functions/isTestsBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/isTestsBadArgs.html: Added.
* webgl/conformance/more/functions/readPixels-expected.txt: Added.
* webgl/conformance/more/functions/readPixels.html: Added.
* webgl/conformance/more/functions/texImage2D-expected.txt: Added.
* webgl/conformance/more/functions/texImage2D.html: Added.
* webgl/conformance/more/functions/texImage2DHTMLBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texImage2DHTMLBadArgs.html: Added.
* webgl/conformance/more/functions/texSubImage2D-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2D.html: Added.
* webgl/conformance/more/functions/texSubImage2DHTMLBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2DHTMLBadArgs.html: Added.
* webgl/conformance/more/functions/uniformMatrix-expected.txt: Added.
* webgl/conformance/more/functions/uniformMatrix.html: Added.
* webgl/conformance/more/functions/uniformMatrixBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/uniformMatrixBadArgs.html: Added.
* webgl/conformance/more/functions/uniformf-expected.txt: Added.
* webgl/conformance/more/functions/uniformf.html: Added.
* webgl/conformance/more/functions/uniformfArrayLen1-expected.txt: Added.
* webgl/conformance/more/functions/uniformfArrayLen1.html: Added.
* webgl/conformance/more/functions/uniformfBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/uniformfBadArgs.html: Added.
* webgl/conformance/more/functions/uniformi-expected.txt: Added.
* webgl/conformance/more/functions/uniformi.html: Added.
* webgl/conformance/more/functions/uniformiBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/uniformiBadArgs.html: Added.
* webgl/conformance/more/functions/vertexAttrib-expected.txt: Added.
* webgl/conformance/more/functions/vertexAttrib.html: Added.
* webgl/conformance/more/functions/vertexAttribBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/vertexAttribBadArgs.html: Added.
* webgl/conformance/more/functions/vertexAttribPointer-expected.txt: Added.
* webgl/conformance/more/functions/vertexAttribPointer.html: Added.
* webgl/conformance/more/functions/vertexAttribPointerBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/vertexAttribPointerBadArgs.html: Added.
* webgl/conformance/more/glsl/arrayOutOfBounds-expected.txt: Added.
* webgl/conformance/more/glsl/arrayOutOfBounds.html: Added.
* webgl/conformance/more/glsl/uniformOutOfBounds-expected.txt: Added.
* webgl/conformance/more/glsl/uniformOutOfBounds.html: Added.
* webgl/resources/webgl_test_files/conformance/more/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/more/README.md: Added.
* webgl/resources/webgl_test_files/conformance/more/all_tests.html: Added.
* webgl/resources/webgl_test_files/conformance/more/all_tests_linkonly.html: Added.
* webgl/resources/webgl_test_files/conformance/more/all_tests_sequential.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-A.js: Added.
(ArgGenerators.activeTexture.generate):
(ArgGenerators.activeTexture.checkArgValidity):
(ArgGenerators.activeTexture.teardown):
(ArgGenerators.attachShader.generate):
(ArgGenerators.attachShader.checkArgValidity):
(ArgGenerators.attachShader.cleanup):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-B1.js: Added.
(ArgGenerators.bindAttribLocation.generate):
(ArgGenerators.bindAttribLocation.checkArgValidity):
(ArgGenerators.bindAttribLocation.cleanup):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-B2.js: Added.
(ArgGenerators.bindBuffer.generate):
(ArgGenerators.bindBuffer.checkArgValidity):
(ArgGenerators.bindBuffer.cleanup):
(ArgGenerators.bindFramebuffer.generate):
(ArgGenerators.bindFramebuffer.checkArgValidity):
(ArgGenerators.bindFramebuffer.cleanup):
(ArgGenerators.bindRenderbuffer.generate):
(ArgGenerators.bindRenderbuffer.checkArgValidity):
(ArgGenerators.bindRenderbuffer.cleanup):
(ArgGenerators.bindTexture.generate):
(ArgGenerators.bindTexture.checkArgValidity):
(ArgGenerators.bindTexture.cleanup):
(ArgGenerators.blendColor.generate):
(ArgGenerators.blendColor.teardown):
(ArgGenerators.blendEquation.generate):
(ArgGenerators.blendEquation.checkArgValidity):
(ArgGenerators.blendEquation.teardown):
(ArgGenerators.blendEquationSeparate.generate):
(ArgGenerators.blendEquationSeparate.checkArgValidity):
(ArgGenerators.blendEquationSeparate.teardown):
(ArgGenerators.blendFunc.generate):
(ArgGenerators.blendFunc.checkArgValidity):
(ArgGenerators.blendFunc.teardown):
(ArgGenerators.blendFuncSeparate.generate):
(ArgGenerators.blendFuncSeparate.checkArgValidity):
(ArgGenerators.blendFuncSeparate.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-B3.js: Added.
(ArgGenerators.bufferData.setup):
(ArgGenerators.bufferData.generate):
(ArgGenerators.bufferData.checkArgValidity):
(ArgGenerators.bufferData.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-B4.js: Added.
(ArgGenerators.bufferSubData.setup):
(ArgGenerators.bufferSubData.generate):
(ArgGenerators.bufferSubData.checkArgValidity):
(ArgGenerators.bufferSubData.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-C.js: Added.
(ArgGenerators.checkFramebufferStatus.generate):
(ArgGenerators.checkFramebufferStatus.checkArgValidity):
(ArgGenerators.checkFramebufferStatus.cleanup):
(ArgGenerators.clear.generate):
(ArgGenerators.clear.checkArgValidity):
(ArgGenerators.clearColor.generate):
(ArgGenerators.clearColor.teardown):
(ArgGenerators.clearDepth.generate):
(ArgGenerators.clearDepth.teardown):
(ArgGenerators.clearStencil.generate):
(ArgGenerators.clearStencil.teardown):
(ArgGenerators.colorMask.generate):
(ArgGenerators.colorMask.teardown):
(ArgGenerators.createBuffer.generate):
(ArgGenerators.createBuffer.returnValueCleanup):
(ArgGenerators.createFramebuffer.generate):
(ArgGenerators.createFramebuffer.returnValueCleanup):
(ArgGenerators.createProgram.generate):
(ArgGenerators.createProgram.returnValueCleanup):
(ArgGenerators.createRenderbuffer.generate):
(ArgGenerators.createRenderbuffer.returnValueCleanup):
(ArgGenerators.createShader.generate):
(ArgGenerators.createShader.checkArgValidity):
(ArgGenerators.createShader.returnValueCleanup):
(ArgGenerators.createTexture.generate):
(ArgGenerators.createTexture.returnValueCleanup):
(ArgGenerators.cullFace.generate):
(ArgGenerators.cullFace.checkArgValidity):
(ArgGenerators.cullFace.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-D_G.js: Added.
(ArgGenerators.deleteBuffer.generate):
(ArgGenerators.deleteBuffer.checkArgValidity):
(ArgGenerators.deleteBuffer.cleanup):
(ArgGenerators.deleteFramebuffer.generate):
(ArgGenerators.deleteFramebuffer.checkArgValidity):
(ArgGenerators.deleteFramebuffer.cleanup):
(ArgGenerators.deleteProgram.generate):
(ArgGenerators.deleteProgram.checkArgValidity):
(ArgGenerators.deleteProgram.cleanup):
(ArgGenerators.deleteRenderbuffer.generate):
(ArgGenerators.deleteRenderbuffer.checkArgValidity):
(ArgGenerators.deleteRenderbuffer.cleanup):
(ArgGenerators.deleteShader.generate):
(ArgGenerators.deleteShader.checkArgValidity):
(ArgGenerators.deleteShader.cleanup):
(ArgGenerators.deleteTexture.generate):
(ArgGenerators.deleteTexture.checkArgValidity):
(ArgGenerators.deleteTexture.cleanup):
(ArgGenerators.depthFunc.generate):
(ArgGenerators.depthFunc.checkArgValidity):
(ArgGenerators.depthFunc.teardown):
(ArgGenerators.depthMask.generate):
(ArgGenerators.depthMask.teardown):
(ArgGenerators.depthRange.generate):
(ArgGenerators.depthRange.teardown):
(ArgGenerators.detachShader.generate):
(ArgGenerators.detachShader.checkArgValidity):
(ArgGenerators.detachShader.cleanup):
(ArgGenerators.disable.generate):
(ArgGenerators.disable.checkArgValidity):
(ArgGenerators.disable.cleanup):
(ArgGenerators.disableVertexAttribArray.generate):
(ArgGenerators.disableVertexAttribArray.checkArgValidity):
(ArgGenerators.enable.generate):
(ArgGenerators.enable.checkArgValidity):
(ArgGenerators.enable.cleanup):
(ArgGenerators.enableVertexAttribArray.generate):
(ArgGenerators.enableVertexAttribArray.checkArgValidity):
(ArgGenerators.enableVertexAttribArray.cleanup):
(ArgGenerators.finish.generate):
(ArgGenerators.flush.generate):
(ArgGenerators.frontFace.generate):
(ArgGenerators.frontFace.checkArgValidity):
(ArgGenerators.frontFace.cleanup):
(ArgGenerators.generateMipmap.setup):
(ArgGenerators.generateMipmap.generate):
(ArgGenerators.generateMipmap.checkArgValidity):
(ArgGenerators.generateMipmap.teardown):
(ArgGenerators.getAttachedShaders.setup):
(ArgGenerators.getAttachedShaders.generate):
(ArgGenerators.getAttachedShaders.checkArgValidity):
(ArgGenerators.getAttachedShaders.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-G_I.js: Added.
(ArgGenerators.getAttribLocation.generate):
(ArgGenerators.getAttribLocation.checkArgValidity):
(ArgGenerators.getAttribLocation.cleanup):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-L_S.js: Added.
(ArgGenerators.lineWidth.generate):
(ArgGenerators.lineWidth.teardown):
(ArgGenerators.pixelStorei.generate):
(ArgGenerators.pixelStorei.checkArgValidity):
(ArgGenerators.pixelStorei.teardown):
(ArgGenerators.polygonOffset.generate):
(ArgGenerators.polygonOffset.teardown):
(ArgGenerators.sampleCoverage.generate):
(ArgGenerators.sampleCoverage.teardown):
(ArgGenerators.scissor.generate):
(ArgGenerators.scissor.checkArgValidity):
(ArgGenerators.scissor.teardown):
(ArgGenerators.stencilFunc.generate):
(ArgGenerators.stencilFunc.checkArgValidity):
(ArgGenerators.stencilFunc.teardown):
(ArgGenerators.stencilFuncSeparate.generate):
(ArgGenerators.stencilFuncSeparate.checkArgValidity):
(ArgGenerators.stencilFuncSeparate.teardown):
(ArgGenerators.stencilMask.generate):
(ArgGenerators.stencilMask.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/argGenerators-S_V.js: Added.
(ArgGenerators.stencilMaskSeparate.generate):
(ArgGenerators.stencilMaskSeparate.checkArgValidity):
(ArgGenerators.stencilMaskSeparate.teardown):
(ArgGenerators.stencilOp.generate):
(ArgGenerators.stencilOp.checkArgValidity):
(ArgGenerators.stencilOp.teardown):
(ArgGenerators.stencilOpSeparate.generate):
(ArgGenerators.stencilOpSeparate.checkArgValidity):
(ArgGenerators.stencilOpSeparate.teardown):
(ArgGenerators.texImage2D.setup):
(ArgGenerators.texImage2D.generate):
(ArgGenerators.texImage2D.checkArgValidity):
(ArgGenerators.texImage2D.teardown):
(ArgGenerators.texParameterf.generate):
(ArgGenerators.texParameterf.checkArgValidity):
(ArgGenerators.texParameteri.generate):
(ArgGenerators.texParameteri.checkArgValidity):
(ArgGenerators.viewport.generate):
(ArgGenerators.viewport.checkArgValidity):
(ArgGenerators.viewport.teardown):
* webgl/resources/webgl_test_files/conformance/more/conformance/badArgsArityLessThanArgc.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/constants.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/fuzzTheAPI.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/getContext.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/methods.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI.js: Added.
(Array.from):
(Array.prototype.has):
(Array.prototype.random):
(castToInt):
(constCheck.a.has):
(constCheck):
(isBufferData):
(isVertexAttribute):
(isValidName):
(randomWebGLArray):
(randomArrayBuffer):
(randomBufferData):
(randomSmallWebGLArray):
(randomBufferSubData):
(randomColor):
(randomName):
(randomVertexAttribute):
(randomBool):
(randomStencil):
(randomLineWidth):
(randomImage):
(mutateArgs):
(argGeneratorTestRunner):
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPIBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/webGLArrays.html: Added.
* webgl/resources/webgl_test_files/conformance/more/demos/opengl_web.html: Added.
* webgl/resources/webgl_test_files/conformance/more/demos/video.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bindBuffer.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bindBufferBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bindFramebufferLeaveNonZero.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bufferData.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bufferSubData.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bufferSubDataBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/isTests.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/isTestsBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/readPixels.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTMLBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTMLBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformMatrix.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformMatrixBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformf.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformfArrayLen1.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformfBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformi.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/uniformiBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/vertexAttrib.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/vertexAttribBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/vertexAttribPointer.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/vertexAttribPointerBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/glsl/arrayOutOfBounds.html: Added.
* webgl/resources/webgl_test_files/conformance/more/glsl/longLoops.html: Added.
* webgl/resources/webgl_test_files/conformance/more/glsl/uniformOutOfBounds.html: Added.
* webgl/resources/webgl_test_files/conformance/more/glsl/unusedAttribsUniforms.html: Added.
* webgl/resources/webgl_test_files/conformance/more/index.html: Added.
* webgl/resources/webgl_test_files/conformance/more/performance/CPUvsGPU.html: Added.
* webgl/resources/webgl_test_files/conformance/more/performance/bandwidth.html: Added.
* webgl/resources/webgl_test_files/conformance/more/performance/jsGCPause.html: Added.
* webgl/resources/webgl_test_files/conformance/more/performance/jsMatrixMult.html: Added.
* webgl/resources/webgl_test_files/conformance/more/performance/jsToGLOverhead.html: Added.
* webgl/resources/webgl_test_files/conformance/more/unit.css: Added.
(.ok):
(.fail):
(canvas):
(#test-status):
(#test-log):
(#test-log > div):
(#test-log h2):
(#test-log h3):
(#test-log p):
* webgl/resources/webgl_test_files/conformance/more/unit.js: Added.
(.window.console.log):
(.window.console.error):
(Tests.startUnit):
(Tests.setup):
(Tests.teardown):
(Tests.endUnit):
(.):
(Object.toSource):
* webgl/resources/webgl_test_files/conformance/more/util.js: Added.
(loadTexture):
(getShader):
(loadShaderArray):
(loadShader):
(getGLErrorAsString):
(checkError):
(throwError):
(Math.cot):
(Matrix.newIdentity):
(Matrix.newIdentity3x3):
(Matrix.copyMatrix):
(Matrix.to3x3):
(Matrix.inverseON):
(Matrix.inverseTo3x3):
(Matrix.inverseTo3x3InPlace):
(Matrix.inverse3x3):
(Matrix.inverse3x3InPlace):
(Matrix.frustum):
(Matrix.perspective):
(Matrix.mul4x4):
(Matrix.mul4x4InPlace):
(Matrix.mulv4):
(Matrix.rotate):
(Matrix.rotateInPlace):
(Matrix.scale):
(Matrix.scale3):
(Matrix.scale1):
(Matrix.scale3InPlace):
(Matrix.scale1InPlace):
(Matrix.scaleInPlace):
(Matrix.translate3):
(Matrix.translate):
(Matrix.translate3InPlace):
(Matrix.translateInPlace):
(Matrix.lookAt):
(Matrix.transpose4x4):
(Matrix.transpose4x4InPlace):
(Matrix.transpose3x3):
(Matrix.transpose3x3InPlace):
(Vec3.make):
(Vec3.copy):
(Vec3.add):
(Vec3.sub):
(Vec3.negate):
(Vec3.direction):
(Vec3.normalizeInPlace):
(Vec3.normalize):
(Vec3.scale):
(Vec3.dot):
(Vec3.inner):
(Vec3.cross):
(Shader):
(Shader.prototype.destroy):
(Shader.prototype.compile):
(Shader.prototype.use):
(Shader.prototype.uniform1fv):
(Shader.prototype.uniform2fv):
(Shader.prototype.uniform3fv):
(Shader.prototype.uniform4fv):
(Shader.prototype.uniform1f):
(Shader.prototype.uniform2f):
(Shader.prototype.uniform3f):
(Shader.prototype.uniform4f):
(Shader.prototype.uniform1iv):
(Shader.prototype.uniform2iv):
(Shader.prototype.uniform3iv):
(Shader.prototype.uniform4iv):
(Shader.prototype.uniform1i):
(Shader.prototype.uniform2i):
(Shader.prototype.uniform3i):
(Shader.prototype.uniform4i):
(Shader.prototype.uniformMatrix4fv):
(Shader.prototype.uniformMatrix3fv):
(Shader.prototype.uniformMatrix2fv):
(Shader.prototype.attrib):
(Shader.prototype.uniform):
(Filter):
(Filter.prototype.apply):
(VBO):
(VBO.prototype.setData):
(VBO.prototype.destroy):
(VBO.prototype.init):
(VBO.prototype.use):
(VBO.prototype.draw):
(FBO):
(FBO.prototype.destroy):
(FBO.prototype.init):
(FBO.prototype.getTempCanvas):
(FBO.prototype.use):
(GLError):
(makeGLErrorWrapper):
(wrapGLContext.wrap.getError):
(getGLContext):
(assertSomeGLError):
(assertThrowNoGLError):
(Quad.makeVBO):
(.gl):
(Quad.getCachedVBO):
(deleteShader):
(Cube.create):
(Cube.makeVBO):
(Cube.getCachedVBO):
(Sphere.create.vert):
(Sphere.create):
(initGL_CONTEXT_ID):

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

8 years agoAdd the WebGL Conformance Tests extensions folder.
gman@chromium.org [Thu, 14 Feb 2013 07:36:05 +0000 (07:36 +0000)]
Add the WebGL Conformance Tests extensions folder.
https://bugs.webkit.org/show_bug.cgi?id=109117

Reviewed by Kenneth Russell.

* webgl/conformance/extensions/ext-texture-filter-anisotropic-expected.txt: Added.
* webgl/conformance/extensions/ext-texture-filter-anisotropic.html: Added.
* webgl/conformance/extensions/get-extension-expected.txt: Added.
* webgl/conformance/extensions/get-extension.html: Added.
* webgl/conformance/extensions/oes-element-index-uint-expected.txt: Added.
* webgl/conformance/extensions/oes-element-index-uint.html: Added.
* webgl/conformance/extensions/oes-standard-derivatives-expected.txt: Added.
* webgl/conformance/extensions/oes-standard-derivatives.html: Added.
* webgl/conformance/extensions/oes-texture-float-expected.txt: Added.
* webgl/conformance/extensions/oes-texture-float-with-canvas-expected.txt: Added.
* webgl/conformance/extensions/oes-texture-float-with-canvas.html: Added.
* webgl/conformance/extensions/oes-texture-float-with-image-data-expected.txt: Added.
* webgl/conformance/extensions/oes-texture-float-with-image-data.html: Added.
* webgl/conformance/extensions/oes-texture-float-with-image-expected.txt: Added.
* webgl/conformance/extensions/oes-texture-float-with-image.html: Added.
* webgl/conformance/extensions/oes-texture-float-with-video-expected.txt: Added.
* webgl/conformance/extensions/oes-texture-float-with-video.html: Added.
* webgl/conformance/extensions/oes-texture-float.html: Added.
* webgl/conformance/extensions/oes-vertex-array-object-expected.txt: Added.
* webgl/conformance/extensions/oes-vertex-array-object.html: Added.
* webgl/conformance/extensions/webgl-compressed-texture-s3tc-expected.txt: Added.
* webgl/conformance/extensions/webgl-compressed-texture-s3tc.html: Added.
* webgl/conformance/extensions/webgl-debug-renderer-info-expected.txt: Added.
* webgl/conformance/extensions/webgl-debug-renderer-info.html: Added.
* webgl/conformance/extensions/webgl-debug-shaders-expected.txt: Added.
* webgl/conformance/extensions/webgl-debug-shaders.html: Added.
* webgl/conformance/extensions/webgl-depth-texture-expected.txt: Added.
* webgl/conformance/extensions/webgl-depth-texture.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/extensions/ext-texture-filter-anisotropic.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/get-extension.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-standard-derivatives.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-texture-float-with-canvas.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-texture-float-with-image-data.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-texture-float-with-image.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-texture-float-with-video.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-texture-float.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/oes-vertex-array-object.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/webgl-compressed-texture-s3tc.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/webgl-debug-renderer-info.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/webgl-debug-shaders.html: Added.
* webgl/resources/webgl_test_files/conformance/extensions/webgl-depth-texture.html: Added.

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

8 years agoUnreviewed EFL gardening.
ch.dumez@sisa.samsung.com [Thu, 14 Feb 2013 07:31:12 +0000 (07:31 +0000)]
Unreviewed EFL gardening.

Mark new WebGL conformance tests added in r142847 as failing for
EFL WK2.

* platform/efl-wk2/TestExpectations:

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

8 years agoAdd the WebGL Conformance Tests ogles folder.
gman@chromium.org [Thu, 14 Feb 2013 07:10:59 +0000 (07:10 +0000)]
Add the WebGL Conformance Tests ogles folder.
https://bugs.webkit.org/show_bug.cgi?id=109116

Reviewed by Kenneth Russell.

* webgl/conformance/ogles/GL/abs/abs_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/abs/abs_001_to_006.html: Added.
* webgl/conformance/ogles/GL/all/all_001_to_004-expected.txt: Added.
* webgl/conformance/ogles/GL/all/all_001_to_004.html: Added.
* webgl/conformance/ogles/GL/any/any_001_to_004-expected.txt: Added.
* webgl/conformance/ogles/GL/any/any_001_to_004.html: Added.
* webgl/conformance/ogles/GL/array/array_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/array/array_001_to_006.html: Added.
* webgl/conformance/ogles/GL/atan/atan_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/atan/atan_009_to_012.html: Added.
* webgl/conformance/ogles/GL/biConstants/biConstants_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/biConstants/biConstants_001_to_008.html: Added.
* webgl/conformance/ogles/GL/biConstants/biConstants_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/biConstants/biConstants_009_to_016.html: Added.
* webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002-expected.txt: Added.
* webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html: Added.
* webgl/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001-expected.txt: Added.
* webgl/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html: Added.
* webgl/conformance/ogles/GL/ceil/ceil_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/ceil/ceil_001_to_006.html: Added.
* webgl/conformance/ogles/GL/clamp/clamp_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/clamp/clamp_001_to_006.html: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_009_to_010-expected.txt: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_009_to_010.html: Added.
* webgl/conformance/ogles/GL/cos/cos_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/cos/cos_001_to_006.html: Added.
* webgl/conformance/ogles/GL/cross/cross_001_to_002-expected.txt: Added.
* webgl/conformance/ogles/GL/cross/cross_001_to_002.html: Added.
* webgl/conformance/ogles/GL/default/default_001_to_001-expected.txt: Added.
* webgl/conformance/ogles/GL/default/default_001_to_001.html: Added.
* webgl/conformance/ogles/GL/degrees/degrees_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/degrees/degrees_001_to_006.html: Added.
* webgl/conformance/ogles/GL/discard/discard_001_to_002-expected.txt: Added.
* webgl/conformance/ogles/GL/discard/discard_001_to_002.html: Added.
* webgl/conformance/ogles/GL/distance/distance_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/distance/distance_001_to_006.html: Added.
* webgl/conformance/ogles/GL/dot/dot_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/dot/dot_001_to_006.html: Added.
* webgl/conformance/ogles/GL/equal/equal_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/equal/equal_001_to_008.html: Added.
* webgl/conformance/ogles/GL/equal/equal_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/equal/equal_009_to_012.html: Added.
* webgl/conformance/ogles/GL/exp/exp_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/exp/exp_001_to_008.html: Added.
* webgl/conformance/ogles/GL/exp/exp_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/exp/exp_009_to_012.html: Added.
* webgl/conformance/ogles/GL/exp2/exp2_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/exp2/exp2_001_to_008.html: Added.
* webgl/conformance/ogles/GL/exp2/exp2_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/exp2/exp2_009_to_012.html: Added.
* webgl/conformance/ogles/GL/faceforward/faceforward_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/faceforward/faceforward_001_to_006.html: Added.
* webgl/conformance/ogles/GL/floor/floor_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/floor/floor_001_to_006.html: Added.
* webgl/conformance/ogles/GL/fract/fract_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/fract/fract_001_to_006.html: Added.
* webgl/conformance/ogles/GL/functions/functions_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_001_to_008.html: Added.
* webgl/conformance/ogles/GL/functions/functions_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_009_to_016.html: Added.
* webgl/conformance/ogles/GL/functions/functions_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_017_to_024.html: Added.
* webgl/conformance/ogles/GL/functions/functions_025_to_032-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_025_to_032.html: Added.
* webgl/conformance/ogles/GL/functions/functions_033_to_040-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_033_to_040.html: Added.
* webgl/conformance/ogles/GL/functions/functions_041_to_048-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_041_to_048.html: Added.
* webgl/conformance/ogles/GL/functions/functions_049_to_056-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_049_to_056.html: Added.
* webgl/conformance/ogles/GL/functions/functions_057_to_064-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_057_to_064.html: Added.
* webgl/conformance/ogles/GL/functions/functions_065_to_072-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_065_to_072.html: Added.
* webgl/conformance/ogles/GL/functions/functions_073_to_080-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_073_to_080.html: Added.
* webgl/conformance/ogles/GL/functions/functions_081_to_088-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_081_to_088.html: Added.
* webgl/conformance/ogles/GL/functions/functions_089_to_096-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_089_to_096.html: Added.
* webgl/conformance/ogles/GL/functions/functions_097_to_104-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_097_to_104.html: Added.
* webgl/conformance/ogles/GL/functions/functions_105_to_112-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_105_to_112.html: Added.
* webgl/conformance/ogles/GL/functions/functions_113_to_120-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_113_to_120.html: Added.
* webgl/conformance/ogles/GL/functions/functions_121_to_126-expected.txt: Added.
* webgl/conformance/ogles/GL/functions/functions_121_to_126.html: Added.
* webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003-expected.txt: Added.
* webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html: Added.
* webgl/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001-expected.txt: Added.
* webgl/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html: Added.
* webgl/conformance/ogles/GL/greaterThan/greaterThan_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html: Added.
* webgl/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html: Added.
* webgl/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html: Added.
* webgl/conformance/ogles/GL/length/length_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/length/length_001_to_006.html: Added.
* webgl/conformance/ogles/GL/lessThan/lessThan_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/lessThan/lessThan_001_to_008.html: Added.
* webgl/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html: Added.
* webgl/conformance/ogles/GL/log/log_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/log/log_009_to_012.html: Added.
* webgl/conformance/ogles/GL/log2/log2_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/log2/log2_009_to_012.html: Added.
* webgl/conformance/ogles/GL/mat/mat_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_001_to_008.html: Added.
* webgl/conformance/ogles/GL/mat/mat_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_009_to_016.html: Added.
* webgl/conformance/ogles/GL/mat/mat_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_017_to_024.html: Added.
* webgl/conformance/ogles/GL/mat/mat_025_to_032-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_025_to_032.html: Added.
* webgl/conformance/ogles/GL/mat/mat_033_to_040-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_033_to_040.html: Added.
* webgl/conformance/ogles/GL/mat/mat_041_to_046-expected.txt: Added.
* webgl/conformance/ogles/GL/mat/mat_041_to_046.html: Added.
* webgl/conformance/ogles/GL/mat3/mat3_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/mat3/mat3_001_to_006.html: Added.
* webgl/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004-expected.txt: Added.
* webgl/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html: Added.
* webgl/conformance/ogles/GL/max/max_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/max/max_001_to_006.html: Added.
* webgl/conformance/ogles/GL/min/min_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/min/min_001_to_006.html: Added.
* webgl/conformance/ogles/GL/mix/mix_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/mix/mix_001_to_006.html: Added.
* webgl/conformance/ogles/GL/mod/mod_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/mod/mod_001_to_008.html: Added.
* webgl/conformance/ogles/GL/normalize/normalize_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/normalize/normalize_001_to_006.html: Added.
* webgl/conformance/ogles/GL/not/not_001_to_004-expected.txt: Added.
* webgl/conformance/ogles/GL/not/not_001_to_004.html: Added.
* webgl/conformance/ogles/GL/notEqual/notEqual_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/notEqual/notEqual_001_to_008.html: Added.
* webgl/conformance/ogles/GL/notEqual/notEqual_009_to_012-expected.txt: Added.
* webgl/conformance/ogles/GL/notEqual/notEqual_009_to_012.html: Added.
* webgl/conformance/ogles/GL/operators/operators_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/operators/operators_001_to_008.html: Added.
* webgl/conformance/ogles/GL/operators/operators_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/operators/operators_009_to_016.html: Added.
* webgl/conformance/ogles/GL/operators/operators_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/operators/operators_017_to_024.html: Added.
* webgl/conformance/ogles/GL/operators/operators_025_to_026-expected.txt: Added.
* webgl/conformance/ogles/GL/operators/operators_025_to_026.html: Added.
* webgl/conformance/ogles/GL/pow/pow_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/pow/pow_001_to_008.html: Added.
* webgl/conformance/ogles/GL/pow/pow_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/pow/pow_009_to_016.html: Added.
* webgl/conformance/ogles/GL/pow/pow_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/pow/pow_017_to_024.html: Added.
* webgl/conformance/ogles/GL/radians/radians_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/radians/radians_001_to_006.html: Added.
* webgl/conformance/ogles/GL/reflect/reflect_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/reflect/reflect_001_to_006.html: Added.
* webgl/conformance/ogles/GL/refract/refract_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/refract/refract_001_to_006.html: Added.
* webgl/conformance/ogles/GL/sign/sign_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/sign/sign_001_to_006.html: Added.
* webgl/conformance/ogles/GL/sin/sin_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/sin/sin_001_to_006.html: Added.
* webgl/conformance/ogles/GL/sqrt/sqrt_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/sqrt/sqrt_001_to_006.html: Added.
* webgl/conformance/ogles/GL/step/step_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/step/step_001_to_006.html: Added.
* webgl/conformance/ogles/GL/struct/struct_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_001_to_008.html: Added.
* webgl/conformance/ogles/GL/struct/struct_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_009_to_016.html: Added.
* webgl/conformance/ogles/GL/struct/struct_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_017_to_024.html: Added.
* webgl/conformance/ogles/GL/struct/struct_025_to_032-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_025_to_032.html: Added.
* webgl/conformance/ogles/GL/struct/struct_033_to_040-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_033_to_040.html: Added.
* webgl/conformance/ogles/GL/struct/struct_041_to_048-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_041_to_048.html: Added.
* webgl/conformance/ogles/GL/struct/struct_049_to_056-expected.txt: Added.
* webgl/conformance/ogles/GL/struct/struct_049_to_056.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_017_to_024-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_025_to_032-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_033_to_040-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_041_to_048-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_049_to_056-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_057_to_064-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_065_to_072-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_073_to_080-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_081_to_088-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_089_to_096-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_097_to_104-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_105_to_112-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_113_to_120-expected.txt: Added.
* webgl/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html: Added.
* webgl/conformance/ogles/GL/tan/tan_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/tan/tan_001_to_006.html: Added.
* webgl/conformance/ogles/GL/vec/vec_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/vec/vec_001_to_008.html: Added.
* webgl/conformance/ogles/GL/vec/vec_009_to_016-expected.txt: Added.
* webgl/conformance/ogles/GL/vec/vec_009_to_016.html: Added.
* webgl/conformance/ogles/GL/vec/vec_017_to_018-expected.txt: Added.
* webgl/conformance/ogles/GL/vec/vec_017_to_018.html: Added.
* webgl/conformance/ogles/GL/vec3/vec3_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/vec3/vec3_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/abs/abs_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/abs/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/acos/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/all/all_001_to_004.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/all/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/any/any_001_to_004.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/any/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/array/array_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/array/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/asin/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/atan/atan_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/atan/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/biConstants/biConstants_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/biConstants/biConstants_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/biConstants/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/biuDepthRange/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/built_in_varying_array_out_of_bounds/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/ceil/ceil_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/ceil/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/clamp/clamp_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/clamp/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_009_to_010.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/cos/cos_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/cos/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/cross/cross_001_to_002.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/cross/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/default/default_001_to_001.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/default/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/degrees/degrees_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/degrees/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/discard/discard_001_to_002.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/discard/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/distance/distance_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/distance/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/dot/dot_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/dot/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/equal/equal_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/equal/equal_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/equal/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp/exp_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp/exp_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp2/exp2_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp2/exp2_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/exp2/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/faceforward/faceforward_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/faceforward/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/floor/floor_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/floor/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/fract/fract_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/fract/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_025_to_032.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_033_to_040.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_041_to_048.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_049_to_056.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_057_to_064.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_065_to_072.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_073_to_080.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_081_to_088.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_089_to_096.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_097_to_104.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_105_to_112.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_113_to_120.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/functions_121_to_126.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/functions/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/gl_FragCoord/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/gl_FrontFacing/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/greaterThan/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/greaterThanEqual/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/inversesqrt/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/length/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/length/length_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/lessThan/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/lessThan/lessThan_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/lessThanEqual/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log/log_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log2/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log2/log2_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_025_to_032.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_033_to_040.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat/mat_041_to_046.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat3/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mat3/mat3_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/matrixCompMult/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/max/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/max/max_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/min/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/min/min_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mix/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mix/mix_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mod/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/mod/mod_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/normalize/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/normalize/normalize_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/not/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/not/not_001_to_004.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/notEqual/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/notEqual/notEqual_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/notEqual/notEqual_009_to_012.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/operators/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/operators/operators_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/operators/operators_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/operators/operators_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/operators/operators_025_to_026.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/pow/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/pow/pow_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/pow/pow_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/pow/pow_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/radians/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/radians/radians_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/reflect/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/reflect/reflect_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/refract/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/refract/refract_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sign/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sign/sign_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sin/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sin/sin_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/smoothstep/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sqrt/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/sqrt/sqrt_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/step/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/step/step_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_025_to_032.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_033_to_040.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_041_to_048.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/struct/struct_049_to_056.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/tan/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/tan/tan_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec/vec_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec/vec_009_to_016.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec/vec_017_to_018.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec3/input.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/vec3/vec3_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/README.md: Added.
* webgl/resources/webgl_test_files/conformance/ogles/mustpass.run.txt: Added.
* webgl/resources/webgl_test_files/conformance/ogles/process-ogles2-tests.py: Added.
(Log):
(TransposeMatrix):
(GetValidTypeName):
(WriteOpen):
(TxtWriter):
(TxtWriter.__init__):
(TxtWriter.Write):
(TxtWriter.Close):
(ReadFileAsLines):
(ReadFile):
(Chunkify):
(GetText):
(GetElementText):
(GetBoolElement):
(GetModel):
(RelativizePaths):
(CopyFile):
(CopyShader):
(IsOneOf):
(CheckForUnknownTags):
(IsFileWeWant):
(TestReader):
(TestReader.to):
(TestReader.__init__):
(TestReader.Print):
(TestReader.MakeOutPath):
(TestReader.ReadTests):
(TestReader.ReadTest):
(TestReader.ProcessTest):
(TestReader.WriteTests):
(CopyShaders):
(Process_compare):
(Process_shaderload):
(Process_extension):
(Process_createtests):
(Process_GL2Test):
(Process_uniformquery):
(Process_egl_image_external):
(Process_dismount):
(Process_build):
(Process_coverage):
(Process_attributes):
(Process_fixed):
(main):

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

8 years agoAdd WebGL Conformance Tests glsl folder.
gman@chromium.org [Thu, 14 Feb 2013 06:56:20 +0000 (06:56 +0000)]
Add WebGL Conformance Tests glsl folder.
https://bugs.webkit.org/show_bug.cgi?id=109115

Reviewed by Kenneth Russell.

* webgl/conformance/glsl/functions/glsl-function-abs-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-abs.html: Added.
* webgl/conformance/glsl/functions/glsl-function-acos-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-acos.html: Added.
* webgl/conformance/glsl/functions/glsl-function-asin-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-asin.html: Added.
* webgl/conformance/glsl/functions/glsl-function-atan-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-atan-xy-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-atan-xy.html: Added.
* webgl/conformance/glsl/functions/glsl-function-atan.html: Added.
* webgl/conformance/glsl/functions/glsl-function-ceil-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-ceil.html: Added.
* webgl/conformance/glsl/functions/glsl-function-clamp-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-clamp-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-clamp-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-clamp-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function-cos-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-cos.html: Added.
* webgl/conformance/glsl/functions/glsl-function-cross-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-cross.html: Added.
* webgl/conformance/glsl/functions/glsl-function-distance-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-distance.html: Added.
* webgl/conformance/glsl/functions/glsl-function-dot-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-dot.html: Added.
* webgl/conformance/glsl/functions/glsl-function-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-faceforward-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-faceforward.html: Added.
* webgl/conformance/glsl/functions/glsl-function-floor-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-floor.html: Added.
* webgl/conformance/glsl/functions/glsl-function-fract-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-fract.html: Added.
* webgl/conformance/glsl/functions/glsl-function-length-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-length.html: Added.
* webgl/conformance/glsl/functions/glsl-function-max-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-max-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-max-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-max-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function-min-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-min-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-min-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-min-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function-mix-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-mix-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-mix-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-mix-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function-mod-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-mod-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-mod-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-mod-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function-normalize-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-normalize.html: Added.
* webgl/conformance/glsl/functions/glsl-function-reflect-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-reflect.html: Added.
* webgl/conformance/glsl/functions/glsl-function-sign-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-sign.html: Added.
* webgl/conformance/glsl/functions/glsl-function-sin-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-sin.html: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-step-float-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-step-float.html: Added.
* webgl/conformance/glsl/functions/glsl-function-step-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-step-gentype.html: Added.
* webgl/conformance/glsl/functions/glsl-function.html: Added.
* webgl/conformance/glsl/implicit/add_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_mat2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_mat2.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_mat3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_mat3.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_mat4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_mat4.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/add_int_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_int_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/add_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/add_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/add_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/add_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/assign_int_to_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/assign_int_to_float.vert.html: Added.
* webgl/conformance/glsl/implicit/assign_ivec2_to_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/assign_ivec3_to_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/assign_ivec4_to_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/construct_struct.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/construct_struct.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_mat2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_mat2.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_mat3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_mat3.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_mat4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_mat4.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_int_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_int_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/divide_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/divide_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/equal_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/equal_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/equal_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/equal_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/equal_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/equal_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/equal_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/equal_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/function_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/function_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/function_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/function_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/function_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/function_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/function_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/function_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/greater_than.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/greater_than.vert.html: Added.
* webgl/conformance/glsl/implicit/greater_than_equal.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/greater_than_equal.vert.html: Added.
* webgl/conformance/glsl/implicit/less_than.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/less_than.vert.html: Added.
* webgl/conformance/glsl/implicit/less_than_equal.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/less_than_equal.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat2.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat3.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_mat4.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_int_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/multiply_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/not_equal_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/not_equal_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat2.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat3.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_mat4.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_int_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/subtract_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/implicit/ternary_int_float.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/ternary_int_float.vert.html: Added.
* webgl/conformance/glsl/implicit/ternary_ivec2_vec2.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html: Added.
* webgl/conformance/glsl/implicit/ternary_ivec3_vec3.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html: Added.
* webgl/conformance/glsl/implicit/ternary_ivec4_vec4.vert-expected.txt: Added.
* webgl/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html: Added.
* webgl/conformance/glsl/matrices/glsl-mat4-to-mat3-expected.txt: Added.
* webgl/conformance/glsl/matrices/glsl-mat4-to-mat3.html: Added.
* webgl/conformance/glsl/misc/attrib-location-length-limits-expected.txt: Added.
* webgl/conformance/glsl/misc/attrib-location-length-limits.html: Added.
* webgl/conformance/glsl/misc/embedded-struct-definitions-forbidden-expected.txt: Added.
* webgl/conformance/glsl/misc/embedded-struct-definitions-forbidden.html: Added.
* webgl/conformance/glsl/misc/glsl-function-nodes-expected.txt: Added.
* webgl/conformance/glsl/misc/glsl-function-nodes.html: Added.
* webgl/conformance/glsl/misc/glsl-long-variable-names-expected.txt: Added.
* webgl/conformance/glsl/misc/glsl-long-variable-names.html: Added.
* webgl/conformance/glsl/misc/glsl-vertex-branch-expected.txt: Added.
* webgl/conformance/glsl/misc/glsl-vertex-branch.html: Added.
* webgl/conformance/glsl/misc/large-loop-compile-expected.txt: Added.
* webgl/conformance/glsl/misc/large-loop-compile.html: Added.
* webgl/conformance/glsl/misc/non-ascii-comments.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/non-ascii-comments.vert.html: Added.
* webgl/conformance/glsl/misc/non-ascii.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/non-ascii.vert.html: Added.
* webgl/conformance/glsl/misc/re-compile-re-link-expected.txt: Added.
* webgl/conformance/glsl/misc/re-compile-re-link.html: Added.
* webgl/conformance/glsl/misc/shader-with-256-character-define-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-256-character-define.html: Added.
* webgl/conformance/glsl/misc/shader-with-256-character-identifier.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-256-character-identifier.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-257-character-define-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-257-character-define.html: Added.
* webgl/conformance/glsl/misc/shader-with-257-character-identifier.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-257-character-identifier.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-_webgl-identifier.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html: Added.
* webgl/conformance/glsl/misc/shader-with-attrib-array.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-attrib-array.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-attrib-struct.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-attrib-struct.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-clipvertex.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-clipvertex.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-comma-assignment-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-comma-assignment.html: Added.
* webgl/conformance/glsl/misc/shader-with-comma-conditional-assignment-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-comma-conditional-assignment.html: Added.
* webgl/conformance/glsl/misc/shader-with-conditional-scoping-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-conditional-scoping-negative-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-conditional-scoping-negative.html: Added.
* webgl/conformance/glsl/misc/shader-with-conditional-scoping.html: Added.
* webgl/conformance/glsl/misc/shader-with-default-precision.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-default-precision.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-default-precision.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-default-precision.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-define-line-continuation.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-define-line-continuation.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-dfdx-no-ext.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-dfdx.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-dfdx.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-do-loop-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-do-loop.html: Added.
* webgl/conformance/glsl/misc/shader-with-error-directive-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-error-directive.html: Added.
* webgl/conformance/glsl/misc/shader-with-explicit-int-cast.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-float-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-float-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-for-loop-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-for-loop.html: Added.
* webgl/conformance/glsl/misc/shader-with-for-scoping-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-for-scoping.html: Added.
* webgl/conformance/glsl/misc/shader-with-frag-depth.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-frag-depth.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-function-recursion.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-function-recursion.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-function-scoped-struct-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-function-scoped-struct.html: Added.
* webgl/conformance/glsl/misc/shader-with-functional-scoping-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-functional-scoping.html: Added.
* webgl/conformance/glsl/misc/shader-with-glcolor.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-glcolor.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-gles-1.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-gles-1.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-gles-symbol.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-gles-symbol.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-glprojectionmatrix.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-hex-int-constant-macro-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-hex-int-constant-macro.html: Added.
* webgl/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-include.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-include.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-int-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-int-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-invalid-identifier.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-invalid-identifier.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-ivec2-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-ivec3-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-ivec4-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-limited-indexing.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-limited-indexing.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-long-line-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-long-line.html: Added.
* webgl/conformance/glsl/misc/shader-with-non-ascii-error.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-non-ascii-error.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-precision.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-precision.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-quoted-error.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-quoted-error.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-reserved-words-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-reserved-words.html: Added.
* webgl/conformance/glsl/misc/shader-with-too-many-uniforms-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-too-many-uniforms.html: Added.
* webgl/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-vec2-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-vec2-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-vec3-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-vec3-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-vec4-return-value.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-vec4-return-value.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html: Added.
* webgl/conformance/glsl/misc/shader-with-version-100.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-version-100.frag.html: Added.
* webgl/conformance/glsl/misc/shader-with-version-100.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-version-100.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-version-120.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-version-120.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-version-130.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-version-130.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-webgl-identifier.vert-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-webgl-identifier.vert.html: Added.
* webgl/conformance/glsl/misc/shader-with-while-loop-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-while-loop.html: Added.
* webgl/conformance/glsl/misc/shader-without-precision.frag-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-without-precision.frag.html: Added.
* webgl/conformance/glsl/misc/shaders-with-mis-matching-uniforms-expected.txt: Added.
* webgl/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html: Added.
* webgl/conformance/glsl/misc/shaders-with-mis-matching-varyings-expected.txt: Added.
* webgl/conformance/glsl/misc/shaders-with-mis-matching-varyings.html: Added.
* webgl/conformance/glsl/misc/shaders-with-missing-varyings-expected.txt: Added.
* webgl/conformance/glsl/misc/shaders-with-missing-varyings.html: Added.
* webgl/conformance/glsl/misc/shared-expected.txt: Added.
* webgl/conformance/glsl/misc/shared.html: Added.
* webgl/conformance/glsl/misc/struct-nesting-exceeds-maximum-expected.txt: Added.
* webgl/conformance/glsl/misc/struct-nesting-exceeds-maximum.html: Added.
* webgl/conformance/glsl/misc/struct-nesting-under-maximum-expected.txt: Added.
* webgl/conformance/glsl/misc/struct-nesting-under-maximum.html: Added.
* webgl/conformance/glsl/misc/uniform-location-length-limits-expected.txt: Added.
* webgl/conformance/glsl/misc/uniform-location-length-limits.html: Added.
* webgl/conformance/glsl/reserved/_webgl_field.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/_webgl_field.vert.html: Added.
* webgl/conformance/glsl/reserved/_webgl_function.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/_webgl_function.vert.html: Added.
* webgl/conformance/glsl/reserved/_webgl_struct.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/_webgl_struct.vert.html: Added.
* webgl/conformance/glsl/reserved/_webgl_variable.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/_webgl_variable.vert.html: Added.
* webgl/conformance/glsl/reserved/webgl_field.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/webgl_field.vert.html: Added.
* webgl/conformance/glsl/reserved/webgl_function.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/webgl_function.vert.html: Added.
* webgl/conformance/glsl/reserved/webgl_preprocessor_reserved-expected.txt: Added.
* webgl/conformance/glsl/reserved/webgl_preprocessor_reserved.html: Added.
* webgl/conformance/glsl/reserved/webgl_struct.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/webgl_struct.vert.html: Added.
* webgl/conformance/glsl/reserved/webgl_variable.vert-expected.txt: Added.
* webgl/conformance/glsl/reserved/webgl_variable.vert.html: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2d-bias-expected.txt: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2d-bias.html: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2dlod-expected.txt: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2dlod.html: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2dproj-expected.txt: Added.
* webgl/conformance/glsl/samplers/glsl-function-texture2dproj.html: Added.
* webgl/conformance/glsl/variables/gl-fragcoord-expected.txt: Added.
* webgl/conformance/glsl/variables/gl-fragcoord.html: Added.
* webgl/conformance/glsl/variables/gl-frontfacing-expected.txt: Added.
* webgl/conformance/glsl/variables/gl-frontfacing.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-abs.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-acos.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-asin.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-atan-xy.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-atan.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-ceil.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-clamp-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-clamp-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-cos.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-cross.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-distance.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-dot.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-faceforward.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-floor.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-fract.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-length.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-lessThan.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-max-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-max-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-min-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-min-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-mix-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-mix-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-mod-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-mod-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-normalize.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-reflect.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-refract.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-sign.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-sin.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-step-float.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-step-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_mat2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_mat3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_mat4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_int_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/add_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/assign_int_to_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/construct_struct.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_mat2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_mat3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_mat4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_int_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/divide_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/equal_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/equal_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/equal_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/equal_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/function_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/function_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/function_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/function_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/greater_than.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/greater_than_equal.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/less_than.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/less_than_equal.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_mat2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_mat3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_mat4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_int_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/not_equal_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_mat2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_mat3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_mat4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_int_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/ternary_int_float.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/literals/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/matrices/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/matrices/glsl-mat4-to-mat3.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/attrib-location-length-limits.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/embedded-struct-definitions-forbidden.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/foo: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/glsl-2types-of-textures-on-same-unit.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/glsl-function-nodes.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/glsl-long-variable-names.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/glsl-vertex-branch.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/include.vs: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/large-loop-compile.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/non-ascii-comments.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/non-ascii.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/re-compile-re-link.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-256-character-define.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-256-character-identifier.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-257-character-define.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-257-character-identifier.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-uniform.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-attrib-array.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-attrib-struct.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-clipvertex.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-comma-assignment.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-comma-conditional-assignment.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-conditional-scoping-negative.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-conditional-scoping.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-default-precision.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-default-precision.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-define-line-continuation.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-dfdx.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-do-loop.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-error-directive.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-float-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-for-loop.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-for-scoping.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-frag-depth.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-function-recursion.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-function-scoped-struct.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-functional-scoping.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-glcolor.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-gles-1.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-gles-symbol.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-hex-int-constant-macro.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-include.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-int-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-invalid-identifier.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-limited-indexing.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-long-line.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-ascii-error.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-precision.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-quoted-error.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-reserved-words.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-too-many-uniforms.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-vec2-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-vec3-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-vec4-return-value.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-version-100.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-version-100.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-version-120.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-version-130.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-webgl-identifier.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-while-loop.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-without-precision.frag.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-mis-matching-varyings.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-missing-varyings.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shared.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/struct-nesting-exceeds-maximum.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/struct-nesting-under-maximum.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/uniform-location-length-limits.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/_webgl_field.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/_webgl_function.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/_webgl_struct.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/_webgl_variable.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/webgl_field.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/webgl_function.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/webgl_preprocessor_reserved.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/webgl_struct.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/reserved/webgl_variable.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/samplers/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/samplers/glsl-function-texture2d-bias.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/samplers/glsl-function-texture2dlod.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/samplers/glsl-function-texture2dproj.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/variables/00_test_list.txt: Added.
* webgl/resources/webgl_test_files/conformance/glsl/variables/gl-fragcoord.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/variables/gl-frontfacing.html: Added.

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

8 years ago[V8] Generate wrapper methods for custom methods
haraken@chromium.org [Thu, 14 Feb 2013 06:17:26 +0000 (06:17 +0000)]
[V8] Generate wrapper methods for custom methods
https://bugs.webkit.org/show_bug.cgi?id=109678

Reviewed by Adam Barth.

Currently V8 directly calls back custom methods written
in custom binding files. This makes it impossible for code
generators to hook custom methods (e.g. Code generators cannot
insert a code for FeatureObservation into custom methods).
To solve the problem, we should generate wrapper methods for
custom methods.

No tests. No change in behavior.

* page/DOMWindow.idl: Removed overloaded methods. The fact that methods in an IDL
file are overloaded but they are not overloaded in custom bindings confuses code
generators. (For some reason, this problem hasn't appeared before this change.)
* xml/XMLHttpRequest.idl: Ditto.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateEventListenerCallback):
(GenerateFunctionCallback):
(GenerateNonStandardFunction):
(GenerateImplementation):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalMethod3Callback):
(TestInterfaceV8Internal):
(WebCore):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::customMethodCallback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::customMethodWithArgsCallback):
(WebCore::TestObjV8Internal::classMethod2Callback):
(WebCore):
(WebCore::ConfigureV8TestObjTemplate):
* bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
* bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::clearDataCallbackCustom):
(WebCore::V8Clipboard::setDragImageCallbackCustom):
* bindings/v8/custom/V8ConsoleCustom.cpp:
(WebCore::V8Console::traceCallbackCustom):
(WebCore::V8Console::assertCallbackCustom):
(WebCore::V8Console::profileCallbackCustom):
(WebCore::V8Console::profileEndCallbackCustom):
* bindings/v8/custom/V8CryptoCustom.cpp:
(WebCore::V8Crypto::getRandomValuesCallbackCustom):
* bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::appendCallbackCustom):
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::V8DOMWindow::addEventListenerCallbackCustom):
(WebCore::V8DOMWindow::removeEventListenerCallbackCustom):
(WebCore::V8DOMWindow::postMessageCallbackCustom):
(WebCore::V8DOMWindow::toStringCallbackCustom):
(WebCore::V8DOMWindow::releaseEventsCallbackCustom):
(WebCore::V8DOMWindow::captureEventsCallbackCustom):
(WebCore::V8DOMWindow::showModalDialogCallbackCustom):
(WebCore::V8DOMWindow::openCallbackCustom):
(WebCore::V8DOMWindow::setTimeoutCallbackCustom):
(WebCore::V8DOMWindow::setIntervalCallbackCustom):
* bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::getInt8CallbackCustom):
(WebCore::V8DataView::getUint8CallbackCustom):
(WebCore::V8DataView::setInt8CallbackCustom):
(WebCore::V8DataView::setUint8CallbackCustom):
* bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp:
(WebCore::V8DedicatedWorkerContext::postMessageCallbackCustom):
* bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
(WebCore::V8DeviceMotionEvent::initDeviceMotionEventCallbackCustom):
* bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
(WebCore::V8DeviceOrientationEvent::initDeviceOrientationEventCallbackCustom):
* bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::evaluateCallbackCustom):
(WebCore::V8Document::createTouchListCallbackCustom):
* bindings/v8/custom/V8GeolocationCustom.cpp:
(WebCore::V8Geolocation::getCurrentPositionCallbackCustom):
(WebCore::V8Geolocation::watchPositionCallbackCustom):
* bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
(WebCore::V8HTMLAllCollection::itemCallbackCustom):
(WebCore::V8HTMLAllCollection::namedItemCallbackCustom):
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallbackCustom):
(WebCore::V8HTMLCanvasElement::toDataURLCallbackCustom):
* bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::V8HTMLDocument::writeCallbackCustom):
(WebCore::V8HTMLDocument::writelnCallbackCustom):
(WebCore::V8HTMLDocument::openCallbackCustom):
* bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp:
(WebCore::V8HTMLFormControlsCollection::namedItemCallbackCustom):
* bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore::v8HTMLImageElementConstructorCallbackCustom):
(WebCore::V8HTMLImageElementConstructor::GetTemplate):
* bindings/v8/custom/V8HTMLInputElementCustom.cpp:
(WebCore::V8HTMLInputElement::setSelectionRangeCallbackCustom):
* bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::namedItemCallbackCustom):
(WebCore::V8HTMLOptionsCollection::removeCallbackCustom):
(WebCore::V8HTMLOptionsCollection::addCallbackCustom):
* bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
(WebCore::V8HTMLSelectElement::removeCallbackCustom):
* bindings/v8/custom/V8HistoryCustom.cpp:
(WebCore::V8History::pushStateCallbackCustom):
(WebCore::V8History::replaceStateCallbackCustom):
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::inspectedObjectCallbackCustom):
(WebCore::V8InjectedScriptHost::internalConstructorNameCallbackCustom):
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionCallbackCustom):
(WebCore::V8InjectedScriptHost::typeCallbackCustom):
(WebCore::V8InjectedScriptHost::functionDetailsCallbackCustom):
(WebCore::V8InjectedScriptHost::getInternalPropertiesCallbackCustom):
(WebCore::V8InjectedScriptHost::getEventListenersCallbackCustom):
(WebCore::V8InjectedScriptHost::inspectCallbackCustom):
(WebCore::V8InjectedScriptHost::databaseIdCallbackCustom):
(WebCore::V8InjectedScriptHost::storageIdCallbackCustom):
(WebCore::V8InjectedScriptHost::evaluateCallbackCustom):
(WebCore::V8InjectedScriptHost::setFunctionVariableValueCallbackCustom):
* bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
(WebCore::V8InspectorFrontendHost::platformCallbackCustom):
(WebCore::V8InspectorFrontendHost::portCallbackCustom):
(WebCore::V8InspectorFrontendHost::showContextMenuCallbackCustom):
(WebCore::V8InspectorFrontendHost::recordActionTakenCallbackCustom):
(WebCore::V8InspectorFrontendHost::recordPanelShownCallbackCustom):
(WebCore::V8InspectorFrontendHost::recordSettingChangedCallbackCustom):
* bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
(WebCore::V8JavaScriptCallFrame::evaluateCallbackCustom):
(WebCore::V8JavaScriptCallFrame::restartCallbackCustom):
(WebCore::V8JavaScriptCallFrame::setVariableValueCallbackCustom):
(WebCore::V8JavaScriptCallFrame::scopeTypeCallbackCustom):
* bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAccessorGetter):
(WebCore::V8Location::replaceAccessorGetter):
(WebCore::V8Location::assignAccessorGetter):
(WebCore::V8Location::reloadCallbackCustom):
(WebCore::V8Location::replaceCallbackCustom):
(WebCore::V8Location::assignCallbackCustom):
(WebCore::V8Location::valueOfCallbackCustom):
(WebCore::V8Location::toStringCallbackCustom):
* bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::initMessageEventCallbackCustom):
(WebCore::V8MessageEvent::webkitInitMessageEventCallbackCustom):
* bindings/v8/custom/V8MessagePortCustom.cpp:
(WebCore::V8MessagePort::postMessageCallbackCustom):
* bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeCallbackCustom):
(WebCore::V8Node::replaceChildCallbackCustom):
(WebCore::V8Node::removeChildCallbackCustom):
(WebCore::V8Node::appendChildCallbackCustom):
* bindings/v8/custom/V8NotificationCenterCustom.cpp:
(WebCore::V8NotificationCenter::requestPermissionCallbackCustom):
* bindings/v8/custom/V8NotificationCustom.cpp:
(WebCore::V8Notification::requestPermissionCallbackCustom):
* bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
(WebCore::V8SQLResultSetRowList::itemCallbackCustom):
* bindings/v8/custom/V8SQLTransactionCustom.cpp:
(WebCore::V8SQLTransaction::executeSqlCallbackCustom):
* bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
(WebCore::V8SQLTransactionSync::executeSqlCallbackCustom):
* bindings/v8/custom/V8SVGLengthCustom.cpp:
(WebCore::V8SVGLength::convertToSpecifiedUnitsCallbackCustom):
* bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::V8WebGLRenderingContext::getAttachedShadersCallbackCustom):
(WebCore::V8WebGLRenderingContext::getBufferParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getExtensionCallbackCustom):
(WebCore::V8WebGLRenderingContext::getFramebufferAttachmentParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getProgramParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getRenderbufferParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getShaderParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallbackCustom):
(WebCore::V8WebGLRenderingContext::getTexParameterCallbackCustom):
(WebCore::V8WebGLRenderingContext::getUniformCallbackCustom):
(WebCore::V8WebGLRenderingContext::getVertexAttribCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform1fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform1ivCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform2fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform2ivCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform3fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform3ivCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform4fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniform4ivCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniformMatrix2fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniformMatrix3fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::uniformMatrix4fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::vertexAttrib1fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::vertexAttrib2fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::vertexAttrib3fvCallbackCustom):
(WebCore::V8WebGLRenderingContext::vertexAttrib4fvCallbackCustom):
* bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::V8WorkerContext::importScriptsCallbackCustom):
(WebCore::V8WorkerContext::setTimeoutCallbackCustom):
(WebCore::V8WorkerContext::setIntervalCallbackCustom):
* bindings/v8/custom/V8WorkerCustom.cpp:
(WebCore::V8Worker::postMessageCallbackCustom):
* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::V8XMLHttpRequest::openCallbackCustom):
(WebCore::V8XMLHttpRequest::sendCallbackCustom):
* bindings/v8/custom/V8XSLTProcessorCustom.cpp:
(WebCore::V8XSLTProcessor::setParameterCallbackCustom):
(WebCore::V8XSLTProcessor::getParameterCallbackCustom):
(WebCore::V8XSLTProcessor::removeParameterCallbackCustom):

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

8 years agoJSObject for ChannelSplitterNode and ChannelMergerNode are not created.
commit-queue@webkit.org [Thu, 14 Feb 2013 06:04:12 +0000 (06:04 +0000)]
JSObject for ChannelSplitterNode and ChannelMergerNode are not created.
https://bugs.webkit.org/show_bug.cgi?id=109542

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-02-13
Reviewed by Kentaro Hara.

Source/WebCore:

"JSGenerateToJSObject" should be included in IDL files
of ChannelSplitterNode and ChannelMergerNode in WebAudio.
This ensures html files to access corresponding objects.

* Modules/webaudio/ChannelMergerNode.idl:
* Modules/webaudio/ChannelSplitterNode.idl:

LayoutTests:

Test cases updated to check validity of ChannelSplitterNode
and ChannelMergerNode Objects.

* webaudio/audiochannelmerger-basic-expected.txt:
* webaudio/audiochannelmerger-basic.html:
* webaudio/audiochannelsplitter-expected.txt:
* webaudio/audiochannelsplitter.html:

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

8 years agoAdds failing WebGL Conformance Tests.
gman@chromium.org [Thu, 14 Feb 2013 05:49:25 +0000 (05:49 +0000)]
Adds failing WebGL Conformance Tests.
https://bugs.webkit.org/show_bug.cgi?id=109075

Reviewed by Kenneth Russell.

* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:
* webgl/conformance/canvas/buffer-offscreen-test-expected.txt: Added.
* webgl/conformance/canvas/buffer-offscreen-test.html: Added.
* webgl/conformance/canvas/buffer-preserve-test-expected.txt: Added.
* webgl/conformance/canvas/buffer-preserve-test.html: Added.
* webgl/conformance/canvas/drawingbuffer-test-expected.txt: Added.
* webgl/conformance/canvas/drawingbuffer-test.html: Added.
* webgl/conformance/canvas/to-data-url-test-expected.txt: Added.
* webgl/conformance/canvas/to-data-url-test.html: Added.
* webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt: Added.
* webgl/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
* webgl/conformance/context/context-creation-and-destruction-expected.txt: Added.
* webgl/conformance/context/context-creation-and-destruction.html: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
* webgl/conformance/glsl/literals/float_literal.vert-expected.txt: Added.
* webgl/conformance/glsl/literals/float_literal.vert.html: Added.
* webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
* webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
* webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
* webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
* webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
* webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
* webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt: Added.
* webgl/conformance/glsl/misc/shaders-with-varyings.html: Added.
* webgl/conformance/glsl/variables/gl-pointcoord-expected.txt: Added.
* webgl/conformance/glsl/variables/gl-pointcoord.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-A.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B1.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B2.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B3.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B4.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-C.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
* webgl/conformance/more/functions/bufferDataBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/bufferDataBadArgs.html: Added.
* webgl/conformance/more/functions/copyTexImage2D-expected.txt: Added.
* webgl/conformance/more/functions/copyTexImage2D.html: Added.
* webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/copyTexSubImage2D-expected.txt: Added.
* webgl/conformance/more/functions/copyTexSubImage2D.html: Added.
* webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/deleteBufferBadArgs.html: Added.
* webgl/conformance/more/functions/drawArrays-expected.txt: Added.
* webgl/conformance/more/functions/drawArrays.html: Added.
* webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt: Added.
* webgl/conformance/more/functions/drawArraysOutOfBounds.html: Added.
* webgl/conformance/more/functions/drawElements-expected.txt: Added.
* webgl/conformance/more/functions/drawElements.html: Added.
* webgl/conformance/more/functions/drawElementsBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/drawElementsBadArgs.html: Added.
* webgl/conformance/more/functions/readPixelsBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/readPixelsBadArgs.html: Added.
* webgl/conformance/more/functions/texImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/texImage2DHTML-expected.txt: Added.
* webgl/conformance/more/functions/texImage2DHTML.html: Added.
* webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/texSubImage2DHTML-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2DHTML.html: Added.
* webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
* webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
* webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
* webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/log/log_001_to_008.html: Added.
* webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
* webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
* webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt: Added.
* webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
* webgl/conformance/programs/program-test-expected.txt: Added.
* webgl/conformance/programs/program-test.html: Added.
* webgl/conformance/reading/read-pixels-test-expected.txt: Added.
* webgl/conformance/reading/read-pixels-test.html: Added.
* webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt: Added.
* webgl/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
* webgl/conformance/rendering/gl-scissor-test-expected.txt: Added.
* webgl/conformance/rendering/gl-scissor-test.html: Added.
* webgl/conformance/rendering/more-than-65536-indices-expected.txt: Added.
* webgl/conformance/rendering/more-than-65536-indices.html: Added.
* webgl/conformance/rendering/multisample-corruption-expected.txt: Added.
* webgl/conformance/rendering/multisample-corruption.html: Added.
* webgl/conformance/rendering/point-size-expected.txt: Added.
* webgl/conformance/rendering/point-size.html: Added.
* webgl/conformance/state/gl-object-get-calls-expected.txt: Added.
* webgl/conformance/state/gl-object-get-calls.html: Added.
* webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt: Added.
* webgl/conformance/textures/copy-tex-image-2d-formats.html: Added.
* webgl/conformance/textures/gl-pixelstorei-expected.txt: Added.
* webgl/conformance/textures/gl-pixelstorei.html: Added.
* webgl/conformance/textures/origin-clean-conformance-expected.txt: Added.
* webgl/conformance/textures/origin-clean-conformance.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
* webgl/conformance/textures/texture-active-bind-2-expected.txt: Added.
* webgl/conformance/textures/texture-active-bind-2.html: Added.
* webgl/conformance/textures/texture-active-bind-expected.txt: Added.
* webgl/conformance/textures/texture-active-bind.html: Added.
* webgl/conformance/textures/texture-mips-expected.txt: Added.
* webgl/conformance/textures/texture-mips.html: Added.
* webgl/conformance/textures/texture-npot-video-expected.txt: Added.
* webgl/conformance/textures/texture-npot-video.html: Added.
* webgl/conformance/textures/texture-size-expected.txt: Added.
* webgl/conformance/textures/texture-size-limit-expected.txt: Added.
* webgl/conformance/textures/texture-size-limit.html: Added.
* webgl/conformance/textures/texture-size.html: Added.
* webgl/conformance/uniforms/gl-uniform-arrays-expected.txt: Added.
* webgl/conformance/uniforms/gl-uniform-arrays.html: Added.
* webgl/conformance/uniforms/uniform-default-values-expected.txt: Added.
* webgl/conformance/uniforms/uniform-default-values.html: Added.
* webgl/conformance/uniforms/uniform-location-expected.txt: Added.
* webgl/conformance/uniforms/uniform-location.html: Added.
* webgl/conformance/uniforms/uniform-samplers-test-expected.txt: Added.
* webgl/conformance/uniforms/uniform-samplers-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html: Added.
* webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
* webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawArrays.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawElements.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
* webgl/resources/webgl_test_files/conformance/programs/program-test.html: Added.
* webgl/resources/webgl_test_files/conformance/reading/read-pixels-test.html: Added.
* webgl/resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/gl-scissor-test.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/multisample-corruption.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/point-size.html: Added.
* webgl/resources/webgl_test_files/conformance/state/gl-object-get-calls.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/gl-pixelstorei.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/origin-clean-conformance.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-active-bind-2.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-active-bind.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-mips.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-npot-video.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-size-limit.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-size.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-default-values.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-location.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html: Added.

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

8 years ago[Regression] After r142831 collection-null-like-arguments.html layout test failing
rgf748@motorola.com [Thu, 14 Feb 2013 04:17:41 +0000 (04:17 +0000)]
[Regression] After r142831  collection-null-like-arguments.html layout test failing
https://bugs.webkit.org/show_bug.cgi?id=109780

Reviewed by Kentaro Hara.

No new tests. LayoutTests/fast/dom/collection-null-like-arguments.html
Should pass now.

* bindings/js/JSHTMLAllCollectionCustom.cpp: Return null for namedItem() only.
(WebCore::getNamedItems):
(WebCore::JSHTMLAllCollection::namedItem):
* bindings/js/JSHTMLFormControlsCollectionCustom.cpp: Ditto.
(WebCore::getNamedItems):
(WebCore::JSHTMLFormControlsCollection::namedItem):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp: Ditto.
(WebCore::getNamedItems):
(WebCore::JSHTMLOptionsCollection::namedItem):

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

8 years agoFix indentation error in MediaPlayerPrivateGStreamer.h
commit-queue@webkit.org [Thu, 14 Feb 2013 03:45:10 +0000 (03:45 +0000)]
Fix indentation error in MediaPlayerPrivateGStreamer.h
https://bugs.webkit.org/show_bug.cgi?id=109768

Patch by Soo-Hyun Choi <sh9.choi@samsung.com> on 2013-02-13
Reviewed by Kentaro Hara.

No new tests as this patch just changes indentation style.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::hasVideo):
(WebCore::MediaPlayerPrivateGStreamer::hasAudio):
(WebCore::MediaPlayerPrivateGStreamer::engineDescription):
(WebCore::MediaPlayerPrivateGStreamer::isLiveStream):

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

8 years ago[Chromium] Unreviewed gardening
commit-queue@webkit.org [Thu, 14 Feb 2013 03:44:03 +0000 (03:44 +0000)]
[Chromium] Unreviewed gardening
https://bugs.webkit.org/show_bug.cgi?id=109779

Rebaseline http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html
on Linux after r142683.

Patch by Alan Cutter <alancutter@chromium.org> on 2013-02-13

* platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt: Added.

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

8 years agoTokenPreloadScanner should be (mostly!) thread-safe
abarth@webkit.org [Thu, 14 Feb 2013 03:31:58 +0000 (03:31 +0000)]
TokenPreloadScanner should be (mostly!) thread-safe
https://bugs.webkit.org/show_bug.cgi?id=109760

Reviewed by Eric Seidel.

This patch makes the bulk of TokenPreloadScanner thread-safe.  The one
remaining wart is processPossibleBaseTag because it wants to grub
around in the base tag's attributes. I have a plan for that, but it's
going to need to wait for the next patch.

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::isStartTag):
(WebCore::isStartOrEndTag):
(WebCore::TokenPreloadScanner::identifierFor):
(WebCore::TokenPreloadScanner::inititatorFor):
(WebCore::TokenPreloadScanner::StartTagScanner::StartTagScanner):
(WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
(TokenPreloadScanner::StartTagScanner):
(WebCore::TokenPreloadScanner::processPossibleTemplateTag):
(WebCore::TokenPreloadScanner::processPossibleStyleTag):
(WebCore::TokenPreloadScanner::processPossibleBaseTag):
(WebCore::TokenPreloadScanner::scan):
(WebCore::HTMLPreloadScanner::scan):
* html/parser/HTMLPreloadScanner.h:
(WebCore):

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

8 years agoUnreviewed. Add separate DumpRenderTree VS2010 solution file.
roger_fong@apple.com [Thu, 14 Feb 2013 02:36:01 +0000 (02:36 +0000)]
Unreviewed. Add separate DumpRenderTree VS2010 solution file.

* DumpRenderTree/DumpRenderTree.vcxproj: Added property svn:ignore.
* DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree.sln: Added.

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

8 years ago[chromium] Request WebLayerTreeView for DumpRenderTree via explicit testing path
jamesr@google.com [Thu, 14 Feb 2013 02:30:25 +0000 (02:30 +0000)]
[chromium] Request WebLayerTreeView for DumpRenderTree via explicit testing path
https://bugs.webkit.org/show_bug.cgi?id=109634

Reviewed by Adrienne Walker.

Source/Platform:

* chromium/public/WebUnitTestSupport.h:

Tools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createOutputSurface):
(WebViewHost::initializeLayerTreeView):

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

8 years agoStartTagScanner should be thread-safe
abarth@webkit.org [Thu, 14 Feb 2013 02:16:23 +0000 (02:16 +0000)]
StartTagScanner should be thread-safe
https://bugs.webkit.org/show_bug.cgi?id=109750

Reviewed by Eric Seidel.

This patch weens the StartTagScanner off AtomicString using two
techniques:

1) This patch creates an enum to represent the four tag names that the
   StartTagScanner needs to understand. Using an enum is better than
   using an AtomicString because we can use the enum on both the main
   thread and on the background thread.

2) For attributes, this patch uses threadSafeMatch. We're not able to
   use threadSafeMatch everywhere due to performance, but using it for
   attributes appears to be ok becaues we only call threadSafeMatch on
   the attributes of "interesting" tags.

I tested the performance of this patch using
PerformanceTests/Parser/html-parser.html and did not see any slowdown.
(There actually appeared to be a <1% speedup, but I'm attributing that
to noise.)

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::identifierFor):
(WebCore):
(WebCore::inititatorFor):
(WebCore::StartTagScanner::StartTagScanner):
(WebCore::StartTagScanner::processAttributes):
(StartTagScanner):
(WebCore::StartTagScanner::createPreloadRequest):
(WebCore::StartTagScanner::processAttribute):
(WebCore::StartTagScanner::charset):
(WebCore::StartTagScanner::resourceType):
(WebCore::StartTagScanner::shouldPreload):
(WebCore::HTMLPreloadScanner::processToken):

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

8 years agoRemove StringPairVector
andersca@apple.com [Thu, 14 Feb 2013 02:11:39 +0000 (02:11 +0000)]
Remove StringPairVector
https://bugs.webkit.org/show_bug.cgi?id=109778

Reviewed by Ryosuke Niwa.

Our message generation scripts can handle nested template parameter types now,
so we no longer need to use StringPairVector.

* Shared/StringPairVector.h: Removed.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::willSubmitForm):
* UIProcess/WebPageProxy.h:
(WebPageProxy):
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):

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

8 years agoBetter build fix.
andersca@apple.com [Thu, 14 Feb 2013 01:58:57 +0000 (01:58 +0000)]
Better build fix.

* API/tests/testapi.c:
(assertEqualsAsNumber):
(main):

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

8 years agoCoordinated Graphics: a long page is scaled vertically while loading.
commit-queue@webkit.org [Thu, 14 Feb 2013 01:56:52 +0000 (01:56 +0000)]
Coordinated Graphics: a long page is scaled vertically while loading.
https://bugs.webkit.org/show_bug.cgi?id=109645

Patch by Huang Dongsung <luxtella@company100.net> on 2013-02-13
Reviewed by Noam Rosenthal.

When loading http://www.w3.org/TR/xpath-datamodel/, Coordinated Graphics draws
vertically scaled contents. It is because there is the difference between the
size of a layer and the size of CoordinatedBackingStore.

Currently, CoordinatedGraphicsScene notifies the size to CoordinatedBackingStore
at the moment of creating, updating and removing a tile. However, it is not
necessary to send tile-related messages when the size of layer is changed.
So this patch resets the size of CoordinatedBackingStore when receiving the
message that is created when the size is changed: SyncLayerState.

There is no current way to reliably test flicker issues.

* platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
  Add m_pendingSize to set m_size at the moment of flushing.
  After http://webkit.org/b/108294, m_pendingSize will be removed
  because the bug makes CoordinatedGraphicsScene execute all messages at
  the moment of flushing.
(WebCore::CoordinatedBackingStore::setSize):
(WebCore::CoordinatedBackingStore::commitTileOperations):
* platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
(CoordinatedBackingStore):
* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::prepareContentBackingStore):
(WebCore::CoordinatedGraphicsScene::createBackingStoreIfNeeded):
(WebCore::CoordinatedGraphicsScene::resetBackingStoreSizeToLayerSize):
(WebCore::CoordinatedGraphicsScene::createTile):
(WebCore::CoordinatedGraphicsScene::removeTile):
(WebCore::CoordinatedGraphicsScene::updateTile):

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

8 years agoPlugIn Autostart should expire in 30 days, not half a day
dino@apple.com [Thu, 14 Feb 2013 01:50:52 +0000 (01:50 +0000)]
PlugIn Autostart should expire in 30 days, not half a day
https://bugs.webkit.org/show_bug.cgi?id=109767

Reviewed by Brian Weinstein.

We forgot to multiply by 60 seconds in a minute.

* UIProcess/Plugins/PlugInAutoStartProvider.cpp:

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

8 years agoMessage generation should handle nested templates
andersca@apple.com [Thu, 14 Feb 2013 01:49:31 +0000 (01:49 +0000)]
Message generation should handle nested templates
https://bugs.webkit.org/show_bug.cgi?id=109771

Reviewed by Ryosuke Niwa.

Make it possible to have nested class template types as message parameters and
correctly gather all the needed headers and argument coder headers.

* Scripts/webkit2/messages.py:
(class_template_headers):
Recursively figure out the types and template headers needed for a given type.

(argument_coder_headers_for_type):
(headers_for_type):
Call class_template_headers.

* Scripts/webkit2/messages_unittest.py:
(CoreIPC):
* Scripts/webkit2/parser.py:
(split_parameters_string):
(parse_parameters_string):

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

8 years ago[V8] Rename XXXAccessorGetter() to XXXAttrGetterCustom(),
haraken@chromium.org [Thu, 14 Feb 2013 01:43:53 +0000 (01:43 +0000)]
[V8] Rename XXXAccessorGetter() to XXXAttrGetterCustom(),
and XXXAccessorSetter() to XXXAttrSetterCustom()
https://bugs.webkit.org/show_bug.cgi?id=109679

Reviewed by Adam Barth.

For naming consistency and clarification.

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateHeaderCustomCall):
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateImplementation):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrGetter):
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrSetter):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::customAttrAttrGetter):
(WebCore::TestObjV8Internal::customAttrAttrSetter):
* bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
* bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
* bindings/v8/custom/V8BiquadFilterNodeCustom.cpp:
(WebCore::V8BiquadFilterNode::typeAttrSetterCustom):
* bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::V8CanvasRenderingContext2D::strokeStyleAttrGetterCustom):
(WebCore::V8CanvasRenderingContext2D::strokeStyleAttrSetterCustom):
(WebCore::V8CanvasRenderingContext2D::fillStyleAttrGetterCustom):
(WebCore::V8CanvasRenderingContext2D::fillStyleAttrSetterCustom):
* bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::typesAttrGetterCustom):
* bindings/v8/custom/V8CoordinatesCustom.cpp:
(WebCore::V8Coordinates::altitudeAttrGetterCustom):
(WebCore::V8Coordinates::altitudeAccuracyAttrGetterCustom):
(WebCore::V8Coordinates::headingAttrGetterCustom):
(WebCore::V8Coordinates::speedAttrGetterCustom):
* bindings/v8/custom/V8CustomEventCustom.cpp:
(WebCore::V8CustomEvent::detailAttrGetterCustom):
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::V8DOMWindow::eventAttrGetterCustom):
(WebCore::V8DOMWindow::eventAttrSetterCustom):
(WebCore::V8DOMWindow::locationAttrSetterCustom):
(WebCore::V8DOMWindow::openerAttrSetterCustom):
* bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
(WebCore::V8DeviceMotionEvent::accelerationAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::accelerationIncludingGravityAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::rotationRateAttrGetterCustom):
(WebCore::V8DeviceMotionEvent::intervalAttrGetterCustom):
* bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
(WebCore::V8DeviceOrientationEvent::alphaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::betaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::gammaAttrGetterCustom):
(WebCore::V8DeviceOrientationEvent::absoluteAttrGetterCustom):
* bindings/v8/custom/V8DocumentLocationCustom.cpp:
(WebCore::V8Document::locationAttrGetterCustom):
(WebCore::V8Document::locationAttrSetterCustom):
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::V8Event::dataTransferAttrGetterCustom):
(WebCore::V8Event::clipboardDataAttrGetterCustom):
* bindings/v8/custom/V8FileReaderCustom.cpp:
(WebCore::V8FileReader::resultAttrGetterCustom):
* bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::V8HTMLDocument::allAttrSetterCustom):
* bindings/v8/custom/V8HTMLElementCustom.cpp:
(WebCore::V8HTMLElement::itemValueAttrGetterCustom):
(WebCore::V8HTMLElement::itemValueAttrSetterCustom):
* bindings/v8/custom/V8HTMLFrameElementCustom.cpp:
(WebCore::V8HTMLFrameElement::locationAttrSetterCustom):
* bindings/v8/custom/V8HTMLInputElementCustom.cpp:
(WebCore::V8HTMLInputElement::selectionStartAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionStartAttrSetterCustom):
(WebCore::V8HTMLInputElement::selectionEndAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionEndAttrSetterCustom):
(WebCore::V8HTMLInputElement::selectionDirectionAttrGetterCustom):
(WebCore::V8HTMLInputElement::selectionDirectionAttrSetterCustom):
* bindings/v8/custom/V8HTMLLinkElementCustom.cpp:
(WebCore::V8HTMLLinkElement::sizesAttrGetterCustom):
(WebCore::V8HTMLLinkElement::sizesAttrSetterCustom):
* bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
* bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::lengthAttrSetterCustom):
* bindings/v8/custom/V8HistoryCustom.cpp:
(WebCore::V8History::stateAttrGetterCustom):
* bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
(WebCore::V8JavaScriptCallFrame::scopeChainAttrGetterCustom):
(WebCore::V8JavaScriptCallFrame::thisObjectAttrGetterCustom):
(WebCore::V8JavaScriptCallFrame::typeAttrGetterCustom):
* bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::hashAttrSetterCustom):
(WebCore::V8Location::hostAttrSetterCustom):
(WebCore::V8Location::hostnameAttrSetterCustom):
(WebCore::V8Location::hrefAttrSetterCustom):
(WebCore::V8Location::pathnameAttrSetterCustom):
(WebCore::V8Location::portAttrSetterCustom):
(WebCore::V8Location::protocolAttrSetterCustom):
(WebCore::V8Location::searchAttrSetterCustom):
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
* bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAttrGetterCustom):
(WebCore::V8MessageEvent::portsAttrGetterCustom):
* bindings/v8/custom/V8OscillatorNodeCustom.cpp:
(WebCore::V8OscillatorNode::typeAttrSetterCustom):
* bindings/v8/custom/V8PannerNodeCustom.cpp:
(WebCore::V8PannerNode::panningModelAttrSetterCustom):
(WebCore::V8PannerNode::distanceModelAttrSetterCustom):
* bindings/v8/custom/V8PopStateEventCustom.cpp:
(WebCore::V8PopStateEvent::stateAttrGetterCustom):
* bindings/v8/custom/V8SVGLengthCustom.cpp:
(WebCore::V8SVGLength::valueAttrGetterCustom):
(WebCore::V8SVGLength::valueAttrSetterCustom):
* bindings/v8/custom/V8TrackEventCustom.cpp:
(WebCore::V8TrackEvent::trackAttrGetterCustom):
* bindings/v8/custom/V8WebKitAnimationCustom.cpp:
(WebCore::V8WebKitAnimation::iterationCountAttrGetterCustom):
* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::V8XMLHttpRequest::responseTextAttrGetterCustom):
(WebCore::V8XMLHttpRequest::responseAttrGetterCustom):

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

8 years ago[V8] Generate wrapper methods for custom getters/setters
haraken@chromium.org [Thu, 14 Feb 2013 01:35:17 +0000 (01:35 +0000)]
[V8] Generate wrapper methods for custom getters/setters
https://bugs.webkit.org/show_bug.cgi?id=109666

Reviewed by Adam Barth.

Currently V8 directly calls back custom getters/setters written
in custom binding files. This makes it impossible for code generators
to hook custom getters/setters (e.g. Code generators cannot insert a code
for FeatureObservation into custom getters/setters). To solve the problem,
we should generate wrapper methods for custom getters/setters.

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateSingleBatchedAttribute):
(GenerateImplementation):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrGetter):
(TestInterfaceV8Internal):
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrSetter):
(WebCore):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::customAttrAttrGetter):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::customAttrAttrSetter):
(WebCore):

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

8 years agoUnreviewed. Build fix.
roger_fong@apple.com [Thu, 14 Feb 2013 01:32:32 +0000 (01:32 +0000)]
Unreviewed. Build fix.

* API/tests/testapi.c:
(assertEqualsAsNumber):
(main):

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

8 years agoHTMLCollections namedItem() methods should return null than undefined for empty colle...
rgf748@motorola.com [Thu, 14 Feb 2013 01:31:14 +0000 (01:31 +0000)]
HTMLCollections namedItem() methods should return null than undefined for empty collections.
https://bugs.webkit.org/show_bug.cgi?id=104096

Reviewed by Kentaro Hara.

As per specification namedItem() should return null if collection is empty.
Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#htmlallcollection

Source/WebCore:

Test: fast/dom/htmlcollection-namedItem.html

* bindings/js/JSHTMLAllCollectionCustom.cpp: Returning null.
(WebCore::getNamedItems):
* bindings/js/JSHTMLFormControlsCollectionCustom.cpp: Ditto.
(WebCore::getNamedItems):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp: Ditto.
(WebCore::getNamedItems):
* bindings/v8/custom/V8HTMLAllCollectionCustom.cpp: Ditto.
(WebCore::V8HTMLAllCollection::namedItemCallback):
* bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp: Ditto.
(WebCore::V8HTMLFormControlsCollection::namedItemCallback):
* bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp: Ditto.
(WebCore::V8HTMLOptionsCollection::namedItemCallback):

LayoutTests:

* fast/dom/HTMLFormElement/move-option-between-documents-expected.txt:
* fast/dom/HTMLFormElement/move-option-between-documents.html:
* fast/dom/htmlcollection-namedItem-expected.txt: Added.
* fast/dom/htmlcollection-namedItem.html: Added.

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

8 years agoMake WebKit2 Derived Sources work with SDK identifiers too
commit-queue@webkit.org [Thu, 14 Feb 2013 01:31:02 +0000 (01:31 +0000)]
Make WebKit2 Derived Sources work with SDK identifiers too
https://bugs.webkit.org/show_bug.cgi?id=109763

Patch by David Farler <dfarler@apple.com> on 2013-02-13
Reviewed by David Kilzer.

* WebKit2.xcodeproj/project.pbxproj: Pass SDKROOT=${SDKROOT} to DerivedSources.make

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

8 years agoFix svg/in-html/script-write.html with threaded HTML parser
tonyg@chromium.org [Thu, 14 Feb 2013 01:25:19 +0000 (01:25 +0000)]
Fix svg/in-html/script-write.html with threaded HTML parser
https://bugs.webkit.org/show_bug.cgi?id=109495

Reviewed by Eric Seidel.

Source/WebCore:

This patch makes the background parser's simulateTreeBuilder() more realistic.
1. The HTMLTreeBuilder does not call the updateStateFor() setState()s when in foreign content mode so we shouldn't do it when simulating the tree builder.
2. HTMLTreeBuilder::processTokenInForeignContent has a list of tags which exit foreign content mode. We need to respect those.
3. Support the <foreignObject> tag which enters and leaves foreign content mode.
4. The tree builder sets state to DataState upon a </script> tag when not in foreign content mode. We need to do the same.

This involved creating a namespace stack where we push upon entering each namespace and pop upon leaving.
We are in foreign content if the topmost namespace is SVG or MathML.

This fixes svg/in-html/script-write.html and likely others.

* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::simulateTreeBuilder):
* html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):
* html/parser/CompactHTMLToken.cpp:
(WebCore::CompactHTMLToken::getAttributeItem): Returns the attribute of the given name. Necessary to test for <font> attributes in simulateTreeBuilder.
(WebCore):
* html/parser/CompactHTMLToken.h:
(WebCore):
(CompactHTMLToken):

LayoutTests:

Added 3 new test cases:
1. Test the behavior of a plaintext tag inside an svg foreignObject. It applies to the remainder of the document. This behavior seems a little wonky, but it matches our current behavior and Firefox's behavior.
2. Test that we don't blindly go into HTML mode after </foreignObject>.
3. Test that unmatched </foreignObject>s are ignored.

* html5lib/resources/webkit02.dat:

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

8 years agoTestWebKitAPI fails to build for iphonesimulator: 'CFNetwork/CFNetworkDefs.h' file...
commit-queue@webkit.org [Thu, 14 Feb 2013 01:17:40 +0000 (01:17 +0000)]
TestWebKitAPI fails to build for iphonesimulator: 'CFNetwork/CFNetworkDefs.h' file not found
https://bugs.webkit.org/show_bug.cgi?id=109766

Patch by David Farler <dfarler@apple.com> on 2013-02-13
Reviewed by David Kilzer.

* TestWebKitAPI/Configurations/Base.xcconfig:
- Don't search Mac OS X header search paths when building on iOS

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

8 years agoRemove Element::getAttributeItem() overload that returned a mutable Attribute*.
akling@apple.com [Thu, 14 Feb 2013 01:11:12 +0000 (01:11 +0000)]
Remove Element::getAttributeItem() overload that returned a mutable Attribute*.
<http://webkit.org/b/109756>

Reviewed by Antti Koivisto.

Remove this to prevent callers from accidentally causing elements to convert to UniqueElementData.
There are two call sites (Attr and HTMLSelectElement) that legitimately need to mutate Attribute
objects in-place, they now use Element::ensureUniqueElementData()->getAttributeItem() directly instead.

Small progression on Membuster3, mostly for peace of mind.

* dom/Attr.cpp:
(WebCore::Attr::elementAttribute):
* dom/Element.h:
(Element):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType):
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::parseAttribute):
* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::getPresentationAttribute):

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

8 years agoStronger ElementData pointer typing.
akling@apple.com [Thu, 14 Feb 2013 01:07:01 +0000 (01:07 +0000)]
Stronger ElementData pointer typing.
<http://webkit.org/b/109752>

Reviewed by Antti Koivisto.

Use ShareableElementData/UniqueElementData pointers instead of generic ElementData pointers
where possible. Moved some methods from base class into leaf classes that don't make sense
for both classes.

* dom/DocumentSharedObjectPool.cpp:
(WebCore::ShareableElementDataCacheEntry::ShareableElementDataCacheEntry):
(ShareableElementDataCacheEntry):
(WebCore::DocumentSharedObjectPool::cachedShareableElementDataWithAttributes):
* dom/DocumentSharedObjectPool.h:
(DocumentSharedObjectPool):
* dom/Element.cpp:
(WebCore::Element::parserSetAttributes):
(WebCore::Element::setAttributeNode):
(WebCore::Element::removeAttributeInternal):
(WebCore::Element::cloneAttributesFromElement):
(WebCore::Element::createUniqueElementData):
(WebCore::ShareableElementData::createWithAttributes):
(WebCore::UniqueElementData::create):
(WebCore::ElementData::makeUniqueCopy):
(WebCore::UniqueElementData::makeShareableCopy):
* dom/Element.h:
(ElementData):
(ShareableElementData):
(UniqueElementData):
(Element):
(WebCore::Element::ensureUniqueElementData):
* dom/StyledElement.cpp:
(WebCore::StyledElement::rebuildPresentationAttributeStyle):

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

8 years agoReschedule shared CFRunLoopTimer instead of reconstructing it
antti@apple.com [Thu, 14 Feb 2013 01:03:49 +0000 (01:03 +0000)]
Reschedule shared CFRunLoopTimer instead of reconstructing it
https://bugs.webkit.org/show_bug.cgi?id=109765

Reviewed by Andreas Kling and Anders Carlsson.

Using CFRunLoopTimerSetNextFireDate is over 2x faster than deleting and reconstructing timers.

* platform/mac/SharedTimerMac.mm:
(WebCore):
(WebCore::PowerObserver::restartSharedTimer):
(WebCore::sharedTimer):
(WebCore::setSharedTimerFireInterval):
(WebCore::stopSharedTimer):

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

8 years agogetComputedStyle returns truncated value for margin-right
eae@chromium.org [Thu, 14 Feb 2013 01:02:59 +0000 (01:02 +0000)]
getComputedStyle returns truncated value for margin-right
https://bugs.webkit.org/show_bug.cgi?id=109759

Source/WebCore:

Reviewed by Tony Chang.

Due to an unfortunate cast in CSSComputedStyleDeclaration::
getPropertyCSSValue getComputedStyle returns truncated styles
for margin-right in cases where it isn't set to a specific pixel
value.

Test: fast/sub-pixel/computedstylemargin.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
Change type of temporary value variable to float to prevent loss of precision.

LayoutTests:

Reviewed by Tony Chang.

Add test for getComputedStyle with fractional margin values.

* fast/sub-pixel/computedstylemargin-expected.txt: Added.
* fast/sub-pixel/computedstylemargin.html: Added.

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

8 years ago[CSS Filters] Refactor filter outsets into a class
mvujovic@adobe.com [Thu, 14 Feb 2013 00:59:28 +0000 (00:59 +0000)]
[CSS Filters] Refactor filter outsets into a class
https://bugs.webkit.org/show_bug.cgi?id=109330

Source/WebCore:

Reviewed by Dean Jackson.

In filters related code, we're often operating on 4 ints representing the top, right,
bottom, and left filter outsets. These outsets come from a filter like blur or drop-shadow.
This patch packages those ints and their related operations into a class called
IntRectExtent.

Here are some signs that we should make a class to hold those 4 ints:
1) In RenderLayer.cpp, we have a expandRectForFilterOutsets function, which looks like
   feature envy.
2) RenderStyle and other classes have methods like getFilterOutsets which set the 4 ints by
   reference. The calling code has to define 4 ints, which looks bloated.
3) To fix bug 109098, we will need to check if filter outsets changed, which sounds like a
   nice job for an inequality operator. (https://bugs.webkit.org/show_bug.cgi?id=109098)

No new tests. No change in behavior. Just refactoring.

* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/IntRectExtent.h: Added.
(WebCore):
(IntRectExtent):
(WebCore::IntRectExtent::IntRectExtent):
(WebCore::IntRectExtent::top):
(WebCore::IntRectExtent::setTop):
(WebCore::IntRectExtent::right):
(WebCore::IntRectExtent::setRight):
(WebCore::IntRectExtent::bottom):
(WebCore::IntRectExtent::setBottom):
(WebCore::IntRectExtent::left):
(WebCore::IntRectExtent::setLeft):
(WebCore::IntRectExtent::expandRect):
(WebCore::IntRectExtent::isZero):
(WebCore::operator==):
(WebCore::operator!=):
(WebCore::operator+=):
* platform/graphics/filters/FilterOperations.cpp:
(WebCore::FilterOperations::outsets):
* platform/graphics/filters/FilterOperations.h:
(FilterOperations):
* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::intermediateSurfaceRect):
* rendering/FilterEffectRenderer.cpp:
(WebCore::FilterEffectRenderer::FilterEffectRenderer):
(WebCore::FilterEffectRenderer::build):
(WebCore::FilterEffectRenderer::computeSourceImageRectForDirtyRect):
* rendering/FilterEffectRenderer.h:
(FilterEffectRenderer):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setFilterBackendNeedsRepaintingInRect):
(WebCore::transparencyClipBox):
(WebCore::RenderLayer::calculateLayerBounds):
* rendering/style/RenderStyle.h:

Source/WebKit/chromium:

Update FilterOperations unit tests to use new interface for getting filter outsets.

Reviewed by Dean Jackson.

* tests/FilterOperationsTest.cpp:
(WebKit::TEST):

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

8 years agoFactor HTMLTokenScanner out of HTMLPreloadScanner
abarth@webkit.org [Thu, 14 Feb 2013 00:56:47 +0000 (00:56 +0000)]
Factor HTMLTokenScanner out of HTMLPreloadScanner
https://bugs.webkit.org/show_bug.cgi?id=109754

Reviewed by Eric Seidel.

This patch is just a mechanical separation of the per-token "scanning"
logic from HTMLPreloadScanner into a separate class.
HTMLPreloadScanner's job is now to keep track of the input stream and
to pump the tokenizer.

This factorization class will let us use HTMLTokenScanner on the
background thread (once we finish making it thread-safe). In a follow
up patch, I'll move HTMLTokenScanner to its own file.

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::HTMLTokenScanner::HTMLTokenScanner):
(WebCore::HTMLTokenScanner::~HTMLTokenScanner):
(WebCore::HTMLTokenScanner::processPossibleTemplateTag):
(WebCore::HTMLTokenScanner::processPossibleStyleTag):
(WebCore::HTMLTokenScanner::processPossibleBaseTag):
(WebCore::HTMLTokenScanner::scan):
(WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
(WebCore):
(WebCore::HTMLPreloadScanner::~HTMLPreloadScanner):
(WebCore::HTMLPreloadScanner::appendToEnd):
(WebCore::HTMLPreloadScanner::scan):
* html/parser/HTMLPreloadScanner.h:
(HTMLTokenScanner):
(WebCore::HTMLTokenScanner::setPredictedBaseElementURL):
(HTMLPreloadScanner):
(WebCore):

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

8 years agoREGRESSION(r125794) - inline-children-root-linebox-crash asserts in Chromium debug
leviw@chromium.org [Thu, 14 Feb 2013 00:37:59 +0000 (00:37 +0000)]
REGRESSION(r125794) - inline-children-root-linebox-crash asserts in Chromium debug
https://bugs.webkit.org/show_bug.cgi?id=94256

Unreviewed test expectations update. Re-enabling inline-children-root-linebox-crash
as it was fixed by r139479.

* platform/chromium/TestExpectations:

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

8 years agoASSERT(!renderer()->needsLayout()) when calling Element::focus() with generated content
esprehn@chromium.org [Thu, 14 Feb 2013 00:12:37 +0000 (00:12 +0000)]
ASSERT(!renderer()->needsLayout()) when calling Element::focus() with generated content
https://bugs.webkit.org/show_bug.cgi?id=109616

Reviewed by Julien Chaffraix.

Source/WebCore:

Test: fast/css-generated-content/quote-layout-focus-crash.html

In some cases RenderQuote may mark itself and containing blocks as needing layout
during a layout, but then one of it's containing blocks will mark itself as having
finished layout so the RenderQuote and potentially some of it's ancestor renderers
needLayout(), but the ancestors above those do not.

Until we have proper pre-layout tasks we should just walk the list of quotes
right before layout and mark all their ancestors as needing layout if the quote
needs layout.

* dom/Document.cpp:
(WebCore::Document::updateLayout): Call markQuoteContainingBlocksForLayoutIfNeeded.
(WebCore::Document::implicitClose): Call markQuoteContainingBlocksForLayoutIfNeeded.
* rendering/RenderQuote.h:
(WebCore::RenderQuote::next): Added.
* rendering/RenderView.cpp:
(WebCore::RenderView::markQuoteContainingBlocksForLayoutIfNeeded): Added.
* rendering/RenderView.h:
(RenderView):

LayoutTests:

* fast/block/float/float-not-removed-from-pre-block-expected.txt: Changed output.
* fast/css-generated-content/quote-layout-focus-crash-expected.txt: Added.
* fast/css-generated-content/quote-layout-focus-crash.html: Added.

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

8 years agoEME: MediaPlayer::keyNeede() should return a bool indicating whether an event listene...
jer.noble@apple.com [Thu, 14 Feb 2013 00:02:12 +0000 (00:02 +0000)]
EME: MediaPlayer::keyNeede() should return a bool indicating whether an event listener was triggered.
https://bugs.webkit.org/show_bug.cgi?id=109701

Reviewed by Eric Carlson.

Clients of MediaPlayer may need to do cleanup if calling keyNeeded()
results in no event listener being triggered. Return a bool (like the
v1 equivalent keyNeeded method) to indicate this.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaPlayerKeyNeeded):
* html/HTMLMediaElement.h:
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::keyNeeded):
* platform/graphics/MediaPlayer.h:
(WebCore::MediaPlayerClient::mediaPlayerKeyNeeded):

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

8 years agoTry once again to fix the build after r142756
mrobinson@webkit.org [Wed, 13 Feb 2013 23:57:33 +0000 (23:57 +0000)]
Try once again to fix the build after r142756

* Source/autotools/PrintBuildConfiguration.m4: Do not try to print the GStreamer version
in the build output.
* Source/autotools/SetupAutoconfHeader.m4: Remove the last reference to have_gstreamer.

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

8 years agoOne more buildfix for !ENABLE(PLUGIN_PROCESS) platforms.
ossy@webkit.org [Wed, 13 Feb 2013 23:53:20 +0000 (23:53 +0000)]
One more buildfix for !ENABLE(PLUGIN_PROCESS) platforms.

Patch by Csaba Osztrogon√°c <ossy@webkit.org> on 2013-02-13

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):

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

8 years agoASSERTION FAILED: !object || object->isBox(), Bad cast in RenderBox::computeLogicalHeight
inferno@chromium.org [Wed, 13 Feb 2013 23:44:59 +0000 (23:44 +0000)]
ASSERTION FAILED: !object || object->isBox(), Bad cast in RenderBox::computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=107748

Reviewed by Levi Weintraub.

Source/WebCore:

Make sure that body renderer is not an inline-block display
when determining that it stretches to viewport or when paginated
content needs base height.

Test: fast/block/body-inline-block-crash.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight):
* rendering/RenderBox.h:
(WebCore::RenderBox::stretchesToViewport):

LayoutTests:

* fast/block/body-inline-block-crash-expected.txt: Added.
* fast/block/body-inline-block-crash.html: Added.

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

8 years agoFix debug assertion being triggered because we may access dirty normalFlowList.
shawnsingh@chromium.org [Wed, 13 Feb 2013 23:43:01 +0000 (23:43 +0000)]
Fix debug assertion being triggered because we may access dirty normalFlowList.
https://bugs.webkit.org/show_bug.cgi?id=109740

A debug assertion in RenderLayer.h is being hit when trying to
access the normalFlowList when it is dirty.  This is caused by a
new recursion that I added in RenderLayerBacking::hasVisibleNonCompositingDescendant(),
but I overlooked the need to call updateLayerListsIfNeeded()
recursively as well.

Reviewed by Simon Fraser.

No test, because there's no reliable way to test this (same as bug 85512).

* rendering/RenderLayerBacking.cpp:
(WebCore::hasVisibleNonCompositingDescendant):
(WebCore::RenderLayerBacking::hasVisibleNonCompositingDescendantLayers):

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

8 years agoUnreviewed. Add some missing property sheets for TestWebKitAPI.
roger_fong@apple.com [Wed, 13 Feb 2013 23:37:37 +0000 (23:37 +0000)]
Unreviewed. Add some missing property sheets for TestWebKitAPI.

* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props: Added.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props: Added.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props: Added.

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

8 years agoYet another build fix
oliver@apple.com [Wed, 13 Feb 2013 23:37:27 +0000 (23:37 +0000)]
Yet another build fix

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

8 years agoUnreviewed Qt-Mac and Qt-Win buildfix after r142768.
ossy@webkit.org [Wed, 13 Feb 2013 23:34:09 +0000 (23:34 +0000)]
Unreviewed Qt-Mac and Qt-Win buildfix after r142768.

Patch by Csaba Osztrogon√°c <ossy@webkit.org> on 2013-02-13

* WebProcess/WebProcess.h:
(WebKit):

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

8 years agoDon't restart shared timer if both the current and the new fire time are in the past
antti@apple.com [Wed, 13 Feb 2013 23:09:34 +0000 (23:09 +0000)]
Don't restart shared timer if both the current and the new fire time are in the past
https://bugs.webkit.org/show_bug.cgi?id=109731

Reviewed by Andreas Kling.

In 40-50% of cases we reschedule the shared timer both the old and the new fire time have already passed. This can happen at least when rescheduling
a zero duration timer and when stopping a timer that was ready to fire.

We can skip rescheduling in this case, the shared timer will fire immediately anyway.

Scheduling timers calls into platform layer and can be slow. This about halves the time under setSharedTimerFireInterval in PLT3
for ~0.1% total CPU time reduction.

* platform/ThreadTimers.cpp:
(WebCore::ThreadTimers::ThreadTimers):
(WebCore::ThreadTimers::setSharedTimer):
(WebCore::ThreadTimers::updateSharedTimer):
(WebCore::ThreadTimers::sharedTimerFiredInternal):
* platform/ThreadTimers.h:
(ThreadTimers):

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

8 years agoThe 'global isinf/isnan' compiler quirk required when using clang with libstdc++
zandobersek@gmail.com [Wed, 13 Feb 2013 23:01:21 +0000 (23:01 +0000)]
The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
https://bugs.webkit.org/show_bug.cgi?id=109325

Reviewed by Anders Carlsson.

Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
two methods as they're provided by the C++ standard library being used.

Source/JavaScriptCore:

* API/JSValueRef.cpp:
(JSValueMakeNumber):
* JSCTypedArrayStubs.h:
(JSC):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitLoad):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::constantNaN):
* offlineasm/cloop.rb:
* runtime/DateConstructor.cpp:
(JSC::dateUTC): Also include an opportunistic style fix.
* runtime/DateInstance.cpp:
(JSC::DateInstance::calculateGregorianDateTime):
(JSC::DateInstance::calculateGregorianDateTimeUTC):
* runtime/DatePrototype.cpp:
(JSC::dateProtoFuncGetMilliSeconds):
(JSC::dateProtoFuncGetUTCMilliseconds):
(JSC::setNewValueFromTimeArgs):
(JSC::setNewValueFromDateArgs):
(JSC::dateProtoFuncSetYear):
* runtime/JSCJSValue.cpp:
(JSC::JSValue::toInteger):
* runtime/JSDateMath.cpp:
(JSC::getUTCOffset):
(JSC::parseDateFromNullTerminatedCharacters):
(JSC::parseDate):
* runtime/JSGlobalObjectFunctions.cpp:
(JSC::globalFuncIsNaN):
* runtime/MathObject.cpp:
(JSC::mathProtoFuncMax):
(JSC::mathProtoFuncMin):
(JSC::mathProtoFuncPow):
* runtime/PropertyDescriptor.cpp:
(JSC::sameValue):

Source/WebCore:

No new tests as there's no change in functionality.

* Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::setDuration):
* Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::totalPitchRate):
* Modules/webaudio/AudioParam.cpp:
(WebCore::AudioParam::setValue):
* Modules/webaudio/AudioParamTimeline.cpp:
(WebCore::isValidNumber):
* Modules/webaudio/PannerNode.cpp:
(WebCore::fixNANs):
* bindings/js/IDBBindingUtilities.cpp:
(WebCore::createIDBKeyFromValue):
* bindings/js/JSDataViewCustom.cpp:
(WebCore::getDataViewMember):
* bindings/js/JSGeolocationCustom.cpp:
(WebCore::setTimeout):
(WebCore::setMaximumAge):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp:
(WebCore::JSHTMLOptionsCollection::setLength):
* bindings/js/JSWebKitPointCustom.cpp:
(WebCore::JSWebKitPointConstructor::constructJSWebKitPoint):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
(GenerateParametersCheck):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateParametersCheck):
* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::JSFloat64Array::getByIndex):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::classMethodWithClampCallback):
* bindings/v8/IDBBindingUtilities.cpp:
(WebCore::createIDBKeyFromValue):
* bindings/v8/V8Binding.cpp:
(WebCore::toInt32):
(WebCore::toUInt32):
* bindings/v8/custom/V8GeolocationCustom.cpp:
(WebCore::createPositionOptions):
* bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::lengthAccessorSetter):
* bindings/v8/custom/V8WebKitPointCustom.cpp:
(WebCore::V8WebKitPoint::constructorCallbackCustom):
* bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertValueToQVariant):
* css/WebKitCSSMatrix.cpp:
(WebCore::WebKitCSSMatrix::translate):
(WebCore::WebKitCSSMatrix::scale):
(WebCore::WebKitCSSMatrix::rotate):
(WebCore::WebKitCSSMatrix::rotateAxisAngle):
(WebCore::WebKitCSSMatrix::skewX):
(WebCore::WebKitCSSMatrix::skewY):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::percentLoaded):
(WebCore::HTMLMediaElement::mediaPlayerTimeChanged):
(WebCore::HTMLMediaElement::endedPlayback):
* html/MediaController.cpp:
(MediaController::duration):
* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::clearColor):
* html/track/TextTrack.cpp:
(WebCore::TextTrack::addCue):
* html/track/TextTrackCue.cpp:
(WebCore::TextTrackCue::setStartTime):
(WebCore::TextTrackCue::setEndTime):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::adjustWindowRect):
* page/WindowFeatures.cpp:
(WebCore::WindowFeatures::floatFeature): Also include an opportunistic style fix.
* platform/CalculationValue.cpp:
(WebCore::CalculationValue::evaluate):
* platform/Decimal.cpp:
(WebCore::Decimal::fromDouble):
* platform/Length.cpp:
(WebCore::Length::nonNanCalculatedValue):
* platform/audio/AudioResampler.cpp:
(WebCore::AudioResampler::setRate):
* platform/audio/DynamicsCompressorKernel.cpp:
(WebCore::DynamicsCompressorKernel::process):
* platform/audio/Reverb.cpp:
(WebCore::calculateNormalizationScale):
* platform/graphics/Font.cpp:
(WebCore::Font::width):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(WebCore::MediaPlayerPrivateAVFoundation::isLiveStream):
* platform/graphics/gpu/LoopBlinnMathUtils.cpp:
(LoopBlinnMathUtils):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::buffered):
(WebCore::MediaPlayerPrivateGStreamer::maxTimeSeekable):
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::maxTimeSeekable):
* platform/graphics/opentype/OpenTypeVerticalData.cpp:
(WebCore::OpenTypeVerticalData::getVerticalTranslationsForGlyphs):
* platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::clampEdgeValue):
(WebCore::TransformationMatrix::clampedBoundsOfProjectedQuad):
* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::parseCacheControlDirectives):
* rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintMediaSlider):
(WebCore::paintMediaVolumeSlider):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintMediaSliderTrack):
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::beginElementAt):
(WebCore::SVGAnimationElement::endElementAt):
* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::setCurrentTime):
* svg/animation/SMILTime.h:
(WebCore::SMILTime::SMILTime):
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::addBeginTime):
(WebCore::SVGSMILElement::addEndTime):
* xml/XPathFunctions.cpp:
(WebCore::XPath::FunSubstring::evaluate):
(WebCore::XPath::FunRound::round):
* xml/XPathValue.cpp:
(WebCore::XPath::Value::toBoolean): Also include an opportunistic style fix.
(WebCore::XPath::Value::toString):

Source/WebKit/chromium:

* tests/DecimalTest.cpp:
(TEST_F):

Source/WebKit/mac:

* tests/DecimalTest.cpp:
(TEST_F):

Source/WTF:

* wtf/Compiler.h: Remove the global isinf/isnan compiler quirk definitions. They're not required anymore.
* wtf/DateMath.cpp: Move the workaround for isinf on Solaris into the std namespace. Ditto for isinf and isnan
when using MSVC. Stop bringing the isinf and isnan methods into the global scope when using other configurations.
(WTF::parseDateFromNullTerminatedCharacters):
* wtf/IntegralTypedArrayBase.h:
(WTF::IntegralTypedArrayBase::set):
* wtf/MathExtras.h:
(std):
(std::isinf):
(wtf_fmod):
(wtf_pow):
(doubleToInteger):
* wtf/MediaTime.cpp:
(WTF::MediaTime::createWithFloat):
(WTF::MediaTime::createWithDouble):
* wtf/Uint8ClampedArray.h:
(WTF::Uint8ClampedArray::set):

Tools:

* DumpRenderTree/TestRunner.cpp:
(setAppCacheMaximumSizeCallback):
(setApplicationCacheOriginQuotaCallback):
(setDatabaseQuotaCallback):

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

8 years ago[Mac] Caption menu should have only one item selected
eric.carlson@apple.com [Wed, 13 Feb 2013 22:57:11 +0000 (22:57 +0000)]
[Mac] Caption menu should have only one item selected
https://bugs.webkit.org/show_bug.cgi?id=109730

Reviewed by Dean Jackson.

Source/WebCore:

No new tests, media/track/track-user-preferences.html was modified to test the changes.

* CMakeLists.txt: Add CaptionUserPreferences.cpp.
* GNUmakefile.list.am: Ditto.
* Target.pri: Ditto.
* WebCore.gypi: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_processingPreferenceChange.
(WebCore::HTMLMediaElement::configureTextTrackGroup): Only end up with one selected track when
    called because of a preferences change.
(WebCore::HTMLMediaElement::captionPreferencesChanged): Call setClosedCaptionsVisible instead
    of calling markCaptionAndSubtitleTracksAsUnconfigured directly.
(WebCore::HTMLMediaElement::markCaptionAndSubtitleTracksAsUnconfigured): Process all tracks,
    not just track elements.
* html/HTMLMediaElement.h:

* page/CaptionUserPreferences.cpp: Added so the functionality can be tested in DRT.
(WebCore::CaptionUserPreferences::registerForPreferencesChangedCallbacks):
(WebCore::CaptionUserPreferences::unregisterForPreferencesChangedCallbacks):
(WebCore::CaptionUserPreferences::setUserPrefersCaptions):
(WebCore::CaptionUserPreferences::captionPreferencesChanged):
(WebCore::CaptionUserPreferences::preferredLanguages):
(WebCore::CaptionUserPreferences::setPreferredLanguage):
(WebCore::CaptionUserPreferences::displayNameForTrack):
* page/CaptionUserPreferences.h:

* page/CaptionUserPreferencesMac.h:
* page/CaptionUserPreferencesMac.mm:
(WebCore::CaptionUserPreferencesMac::registerForPreferencesChangedCallbacks): Moved some logic
    to base class.
(WebCore::CaptionUserPreferencesMac::captionPreferencesChanged): Ditto.

LayoutTests:

* media/track/track-user-preferences-expected.txt:
* media/track/track-user-preferences.html: Update test to check for reactions to preferences.

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

8 years ago[chromium] Fix scaling in WebViewImpl::handleGestureEvent
aelias@chromium.org [Wed, 13 Feb 2013 22:54:39 +0000 (22:54 +0000)]
[chromium] Fix scaling in WebViewImpl::handleGestureEvent
https://bugs.webkit.org/show_bug.cgi?id=109671

Reviewed by James Robinson.

My last patch broke a bunch of things in handleGestureEvent that
assumed the event came in scaled, most notably tap highlight and
double-tap zoom. Switch those to PlatformGestureEvent.

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent):
(WebKit::WebViewImpl::bestTapNode):
(WebKit::WebViewImpl::enableTapHighlight):
* src/WebViewImpl.h:
(WebViewImpl):
* tests/LinkHighlightTest.cpp:
(WebCore::TEST):

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

8 years agoRemove bogus ASSERT in WebFrameProxy::didStartProvisionalLoad
abarth@webkit.org [Wed, 13 Feb 2013 22:54:11 +0000 (22:54 +0000)]
Remove bogus ASSERT in WebFrameProxy::didStartProvisionalLoad
https://bugs.webkit.org/show_bug.cgi?id=109733

Reviewed by Sam Weinig.

After http://trac.webkit.org/changeset/142555, this ASSERT is
triggering on these tests:

fast/dom/window-load-crash.html
fast/frames/seamless/seamless-hyperlink-named.html
fast/frames/seamless/seamless-hyperlink.html

The ASSERT appears to be bogus. This patch removes it.

* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didStartProvisionalLoad):

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

8 years agoConsolidate main functions in WebKit2 now that they are all identical
weinig@apple.com [Wed, 13 Feb 2013 22:46:05 +0000 (22:46 +0000)]
Consolidate main functions in WebKit2 now that they are all identical
https://bugs.webkit.org/show_bug.cgi?id=109748

Reviewed by Anders Carlsson.

- Consolidates all the LegacyProcess main functions into ChildProcessMain.mm
- Consolidates all the XPCService main functions into XPCServiceMain.mm and XPCServiceMain.Development.mm
- Rename existing ChildProcessMain.h/mm to ChildProcessEntryPoint.h/mm to match the XPCService ones.
- Switch LegacyProcess to use the "entry point in the plist" idiom, instead of hard coding each one, again
  matching the XPCService.

* Configurations/BaseLegacyProcess.xcconfig: Add base configuration to hold common legacy process options.
* Configurations/BaseXPCService.xcconfig:
* Configurations/NetworkProcess.xcconfig:
* Configurations/OfflineStorageProcess.xcconfig:
* Configurations/PluginProcess.xcconfig:
* Configurations/SharedWorkerProcess.xcconfig:
* Configurations/WebContentProcess.xcconfig: Renamed form  WebProcess.xcconfig.
* NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm:
* NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp: Removed.
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm: Removed.
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm: Removed.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm:
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Removed.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Removed.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Removed.
* PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm: Removed.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: Removed.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm: Replaced.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp: Removed.
* WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp: Removed.
* WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm: Removed.
* WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm: Removed.
* WebKit2.xcodeproj/project.pbxproj:

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

8 years ago[CSS Exclusions] ExclusionPolygon reflex vertices should constrain the first fit...
commit-queue@webkit.org [Wed, 13 Feb 2013 22:43:38 +0000 (22:43 +0000)]
[CSS Exclusions] ExclusionPolygon reflex vertices should constrain the first fit location.
https://bugs.webkit.org/show_bug.cgi?id=107568

Patch by Hans Muller <hmuller@adobe.com> on 2013-02-13
Reviewed by Dirk Schulze.

Source/WebCore:

The ExclusionPolygon::firstIncludedIntervalLogicalTop() method now includes offset edges
for each of the polygon's reflex vertices. The motivation for this change is explained
here: http://hansmuller-webkit.blogspot.com/2013/01/getting-to-point-reflex-vertices.html.

Test: fast/exclusions/shape-inside/shape-inside-first-fit-reflex.html

* rendering/ExclusionPolygon.cpp:
(WebCore::isReflexVertex): Given three vertices that represent a pair of connected polygon edges, return true if the second vertex is a reflex vertex.
(WebCore::ExclusionPolygon::firstIncludedIntervalLogicalTop): This method now includes offset edges for reflex vertices.
* rendering/ExclusionPolygon.h:
(WebCore::OffsetPolygonEdge::OffsetPolygonEdge): Added a constructor for creating an OffsetPolygonEdge given a reflex vertex.
(WebCore::OffsetPolygonEdge::edgeIndex): Changed this property from unsigned to int. Now using -1 to indicate that the offset edge doesn't correspond to a single polygon edge.

LayoutTests:

In this carefully contrived test case, the Y coordinate of the origin of the line
of text is only computed correctly if the constraints implied by the polygon's
reflex vertices are considered.

* fast/exclusions/shape-inside/shape-inside-first-fit-reflex-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-first-fit-reflex.html: Added.

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

8 years agoChange another use of (SpecCell & ~SpecString) to SpecObject.
fpizlo@apple.com [Wed, 13 Feb 2013 22:40:43 +0000 (22:40 +0000)]
Change another use of (SpecCell & ~SpecString) to SpecObject.

Reviewed by Mark Hahnenberg.

* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):

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

8 years agoCSSPreloadScanner should not depend on HTMLToken
abarth@webkit.org [Wed, 13 Feb 2013 22:40:27 +0000 (22:40 +0000)]
CSSPreloadScanner should not depend on HTMLToken
https://bugs.webkit.org/show_bug.cgi?id=109742

Reviewed by Eric Seidel.

There's no need for the CSSPreloadScanner to depend on HTMLToken. On
the background thread, we'll likely want to use a CompactHTMLToken for
preload scanning, so this dependency is problematic. This patch also
teaches the CSSPreloadScanner how to scan LChars.

* html/parser/CSSPreloadScanner.cpp:
(WebCore::CSSPreloadScanner::~CSSPreloadScanner):
(WebCore):
(WebCore::CSSPreloadScanner::scan):
* html/parser/CSSPreloadScanner.h:
(CSSPreloadScanner):
* html/parser/HTMLPreloadScanner.cpp:
(WebCore::HTMLPreloadScanner::processToken):

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

8 years agocr-linux debug should use clang and maybe be a components build
commit-queue@webkit.org [Wed, 13 Feb 2013 22:39:44 +0000 (22:39 +0000)]
cr-linux debug should use clang and maybe be a components build
https://bugs.webkit.org/show_bug.cgi?id=108512

Patch by Alan Cutter <alancutter@chromium.org> on 2013-02-13
Reviewed by Adam Barth.

Modified GCE cr-linux-debug-ews bot build scripts to configure clang over gcc for build performance.
Build bots will update clang with each bot cycle.
Updated GCE image paths to suit gcutil 1.6.1.

* EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
* EWSTools/GoogleComputeEngine/build-commit-queue.sh:
* EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh:
* EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh:
* EWSTools/configure-clang-linux.sh: Copied from Tools/EWSTools/GoogleComputeEngine/build-chromium-ews.sh.
* EWSTools/start-queue.sh:

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

8 years ago Fix !ENABLE(BLOB) build.
ap@apple.com [Wed, 13 Feb 2013 22:39:03 +0000 (22:39 +0000)]
    Fix !ENABLE(BLOB) build.

        Reviewed by NOBODY (OOPS!).

        * fileapi/ThreadableBlobRegistry.cpp:
        (WebCore::ThreadableBlobRegistry::getCachedOrigin):
        * page/SecurityOrigin.cpp:
        (WebCore::getCachedOrigin):

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

8 years agoForwardInt32ToDouble is not in DFG::MinifiedNode's list of relevant node types
fpizlo@apple.com [Wed, 13 Feb 2013 22:36:04 +0000 (22:36 +0000)]
ForwardInt32ToDouble is not in DFG::MinifiedNode's list of relevant node types
https://bugs.webkit.org/show_bug.cgi?id=109726

Reviewed by Mark Hahnenberg.

If you add it to the list of relevant node types, you also need to make sure
it's listed as either hasChild or one of the other kinds. Otherwise you get
an assertion. This is causing test failures in run-javascriptcore-tests.

* dfg/DFGMinifiedNode.h:
(JSC::DFG::MinifiedNode::hasChild):

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

8 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Wed, 13 Feb 2013 22:31:11 +0000 (22:31 +0000)]
Unreviewed GTK gardening.

Marking a few tests as slow on the debug builds. This shall prevent them timing out unnecessarily.

* platform/gtk/TestExpectations:

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

8 years ago[CSS Grid Layout] Adding or removing grid items doesn't properly recompute the track...
jchaffraix@webkit.org [Wed, 13 Feb 2013 22:17:50 +0000 (22:17 +0000)]
[CSS Grid Layout] Adding or removing grid items doesn't properly recompute the track sizes
https://bugs.webkit.org/show_bug.cgi?id=109100

Reviewed by Ojan Vafai.

Source/WebCore:

Test: fast/css-grid-layout/grid-item-removal-track-breadth-update.html

The test uncovered several bugs in our implementation that is fixed as part
of this change. They will be detailed below.

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::logicalContentHeightForChild):
Added this function to share the code between minContentForChild and maxContentForChild.
Also forced a relayout in this case to avoid getting a wrong answer (e.g. the logical height
constrained by the previous layout's grid breadth).

(WebCore::RenderGrid::minContentForChild):
(WebCore::RenderGrid::maxContentForChild):
Updated to use logicalContentHeightForChild.

(WebCore::RenderGrid::resolveContentBasedTrackSizingFunctions):
Updated to match the specification and set max breadth to current breadth per the specification.
This made us over-grow some cases in the test.

(WebCore::RenderGrid::distributeSpaceToTracks):
Updated to match the specification and use an extra variable to do the intermediate spreading. Also removed
a now unneeded max. This fixes the case of multiple grid items in the same grid area that was completely broken.

(WebCore::RenderGrid::layoutGridItems):
Added a FIXME about always relaying out content sized tracks' children.

* rendering/RenderGrid.h:
Added logicalContentHeightForChild.

LayoutTests:

* fast/css-grid-layout/grid-item-addition-track-breadth-update-expected.txt: Added.
* fast/css-grid-layout/grid-item-addition-track-breadth-update.html: Added.
* fast/css-grid-layout/grid-item-removal-track-breadth-update-expected.txt: Added.
* fast/css-grid-layout/grid-item-removal-track-breadth-update.html: Added.
New tests.

* fast/css-grid-layout/resources/grid.css:
(.constrainedContainer):
(.unconstrainedContainer):
Added these class to share them with other tests.

* fast/css-grid-layout/auto-content-resolution-columns.html:
* fast/css-grid-layout/auto-content-resolution-rows.html:
* fast/css-grid-layout/implicit-columns-auto-resolution.html:
* fast/css-grid-layout/implicit-position-dynamic-change.html:
* fast/css-grid-layout/implicit-rows-auto-resolution.html:
* fast/css-grid-layout/minmax-max-content-resolution-columns.html:
* fast/css-grid-layout/minmax-max-content-resolution-rows.html:
* fast/css-grid-layout/minmax-min-content-column-resolution-columns.html:
* fast/css-grid-layout/minmax-min-content-column-resolution-rows.html:
Removed constrainedContainer definition as it was moved to grid.css.

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

8 years ago[Chromium] Rebasline after r142765
schenney@chromium.org [Wed, 13 Feb 2013 22:12:56 +0000 (22:12 +0000)]
[Chromium] Rebasline after r142765

Unreviewed test expectations update.

The change caused sub-pixel changing in SVG-as-image positions.

* platform/chromium-mac-lion/svg/as-background-image/svg-as-background-5-expected.png:
* platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-5-expected.png:
* platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.png:

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

8 years agoClean up some style nits in HTMLPreloadScanner
abarth@webkit.org [Wed, 13 Feb 2013 22:03:44 +0000 (22:03 +0000)]
Clean up some style nits in HTMLPreloadScanner
https://bugs.webkit.org/show_bug.cgi?id=109738

Reviewed by Tony Gentilcore.

This patch just fixes a few style nits I noticed when reading through
the code.

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::StartTagScanner::StartTagScanner):
(WebCore::HTMLPreloadScanner::processPossibleStyleTag):
(WebCore::HTMLPreloadScanner::processPossibleBaseTag):
* html/parser/HTMLResourcePreloader.cpp:
(WebCore::PreloadRequest::isSafeToSendToAnotherThread):
* html/parser/HTMLResourcePreloader.h:
(PreloadRequest):
(WebCore::PreloadRequest::PreloadRequest):
(WebCore::HTMLResourcePreloader::HTMLResourcePreloader):

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

8 years agoUnreviewed, rolling out r142747.
alecflett@chromium.org [Wed, 13 Feb 2013 22:02:51 +0000 (22:02 +0000)]
Unreviewed, rolling out r142747.
http://trac.webkit.org/changeset/142747
https://bugs.webkit.org/show_bug.cgi?id=109746

broke component build (Requested by alecf_gardening on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-13

Source/WebCore:

* inspector/HeapGraphSerializer.cpp:
(WebCore::HeapGraphSerializer::HeapGraphSerializer):
(WebCore::HeapGraphSerializer::pushUpdate):
(WebCore::HeapGraphSerializer::reportNode):
(WebCore::HeapGraphSerializer::toNodeId):
(WebCore::HeapGraphSerializer::addRootNode):
* inspector/HeapGraphSerializer.h:
(WebCore):
(HeapGraphSerializer):
* inspector/InspectorMemoryAgent.cpp:
(WebCore::InspectorMemoryAgent::getProcessMemoryDistributionImpl):

Tools:

* TestWebKitAPI/TestWebKitAPI.gypi:
* TestWebKitAPI/Tests/WebCore/HeapGraphSerializerTest.cpp: Removed.

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

8 years ago[EFL][WK2] Stop using WebString in ewk_cookie_manager, ewk_form_submission_request...
ch.dumez@sisa.samsung.com [Wed, 13 Feb 2013 21:56:00 +0000 (21:56 +0000)]
[EFL][WK2] Stop using WebString in ewk_cookie_manager, ewk_form_submission_request and ewk_text_checker
https://bugs.webkit.org/show_bug.cgi?id=108794

Reviewed by Alexey Proskuryakov.

Stop using WebString in ewk_cookie_manager, ewk_form_submission_request
and ewk_text_checker as it is internal C++ API. WKString and
WKEinaSharedString are used instead.

* UIProcess/API/cpp/efl/WKEinaSharedString.cpp:
(WKEinaSharedString::leakString): Add leakString() method to
WKEinaSharedString so that we can conveniently convert a WKString to a
Eina shared string and take ownership of it.
* UIProcess/API/cpp/efl/WKEinaSharedString.h:
* UIProcess/API/efl/ewk_cookie_manager.cpp:
(getHostnamesWithCookiesCallback):
* UIProcess/API/efl/ewk_form_submission_request.cpp:
(EwkFormSubmissionRequest::copyFieldValue):
(ewk_form_submission_request_field_names_get):
(ewk_form_submission_request_field_value_get):
* UIProcess/API/efl/ewk_form_submission_request_private.h:
(EwkFormSubmissionRequest):
* UIProcess/API/efl/ewk_text_checker.cpp:
(checkSpellingOfString):
(guessesForWord):
(learnWord):
(ignoreWord):
* UIProcess/API/efl/tests/test_ewk2_eina_shared_string.cpp:
(TEST_F): Add API test for new WKEinaSharedString::leakString() method.

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

8 years agoBidi-Isolated inlines can cause subsequent content to not be rendered
leviw@chromium.org [Wed, 13 Feb 2013 21:55:24 +0000 (21:55 +0000)]
Bidi-Isolated inlines can cause subsequent content to not be rendered
https://bugs.webkit.org/show_bug.cgi?id=108137

Reviewed by Eric Seidel.

Source/WebCore:

First step in fixing how inline isolates behave with collapsed spaces.
webkit.org/b/109624 tracks the overarching issue.

Test: fast/text/content-following-inline-isolate-with-collapsed-whitespace.html

* rendering/InlineIterator.h:
(WebCore::IsolateTracker::addFakeRunIfNecessary): If we enter an isolate while
ignoring spaces, ensure we leave it considering them again. This can result in
including spaces that should be ignored following the isolate on the line, but
failing to do so results in those contents not being rendered at all.

LayoutTests:

* fast/text/content-following-inline-isolate-with-collapsed-whitespace.html: Added.
* fast/text/content-following-inline-isolate-with-collapsed-whitespace-expected.txt: Added.

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

8 years agoRemove Connection::QueueClient
andersca@apple.com [Wed, 13 Feb 2013 21:49:23 +0000 (21:49 +0000)]
Remove Connection::QueueClient
https://bugs.webkit.org/show_bug.cgi?id=109744

Reviewed by Sam Weinig.

* Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::processIncomingMessage):
(CoreIPC::Connection::connectionDidClose):
* Platform/CoreIPC/Connection.h:
(Connection):

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

8 years agoBetter names for ElementAttributeData & subclasses.
akling@apple.com [Wed, 13 Feb 2013 21:48:40 +0000 (21:48 +0000)]
Better names for ElementAttributeData & subclasses.
<http://webkit.org/b/109529>

Reviewed by Antti Koivisto.

- ElementAttributeData => ElementData

    Because ElementAttributeData won't be a good name once we move some non-attribute related
    things to this structure.

- ImmutableElementAttributeData => ShareableElementData

    These objects can be shared with other Elements that have the same attribute name/value pairs.

- MutableElementAttributeData => UniqueElementData

    These objects contain data that is unique to a specific Element, and cannot be shared with
    other Elements. This is what's important about it, not that its underlying storage is mutable.

- attributeData() -> elementData()
- updatedAttributeData() -> elementDataWithSynchronizedAttributes()
- ensureUpdatedAttributeData() -> ensureElementDataWithSynchronizedAttributes()
- mutableAttributeData() -> ensureUniqueElementData()

    Ride-along renames. Much less vague than previous names IMO.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::canShareStyleWithControl):
(WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
* dom/Attr.cpp:
(WebCore::Attr::elementAttribute):
* dom/DocumentSharedObjectPool.cpp:
(WebCore::ShareableElementDataCacheKey::ShareableElementDataCacheKey):
(WebCore::ShareableElementDataCacheKey::operator!=):
(WebCore::ShareableElementDataCacheEntry::ShareableElementDataCacheEntry):
(ShareableElementDataCacheEntry):
(WebCore::DocumentSharedObjectPool::cachedShareableElementDataWithAttributes):
* dom/DocumentSharedObjectPool.h:
(DocumentSharedObjectPool):
* dom/Element.cpp:
(WebCore::Element::detachAttribute):
(WebCore::Element::removeAttribute):
(WebCore::Element::attributes):
(WebCore::Element::getAttribute):
(WebCore::Element::setAttribute):
(WebCore::Element::setSynchronizedLazyAttribute):
(WebCore::Element::setAttributeInternal):
(WebCore::Element::attributeChanged):
(WebCore::Element::classAttributeChanged):
(WebCore::Element::shouldInvalidateDistributionWhenAttributeChanged):
(WebCore::Element::parserSetAttributes):
(WebCore::Element::hasAttributes):
(WebCore::Element::hasEquivalentAttributes):
(WebCore::Element::setAttributeNode):
(WebCore::Element::removeAttributeNode):
(WebCore::Element::removeAttributeInternal):
(WebCore::Element::addAttributeInternal):
(WebCore::Element::getAttributeNode):
(WebCore::Element::getAttributeNodeNS):
(WebCore::Element::hasAttribute):
(WebCore::Element::hasAttributeNS):
(WebCore::Element::computeInheritedLanguage):
(WebCore::Element::getURLAttribute):
(WebCore::Element::getNonEmptyURLAttribute):
(WebCore::Element::cloneAttributesFromElement):
(WebCore::Element::createUniqueElementData):
(WebCore::Element::reportMemoryUsage):
(WebCore::ElementData::deref):
(WebCore::ElementData::ElementData):
(WebCore::sizeForShareableElementDataWithAttributeCount):
(WebCore::ElementData::createShareableWithAttributes):
(WebCore::ElementData::createUnique):
(WebCore::ShareableElementData::ShareableElementData):
(WebCore::ShareableElementData::~ShareableElementData):
(WebCore::UniqueElementData::UniqueElementData):
(WebCore::ElementData::makeMutableCopy):
(WebCore::ElementData::makeImmutableCopy):
(WebCore::ElementData::setPresentationAttributeStyle):
(WebCore::ElementData::addAttribute):
(WebCore::ElementData::removeAttribute):
(WebCore::ElementData::isEquivalent):
(WebCore::ElementData::reportMemoryUsage):
(WebCore::ElementData::getAttributeItemIndexSlowCase):
* dom/Element.h:
(ElementData):
(WebCore::ElementData::isUnique):
(ShareableElementData):
(UniqueElementData):
(WebCore::Element::getAttributeItemIndex):
(WebCore::Element::elementData):
(Element):
(WebCore::Element::elementDataWithSynchronizedAttributes):
(WebCore::Element::ensureElementDataWithSynchronizedAttributes):
(WebCore::Element::fastHasAttribute):
(WebCore::Element::fastGetAttribute):
(WebCore::Element::hasAttributesWithoutUpdate):
(WebCore::Element::idForStyleResolution):
(WebCore::Element::classNames):
(WebCore::Element::attributeCount):
(WebCore::Element::attributeItem):
(WebCore::Element::getAttributeItem):
(WebCore::Element::updateInvalidAttributes):
(WebCore::Element::hasID):
(WebCore::Element::hasClass):
(WebCore::Element::ensureUniqueElementData):
(WebCore::ElementData::mutableAttributeVector):
(WebCore::ElementData::immutableAttributeArray):
(WebCore::ElementData::length):
(WebCore::ElementData::presentationAttributeStyle):
(WebCore::ElementData::getAttributeItem):
(WebCore::ElementData::getAttributeItemIndex):
(WebCore::ElementData::attributeItem):
* dom/Node.cpp:
(WebCore::Node::dumpStatistics):
(WebCore::Node::compareDocumentPosition):
* dom/StyledElement.cpp:
(WebCore::StyledElement::updateStyleAttribute):
(WebCore::StyledElement::ensureMutableInlineStyle):
(WebCore::StyledElement::attributeChanged):
(WebCore::StyledElement::inlineStyleCSSOMWrapper):
(WebCore::StyledElement::setInlineStyleFromString):
(WebCore::StyledElement::styleAttributeChanged):
(WebCore::StyledElement::inlineStyleChanged):
(WebCore::StyledElement::addSubresourceAttributeURLs):
(WebCore::StyledElement::rebuildPresentationAttributeStyle):
* dom/StyledElement.h:
(WebCore::StyledElement::inlineStyle):
(WebCore::StyledElement::invalidateStyleAttribute):
(WebCore::StyledElement::presentationAttributeStyle):
* html/ClassList.cpp:
(WebCore::ClassList::classNames):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType):
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::mergeAttributesFromTokenIntoElement):
* svg/SVGElement.cpp:
(WebCore::SVGElement::updateAnimatedSVGAttribute):
* svg/SVGElement.h:
(WebCore::SVGElement::invalidateSVGAttributes):
* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):

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

8 years ago[chromium] fix TestRunner build with enable_webrtc=0
jochen@chromium.org [Wed, 13 Feb 2013 21:47:05 +0000 (21:47 +0000)]
[chromium] fix TestRunner build with enable_webrtc=0
https://bugs.webkit.org/show_bug.cgi?id=109700

Reviewed by Tony Chang.

We can't use ENABLE() macros in the TestRunner library, however,
ENABLE_WEBRTC is defined by build/common.gypi, so we can use it.

* DumpRenderTree/chromium/TestRunner/src/MockConstraints.cpp:
* DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.cpp:
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.cpp:
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp:
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.cpp:
* DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::userMediaClient):
* DumpRenderTree/chromium/TestRunner/src/WebUserMediaClientMock.cpp:

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

8 years agoBuild fix.
oliver@apple.com [Wed, 13 Feb 2013 21:40:03 +0000 (21:40 +0000)]
Build fix.

Rearranged the code somewhat to reduce the number of
DFG related ifdefs.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):

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

8 years agoCrash when encountering <object style="resize:both;">
commit-queue@webkit.org [Wed, 13 Feb 2013 21:36:34 +0000 (21:36 +0000)]
Crash when encountering <object style="resize:both;">
https://bugs.webkit.org/show_bug.cgi?id=109728

Source/WebCore:

See also https://code.google.com/p/chromium/issues/detail?id=175535
This bug can be reproduced on
http://dramalink.net/tudou.y/?xink=162601060

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-02-13
Reviewed by Eric Seidel.

Test: fast/css/resize-object-crash.html

* rendering/RenderWidget.cpp:
(WebCore::RenderWidget::paint):
Only call paintResizer() if we have a layer and canResize() is true

LayoutTests:

See also https://code.google.com/p/chromium/issues/detail?id=175535

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-02-13
Reviewed by Eric Seidel.

* fast/css/resize-object-crash-expected.txt: Added.
* fast/css/resize-object-crash.html: Added.

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

8 years ago[Microdata] HTMLPropertiesCollection code cleanup
arko@motorola.com [Wed, 13 Feb 2013 21:33:18 +0000 (21:33 +0000)]
[Microdata] HTMLPropertiesCollection code cleanup
https://bugs.webkit.org/show_bug.cgi?id=109721

Reviewed by Ryosuke Niwa.

Removed forward declaration of DOMStringList class.
Removed unused findRefElements() method declaration.
Also Removed unused parameter Element* from updatePropertyCache() method.

No new test since no change in behavior.

* html/HTMLPropertiesCollection.cpp:
(WebCore::HTMLPropertiesCollection::updateNameCache):
* html/HTMLPropertiesCollection.h:
(WebCore):
(HTMLPropertiesCollection):
(WebCore::HTMLPropertiesCollection::updatePropertyCache):

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

8 years ago[WebGL][EFL][GTK][Qt]Add support for OES_vertex_array_object.
commit-queue@webkit.org [Wed, 13 Feb 2013 21:30:21 +0000 (21:30 +0000)]
[WebGL][EFL][GTK][Qt]Add support for OES_vertex_array_object.
https://bugs.webkit.org/show_bug.cgi?id=109382

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-02-13
Reviewed by Kenneth Russell.

Source/WebCore:

Covered by fast/canvas/webgl/oes-vertex-array-object.html

This patch adds support for using Vertex Array Object with OpenGl.
The patch adds support for loading necessary opengl functions
and support for checking GL_ARB_vertex_array_object. The support
for OES_vertex_array_object is advertised if GL_ARB_vertex_array_object is
supported.

* platform/graphics/OpenGLShims.cpp:
(WebCore::initializeOpenGLShims):
* platform/graphics/OpenGLShims.h:
(_OpenGLFunctionTable):
Added support for loading the necessary functions.

* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::createVertexArrayOES):
(WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
(WebCore::Extensions3DOpenGL::isVertexArrayOES):
(WebCore::Extensions3DOpenGL::bindVertexArrayOES):
(WebCore::Extensions3DOpenGL::supportsExtension):

(WebCore):
(WebCore::Extensions3DOpenGL::isVertexArrayObjectSupported):
* platform/graphics/opengl/Extensions3DOpenGL.h:
(Extensions3DOpenGL):

LayoutTests:

Enable oes-vertex-array-object for EFL port.

* fast/canvas/webgl/oes-vertex-array-object-expected.txt:
* fast/canvas/webgl/oes-vertex-array-object.html:
* platform/efl/TestExpectations:

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

8 years agoTestWebKitAPI, record-memory and gtest-md projects and property sheets for VS2010.
roger_fong@apple.com [Wed, 13 Feb 2013 21:29:59 +0000 (21:29 +0000)]
TestWebKitAPI, record-memory and gtest-md projects and property sheets for VS2010.
https://bugs.webkit.org/show_bug.cgi?id=107034

Reviewed by Brent Fulgham.

* TestWebKitAPI/TestWebKitAPI.vcxproj: Added.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Added.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Added.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPostBuild.cmd: Copied from Tools/TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd: Copied from Tools/TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd.
* win/record-memory: Added.
* win/record-memory/main.cpp: Copied from Tools/record-memory-win/main.cpp.
* win/record-memory/record-memory.vcxproj: Added.
* win/record-memory/record-memory.vcxproj.filters: Added.
* win/record-memory/record-memoryCommon.props: Added.
* win/record-memory/record-memoryDebug.props: Added.
* win/record-memory/record-memoryRelease.props: Added.
* gtest/msvc/gtest-md.vcxproj: Added.
* gtest/msvc/gtest-md.vcxproj.filters: Added.
* WebKit.vcxproj/WebKit.sln:

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

8 years agoTry to fix the Lion build.
andersca@apple.com [Wed, 13 Feb 2013 21:29:38 +0000 (21:29 +0000)]
Try to fix the Lion build.

* WebProcess/WebPage/EventDispatcher.h:
(EventDispatcher):

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

8 years agoRemove support for the DispatchOnConnectionQueue message attribute
andersca@apple.com [Wed, 13 Feb 2013 21:27:50 +0000 (21:27 +0000)]
Remove support for the DispatchOnConnectionQueue message attribute
https://bugs.webkit.org/show_bug.cgi?id=109743

Reviewed by Sam Weinig.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC):
* Scripts/webkit2/messages.py:
(handler_function):
(generate_message_handler):
* Scripts/webkit2/messages_unittest.py:

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

8 years agochromium: remove CompositorHUDFontAtlas
commit-queue@webkit.org [Wed, 13 Feb 2013 21:22:55 +0000 (21:22 +0000)]
chromium: remove CompositorHUDFontAtlas
https://bugs.webkit.org/show_bug.cgi?id=109328

Patch by Eberhard Graether <egraether@google.com> on 2013-02-13
Reviewed by James Robinson.

After switching the HudLayer to use skia's font rendering the
CompositorHUDFontAtlas has become obsolete. This change removes
this class and the related WebLayerTreeView API.

Source/Platform:

* chromium/public/WebLayerTreeViewClient.h:
(WebLayerTreeViewClient):

Source/WebCore:

No new tests.

* WebCore.gypi:
* platform/graphics/chromium/CompositorHUDFontAtlas.cpp: Removed.
* platform/graphics/chromium/CompositorHUDFontAtlas.h: Removed.

Source/WebKit/chromium:

* src/WebViewImpl.cpp:
* src/WebViewImpl.h:

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

8 years agoStorageManager should be a WorkQueueMessageReceiver
andersca@apple.com [Wed, 13 Feb 2013 21:17:00 +0000 (21:17 +0000)]
StorageManager should be a WorkQueueMessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=109741

Reviewed by Sam Weinig.

* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::processWillOpenConnection):
(WebKit::StorageManager::processWillCloseConnection):
(WebKit::StorageManager::createStorageArea):
(WebKit::StorageManager::destroyStorageArea):
* UIProcess/Storage/StorageManager.h:
(StorageManager):
* UIProcess/Storage/StorageManager.messages.in:

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

8 years agoForwardInt32ToDouble is not in DFG::MinifiedNode's list of relevant node types
fpizlo@apple.com [Wed, 13 Feb 2013 21:15:32 +0000 (21:15 +0000)]
ForwardInt32ToDouble is not in DFG::MinifiedNode's list of relevant node types
https://bugs.webkit.org/show_bug.cgi?id=109726

Reviewed by Gavin Barraclough.

This is asymptomatic because ForwardInt32ToDouble is only used in SetLocals, in
which case the value is already stored to the stack.  Still, we should fix this.

* dfg/DFGMinifiedNode.h:
(JSC::DFG::belongsInMinifiedGraph):

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

8 years agoDFG LogicalNot/Branch peephole removal and inversion ignores the possibility of thing...
fpizlo@apple.com [Wed, 13 Feb 2013 21:00:01 +0000 (21:00 +0000)]
DFG LogicalNot/Branch peephole removal and inversion ignores the possibility of things exiting
https://bugs.webkit.org/show_bug.cgi?id=109489

Source/JavaScriptCore:

Reviewed by Mark Hahnenberg.

If things can exit between the LogicalNot and the Branch then don't peephole.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):

LayoutTests:

Reviewed by Mark Hahnenberg.

* fast/js/dfg-branch-logical-not-peephole-around-osr-exit-expected.txt: Added.
* fast/js/dfg-branch-logical-not-peephole-around-osr-exit.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/dfg-branch-logical-not-peephole-around-osr-exit.js: Added.
(foo):

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

8 years agoEventDispatcher should be a WorkQueueMessageReceiver
andersca@apple.com [Wed, 13 Feb 2013 20:58:15 +0000 (20:58 +0000)]
EventDispatcher should be a WorkQueueMessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=109736

Reviewed by Andreas Kling.

* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::create):
(WebKit):
(WebKit::EventDispatcher::EventDispatcher):
(WebKit::EventDispatcher::initializeConnection):
(WebKit::EventDispatcher::wheelEvent):
(WebKit::EventDispatcher::gestureEvent):
* WebProcess/WebPage/EventDispatcher.h:
(EventDispatcher):
* WebProcess/WebPage/EventDispatcher.messages.in:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::initializeConnection):
* WebProcess/WebProcess.h:
(WebKit):
(WebKit::WebProcess::eventDispatcher):
(WebProcess):

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

8 years agoTry to fix the build after r142756
mrobinson@webkit.org [Wed, 13 Feb 2013 20:52:05 +0000 (20:52 +0000)]
Try to fix the build after r142756

* Source/autotools/SetupAutomake.m4: Instead of using the (now gone) have_gstreamer
variable, activate GStreamer if either web audio or web video is enabled.

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