IndexedDB: IDL types defined in spec should be visible to scripts
https://bugs.webkit.org/show_bug.cgi?id=99093

Reviewed by Adam Barth.

Source/WebCore:

Interfaces defined in the spec WebIDL, such as IDBCursorWithValue, should be exposed
to scripts as properties of the global object. A few types were missing - add them.

Test: storage/indexeddb/interfaces.html

* Modules/indexeddb/DOMWindowIndexedDatabase.idl:
* Modules/indexeddb/WorkerContextIndexedDatabase.idl:

LayoutTests:

Verify that interfaces defined in the IDB spec's WebIDL are present on the
global object.

* storage/indexeddb/interfaces-expected.txt: Added.
* storage/indexeddb/interfaces.html: Added.
* storage/indexeddb/resources/interfaces.js: Added.
* storage/indexeddb/resources/shared.js: Remove assertion redundant with this test.
(test):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
UInt32ToNumber and OSR exit should be aware of copy propagation and correctly recover both versions of a variable that was subject to a UInt32ToNumber cast
https://bugs.webkit.org/show_bug.cgi?id=99100
<rdar://problem/12480955>

Reviewed by Michael Saboff and Mark Hahnenberg.

Source/JavaScriptCore: 

Fixed by forcing UInt32ToNumber to use a different register. This "undoes" the copy propagation that we
would have been doing, since it has no performance effect in this case and has the benefit of making the
OSR exit compiler a lot simpler.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):

LayoutTests: 

* fast/js/dfg-uint32-to-number-in-middle-of-copy-propagation-expected.txt: Added.
* fast/js/dfg-uint32-to-number-in-middle-of-copy-propagation.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/dfg-uint32-to-number-in-middle-of-copy-propagation.js: Added.
(foo):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
One more baseline tweak after v8-i18n roll.

* platform/chromium/fast/js/date-proto-generic-invocation-expected.txt: Replaced.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium-Android] Exception when the layout test driver is stopped
https://bugs.webkit.org/show_bug.cgi?id=99084

Reviewed by Dirk Pranke.

On chromium-android, the process is killed directly in ServerProcess.stop() as the pipes are closed first.
Should not try to read data from the pipes after the process is killed.

* Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess.stop): Don't read data after the process is killed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shaders] Implement all composite operators except destination and lighter.
https://bugs.webkit.org/show_bug.cgi?id=97859

Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-11
Reviewed by Dean Jackson.

Source/WebCore:

Add expressions for all composite operators except destination and
lighter. The expressions are lifted directly from the CSS Compositing
and Blending spec [1]. WebKit adds these compositing expressions to the
author's shader.

[1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#advancedcompositing

Test: css3/filters/custom/custom-filter-composite-operators.html

* platform/graphics/filters/CustomFilterValidatedProgram.cpp:
(WebCore::CustomFilterValidatedProgram::compositeFunctionString):

LayoutTests:

Add test to check that the DOM element texture composites correctly with the css_MixColor
variable from the author's shader for each composite operator.

* css3/filters/custom/custom-filter-composite-operators-expected.png: Added.
* css3/filters/custom/custom-filter-composite-operators-expected.txt: Added.
* css3/filters/custom/custom-filter-composite-operators.html: Added.

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