mihnea@adobe.com [Thu, 19 Sep 2013 07:07:35 +0000 (07:07 +0000)]
Unreviewed build fix after 156082. Guard SVG code with defines.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156086
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dbates@webkit.org [Thu, 19 Sep 2013 07:07:32 +0000 (07:07 +0000)]
Remove names of unused arguments from the x86/x86-64 function prototype
for JIT::emitSlow_op_mod()
Rubber-stamped by Ryosuke Niwa.
* jit/JITArithmetic.cpp:
(JSC::JIT::emitSlow_op_mod):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156085
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Thu, 19 Sep 2013 06:42:08 +0000 (06:42 +0000)]
Unreviewed GTK gardening. Rebaselining after r155957.
* platform/gtk/css3/selectors3/html/css3-modsel-179a-expected.txt:
* platform/gtk/css3/selectors3/xhtml/css3-modsel-179a-expected.txt:
* platform/gtk/css3/selectors3/xml/css3-modsel-179a-expected.txt:
* platform/gtk/fast/css/pseudo-first-line-border-width-expected.txt:
* platform/gtk/fast/css/word-space-extra-expected.txt:
* platform/gtk/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156084
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Thu, 19 Sep 2013 06:32:18 +0000 (06:32 +0000)]
Unreviewed GTK gardening. Rebaselining after r156040.
* platform/gtk/fast/forms/HTMLOptionElement_label06-expected.txt:
* platform/gtk/fast/forms/HTMLOptionElement_label07-expected.txt:
* platform/gtk/fast/forms/form-element-geometry-expected.txt:
* platform/gtk/fast/forms/menulist-separator-painting-expected.txt:
* platform/gtk/fast/forms/select-baseline-expected.txt:
* platform/gtk/fast/forms/select-empty-option-height-expected.txt:
* platform/gtk/fast/forms/selectlist-minsize-expected.txt:
* platform/gtk/fast/html/keygen-expected.txt:
* platform/gtk/fast/replaced/three-selects-break-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156083
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihnea@adobe.com [Thu, 19 Sep 2013 06:22:53 +0000 (06:22 +0000)]
[CSSRegions] Failed to retrieve named flow ranges for content with inline svg
https://bugs.webkit.org/show_bug.cgi?id=121489
Reviewed by David Hyatt.
Source/WebCore:
The inline SVG element behaves like a replaced element in HTML context. When computing the ranges
that are displayed inside a region for a named flow that contains an inline SVG element, we have
to treat the SVG as a replaced and run the checks only for the SVG root element, skipping the
other SVG elements inside.
Test: fast/regions/get-region-flow-ranges-inline-svg.html
* rendering/RenderNamedFlowThread.cpp:
(WebCore::nextNodeInsideContentNode): Add function to retrieve the next node in traversal
under the contentNode subtree that should be used for getRanges inspection.
(WebCore::RenderNamedFlowThread::getRanges): Replace NodeTravesal::next with nextNodeInsideContentNode.
LayoutTests:
* fast/regions/get-region-flow-ranges-inline-svg-expected.txt: Added.
* fast/regions/get-region-flow-ranges-inline-svg.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156082
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Thu, 19 Sep 2013 06:18:47 +0000 (06:18 +0000)]
Unreviewed GTK gardening. Moving GTK-specific baselines for some js/dom/* tests into the proper directory.
* platform/gtk/js/dom: Added.
* platform/gtk/js/dom-static-property-for-in-iteration-expected.txt: Removed.
* platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: Copied from LayoutTests/platform/gtk/js/dom-static-property-for-in-iteration-expected.txt.
* platform/gtk/js/dom/function-length-expected.txt: Copied from LayoutTests/platform/gtk/js/function-length-expected.txt.
* platform/gtk/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Copied from LayoutTests/platform/gtk/js/global-constructors-attributes-dedicated-worker-expected.txt.
* platform/gtk/js/dom/global-constructors-attributes-expected.txt: Copied from LayoutTests/platform/gtk/js/global-constructors-attributes-expected.txt.
* platform/gtk/js/dom/global-constructors-attributes-shared-worker-expected.txt: Copied from LayoutTests/platform/gtk/js/global-constructors-attributes-shared-worker-expected.txt.
* platform/gtk/js/function-length-expected.txt: Removed.
* platform/gtk/js/global-constructors-attributes-dedicated-worker-expected.txt: Removed.
* platform/gtk/js/global-constructors-attributes-expected.txt: Removed.
* platform/gtk/js/global-constructors-attributes-shared-worker-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156081
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 19 Sep 2013 04:03:45 +0000 (04:03 +0000)]
Redo r156078.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
* platform/mac-wk2/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Removed.
* platform/mac-wk2/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156080
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Thu, 19 Sep 2013 03:12:09 +0000 (03:12 +0000)]
Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=121583
Reviewed by Anders Carlsson.
* API/JSStringRefCF.cpp:
(JSStringCreateWithCFString):
* API/JSStringRefQt.cpp:
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGDisassembler.cpp:
(JSC::DFG::Disassembler::dumpDisassembly):
* runtime/Arguments.cpp:
(JSC::Arguments::tearOff):
* runtime/Arguments.h:
(JSC::Arguments::isTornOff):
(JSC::Arguments::allocateSlowArguments):
* runtime/JSPropertyNameIterator.cpp:
(JSC::JSPropertyNameIterator::JSPropertyNameIterator):
* runtime/JSPropertyNameIterator.h:
* runtime/JSSegmentedVariableObject.h:
* runtime/JSVariableObject.h:
* runtime/PropertyNameArray.h:
* runtime/RegExp.cpp:
* runtime/StructureChain.h:
(JSC::StructureChain::finishCreation):
* runtime/SymbolTable.h:
(JSC::SharedSymbolTable::setSlowArguments):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156079
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 19 Sep 2013 03:03:48 +0000 (03:03 +0000)]
Lion rebaseline after r155253.
* platform/mac-wk2/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
* platform/mac-wk2/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
* platform/qt-wk2/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Removed.
* platform/qt-wk2/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156078
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 19 Sep 2013 02:17:38 +0000 (02:17 +0000)]
Add test expectations for bugs 121581 and 121582.
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156077
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 19 Sep 2013 02:04:00 +0000 (02:04 +0000)]
Fix the expected result again after r156070.
* platform/mac-lion/js/dom: Added.
* platform/mac-lion/js/dom/global-constructors-attributes-expected.txt: Copied from LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt.
* platform/mac/js/dom/global-constructors-attributes-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156076
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bjonesbe@adobe.com [Thu, 19 Sep 2013 01:31:11 +0000 (01:31 +0000)]
REGRESSION (r155854 - r155967) block with margin-left adjacent to floated block causes text of subsequent blocks to overlap the floated block.
https://bugs.webkit.org/show_bug.cgi?id=121532
Reviewed by Andreas Kling.
Source/WebCore:
When refactoring the code, I ended up adding the margin in instead of
subtracting it in the case of an intruding float. This patch fixes
that so that the margin is properly handled.
Test: fast/block/float/intruding-float-sibling-with-margin.html
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addIntrudingFloats):
LayoutTests:
* fast/block/float/intruding-float-sibling-with-margin-expected.html: Added.
* fast/block/float/intruding-float-sibling-with-margin.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156075
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bjonesbe@adobe.com [Thu, 19 Sep 2013 00:55:50 +0000 (00:55 +0000)]
W3C Test Import script reformats test HTML
https://bugs.webkit.org/show_bug.cgi?id=119159
Reviewed by Dirk Pranke.
Completely rewrite the test conversion process to minimize
reformatting when adding prefixes, etc. This isn't 100% perfect, there
are still places where it will end up changing the formatting, but it
is much better than before. Most notably, the public interface to the
test converter has changed: now one calls a method instead of creating
an instance of the test converter class. This is because the test
converter class now has state, so one really needs a new instance for
each test.
Note that this also lays some simple groundwork for being able to use
a MockHost in the tests.
* Scripts/webkitpy/w3c/test_converter.py:
(convert_for_webkit):
(_W3CTestConverter):
(_W3CTestConverter.__init__):
(_W3CTestConverter.output):
(_W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
(_W3CTestConverter.convert_style_data):
(_W3CTestConverter.convert_attributes_if_needed):
(_W3CTestConverter.handle_starttag):
(_W3CTestConverter.handle_endtag):
(_W3CTestConverter.handle_startendtag):
(_W3CTestConverter.handle_data):
(_W3CTestConverter.handle_entityref):
(_W3CTestConverter.handle_charref):
(_W3CTestConverter.handle_comment):
(_W3CTestConverter.handle_decl):
(_W3CTestConverter.handle_pi):
* Scripts/webkitpy/w3c/test_converter_unittest.py:
(W3CTestConverterTest):
(W3CTestConverterTest.fake_dir_path):
(W3CTestConverterTest.test_read_prefixed_property_list):
(verify_no_conversion_happened):
* Scripts/webkitpy/w3c/test_importer.py:
(TestImporter.import_tests):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156074
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 19 Sep 2013 00:15:35 +0000 (00:15 +0000)]
Add a not completely unrealistic DOM Benchmark
https://bugs.webkit.org/show_bug.cgi?id=121361
Reviewed by Filip Pizlo.
Add a DOM benchmark based on TodoMVC for vanilla JS, Ember.js, Backbone.js, and jQuery.
We'll add more frameworks and demo apps as we go.
* DoYouEvenBench: Added.
* DoYouEvenBench/benchmark.html: Added.
* DoYouEvenBench/benchmark.js: Added.
(SimplePromise):
(SimplePromise.prototype.then):
(SimplePromise.prototype.resolve.else):
(SimplePromise.prototype.resolve):
(BenchmarkRunner.suite):
(BenchmarkRunner.waitForElement.resolveIfReady):
(BenchmarkRunner.waitForElement):
(BenchmarkRunner._removeFrame):
(BenchmarkRunner._appendFrame):
(BenchmarkRunner._waitAndWarmUp.Fibonacci):
(BenchmarkRunner._testName):
(BenchmarkRunner._testItemId):
(BenchmarkRunner.listSuites.button.onclick):
(BenchmarkRunner.listSuites.callNextStep):
(BenchmarkRunner.listSuites):
(BenchmarkState):
(BenchmarkState.prototype.currentSuite):
(BenchmarkState.prototype.currentTest):
(BenchmarkState.prototype.next):
(BenchmarkState.prototype.isFirstTest):
(BenchmarkState.prototype.prepareCurrentSuite.frame.onload):
(BenchmarkRunner.step):
(BenchmarkRunner._runTestAndRecordResults):
(BenchmarkRunner._finalize):
* DoYouEvenBench/todomvc: Added.
* DoYouEvenBench/todomvc/architecture-examples: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower.json: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/index.html: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/app.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections/todos.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/models: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/models/todo.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers/router.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/app-view.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/todo-view.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/backbone/readme.md: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower.json: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/index.html: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/app.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/store.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/todo.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/readme.md: Added.
* DoYouEvenBench/todomvc/architecture-examples/emberjs/test.html: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower.json: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/css: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/css/app.css: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/index.html: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/js: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/js/app.js: Added.
* DoYouEvenBench/todomvc/architecture-examples/jquery/readme.md: Added.
* DoYouEvenBench/todomvc/license.md: Added.
* DoYouEvenBench/todomvc/readme.md: Added.
* DoYouEvenBench/todomvc/vanilla-examples: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower.json: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/index.html: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/app.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/controller.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/helpers.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/model.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/store.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/view.js: Added.
* DoYouEvenBench/todomvc/vanilla-examples/vanillajs/readme.md: Added.
* Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156073
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Wed, 18 Sep 2013 23:58:54 +0000 (23:58 +0000)]
Merge HTMLBodyElement::didNotifySubtreeInsertions into HTMLBodyElement::insertedInto
https://bugs.webkit.org/show_bug.cgi?id=121576
Reviewed by Andreas Kling.
Source/WebCore:
Merge https://chromium.googlesource.com/chromium/blink/+/
2a9cac908f4eceadfcf9d21bdf5b3e598075aa1f
The logic in didNotifySubtreeInsertions to set the marginwidth and marginheight attributes
on the <body> of elements inside <iframe> and <frame> doesn't need to run after inserting
all the children of the frame. In fact this means that when you have those attributes
and then the script in the iframe touches offsetLeft or any layout dependent property
we'll layout with the wrong values and then have to do another layout after these margin
attributes are set.
I also remove the scheduleRelayout() call that was inside didNotifySubtreeInsertions. This
call doesn't make any sense, inserting a <body> will always trigger a style recalc and
a subsequent layout. The code is 9 years old: https://trac.webkit.org/changeset/8122
and all tests run fine without it.
* html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::insertedInto):
* html/HTMLBodyElement.h:
* html/HTMLFrameElementBase.h:
(WebCore::isHTMLFrameElementBase):
(WebCore::toHTMLFrameElementBase):
LayoutTests:
Rebaseline a test now that we don't do an extra layout.
* inspector/timeline/timeline-script-tag-1-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156072
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 23:51:43 +0000 (23:51 +0000)]
Unreviewed check in a proper baseline.
* js/dom/global-constructors-attributes-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156071
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Wed, 18 Sep 2013 23:40:04 +0000 (23:40 +0000)]
Move expected results after r156066.
* platform/efl/js/dom: Added.
* platform/efl/js/dom/global-constructors-attributes-expected.txt: Copied from LayoutTests/platform/efl/js/global-constructors-attributes-expected.txt.
* platform/efl/js/global-constructors-attributes-expected.txt: Removed.
* platform/mac-lion/js/global-constructors-attributes-expected.txt: Removed.
* platform/mac/js/dom/global-constructors-attributes-expected.txt: Copied from LayoutTests/platform/mac-lion/js/global-constructors-attributes-expected.txt.
* platform/qt/js/dom: Added.
* platform/qt/js/dom/global-constructors-attributes-expected.txt: Copied from LayoutTests/platform/qt/js/global-constructors-attributes-expected.txt.
* platform/qt/js/global-constructors-attributes-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156070
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 18 Sep 2013 22:45:06 +0000 (22:45 +0000)]
Remove the ENABLE_PLUGIN_PROCESS #define
https://bugs.webkit.org/show_bug.cgi?id=121569
Reviewed by Andreas Kling.
Fold the ENABLE_PLUGIN_PROCESS #define into the NETSCAPE_PLUGIN_API #define since
building plug-ins without the plug-in process is not supported.
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
* PluginProcess/PluginControllerProxy.cpp:
* PluginProcess/PluginControllerProxy.h:
* PluginProcess/PluginControllerProxy.messages.in:
* PluginProcess/PluginCreationParameters.cpp:
* PluginProcess/PluginCreationParameters.h:
* PluginProcess/PluginProcess.cpp:
* PluginProcess/PluginProcess.h:
* PluginProcess/PluginProcess.messages.in:
* PluginProcess/WebProcessConnection.cpp:
* PluginProcess/WebProcessConnection.h:
* PluginProcess/WebProcessConnection.messages.in:
* PluginProcess/mac/PluginControllerProxyMac.mm:
* PluginProcess/mac/PluginProcessMac.mm:
* Shared/Plugins/NPIdentifierData.cpp:
* Shared/Plugins/NPIdentifierData.h:
* Shared/Plugins/NPObjectMessageReceiver.cpp:
* Shared/Plugins/NPObjectMessageReceiver.h:
* Shared/Plugins/NPObjectMessageReceiver.messages.in:
* Shared/Plugins/NPObjectProxy.cpp:
* Shared/Plugins/NPObjectProxy.h:
* Shared/Plugins/NPRemoteObjectMap.cpp:
* Shared/Plugins/NPRemoteObjectMap.h:
* Shared/Plugins/NPVariantData.cpp:
* Shared/Plugins/NPVariantData.h:
* Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
(WebKit::getMIMETypesFromPluginBundle):
* Shared/Plugins/PluginProcessCreationParameters.cpp:
* Shared/Plugins/PluginProcessCreationParameters.h:
* UIProcess/Launcher/ProcessLauncher.cpp:
(WebKit::ProcessLauncher::processTypeAsString):
(WebKit::ProcessLauncher::getProcessTypeFromString):
* UIProcess/Launcher/ProcessLauncher.h:
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::addDYLDEnvironmentAdditions):
(WebKit::serviceName):
(WebKit::createProcess):
* UIProcess/Plugins/PluginProcessManager.cpp:
* UIProcess/Plugins/PluginProcessManager.h:
* UIProcess/Plugins/PluginProcessProxy.cpp:
* UIProcess/Plugins/PluginProcessProxy.h:
* UIProcess/Plugins/PluginProcessProxy.messages.in:
* UIProcess/Plugins/WebPluginSiteDataManager.cpp:
(WebKit::WebPluginSiteDataManager::~WebPluginSiteDataManager):
(WebKit::WebPluginSiteDataManager::invalidate):
(WebKit::WebPluginSiteDataManager::getSitesWithData):
(WebKit::WebPluginSiteDataManager::clearSiteData):
* UIProcess/Plugins/WebPluginSiteDataManager.h:
* UIProcess/Plugins/mac/PluginProcessManagerMac.mm:
* UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setProcessModel):
(WebKit::WebContext::shouldTerminate):
(WebKit::WebContext::disconnectProcess):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getPluginProcessConnection):
* UIProcess/WebProcessProxy.h:
* UIProcess/WebProcessProxy.messages.in:
* UIProcess/mac/WebContextMac.mm:
(WebKit::updateProcessSuppressionStateOfGlobalChildProcesses):
* WebKit2Prefix.h:
* WebProcess/Plugins/Netscape/mac/PluginProxyMac.mm:
* WebProcess/Plugins/PluginProcessConnection.cpp:
* WebProcess/Plugins/PluginProcessConnection.h:
* WebProcess/Plugins/PluginProcessConnection.messages.in:
* WebProcess/Plugins/PluginProcessConnectionManager.cpp:
* WebProcess/Plugins/PluginProcessConnectionManager.h:
* WebProcess/Plugins/PluginProcessConnectionManager.messages.in:
* WebProcess/Plugins/PluginProxy.cpp:
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::initializeConnection):
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156069
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Wed, 18 Sep 2013 22:37:35 +0000 (22:37 +0000)]
[Windows] Build fix after r156063.
* WebHistory.h: std::unique is an algorithm; std::unique_ptr is what we want here!
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156068
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Wed, 18 Sep 2013 22:36:05 +0000 (22:36 +0000)]
[Windows] Unreviewed build fix after r156064.
* jsc.cpp:
(jscmain): Need a temporary to perform '&' in VS2010.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156067
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 22:26:09 +0000 (22:26 +0000)]
Get rid of the jsc-test-list by moving all not-jsc-capable tests into js/dom
https://bugs.webkit.org/show_bug.cgi?id=121578
Rubber stamped by Geoffrey Garen.
Tools:
* Scripts/run-layout-jsc:
LayoutTests:
* fast/regex/cross-frame-callable-expected.txt: Removed.
* fast/regex/cross-frame-callable.html: Removed.
* fast/regex/dom: Added.
* fast/regex/dom/cross-frame-callable-expected.txt: Added.
* fast/regex/dom/cross-frame-callable.html: Added.
* fast/regex/dom/lastIndex-expected.txt: Added.
* fast/regex/dom/lastIndex.html: Added.
* fast/regex/dom/non-pattern-characters-expected.txt: Added.
* fast/regex/dom/non-pattern-characters.html: Added.
* fast/regex/dom/script-tests: Added.
* fast/regex/dom/script-tests/cross-frame-callable.js: Added.
(doTest):
* fast/regex/dom/script-tests/lastIndex.js: Added.
* fast/regex/dom/script-tests/non-pattern-characters.js: Added.
* fast/regex/dom/script-tests/unicodeCaseInsensitive.js: Added.
(shouldBeTrue.ucs2CodePoint):
* fast/regex/dom/syntax-errors-expected.txt: Added.
* fast/regex/dom/syntax-errors.html: Added.
* fast/regex/dom/unicodeCaseInsensitive-expected.txt: Added.
* fast/regex/dom/unicodeCaseInsensitive.html: Added.
* fast/regex/lastIndex-expected.txt: Removed.
* fast/regex/lastIndex.html: Removed.
* fast/regex/non-pattern-characters-expected.txt: Removed.
* fast/regex/non-pattern-characters.html: Removed.
* fast/regex/script-tests/cross-frame-callable.js: Removed.
* fast/regex/script-tests/lastIndex.js: Removed.
* fast/regex/script-tests/non-pattern-characters.js: Removed.
* fast/regex/script-tests/unicodeCaseInsensitive.js: Removed.
* fast/regex/syntax-errors-expected.txt: Removed.
* fast/regex/syntax-errors.html: Removed.
* fast/regex/unicodeCaseInsensitive-expected.txt: Removed.
* fast/regex/unicodeCaseInsensitive.html: Removed.
* js/JSON-parse-expected.txt: Removed.
* js/JSON-parse.html: Removed.
* js/JSON-stringify-expected.txt: Removed.
* js/JSON-stringify.html: Removed.
* js/Object-defineProperty-expected.txt: Removed.
* js/Object-defineProperty.html: Removed.
* js/Promise-already-fulfilled-expected.txt: Removed.
* js/Promise-already-fulfilled.html: Removed.
* js/Promise-already-rejected-expected.txt: Removed.
* js/Promise-already-rejected.html: Removed.
* js/Promise-already-resolved-expected.txt: Removed.
* js/Promise-already-resolved.html: Removed.
* js/Promise-catch-expected.txt: Removed.
* js/Promise-catch-in-workers-expected.txt: Removed.
* js/Promise-catch-in-workers.html: Removed.
* js/Promise-catch.html: Removed.
* js/Promise-chain-expected.txt: Removed.
* js/Promise-chain.html: Removed.
* js/Promise-exception-expected.txt: Removed.
* js/Promise-exception.html: Removed.
* js/Promise-expected.txt: Removed.
* js/Promise-fulfill-expected.txt: Removed.
* js/Promise-fulfill-in-workers-expected.txt: Removed.
* js/Promise-fulfill-in-workers.html: Removed.
* js/Promise-fulfill.html: Removed.
* js/Promise-init-expected.txt: Removed.
* js/Promise-init-in-workers-expected.txt: Removed.
* js/Promise-init-in-workers.html: Removed.
* js/Promise-init.html: Removed.
* js/Promise-reject-expected.txt: Removed.
* js/Promise-reject-in-workers-expected.txt: Removed.
* js/Promise-reject-in-workers.html: Removed.
* js/Promise-reject.html: Removed.
* js/Promise-resolve-chain-expected.txt: Removed.
* js/Promise-resolve-chain.html: Removed.
* js/Promise-resolve-expected.txt: Removed.
* js/Promise-resolve-in-workers-expected.txt: Removed.
* js/Promise-resolve-in-workers.html: Removed.
* js/Promise-resolve-with-then-exception-expected.txt: Removed.
* js/Promise-resolve-with-then-exception.html: Removed.
* js/Promise-resolve-with-then-fulfill-expected.txt: Removed.
* js/Promise-resolve-with-then-fulfill.html: Removed.
* js/Promise-resolve-with-then-reject-expected.txt: Removed.
* js/Promise-resolve-with-then-reject.html: Removed.
* js/Promise-resolve.html: Removed.
* js/Promise-simple-expected.txt: Removed.
* js/Promise-simple-fulfill-expected.txt: Removed.
* js/Promise-simple-fulfill-inside-callback-expected.txt: Removed.
* js/Promise-simple-fulfill-inside-callback.html: Removed.
* js/Promise-simple-fulfill.html: Removed.
* js/Promise-simple-in-workers-expected.txt: Removed.
* js/Promise-simple-in-workers.html: Removed.
* js/Promise-simple.html: Removed.
* js/Promise-static-fulfill-expected.txt: Removed.
* js/Promise-static-fulfill.html: Removed.
* js/Promise-static-reject-expected.txt: Removed.
* js/Promise-static-reject.html: Removed.
* js/Promise-static-resolve-expected.txt: Removed.
* js/Promise-static-resolve.html: Removed.
* js/Promise-then-expected.txt: Removed.
* js/Promise-then-in-workers-expected.txt: Removed.
* js/Promise-then-in-workers.html: Removed.
* js/Promise-then-without-callbacks-expected.txt: Removed.
* js/Promise-then-without-callbacks-in-workers-expected.txt: Removed.
* js/Promise-then-without-callbacks-in-workers.html: Removed.
* js/Promise-then-without-callbacks.html: Removed.
* js/Promise-then.html: Removed.
* js/Promise-types-expected.txt: Removed.
* js/Promise-types.html: Removed.
* js/Promise.html: Removed.
* js/activation-object-function-lifetime-expected.txt: Removed.
* js/activation-object-function-lifetime.html: Removed.
* js/activation-proto-expected.txt: Removed.
* js/activation-proto.html: Removed.
* js/add-to-primitive-expected.txt: Removed.
* js/add-to-primitive.html: Removed.
* js/array-float-delete-expected.txt: Removed.
* js/array-float-delete.html: Removed.
* js/array-foreach-expected.txt: Removed.
* js/array-foreach.html: Removed.
* js/array-indexof-expected.txt: Removed.
* js/array-indexof.html: Removed.
* js/array-join-bug-11524-expected.txt: Removed.
* js/array-join-bug-11524.html: Removed.
* js/array-map-expected.txt: Removed.
* js/array-map.html: Removed.
* js/array-prototype-properties-expected.txt: Removed.
* js/array-prototype-properties.html: Removed.
* js/array-some-expected.txt: Removed.
* js/array-some.html: Removed.
* js/array-sort-exception-expected.txt: Removed.
* js/array-sort-exception.html: Removed.
* js/array-tostring-ignore-separator-expected.txt: Removed.
* js/array-tostring-ignore-separator.html: Removed.
* js/array-with-double-assign-expected.txt: Removed.
* js/array-with-double-assign.html: Removed.
* js/array-with-double-push-expected.txt: Removed.
* js/array-with-double-push.html: Removed.
* js/assign-expected.txt: Removed.
* js/assign.html: Removed.
* js/basic-map-expected.txt: Removed.
* js/basic-map.html: Removed.
* js/basic-set-expected.txt: Removed.
* js/basic-set.html: Removed.
* js/basic-weakmap-expected.txt: Removed.
* js/basic-weakmap.html: Removed.
* js/bitwise-and-on-undefined-expected.txt: Removed.
* js/bitwise-and-on-undefined.html: Removed.
* js/bom-in-file-retains-correct-offset-expected.txt: Removed.
* js/bom-in-file-retains-correct-offset.html: Removed.
* js/branch-fold-correctness-expected.txt: Removed.
* js/branch-fold-correctness.html: Removed.
* js/cached-eval-gc-expected.txt: Removed.
* js/cached-eval-gc.html: Removed.
* js/call-base-resolution-expected.txt: Removed.
* js/call-base-resolution.html: Removed.
* js/callback-function-with-handle-event-expected.txt: Removed.
* js/callback-function-with-handle-event.html: Removed.
* js/codegen-temporaries-multiple-global-blocks-expected.txt: Removed.
* js/codegen-temporaries-multiple-global-blocks.html: Removed.
* js/concat-large-strings-crash-expected.txt: Removed.
* js/concat-large-strings-crash.html: Removed.
* js/concat-large-strings-crash2-expected.txt: Removed.
* js/concat-large-strings-crash2.html: Removed.
* js/console-non-string-values-expected.txt: Removed.
* js/console-non-string-values.html: Removed.
* js/const-expected.txt: Removed.
* js/const.html: Removed.
* js/construct-global-object-expected.txt: Removed.
* js/construct-global-object.html: Removed.
* js/constructor-attributes-expected.txt: Removed.
* js/constructor-attributes.html: Removed.
* js/constructor-expected.txt: Removed.
* js/constructor-length.html: Removed.
* js/constructor.html: Removed.
* js/create-lots-of-workers-expected.txt: Removed.
* js/create-lots-of-workers.html: Removed.
* js/cross-frame-bad-time-expected.txt: Removed.
* js/cross-frame-bad-time.html: Removed.
* js/cross-frame-prototype-expected.txt: Removed.
* js/cross-frame-prototype.html: Removed.
* js/cross-frame-really-bad-time-expected.txt: Removed.
* js/cross-frame-really-bad-time-with-__proto__-expected.txt: Removed.
* js/cross-frame-really-bad-time-with-__proto__.html: Removed.
* js/cross-frame-really-bad-time.html: Removed.
* js/cross-global-object-inline-global-var-expected.txt: Removed.
* js/cross-global-object-inline-global-var.html: Removed.
* js/custom-constructors-expected.txt: Removed.
* js/custom-constructors.html: Removed.
* js/cyclic-proto-expected.txt: Removed.
* js/cyclic-proto.html: Removed.
* js/cyclic-ref-toString-expected.txt: Removed.
* js/cyclic-ref-toString.html: Removed.
* js/date-DST-time-cusps-expected.txt: Removed.
* js/date-DST-time-cusps.html: Removed.
* js/date-big-constructor-expected.txt: Removed.
* js/date-big-constructor.html: Removed.
* js/date-big-setdate-expected.txt: Removed.
* js/date-big-setdate.html: Removed.
* js/date-big-setmonth-expected.txt: Removed.
* js/date-big-setmonth.html: Removed.
* js/date-negative-setmonth-expected.txt: Removed.
* js/date-negative-setmonth.html: Removed.
* js/date-preserve-milliseconds-expected.txt: Removed.
* js/date-preserve-milliseconds.html: Removed.
* js/deep-recursion-test-expected.txt: Removed.
* js/deep-recursion-test.html: Removed.
* js/delete-function-parameter-expected.txt: Removed.
* js/delete-function-parameter.html: Removed.
* js/delete-multiple-global-blocks-expected.txt: Removed.
* js/delete-multiple-global-blocks.html: Removed.
* js/delete-syntax-expected.txt: Removed.
* js/delete-syntax.html: Removed.
* js/dfg-arguments-alias-activation-expected.txt: Removed.
* js/dfg-arguments-alias-activation.html: Removed.
* js/dfg-byte-array-put-expected.txt: Removed.
* js/dfg-byte-array-put.html: Removed.
* js/dfg-byteOffset-neuter-expected.txt: Removed.
* js/dfg-byteOffset-neuter.html: Removed.
* js/dfg-compare-final-object-to-final-object-or-other-expected.txt: Removed.
* js/dfg-compare-final-object-to-final-object-or-other.html: Removed.
* js/dfg-cross-global-object-inline-new-array-expected.txt: Removed.
* js/dfg-cross-global-object-inline-new-array-literal-expected.txt: Removed.
* js/dfg-cross-global-object-inline-new-array-literal-with-variables-expected.txt: Removed.
* js/dfg-cross-global-object-inline-new-array-literal-with-variables.html: Removed.
* js/dfg-cross-global-object-inline-new-array-literal.html: Removed.
* js/dfg-cross-global-object-inline-new-array-with-elements-expected.txt: Removed.
* js/dfg-cross-global-object-inline-new-array-with-elements.html: Removed.
* js/dfg-cross-global-object-inline-new-array-with-size-expected.txt: Removed.
* js/dfg-cross-global-object-inline-new-array-with-size.html: Removed.
* js/dfg-cross-global-object-inline-new-array.html: Removed.
* js/dfg-cross-global-object-new-array-expected.txt: Removed.
* js/dfg-cross-global-object-new-array.html: Removed.
* js/dfg-custom-getter-expected.txt: Removed.
* js/dfg-custom-getter-throw-expected.txt: Removed.
* js/dfg-custom-getter-throw-inlined-expected.txt: Removed.
* js/dfg-custom-getter-throw-inlined.html: Removed.
* js/dfg-custom-getter-throw.html: Removed.
* js/dfg-custom-getter.html: Removed.
* js/dfg-ensure-array-storage-on-window-expected.txt: Removed.
* js/dfg-ensure-array-storage-on-window.html: Removed.
* js/dfg-ensure-non-array-array-storage-on-window-expected.txt: Removed.
* js/dfg-ensure-non-array-array-storage-on-window.html: Removed.
* js/dfg-inline-resolve-expected.txt: Removed.
* js/dfg-inline-resolve.html: Removed.
* js/dfg-inline-switch-imm-expected.txt: Removed.
* js/dfg-inline-switch-imm.html: Removed.
* js/dfg-int32-to-double-on-set-local-and-exit-expected.txt: Removed.
* js/dfg-int32-to-double-on-set-local-and-exit.html: Removed.
* js/dfg-int32-to-double-on-set-local-and-sometimes-exit-expected.txt: Removed.
* js/dfg-int32-to-double-on-set-local-and-sometimes-exit.html: Removed.
* js/dfg-logical-not-final-object-or-other-expected.txt: Removed.
* js/dfg-logical-not-final-object-or-other.html: Removed.
* js/dfg-make-rope-side-effects-expected.txt: Removed.
* js/dfg-make-rope-side-effects.html: Removed.
* js/dfg-negative-array-size-expected.txt: Removed.
* js/dfg-negative-array-size.html: Removed.
* js/dfg-patchable-get-by-id-after-watchpoint-expected.txt: Removed.
* js/dfg-patchable-get-by-id-after-watchpoint.html: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other-expected.txt: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object.html: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object.html: Removed.
* js/dfg-peephole-compare-final-object-to-final-object-or-other.html: Removed.
* js/dfg-proto-stub-watchpoint-fire-expected.txt: Removed.
* js/dfg-proto-stub-watchpoint-fire.html: Removed.
* js/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps-expected.txt: Removed.
* js/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps.html: Removed.
* js/dfg-put-by-id-allocate-storage-expected.txt: Removed.
* js/dfg-put-by-id-allocate-storage-polymorphic-expected.txt: Removed.
* js/dfg-put-by-id-allocate-storage-polymorphic.html: Removed.
* js/dfg-put-by-id-allocate-storage.html: Removed.
* js/dfg-put-by-id-reallocate-storage-expected.txt: Removed.
* js/dfg-put-by-id-reallocate-storage-polymorphic-expected.txt: Removed.
* js/dfg-put-by-id-reallocate-storage-polymorphic.html: Removed.
* js/dfg-put-by-id-reallocate-storage.html: Removed.
* js/dfg-put-by-val-setter-then-get-by-val-expected.txt: Removed.
* js/dfg-put-by-val-setter-then-get-by-val.html: Removed.
* js/dfg-put-to-readonly-property-expected.txt: Removed.
* js/dfg-put-to-readonly-property.html: Removed.
* js/dfg-rshift-by-zero-eliminate-valuetoint32-expected.txt: Removed.
* js/dfg-rshift-by-zero-eliminate-valuetoint32.html: Removed.
* js/dfg-store-unexpected-value-into-argument-and-osr-exit-expected.txt: Removed.
* js/dfg-store-unexpected-value-into-argument-and-osr-exit.html: Removed.
* js/dfg-strcat-over-objects-then-exit-on-it-expected.txt: Removed.
* js/dfg-strcat-over-objects-then-exit-on-it.html: Removed.
* js/dfg-strict-mode-arguments-get-beyond-length-expected.txt: Removed.
* js/dfg-strict-mode-arguments-get-beyond-length.html: Removed.
* js/dfg-typed-array-neuter-expected.txt: Removed.
* js/dfg-typed-array-neuter.html: Removed.
* js/direct-entry-to-function-code-expected.txt: Removed.
* js/direct-entry-to-function-code.html: Removed.
* js/do-while-expression-value-expected.txt: Removed.
* js/do-while-expression-value.html: Removed.
* js/do-while-without-semicolon-expected.txt: Removed.
* js/do-while-without-semicolon.html: Removed.
* js/document-all-between-frames-expected.txt: Removed.
* js/document-all-between-frames.html: Removed.
* js/document-all-triggers-masquerades-watchpoint-expected.txt: Removed.
* js/document-all-triggers-masquerades-watchpoint.html: Removed.
* js/dom: Added.
* js/dom-static-property-for-in-iteration-expected.txt: Removed.
* js/dom-static-property-for-in-iteration.html: Removed.
* js/dom/JSON-parse-expected.txt: Added.
* js/dom/JSON-parse.html: Added.
* js/dom/JSON-stringify-expected.txt: Added.
* js/dom/JSON-stringify.html: Added.
* js/dom/Object-defineProperty-expected.txt: Added.
* js/dom/Object-defineProperty.html: Added.
* js/dom/Promise-already-fulfilled-expected.txt: Added.
* js/dom/Promise-already-fulfilled.html: Added.
* js/dom/Promise-already-rejected-expected.txt: Added.
* js/dom/Promise-already-rejected.html: Added.
* js/dom/Promise-already-resolved-expected.txt: Added.
* js/dom/Promise-already-resolved.html: Added.
* js/dom/Promise-catch-expected.txt: Added.
* js/dom/Promise-catch-in-workers-expected.txt: Added.
* js/dom/Promise-catch-in-workers.html: Added.
* js/dom/Promise-catch.html: Added.
* js/dom/Promise-chain-expected.txt: Added.
* js/dom/Promise-chain.html: Added.
* js/dom/Promise-exception-expected.txt: Added.
* js/dom/Promise-exception.html: Added.
* js/dom/Promise-expected.txt: Added.
* js/dom/Promise-fulfill-expected.txt: Added.
* js/dom/Promise-fulfill-in-workers-expected.txt: Added.
* js/dom/Promise-fulfill-in-workers.html: Added.
* js/dom/Promise-fulfill.html: Added.
* js/dom/Promise-init-expected.txt: Added.
* js/dom/Promise-init-in-workers-expected.txt: Added.
* js/dom/Promise-init-in-workers.html: Added.
* js/dom/Promise-init.html: Added.
* js/dom/Promise-reject-expected.txt: Added.
* js/dom/Promise-reject-in-workers-expected.txt: Added.
* js/dom/Promise-reject-in-workers.html: Added.
* js/dom/Promise-reject.html: Added.
* js/dom/Promise-resolve-chain-expected.txt: Added.
* js/dom/Promise-resolve-chain.html: Added.
* js/dom/Promise-resolve-expected.txt: Added.
* js/dom/Promise-resolve-in-workers-expected.txt: Added.
* js/dom/Promise-resolve-in-workers.html: Added.
* js/dom/Promise-resolve-with-then-exception-expected.txt: Added.
* js/dom/Promise-resolve-with-then-exception.html: Added.
* js/dom/Promise-resolve-with-then-fulfill-expected.txt: Added.
* js/dom/Promise-resolve-with-then-fulfill.html: Added.
* js/dom/Promise-resolve-with-then-reject-expected.txt: Added.
* js/dom/Promise-resolve-with-then-reject.html: Added.
* js/dom/Promise-resolve.html: Added.
* js/dom/Promise-simple-expected.txt: Added.
* js/dom/Promise-simple-fulfill-expected.txt: Added.
* js/dom/Promise-simple-fulfill-inside-callback-expected.txt: Added.
* js/dom/Promise-simple-fulfill-inside-callback.html: Added.
* js/dom/Promise-simple-fulfill.html: Added.
* js/dom/Promise-simple-in-workers-expected.txt: Added.
* js/dom/Promise-simple-in-workers.html: Added.
* js/dom/Promise-simple.html: Added.
* js/dom/Promise-static-fulfill-expected.txt: Added.
* js/dom/Promise-static-fulfill.html: Added.
* js/dom/Promise-static-reject-expected.txt: Added.
* js/dom/Promise-static-reject.html: Added.
* js/dom/Promise-static-resolve-expected.txt: Added.
* js/dom/Promise-static-resolve.html: Added.
* js/dom/Promise-then-expected.txt: Added.
* js/dom/Promise-then-in-workers-expected.txt: Added.
* js/dom/Promise-then-in-workers.html: Added.
* js/dom/Promise-then-without-callbacks-expected.txt: Added.
* js/dom/Promise-then-without-callbacks-in-workers-expected.txt: Added.
* js/dom/Promise-then-without-callbacks-in-workers.html: Added.
* js/dom/Promise-then-without-callbacks.html: Added.
* js/dom/Promise-then.html: Added.
* js/dom/Promise-types-expected.txt: Added.
* js/dom/Promise-types.html: Added.
* js/dom/Promise.html: Added.
* js/dom/activation-object-function-lifetime-expected.txt: Added.
* js/dom/activation-object-function-lifetime.html: Added.
* js/dom/activation-proto-expected.txt: Added.
* js/dom/activation-proto.html: Added.
* js/dom/add-to-primitive-expected.txt: Added.
* js/dom/add-to-primitive.html: Added.
* js/dom/array-float-delete-expected.txt: Added.
* js/dom/array-float-delete.html: Added.
* js/dom/array-foreach-expected.txt: Added.
* js/dom/array-foreach.html: Added.
* js/dom/array-indexof-expected.txt: Added.
* js/dom/array-indexof.html: Added.
* js/dom/array-join-bug-11524-expected.txt: Added.
* js/dom/array-join-bug-11524.html: Added.
* js/dom/array-map-expected.txt: Added.
* js/dom/array-map.html: Added.
* js/dom/array-prototype-properties-expected.txt: Added.
* js/dom/array-prototype-properties.html: Added.
* js/dom/array-some-expected.txt: Added.
* js/dom/array-some.html: Added.
* js/dom/array-sort-exception-expected.txt: Added.
* js/dom/array-sort-exception.html: Added.
* js/dom/array-tostring-ignore-separator-expected.txt: Added.
* js/dom/array-tostring-ignore-separator.html: Added.
* js/dom/array-with-double-assign-expected.txt: Added.
* js/dom/array-with-double-assign.html: Added.
* js/dom/array-with-double-push-expected.txt: Added.
* js/dom/array-with-double-push.html: Added.
* js/dom/assign-expected.txt: Added.
* js/dom/assign.html: Added.
* js/dom/basic-map-expected.txt: Added.
* js/dom/basic-map.html: Added.
* js/dom/basic-set-expected.txt: Added.
* js/dom/basic-set.html: Added.
* js/dom/basic-weakmap-expected.txt: Added.
* js/dom/basic-weakmap.html: Added.
* js/dom/bitwise-and-on-undefined-expected.txt: Added.
* js/dom/bitwise-and-on-undefined.html: Added.
* js/dom/bom-in-file-retains-correct-offset-expected.txt: Added.
* js/dom/bom-in-file-retains-correct-offset.html: Added.
* js/dom/branch-fold-correctness-expected.txt: Added.
* js/dom/branch-fold-correctness.html: Added.
* js/dom/cached-eval-gc-expected.txt: Added.
* js/dom/cached-eval-gc.html: Added.
* js/dom/call-base-resolution-expected.txt: Added.
* js/dom/call-base-resolution.html: Added.
* js/dom/callback-function-with-handle-event-expected.txt: Added.
* js/dom/callback-function-with-handle-event.html: Added.
* js/dom/codegen-temporaries-multiple-global-blocks-expected.txt: Added.
* js/dom/codegen-temporaries-multiple-global-blocks.html: Added.
* js/dom/concat-large-strings-crash-expected.txt: Added.
* js/dom/concat-large-strings-crash.html: Added.
* js/dom/concat-large-strings-crash2-expected.txt: Added.
* js/dom/concat-large-strings-crash2.html: Added.
* js/dom/console-non-string-values-expected.txt: Added.
* js/dom/console-non-string-values.html: Added.
* js/dom/const-expected.txt: Added.
* js/dom/const.html: Added.
* js/dom/construct-global-object-expected.txt: Added.
* js/dom/construct-global-object.html: Added.
* js/dom/constructor-attributes-expected.txt: Added.
* js/dom/constructor-attributes.html: Added.
* js/dom/constructor-expected.txt: Added.
* js/dom/constructor-length.html: Added.
* js/dom/constructor.html: Added.
* js/dom/create-lots-of-workers-expected.txt: Added.
* js/dom/create-lots-of-workers.html: Added.
* js/dom/cross-frame-bad-time-expected.txt: Added.
* js/dom/cross-frame-bad-time.html: Added.
* js/dom/cross-frame-prototype-expected.txt: Added.
* js/dom/cross-frame-prototype.html: Added.
* js/dom/cross-frame-really-bad-time-expected.txt: Added.
* js/dom/cross-frame-really-bad-time-with-__proto__-expected.txt: Added.
* js/dom/cross-frame-really-bad-time-with-__proto__.html: Added.
* js/dom/cross-frame-really-bad-time.html: Added.
* js/dom/cross-global-object-inline-global-var-expected.txt: Added.
* js/dom/cross-global-object-inline-global-var.html: Added.
* js/dom/custom-constructors-expected.txt: Added.
* js/dom/custom-constructors.html: Added.
* js/dom/cyclic-proto-expected.txt: Added.
* js/dom/cyclic-proto.html: Added.
* js/dom/cyclic-ref-toString-expected.txt: Added.
* js/dom/cyclic-ref-toString.html: Added.
* js/dom/date-DST-time-cusps-expected.txt: Added.
* js/dom/date-DST-time-cusps.html: Added.
* js/dom/date-big-constructor-expected.txt: Added.
* js/dom/date-big-constructor.html: Added.
* js/dom/date-big-setdate-expected.txt: Added.
* js/dom/date-big-setdate.html: Added.
* js/dom/date-big-setmonth-expected.txt: Added.
* js/dom/date-big-setmonth.html: Added.
* js/dom/date-negative-setmonth-expected.txt: Added.
* js/dom/date-negative-setmonth.html: Added.
* js/dom/date-preserve-milliseconds-expected.txt: Added.
* js/dom/date-preserve-milliseconds.html: Added.
* js/dom/deep-recursion-test-expected.txt: Added.
* js/dom/deep-recursion-test.html: Added.
* js/dom/delete-function-parameter-expected.txt: Added.
* js/dom/delete-function-parameter.html: Added.
* js/dom/delete-multiple-global-blocks-expected.txt: Added.
* js/dom/delete-multiple-global-blocks.html: Added.
* js/dom/delete-syntax-expected.txt: Added.
* js/dom/delete-syntax.html: Added.
* js/dom/dfg-arguments-alias-activation-expected.txt: Added.
* js/dom/dfg-arguments-alias-activation.html: Added.
* js/dom/dfg-byte-array-put-expected.txt: Added.
* js/dom/dfg-byte-array-put.html: Added.
* js/dom/dfg-byteOffset-neuter-expected.txt: Added.
* js/dom/dfg-byteOffset-neuter.html: Added.
* js/dom/dfg-compare-final-object-to-final-object-or-other-expected.txt: Added.
* js/dom/dfg-compare-final-object-to-final-object-or-other.html: Added.
* js/dom/dfg-cross-global-object-inline-new-array-expected.txt: Added.
* js/dom/dfg-cross-global-object-inline-new-array-literal-expected.txt: Added.
* js/dom/dfg-cross-global-object-inline-new-array-literal-with-variables-expected.txt: Added.
* js/dom/dfg-cross-global-object-inline-new-array-literal-with-variables.html: Added.
* js/dom/dfg-cross-global-object-inline-new-array-literal.html: Added.
* js/dom/dfg-cross-global-object-inline-new-array-with-elements-expected.txt: Added.
* js/dom/dfg-cross-global-object-inline-new-array-with-elements.html: Added.
* js/dom/dfg-cross-global-object-inline-new-array-with-size-expected.txt: Added.
* js/dom/dfg-cross-global-object-inline-new-array-with-size.html: Added.
* js/dom/dfg-cross-global-object-inline-new-array.html: Added.
* js/dom/dfg-cross-global-object-new-array-expected.txt: Added.
* js/dom/dfg-cross-global-object-new-array.html: Added.
* js/dom/dfg-custom-getter-expected.txt: Added.
* js/dom/dfg-custom-getter-throw-expected.txt: Added.
* js/dom/dfg-custom-getter-throw-inlined-expected.txt: Added.
* js/dom/dfg-custom-getter-throw-inlined.html: Added.
* js/dom/dfg-custom-getter-throw.html: Added.
* js/dom/dfg-custom-getter.html: Added.
* js/dom/dfg-ensure-array-storage-on-window-expected.txt: Added.
* js/dom/dfg-ensure-array-storage-on-window.html: Added.
* js/dom/dfg-ensure-non-array-array-storage-on-window-expected.txt: Added.
* js/dom/dfg-ensure-non-array-array-storage-on-window.html: Added.
* js/dom/dfg-inline-resolve-expected.txt: Added.
* js/dom/dfg-inline-resolve.html: Added.
* js/dom/dfg-inline-switch-imm-expected.txt: Added.
* js/dom/dfg-inline-switch-imm.html: Added.
* js/dom/dfg-int32-to-double-on-set-local-and-exit-expected.txt: Added.
* js/dom/dfg-int32-to-double-on-set-local-and-exit.html: Added.
* js/dom/dfg-int32-to-double-on-set-local-and-sometimes-exit-expected.txt: Added.
* js/dom/dfg-int32-to-double-on-set-local-and-sometimes-exit.html: Added.
* js/dom/dfg-logical-not-final-object-or-other-expected.txt: Added.
* js/dom/dfg-logical-not-final-object-or-other.html: Added.
* js/dom/dfg-make-rope-side-effects-expected.txt: Added.
* js/dom/dfg-make-rope-side-effects.html: Added.
* js/dom/dfg-negative-array-size-expected.txt: Added.
* js/dom/dfg-negative-array-size.html: Added.
* js/dom/dfg-patchable-get-by-id-after-watchpoint-expected.txt: Added.
* js/dom/dfg-patchable-get-by-id-after-watchpoint.html: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other-expected.txt: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object.html: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object.html: Added.
* js/dom/dfg-peephole-compare-final-object-to-final-object-or-other.html: Added.
* js/dom/dfg-proto-stub-watchpoint-fire-expected.txt: Added.
* js/dom/dfg-proto-stub-watchpoint-fire.html: Added.
* js/dom/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps-expected.txt: Added.
* js/dom/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps.html: Added.
* js/dom/dfg-put-by-id-allocate-storage-expected.txt: Added.
* js/dom/dfg-put-by-id-allocate-storage-polymorphic-expected.txt: Added.
* js/dom/dfg-put-by-id-allocate-storage-polymorphic.html: Added.
* js/dom/dfg-put-by-id-allocate-storage.html: Added.
* js/dom/dfg-put-by-id-reallocate-storage-expected.txt: Added.
* js/dom/dfg-put-by-id-reallocate-storage-polymorphic-expected.txt: Added.
* js/dom/dfg-put-by-id-reallocate-storage-polymorphic.html: Added.
* js/dom/dfg-put-by-id-reallocate-storage.html: Added.
* js/dom/dfg-put-by-val-setter-then-get-by-val-expected.txt: Added.
* js/dom/dfg-put-by-val-setter-then-get-by-val.html: Added.
* js/dom/dfg-put-to-readonly-property-expected.txt: Added.
* js/dom/dfg-put-to-readonly-property.html: Added.
* js/dom/dfg-rshift-by-zero-eliminate-valuetoint32-expected.txt: Added.
* js/dom/dfg-rshift-by-zero-eliminate-valuetoint32.html: Added.
* js/dom/dfg-store-unexpected-value-into-argument-and-osr-exit-expected.txt: Added.
* js/dom/dfg-store-unexpected-value-into-argument-and-osr-exit.html: Added.
* js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt: Added.
* js/dom/dfg-strcat-over-objects-then-exit-on-it.html: Added.
* js/dom/dfg-strict-mode-arguments-get-beyond-length-expected.txt: Added.
* js/dom/dfg-strict-mode-arguments-get-beyond-length.html: Added.
* js/dom/dfg-typed-array-neuter-expected.txt: Added.
* js/dom/dfg-typed-array-neuter.html: Added.
* js/dom/direct-entry-to-function-code-expected.txt: Added.
* js/dom/direct-entry-to-function-code.html: Added.
* js/dom/do-while-expression-value-expected.txt: Added.
* js/dom/do-while-expression-value.html: Added.
* js/dom/do-while-without-semicolon-expected.txt: Added.
* js/dom/do-while-without-semicolon.html: Added.
* js/dom/document-all-between-frames-expected.txt: Added.
* js/dom/document-all-between-frames.html: Added.
* js/dom/document-all-triggers-masquerades-watchpoint-expected.txt: Added.
* js/dom/document-all-triggers-masquerades-watchpoint.html: Added.
* js/dom/dom-static-property-for-in-iteration-expected.txt: Added.
* js/dom/dom-static-property-for-in-iteration.html: Added.
* js/dom/dot-node-base-exception-expected.txt: Added.
* js/dom/dot-node-base-exception.html: Added.
* js/dom/encode-URI-test-expected.txt: Added.
* js/dom/encode-URI-test.html: Added.
* js/dom/end-in-string-escape-expected.txt: Added.
* js/dom/end-in-string-escape.html: Added.
* js/dom/enter-dictionary-indexing-mode-with-blank-indexing-type-expected.txt: Added.
* js/dom/enter-dictionary-indexing-mode-with-blank-indexing-type.html: Added.
* js/dom/error-object-write-and-detele-for-stack-property-expected.txt: Added.
* js/dom/error-object-write-and-detele-for-stack-property.html: Added.
* js/dom/eval-cache-scoped-lookup-expected.txt: Added.
* js/dom/eval-cache-scoped-lookup.html: Added.
* js/dom/eval-contained-syntax-error-expected.txt: Added.
* js/dom/eval-contained-syntax-error.html: Added.
* js/dom/eval-cross-window-expected.txt: Added.
* js/dom/eval-cross-window.html: Added.
* js/dom/eval-keyword-vs-function-expected.txt: Added.
* js/dom/eval-keyword-vs-function.html: Added.
* js/dom/eval-overriding-expected.txt: Added.
* js/dom/eval-overriding.html: Added.
* js/dom/exception-codegen-crash-expected.txt: Added.
* js/dom/exception-codegen-crash.html: Added.
* js/dom/exception-line-number-expected.txt: Added.
* js/dom/exception-line-number.html: Added.
* js/dom/exception-linenums-in-html-1-expected.txt: Added.
* js/dom/exception-linenums-in-html-1.html: Added.
* js/dom/exception-linenums-in-html-2-expected.txt: Added.
* js/dom/exception-linenums-in-html-2.html: Added.
* js/dom/exception-linenums-in-html-3-expected.txt: Added.
* js/dom/exception-linenums-in-html-3.html: Added.
* js/dom/exception-registerfile-shrink-expected.txt: Added.
* js/dom/exception-registerfile-shrink.html: Added.
* js/dom/exception-sequencing-binops-expected.txt: Added.
* js/dom/exception-sequencing-binops.html: Added.
* js/dom/exception-sequencing-binops2-expected.txt: Added.
* js/dom/exception-sequencing-binops2.html: Added.
* js/dom/exception-sequencing-expected.txt: Added.
* js/dom/exception-sequencing.html: Added.
* js/dom/exception-thrown-from-equal-expected.txt: Added.
* js/dom/exception-thrown-from-equal.html: Added.
* js/dom/exception-thrown-from-eval-inside-closure-expected.txt: Added.
* js/dom/exception-thrown-from-eval-inside-closure.html: Added.
* js/dom/exception-thrown-from-function-with-lazy-activation-expected.txt: Added.
* js/dom/exception-thrown-from-function-with-lazy-activation.html: Added.
* js/dom/exception-thrown-from-new-expected.txt: Added.
* js/dom/exception-thrown-from-new.html: Added.
* js/dom/exceptions-thrown-in-callbacks-expected.txt: Added.
* js/dom/exceptions-thrown-in-callbacks.html: Added.
* js/dom/exec-state-marking-expected.txt: Added.
* js/dom/exec-state-marking.html: Added.
* js/dom/find-ignoring-case-regress-99753-expected.txt: Added.
* js/dom/find-ignoring-case-regress-99753.html: Added.
* js/dom/floating-point-truncate-rshift-expected.txt: Added.
* js/dom/floating-point-truncate-rshift.html: Added.
* js/dom/function-argument-evaluation-before-exception-expected.txt: Added.
* js/dom/function-argument-evaluation-before-exception.html: Added.
* js/dom/function-argument-evaluation-expected.txt: Added.
* js/dom/function-argument-evaluation.html: Added.
* js/dom/function-bind-expected.txt: Added.
* js/dom/function-bind.html: Added.
* js/dom/function-constructor-this-value-expected.txt: Added.
* js/dom/function-constructor-this-value.html: Added.
* js/dom/function-declarations-expected.txt: Added.
* js/dom/function-declarations.html: Added.
* js/dom/function-decompilation-operators-expected.txt: Added.
* js/dom/function-decompilation-operators.html: Added.
* js/dom/function-dot-arguments-and-caller-expected.txt: Added.
* js/dom/function-dot-arguments-and-caller.html: Added.
* js/dom/function-dot-arguments-identity-expected.txt: Added.
* js/dom/function-dot-arguments-identity.html: Added.
* js/dom/function-dot-arguments2-expected.txt: Added.
* js/dom/function-dot-arguments2.html: Added.
* js/dom/function-length-expected.txt: Added.
* js/dom/function-length.html: Added.
* js/dom/function-name-expected.txt: Added.
* js/dom/function-name-is-in-scope-expected.txt: Added.
* js/dom/function-name-is-in-scope.html: Added.
* js/dom/function-name.html: Added.
* js/dom/function-names-expected.txt: Added.
* js/dom/function-names.html: Added.
* js/dom/function-prototype-expected.txt: Added.
* js/dom/function-prototype.html: Added.
* js/dom/function-redefinition-expected.txt: Added.
* js/dom/function-redefinition.html: Added.
* js/dom/garbage-collect-after-string-appends-expected.txt: Added.
* js/dom/get-by-pname-only-prototype-properties-expected.txt: Added.
* js/dom/get-by-pname-only-prototype-properties.html: Added.
* js/dom/getOwnPropertyDescriptor-expected.txt: Added.
* js/dom/getOwnPropertyDescriptor.html: Added.
* js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Added.
* js/dom/global-constructors-attributes-dedicated-worker.html: Added.
* js/dom/global-constructors-attributes-expected.txt: Added.
* js/dom/global-constructors-attributes-shared-worker-expected.txt: Added.
* js/dom/global-constructors-attributes-shared-worker.html: Added.
* js/dom/global-constructors-attributes.html: Added.
* js/dom/global-constructors-deletable-expected.txt: Added.
* js/dom/global-constructors-deletable.html: Added.
* js/dom/global-function-resolve-expected.txt: Added.
* js/dom/global-function-resolve.html: Added.
* js/dom/global-recursion-on-full-stack-expected.txt: Added.
* js/dom/global-recursion-on-full-stack.html: Added.
* js/dom/global-var-limit-expected.txt: Added.
* js/dom/global-var-limit.html: Added.
* js/dom/immediate-constant-instead-of-cell-expected.txt: Added.
* js/dom/immediate-constant-instead-of-cell.html: Added.
* js/dom/implicit-call-with-global-reentry-expected.txt: Added.
* js/dom/implicit-call-with-global-reentry.html: Added.
* js/dom/implicit-global-to-global-reentry-expected.txt: Added.
* js/dom/implicit-global-to-global-reentry.html: Added.
* js/dom/imul-expected.txt: Added.
* js/dom/imul.html: Added.
* js/dom/inc-bracket-assign-subscript-expected.txt: Added.
* js/dom/inc-bracket-assign-subscript.html: Added.
* js/dom/inc-const-valueOf-expected.txt: Added.
* js/dom/inc-const-valueOf.html: Added.
* js/dom/indexed-setter-on-global-object-expected.txt: Added.
* js/dom/indexed-setter-on-global-object.html: Added.
* js/dom/inline-arguments-tear-off-expected.txt: Added.
* js/dom/inline-arguments-tear-off.html: Added.
* js/dom/instanceof-XMLHttpRequest-expected.txt: Added.
* js/dom/instanceof-XMLHttpRequest.html: Added.
* js/dom/invalid-syntax-for-function-expected.txt: Added.
* js/dom/invalid-syntax-for-function.html: Added.
* js/dom/jit-set-profiling-access-type-only-for-get-by-id-self-expected.txt: Added.
* js/dom/jit-set-profiling-access-type-only-for-get-by-id-self.html: Added.
* js/dom/js-constructors-use-correct-global-expected.txt: Added.
* js/dom/js-constructors-use-correct-global.html: Added.
* js/dom/js-correct-exception-handler-expected.txt: Added.
* js/dom/js-correct-exception-handler.html: Added.
* js/dom/lastModified-expected.txt: Added.
* js/dom/lastModified.html: Added.
* js/dom/lazy-create-arguments-from-get-by-val-expected.txt: Added.
* js/dom/lazy-create-arguments-from-get-by-val.html: Added.
* js/dom/lexical-lookup-in-function-constructor-expected.txt: Added.
* js/dom/lexical-lookup-in-function-constructor.html: Added.
* js/dom/line-column-numbers-expected.txt: Added.
* js/dom/line-column-numbers.html: Added.
* js/dom/method-check-expected.txt: Added.
* js/dom/method-check.html: Added.
* js/dom/missing-style-end-tag-js-expected.txt: Added.
* js/dom/missing-style-end-tag-js.html: Added.
* js/dom/missing-title-end-tag-js-expected.txt: Added.
* js/dom/missing-title-end-tag-js.html: Added.
* js/dom/native-error-prototype-expected.txt: Added.
* js/dom/native-error-prototype.html: Added.
* js/dom/navigator-language-expected.txt: Added.
* js/dom/navigator-language.html: Added.
* js/dom/navigator-plugins-crash-expected.txt: Added.
* js/dom/navigator-plugins-crash.html: Added.
* js/dom/negate-overflow-expected.txt: Added.
* js/dom/negate-overflow.html: Added.
* js/dom/neq-null-crash-expected.txt: Added.
* js/dom/neq-null-crash.html: Added.
* js/dom/nested-function-scope-expected.txt: Added.
* js/dom/nested-function-scope.html: Added.
* js/dom/nested-object-gc-expected.txt: Added.
* js/dom/nested-object-gc.html: Added.
* js/dom/non-object-proto-expected.txt: Added.
* js/dom/non-object-proto.html: Added.
* js/dom/normal-character-escapes-in-string-literals-expected.txt: Added.
* js/dom/normal-character-escapes-in-string-literals.html: Added.
* js/dom/not-a-constructor-to-string-expected.txt: Added.
* js/dom/not-a-constructor-to-string.html: Added.
* js/dom/not-a-function-to-string-expected.txt: Added.
* js/dom/not-a-function-to-string.html: Added.
* js/dom/null-char-in-string-expected.txt: Added.
* js/dom/null-char-in-string.html: Added.
* js/dom/number-tofixed-expected.txt: Added.
* js/dom/number-tofixed.html: Added.
* js/dom/number-toprecision-expected.txt: Added.
* js/dom/number-toprecision.html: Added.
* js/dom/object-extra-comma-expected.txt: Added.
* js/dom/object-extra-comma.html: Added.
* js/dom/object-prototype-constructor-expected.txt: Added.
* js/dom/object-prototype-constructor.html: Added.
* js/dom/object-prototype-properties-expected.txt: Added.
* js/dom/object-prototype-properties.html: Added.
* js/dom/object-prototype-toLocaleString-expected.txt: Added.
* js/dom/object-prototype-toLocaleString.html: Added.
* js/dom/parse-error-external-script-in-eval-expected.txt: Added.
* js/dom/parse-error-external-script-in-eval.html: Added.
* js/dom/parse-error-external-script-in-new-Function-expected.txt: Added.
* js/dom/parse-error-external-script-in-new-Function.html: Added.
* js/dom/post-inc-assign-overwrites-expected.txt: Added.
* js/dom/post-inc-assign-overwrites.html: Added.
* js/dom/post-message-numeric-property-expected.txt: Added.
* js/dom/post-message-numeric-property.html: Added.
* js/dom/postfix-syntax-expected.txt: Added.
* js/dom/postfix-syntax.html: Added.
* js/dom/prefix-syntax-expected.txt: Added.
* js/dom/prefix-syntax.html: Added.
* js/dom/prototype-chain-caching-with-impure-get-own-property-slot-traps-expected.txt: Added.
* js/dom/prototype-chain-caching-with-impure-get-own-property-slot-traps.html: Added.
* js/dom/put-direct-index-beyond-vector-length-resize-expected.txt: Added.
* js/dom/put-direct-index-beyond-vector-length-resize.html: Added.
* js/dom/put-to-base-global-checked-expected.txt: Added.
* js/dom/put-to-base-global-checked.html: Added.
* js/dom/random-array-gc-stress-expected.txt: Added.
* js/dom/random-array-gc-stress.html: Added.
* js/dom/recursion-limit-equal-expected.txt: Added.
* js/dom/recursion-limit-equal.html: Added.
* js/dom/regexp-bol-expected.txt: Added.
* js/dom/regexp-bol-with-multiline-expected.txt: Added.
* js/dom/regexp-bol-with-multiline.html: Added.
* js/dom/regexp-bol.html: Added.
* js/dom/regexp-caching-expected.txt: Added.
* js/dom/regexp-caching.html: Added.
* js/dom/regexp-charclass-crash-expected.txt: Added.
* js/dom/regexp-charclass-crash.html: Added.
* js/dom/regexp-extended-characters-crash-expected.txt: Added.
* js/dom/regexp-extended-characters-crash.html: Added.
* js/dom/regexp-lastindex-expected.txt: Added.
* js/dom/regexp-lastindex.html: Added.
* js/dom/regexp-look-ahead-empty-expected.txt: Added.
* js/dom/regexp-look-ahead-empty.html: Added.
* js/dom/regexp-look-ahead-expected.txt: Added.
* js/dom/regexp-look-ahead.html: Added.
* js/dom/regexp-match-reify-before-putbyval-expected.txt: Added.
* js/dom/regexp-match-reify-before-putbyval.html: Added.
* js/dom/regexp-non-capturing-groups-expected.txt: Added.
* js/dom/regexp-non-capturing-groups.html: Added.
* js/dom/regexp-non-greedy-parentheses-expected.txt: Added.
* js/dom/regexp-non-greedy-parentheses.html: Added.
* js/dom/regexp-overflow-expected.txt: Added.
* js/dom/regexp-overflow.html: Added.
* js/dom/regexp-range-out-of-order-expected.txt: Added.
* js/dom/regexp-range-out-of-order.html: Added.
* js/dom/regexp-ranges-and-escaped-hyphens-expected.txt: Added.
* js/dom/regexp-ranges-and-escaped-hyphens.html: Added.
* js/dom/regexp-stack-overflow-expected.txt: Added.
* js/dom/regexp-stack-overflow.html: Added.
* js/dom/regexp-test-null-string-expected.txt: Added.
* js/dom/regexp-test-null-string.html: Added.
* js/dom/regexp-unicode-handling-expected.txt: Added.
* js/dom/regexp-unicode-handling.html: Added.
* js/dom/regexp-unicode-overflow-expected.txt: Added.
* js/dom/regexp-unicode-overflow.html: Added.
* js/dom/removing-Cf-characters-expected.txt: Added.
* js/dom/removing-Cf-characters.html: Added.
* js/dom/reserved-words-as-property-expected.txt: Added.
* js/dom/reserved-words-as-property.html: Added.
* js/dom/same-origin-subframe-about-blank-expected.txt: Added.
* js/dom/same-origin-subframe-about-blank.html: Added.
* js/dom/script-line-number-expected.txt: Added.
* js/dom/script-line-number.html: Added.
* js/dom/script-tests: Added.
* js/dom/script-tests/Object-defineProperty.js: Added.
(createUnconfigurableProperty):
(getter):
(getter1):
(setter):
(setter1):
(get shouldBeTrue):
(testObject.):
(testObject.set get anObj):
(testObject):
* js/dom/script-tests/activation-proto.js: Added.
* js/dom/script-tests/array-float-delete.js: Added.
* js/dom/script-tests/array-join-bug-11524.js: Added.
(customObject.valueOf):
* js/dom/script-tests/array-prototype-properties.js: Added.
* js/dom/script-tests/array-sort-exception.js: Copied from LayoutTests/js/script-tests/array-sort-exception.js.
* js/dom/script-tests/array-tostring-ignore-separator.js: Added.
* js/dom/script-tests/array-with-double-assign.js: Added.
(foo):
* js/dom/script-tests/array-with-double-push.js: Added.
(foo):
* js/dom/script-tests/assign.js: Added.
* js/dom/script-tests/basic-map.js: Added.
(set shouldBe):
(set var):
* js/dom/script-tests/basic-set.js: Added.
(set new):
(otherString.string_appeared_here.set add):
(try.set forEach):
(set forEach):
(set gc):
* js/dom/script-tests/basic-weakmap.js: Added.
* js/dom/script-tests/cached-eval-gc.js: Added.
(gc):
(doTest):
* js/dom/script-tests/constructor-attributes.js: Added.
(canEnum):
(checkConstructor):
(declaredFunction):
* js/dom/script-tests/constructor.js: Added.
* js/dom/script-tests/cross-frame-bad-time.js: Added.
(foo):
* js/dom/script-tests/cross-frame-really-bad-time-with-__proto__.js: Added.
(foo):
(evil):
(bar):
(done):
* js/dom/script-tests/cross-frame-really-bad-time.js: Added.
(Cons):
(foo):
(evil):
(bar):
(done):
* js/dom/script-tests/cross-global-object-inline-global-var.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/custom-constructors.js: Added.
* js/dom/script-tests/cyclic-proto.js: Added.
* js/dom/script-tests/cyclic-ref-toString.js: Added.
* js/dom/script-tests/date-DST-time-cusps.js: Added.
* js/dom/script-tests/date-big-constructor.js: Added.
* js/dom/script-tests/date-big-setdate.js: Added.
* js/dom/script-tests/date-big-setmonth.js: Added.
* js/dom/script-tests/date-negative-setmonth.js: Added.
* js/dom/script-tests/date-preserve-milliseconds.js: Added.
* js/dom/script-tests/delete-syntax.js: Added.
* js/dom/script-tests/dfg-byte-array-put.js: Added.
(doPut):
(doGet):
* js/dom/script-tests/dfg-byteOffset-neuter.js: Added.
(foo):
* js/dom/script-tests/dfg-compare-final-object-to-final-object-or-other.js: Added.
(foo):
* js/dom/script-tests/dfg-cross-global-object-inline-new-array-literal-with-variables.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/dfg-cross-global-object-inline-new-array-literal.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/dfg-cross-global-object-inline-new-array-with-elements.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/dfg-cross-global-object-inline-new-array-with-size.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/dfg-cross-global-object-inline-new-array.js: Added.
(foo):
(done):
(doit):
* js/dom/script-tests/dfg-cross-global-object-new-array.js: Added.
(foo):
(runTest):
(doit):
* js/dom/script-tests/dfg-custom-getter-throw-inlined.js: Added.
(foo):
(baz):
(bar):
* js/dom/script-tests/dfg-custom-getter-throw.js: Added.
(foo):
(bar):
* js/dom/script-tests/dfg-custom-getter.js: Added.
(foo):
* js/dom/script-tests/dfg-ensure-array-storage-on-window.js: Added.
(foo):
(while):
* js/dom/script-tests/dfg-ensure-non-array-array-storage-on-window.js: Added.
(foo):
(bar):
(.shouldBe):
* js/dom/script-tests/dfg-inline-switch-imm.js: Added.
(foo):
(bar):
* js/dom/script-tests/dfg-int32-to-double-on-set-local-and-exit.js: Added.
(checkpoint):
(func1):
(func2):
(func3):
(test):
* js/dom/script-tests/dfg-int32-to-double-on-set-local-and-sometimes-exit.js: Added.
(checkpoint):
(func1):
(func2):
(func3):
(test):
* js/dom/script-tests/dfg-logical-not-final-object-or-other.js: Added.
(foo):
* js/dom/script-tests/dfg-make-rope-side-effects.js: Added.
(f):
(k.valueOf):
(k.toString):
* js/dom/script-tests/dfg-negative-array-size.js: Added.
(foo):
* js/dom/script-tests/dfg-patchable-get-by-id-after-watchpoint.js: Added.
(foo):
(O):
(O.prototype.f):
(P1):
(P2):
* js/dom/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object.js: Added.
(foo):
* js/dom/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object.js: Added.
(foo):
* js/dom/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other.js: Added.
(foo):
* js/dom/script-tests/dfg-proto-stub-watchpoint-fire.js: Added.
(A):
(B):
(foo):
* js/dom/script-tests/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps.js: Added.
(f):
* js/dom/script-tests/dfg-put-by-id-allocate-storage-polymorphic.js: Added.
(foo):
* js/dom/script-tests/dfg-put-by-id-allocate-storage.js: Added.
(foo):
* js/dom/script-tests/dfg-put-by-id-reallocate-storage-polymorphic.js: Added.
(foo):
* js/dom/script-tests/dfg-put-by-id-reallocate-storage.js: Added.
(foo):
* js/dom/script-tests/dfg-put-by-val-setter-then-get-by-val.js: Added.
(foo):
(for):
* js/dom/script-tests/dfg-put-to-readonly-property.js: Added.
(foo):
(bar):
* js/dom/script-tests/dfg-rshift-by-zero-eliminate-valuetoint32.js: Added.
(f):
* js/dom/script-tests/dfg-store-unexpected-value-into-argument-and-osr-exit.js: Added.
(foo):
* js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js: Added.
(foo):
(bar):
(x):
* js/dom/script-tests/dfg-strict-mode-arguments-get-beyond-length.js: Added.
(foo):
(bar):
* js/dom/script-tests/dfg-typed-array-neuter.js: Added.
(foo):
(bar):
* js/dom/script-tests/document-all-triggers-masquerades-watchpoint.js: Added.
(f):
* js/dom/script-tests/dot-node-base-exception.js: Added.
* js/dom/script-tests/end-in-string-escape.js: Added.
* js/dom/script-tests/enter-dictionary-indexing-mode-with-blank-indexing-type.js: Added.
* js/dom/script-tests/eval-cache-scoped-lookup.js: Added.
(first):
(a.string_appeared_here.second):
(third):
(fifth):
(sixth):
(seventh):
(eighth):
(nineth):
(tenth):
(eleventh):
* js/dom/script-tests/eval-contained-syntax-error.js: Added.
* js/dom/script-tests/exception-line-number.js: Added.
(foo):
(window.onerror):
* js/dom/script-tests/exception-registerfile-shrink.js: Added.
* js/dom/script-tests/exception-sequencing-binops.js: Copied from LayoutTests/js/exception-sequencing-binops.js.
* js/dom/script-tests/function-bind.js: Added.
(F):
* js/dom/script-tests/function-name.js: Added.
* js/dom/script-tests/function-names.js: Added.
(checkConstructorName):
* js/dom/script-tests/get-by-pname-only-prototype-properties.js: Added.
(foo):
* js/dom/script-tests/global-constructors-attributes.js: Added.
(.self.postMessage):
(.self.onconnect.self.postMessage):
(.self.onconnect):
(classNameForObject):
(constructorPropertiesOnGlobalObject):
* js/dom/script-tests/global-constructors-deletable.js: Added.
* js/dom/script-tests/global-function-resolve.js: Added.
* js/dom/script-tests/immediate-constant-instead-of-cell.js: Added.
* js/dom/script-tests/implicit-call-with-global-reentry.js: Added.
(testGlobalCode):
(testObject.get getterTest):
(testObject.set setterTest):
(testObject.toString):
(testObject.valueOf):
(testObject.toStringTest):
(testObject.valueOfTest):
* js/dom/script-tests/imul.js: Added.
(testIMul):
* js/dom/script-tests/inc-bracket-assign-subscript.js: Added.
(testPreIncBracketAccessWithAssignSubscript):
(testPostIncBracketAccessWithAssignSubscript):
* js/dom/script-tests/inc-const-valueOf.js: Added.
(testPostIncConstVarWithIgnoredResult.const.a.valueOf):
(testPostIncConstVarWithIgnoredResult):
(testPreIncConstVarWithIgnoredResult.const.a.valueOf):
(testPreIncConstVarWithIgnoredResult):
(testPreIncConstVarWithAssign.const.a.valueOf):
(testPreIncConstVarWithAssign):
* js/dom/script-tests/indexed-setter-on-global-object.js: Added.
* js/dom/script-tests/inline-arguments-tear-off.js: Added.
(g):
(f):
(doStuff):
* js/dom/script-tests/instanceof-XMLHttpRequest.js: Added.
* js/dom/script-tests/jit-set-profiling-access-type-only-for-get-by-id-self.js: Added.
(L_):
(Q2):
(f):
* js/dom/script-tests/js-correct-exception-handler.js: Added.
(throwEventually):
(f.g):
(f):
(test):
* js/dom/script-tests/lastModified.js: Added.
* js/dom/script-tests/lazy-create-arguments-from-get-by-val.js: Added.
(foo):
* js/dom/script-tests/line-column-numbers.js: Added.
(try.doThrow4b):
(doThrow5b.try.innerFunc):
(doThrow5b):
(doThrow6b.try.innerFunc):
(doThrow6b):
(catch):
(try.doThrow11b):
(try.doThrow14b):
(try.testObj19b.toString):
(try.testObj19b.run):
(try.test20b.f):
(try.test20b):
(try.toFuzz21b):
(try.toFuzz22b):
* js/dom/script-tests/method-check.js: Added.
(func2):
(func.String.prototype.a):
(func.String.prototype.b):
(func):
(addOne):
(addOneHundred):
(totalizer.makeCall):
* js/dom/script-tests/native-error-prototype.js: Added.
* js/dom/script-tests/neq-null-crash.js: Added.
(crush):
* js/dom/script-tests/nested-object-gc.js: Added.
* js/dom/script-tests/non-object-proto.js: Added.
* js/dom/script-tests/normal-character-escapes-in-string-literals.js: Added.
(test):
(testOther):
* js/dom/script-tests/null-char-in-string.js: Added.
* js/dom/script-tests/number-tofixed.js: Added.
* js/dom/script-tests/number-toprecision.js: Added.
* js/dom/script-tests/object-extra-comma.js: Added.
* js/dom/script-tests/object-prototype-constructor.js: Added.
(Foo.Bar):
(F):
* js/dom/script-tests/object-prototype-properties.js: Added.
* js/dom/script-tests/object-prototype-toLocaleString.js: Added.
(o.toLocaleString):
(String.prototype.toString):
* js/dom/script-tests/post-inc-assign-overwrites.js: Added.
(postIncDotAssignToBase):
(postIncBracketAssignToBase):
(postIncBracketAssignToSubscript):
* js/dom/script-tests/post-message-numeric-property.js: Added.
(window.onmessage):
* js/dom/script-tests/postfix-syntax.js: Added.
* js/dom/script-tests/prefix-syntax.js: Added.
* js/dom/script-tests/prototype-chain-caching-with-impure-get-own-property-slot-traps.js: Added.
(f):
* js/dom/script-tests/put-direct-index-beyond-vector-length-resize.js: Added.
* js/dom/script-tests/put-to-base-global-checked.js: Added.
(globalF):
(warmup):
(foo):
* js/dom/script-tests/random-array-gc-stress.js: Added.
(getRandomIndex):
(test):
* js/dom/script-tests/recursion-limit-equal.js: Added.
(test):
* js/dom/script-tests/regexp-bol-with-multiline.js: Added.
* js/dom/script-tests/regexp-bol.js: Added.
* js/dom/script-tests/regexp-extended-characters-crash.js: Added.
* js/dom/script-tests/regexp-lastindex.js: Added.
* js/dom/script-tests/regexp-look-ahead-empty.js: Added.
* js/dom/script-tests/regexp-look-ahead.js: Added.
* js/dom/script-tests/regexp-match-reify-before-putbyval.js: Added.
* js/dom/script-tests/regexp-non-capturing-groups.js: Added.
* js/dom/script-tests/regexp-non-greedy-parentheses.js: Added.
* js/dom/script-tests/regexp-overflow.js: Added.
* js/dom/script-tests/regexp-range-out-of-order.js: Added.
* js/dom/script-tests/regexp-ranges-and-escaped-hyphens.js: Added.
* js/dom/script-tests/regexp-stack-overflow.js: Added.
* js/dom/script-tests/regexp-unicode-handling.js: Added.
(Gn):
* js/dom/script-tests/regexp-unicode-overflow.js: Added.
(createRegExs):
* js/dom/script-tests/removing-Cf-characters.js: Added.
* js/dom/script-tests/reserved-words-as-property.js: Added.
(testWordEvalAndFunction):
(testWord):
(testWordStrictAndNonStrict):
* js/dom/script-tests/select-options-add.js: Added.
* js/dom/script-tests/stack-at-creation-for-error-objects.js: Added.
(checkStack):
* js/dom/script-tests/stack-trace.js: Added.
(printStack):
(hostThrower):
(callbacker):
(outer):
(inner):
(evaler):
(normalOuter):
(normalInner):
(scripterInner):
(scripterOuter):
(selfRecursive1):
(selfRecursive2):
(selfRecursive3):
(throwError):
(object.get getter1.o.valueOf):
(object.get getter1):
(object.get getter2):
(object.get getter3.o2.valueOf):
(object.get getter3):
(object.nonInlineable.callCount):
(object.nonInlineable):
(object.inlineable):
(yetAnotherInlinedCall):
(makeInlinableCall):
(.try.g):
(h):
(mapTest):
(mapTestDriver):
(dfgFunction):
(try.f):
(callNonCallable):
(dfgTest):
(inlineableThrow):
(dfgThing.get willThrow):
(dfgThing.get willThrowEventually):
(dfgThing.willThrowFunc):
(dfgThing.willThrowEventuallyFunc):
(dfg1):
(dfg2):
(dfg3):
(dfg4):
(dfg5):
(dfg6):
(dfg7):
(dfg8):
(dfg9):
(dfga):
(dfgb):
(dfgc):
* js/dom/script-tests/strict-readonly-statics.js: Added.
(testWindowUndefined):
(testNumberMAX_VALUE):
* js/dom/script-tests/string-match.js: Added.
(testMatch):
* js/dom/script-tests/string-prototype-properties.js: Added.
(Number.prototype.toString):
* js/dom/script-tests/string-replace-2.js: Added.
(testReplace):
(replacer):
* js/dom/script-tests/string-replace-3.js: Added.
* js/dom/script-tests/string-replacement-outofmemory.js: Added.
(createStringWithRepeatedChar):
* js/dom/script-tests/string-split-conformance.js: Added.
* js/dom/script-tests/string-split-double-empty.js: Added.
* js/dom/script-tests/string-split-ignore-case.js: Added.
* js/dom/script-tests/switch-behaviour.js: Added.
(characterSwitch):
(sparseCharacterSwitch):
* js/dom/script-tests/throw-exception-in-global-setter.js: Added.
(callSetter):
* js/dom/script-tests/toInt32UInt32.js: Added.
* js/dom/script-tests/toString-exception.js: Added.
* js/dom/script-tests/toString-overrides.js: Added.
(Number.prototype.toString):
(Number.prototype.toLocaleString):
(RegExp.prototype.toString):
(RegExp.prototype.toLocaleString):
* js/dom/script-tests/toString-stack-overflow.js: Added.
* js/dom/script-tests/transition-cache-dictionary-crash.js: Added.
(f):
* js/dom/script-tests/typed-array-access.js: Added.
(bitsToString):
(bitsToValue):
(valueToBits):
(roundTrip):
* js/dom/script-tests/typed-array-set-different-types.js: Added.
(MyRandom):
(.reference):
(.usingConstruct):
* js/dom/script-tests/typeof-syntax.js: Added.
* js/dom/script-tests/unshift-multi.js: Added.
(unshift1):
(unshift2):
(unshift5):
* js/dom/script-tests/vardecl-preserve-arguments.js: Added.
(argumentsLength):
(argumentsLengthInnerBlock):
(argumentsLengthInnerBlock2):
(argumentsLengthTryCatch):
(argumentsLengthWith):
(argumentsLengthOverride):
(argumentsLengthOverrideInnerBlock):
(argumentsLengthOverrideInnerBlock2):
(argumentsLengthOverrideInnerBlock3):
(argumentsTearOff1):
(argumentsTearOff2):
(argumentsTearOff3):
* js/dom/script-tests/webcore-string-comparison.js: Added.
* js/dom/script-tests/with-scope-gc.js: Added.
(gc):
* js/dom/select-options-add-expected.txt: Added.
* js/dom/select-options-add.html: Added.
* js/dom/select-options-remove-expected.txt: Added.
* js/dom/select-options-remove-gc-expected.txt: Added.
* js/dom/select-options-remove-gc.html: Added.
* js/dom/select-options-remove.html: Added.
* js/dom/stack-at-creation-for-error-objects-expected.txt: Added.
* js/dom/stack-at-creation-for-error-objects.html: Added.
* js/dom/stack-trace-expected.txt: Added.
* js/dom/stack-trace.html: Added.
* js/dom/strict-readonly-statics-expected.txt: Added.
* js/dom/strict-readonly-statics.html: Added.
* js/dom/string-anchor-expected.txt: Added.
* js/dom/string-anchor.html: Added.
* js/dom/string-concatenate-outofmemory-expected.txt: Added.
* js/dom/string-fontcolor-expected.txt: Added.
* js/dom/string-fontcolor.html: Added.
* js/dom/string-fontsize-expected.txt: Added.
* js/dom/string-fontsize.html: Added.
* js/dom/string-link-expected.txt: Added.
* js/dom/string-link.html: Added.
* js/dom/string-match-expected.txt: Added.
* js/dom/string-match.html: Added.
* js/dom/string-prototype-properties-expected.txt: Added.
* js/dom/string-prototype-properties.html: Added.
* js/dom/string-replace-2-expected.txt: Added.
* js/dom/string-replace-2.html: Added.
* js/dom/string-replace-3-expected.txt: Added.
* js/dom/string-replace-3.html: Added.
* js/dom/string-replace-exception-crash-expected.txt: Added.
* js/dom/string-replace-exception-crash.html: Added.
* js/dom/string-replacement-outofmemory-expected.txt: Added.
* js/dom/string-replacement-outofmemory.html: Added.
* js/dom/string-split-conformance-expected.txt: Added.
* js/dom/string-split-conformance.html: Added.
* js/dom/string-split-double-empty-expected.txt: Added.
* js/dom/string-split-double-empty.html: Added.
* js/dom/string-split-ignore-case-expected.txt: Added.
* js/dom/string-split-ignore-case.html: Added.
* js/dom/switch-behaviour-expected.txt: Added.
* js/dom/switch-behaviour.html: Added.
* js/dom/text-field-resize-expected.txt: Added.
* js/dom/text-field-resize.html: Added.
* js/dom/throw-exception-in-global-setter-expected.txt: Added.
* js/dom/throw-exception-in-global-setter.html: Added.
* js/dom/throw-from-array-sort-expected.txt: Added.
* js/dom/throw-from-array-sort.html: Added.
* js/dom/toInt32UInt32-expected.txt: Added.
* js/dom/toInt32UInt32.html: Added.
* js/dom/toString-and-valueOf-override-expected.txt: Added.
* js/dom/toString-and-valueOf-override.html: Added.
* js/dom/toString-dontEnum-expected.txt: Added.
* js/dom/toString-dontEnum.html: Added.
* js/dom/toString-exception-expected.txt: Added.
* js/dom/toString-exception.html: Added.
* js/dom/toString-number-expected.txt: Added.
* js/dom/toString-number.html: Added.
* js/dom/toString-overrides-expected.txt: Added.
* js/dom/toString-overrides.html: Added.
* js/dom/toString-stack-overflow-expected.txt: Added.
* js/dom/toString-stack-overflow.html: Added.
* js/dom/toString-try-else-expected.txt: Added.
* js/dom/toString-try-else.html: Added.
* js/dom/transition-cache-dictionary-crash-expected.txt: Added.
* js/dom/transition-cache-dictionary-crash.html: Added.
* js/dom/trivial-functions-expected.txt: Added.
* js/dom/trivial-functions.html: Added.
* js/dom/try-catch-crash-expected.txt: Added.
* js/dom/try-catch-crash.html: Added.
* js/dom/typed-array-access-expected.txt: Added.
* js/dom/typed-array-access.html: Added.
* js/dom/typed-array-set-different-types-expected.txt: Added.
* js/dom/typed-array-set-different-types.html: Added.
* js/dom/typeof-syntax-expected.txt: Added.
* js/dom/typeof-syntax.html: Added.
* js/dom/uncaught-exception-line-number-expected.txt: Added.
* js/dom/uncaught-exception-line-number.html: Added.
* js/dom/unshift-multi-expected.txt: Added.
* js/dom/unshift-multi.html: Added.
* js/dom/var-declarations-expected.txt: Added.
* js/dom/var-declarations-shadowing-expected.txt: Added.
* js/dom/var-declarations-shadowing.html: Added.
* js/dom/var-declarations.html: Added.
* js/dom/vardecl-preserve-arguments-expected.txt: Added.
* js/dom/vardecl-preserve-arguments.html: Added.
* js/dom/vardecl-preserve-parameters-expected.txt: Added.
* js/dom/vardecl-preserve-parameters.html: Added.
* js/dom/vardecl-preserve-vardecl-expected.txt: Added.
* js/dom/vardecl-preserve-vardecl.html: Added.
* js/dom/webcore-string-comparison-expected.txt: Added.
* js/dom/webcore-string-comparison.html: Added.
* js/dom/webidl-type-mapping-expected.txt: Added.
* js/dom/webidl-type-mapping.html: Added.
* js/dom/while-expression-value-expected.txt: Added.
* js/dom/while-expression-value.html: Added.
* js/dom/window-location-href-file-urls-expected.txt: Added.
* js/dom/window-location-href-file-urls.html: Added.
* js/dom/with-scope-gc-expected.txt: Added.
* js/dom/with-scope-gc.html: Added.
* js/dot-node-base-exception-expected.txt: Removed.
* js/dot-node-base-exception.html: Removed.
* js/encode-URI-test-expected.txt: Removed.
* js/encode-URI-test.html: Removed.
* js/end-in-string-escape-expected.txt: Removed.
* js/end-in-string-escape.html: Removed.
* js/enter-dictionary-indexing-mode-with-blank-indexing-type-expected.txt: Removed.
* js/enter-dictionary-indexing-mode-with-blank-indexing-type.html: Removed.
* js/error-object-write-and-detele-for-stack-property-expected.txt: Removed.
* js/error-object-write-and-detele-for-stack-property.html: Removed.
* js/eval-cache-scoped-lookup-expected.txt: Removed.
* js/eval-cache-scoped-lookup.html: Removed.
* js/eval-contained-syntax-error-expected.txt: Removed.
* js/eval-contained-syntax-error.html: Removed.
* js/eval-cross-window-expected.txt: Removed.
* js/eval-cross-window.html: Removed.
* js/eval-keyword-vs-function-expected.txt: Removed.
* js/eval-keyword-vs-function.html: Removed.
* js/eval-overriding-expected.txt: Removed.
* js/eval-overriding.html: Removed.
* js/exception-codegen-crash-expected.txt: Removed.
* js/exception-codegen-crash.html: Removed.
* js/exception-line-number-expected.txt: Removed.
* js/exception-line-number.html: Removed.
* js/exception-linenums-in-html-1-expected.txt: Removed.
* js/exception-linenums-in-html-1.html: Removed.
* js/exception-linenums-in-html-2-expected.txt: Removed.
* js/exception-linenums-in-html-2.html: Removed.
* js/exception-linenums-in-html-3-expected.txt: Removed.
* js/exception-linenums-in-html-3.html: Removed.
* js/exception-registerfile-shrink-expected.txt: Removed.
* js/exception-registerfile-shrink.html: Removed.
* js/exception-sequencing-binops-expected.txt: Removed.
* js/exception-sequencing-binops.html: Removed.
* js/exception-sequencing-binops.js: Removed.
* js/exception-sequencing-binops2-expected.txt: Removed.
* js/exception-sequencing-binops2.html: Removed.
* js/exception-sequencing-expected.txt: Removed.
* js/exception-sequencing.html: Removed.
* js/exception-thrown-from-equal-expected.txt: Removed.
* js/exception-thrown-from-equal.html: Removed.
* js/exception-thrown-from-eval-inside-closure-expected.txt: Removed.
* js/exception-thrown-from-eval-inside-closure.html: Removed.
* js/exception-thrown-from-function-with-lazy-activation-expected.txt: Removed.
* js/exception-thrown-from-function-with-lazy-activation.html: Removed.
* js/exception-thrown-from-new-expected.txt: Removed.
* js/exception-thrown-from-new.html: Removed.
* js/exceptions-thrown-in-callbacks-expected.txt: Removed.
* js/exceptions-thrown-in-callbacks.html: Removed.
* js/exec-state-marking-expected.txt: Removed.
* js/exec-state-marking.html: Removed.
* js/find-ignoring-case-regress-99753-expected.txt: Removed.
* js/find-ignoring-case-regress-99753.html: Removed.
* js/floating-point-truncate-rshift-expected.txt: Removed.
* js/floating-point-truncate-rshift.html: Removed.
* js/function-argument-evaluation-before-exception-expected.txt: Removed.
* js/function-argument-evaluation-before-exception.html: Removed.
* js/function-argument-evaluation-expected.txt: Removed.
* js/function-argument-evaluation.html: Removed.
* js/function-bind-expected.txt: Removed.
* js/function-bind.html: Removed.
* js/function-constructor-this-value-expected.txt: Removed.
* js/function-constructor-this-value.html: Removed.
* js/function-declarations-expected.txt: Removed.
* js/function-declarations.html: Removed.
* js/function-decompilation-operators-expected.txt: Removed.
* js/function-decompilation-operators.html: Removed.
* js/function-dot-arguments-and-caller-expected.txt: Removed.
* js/function-dot-arguments-and-caller.html: Removed.
* js/function-dot-arguments-identity-expected.txt: Removed.
* js/function-dot-arguments-identity.html: Removed.
* js/function-dot-arguments2-expected.txt: Removed.
* js/function-dot-arguments2.html: Removed.
* js/function-length-expected.txt: Removed.
* js/function-length.html: Removed.
* js/function-name-expected.txt: Removed.
* js/function-name-is-in-scope-expected.txt: Removed.
* js/function-name-is-in-scope.html: Removed.
* js/function-name.html: Removed.
* js/function-names-expected.txt: Removed.
* js/function-names.html: Removed.
* js/function-prototype-expected.txt: Removed.
* js/function-prototype.html: Removed.
* js/function-redefinition-expected.txt: Removed.
* js/function-redefinition.html: Removed.
* js/garbage-collect-after-string-appends-expected.txt: Removed.
* js/get-by-pname-only-prototype-properties-expected.txt: Removed.
* js/get-by-pname-only-prototype-properties.html: Removed.
* js/getOwnPropertyDescriptor-expected.txt: Removed.
* js/getOwnPropertyDescriptor.html: Removed.
* js/global-constructors-attributes-dedicated-worker-expected.txt: Removed.
* js/global-constructors-attributes-dedicated-worker.html: Removed.
* js/global-constructors-attributes-expected.txt: Removed.
* js/global-constructors-attributes-shared-worker-expected.txt: Removed.
* js/global-constructors-attributes-shared-worker.html: Removed.
* js/global-constructors-attributes.html: Removed.
* js/global-constructors-deletable-expected.txt: Removed.
* js/global-constructors-deletable.html: Removed.
* js/global-function-resolve-expected.txt: Removed.
* js/global-function-resolve.html: Removed.
* js/global-recursion-on-full-stack-expected.txt: Removed.
* js/global-recursion-on-full-stack.html: Removed.
* js/global-var-limit-expected.txt: Removed.
* js/global-var-limit.html: Removed.
* js/immediate-constant-instead-of-cell-expected.txt: Removed.
* js/immediate-constant-instead-of-cell.html: Removed.
* js/implicit-call-with-global-reentry-expected.txt: Removed.
* js/implicit-call-with-global-reentry.html: Removed.
* js/implicit-global-to-global-reentry-expected.txt: Removed.
* js/implicit-global-to-global-reentry.html: Removed.
* js/imul-expected.txt: Removed.
* js/imul.html: Removed.
* js/inc-bracket-assign-subscript-expected.txt: Removed.
* js/inc-bracket-assign-subscript.html: Removed.
* js/inc-const-valueOf-expected.txt: Removed.
* js/inc-const-valueOf.html: Removed.
* js/indexed-setter-on-global-object-expected.txt: Removed.
* js/indexed-setter-on-global-object.html: Removed.
* js/inline-arguments-tear-off-expected.txt: Removed.
* js/inline-arguments-tear-off.html: Removed.
* js/instanceof-XMLHttpRequest-expected.txt: Removed.
* js/instanceof-XMLHttpRequest.html: Removed.
* js/invalid-syntax-for-function-expected.txt: Removed.
* js/invalid-syntax-for-function.html: Removed.
* js/jit-set-profiling-access-type-only-for-get-by-id-self-expected.txt: Removed.
* js/jit-set-profiling-access-type-only-for-get-by-id-self.html: Removed.
* js/js-constructors-use-correct-global-expected.txt: Removed.
* js/js-constructors-use-correct-global.html: Removed.
* js/js-correct-exception-handler-expected.txt: Removed.
* js/js-correct-exception-handler.html: Removed.
* js/jsc-test-list: Removed.
* js/lastModified-expected.txt: Removed.
* js/lastModified.html: Removed.
* js/lazy-create-arguments-from-get-by-val-expected.txt: Removed.
* js/lazy-create-arguments-from-get-by-val.html: Removed.
* js/lexical-lookup-in-function-constructor-expected.txt: Removed.
* js/lexical-lookup-in-function-constructor.html: Removed.
* js/line-column-numbers-expected.txt: Removed.
* js/line-column-numbers.html: Removed.
* js/method-check-expected.txt: Removed.
* js/method-check.html: Removed.
* js/missing-style-end-tag-js-expected.txt: Removed.
* js/missing-style-end-tag-js.html: Removed.
* js/missing-title-end-tag-js-expected.txt: Removed.
* js/missing-title-end-tag-js.html: Removed.
* js/native-error-prototype-expected.txt: Removed.
* js/native-error-prototype.html: Removed.
* js/navigator-language-expected.txt: Removed.
* js/navigator-language.html: Removed.
* js/navigator-plugins-crash-expected.txt: Removed.
* js/navigator-plugins-crash.html: Removed.
* js/negate-overflow-expected.txt: Removed.
* js/negate-overflow.html: Removed.
* js/neq-null-crash-expected.txt: Removed.
* js/neq-null-crash.html: Removed.
* js/nested-function-scope-expected.txt: Removed.
* js/nested-function-scope.html: Removed.
* js/nested-object-gc-expected.txt: Removed.
* js/nested-object-gc.html: Removed.
* js/non-object-proto-expected.txt: Removed.
* js/non-object-proto.html: Removed.
* js/normal-character-escapes-in-string-literals-expected.txt: Removed.
* js/normal-character-escapes-in-string-literals.html: Removed.
* js/not-a-constructor-to-string-expected.txt: Removed.
* js/not-a-constructor-to-string.html: Removed.
* js/not-a-function-to-string-expected.txt: Removed.
* js/not-a-function-to-string.html: Removed.
* js/null-char-in-string-expected.txt: Removed.
* js/null-char-in-string.html: Removed.
* js/number-tofixed-expected.txt: Removed.
* js/number-tofixed.html: Removed.
* js/number-toprecision-expected.txt: Removed.
* js/number-toprecision.html: Removed.
* js/object-extra-comma-expected.txt: Removed.
* js/object-extra-comma.html: Removed.
* js/object-prototype-constructor-expected.txt: Removed.
* js/object-prototype-constructor.html: Removed.
* js/object-prototype-properties-expected.txt: Removed.
* js/object-prototype-properties.html: Removed.
* js/object-prototype-toLocaleString-expected.txt: Removed.
* js/object-prototype-toLocaleString.html: Removed.
* js/parse-error-external-script-in-eval-expected.txt: Removed.
* js/parse-error-external-script-in-eval.html: Removed.
* js/parse-error-external-script-in-new-Function-expected.txt: Removed.
* js/parse-error-external-script-in-new-Function.html: Removed.
* js/post-inc-assign-overwrites-expected.txt: Removed.
* js/post-inc-assign-overwrites.html: Removed.
* js/post-message-numeric-property-expected.txt: Removed.
* js/post-message-numeric-property.html: Removed.
* js/postfix-syntax-expected.txt: Removed.
* js/postfix-syntax.html: Removed.
* js/prefix-syntax-expected.txt: Removed.
* js/prefix-syntax.html: Removed.
* js/prototype-chain-caching-with-impure-get-own-property-slot-traps-expected.txt: Removed.
* js/prototype-chain-caching-with-impure-get-own-property-slot-traps.html: Removed.
* js/put-direct-index-beyond-vector-length-resize-expected.txt: Removed.
* js/put-direct-index-beyond-vector-length-resize.html: Removed.
* js/put-to-base-global-checked-expected.txt: Removed.
* js/put-to-base-global-checked.html: Removed.
* js/random-array-gc-stress-expected.txt: Removed.
* js/random-array-gc-stress.html: Removed.
* js/recursion-limit-equal-expected.txt: Removed.
* js/recursion-limit-equal.html: Removed.
* js/regexp-bol-expected.txt: Removed.
* js/regexp-bol-with-multiline-expected.txt: Removed.
* js/regexp-bol-with-multiline.html: Removed.
* js/regexp-bol.html: Removed.
* js/regexp-caching-expected.txt: Removed.
* js/regexp-caching.html: Removed.
* js/regexp-charclass-crash-expected.txt: Removed.
* js/regexp-charclass-crash.html: Removed.
* js/regexp-extended-characters-crash-expected.txt: Removed.
* js/regexp-extended-characters-crash.html: Removed.
* js/regexp-lastindex-expected.txt: Removed.
* js/regexp-lastindex.html: Removed.
* js/regexp-look-ahead-empty-expected.txt: Removed.
* js/regexp-look-ahead-empty.html: Removed.
* js/regexp-look-ahead-expected.txt: Removed.
* js/regexp-look-ahead.html: Removed.
* js/regexp-match-reify-before-putbyval-expected.txt: Removed.
* js/regexp-match-reify-before-putbyval.html: Removed.
* js/regexp-non-capturing-groups-expected.txt: Removed.
* js/regexp-non-capturing-groups.html: Removed.
* js/regexp-non-greedy-parentheses-expected.txt: Removed.
* js/regexp-non-greedy-parentheses.html: Removed.
* js/regexp-overflow-expected.txt: Removed.
* js/regexp-overflow.html: Removed.
* js/regexp-range-out-of-order-expected.txt: Removed.
* js/regexp-range-out-of-order.html: Removed.
* js/regexp-ranges-and-escaped-hyphens-expected.txt: Removed.
* js/regexp-ranges-and-escaped-hyphens.html: Removed.
* js/regexp-stack-overflow-expected.txt: Removed.
* js/regexp-stack-overflow.html: Removed.
* js/regexp-test-null-string-expected.txt: Removed.
* js/regexp-test-null-string.html: Removed.
* js/regexp-unicode-handling-expected.txt: Removed.
* js/regexp-unicode-handling.html: Removed.
* js/regexp-unicode-overflow-expected.txt: Removed.
* js/regexp-unicode-overflow.html: Removed.
* js/removing-Cf-characters-expected.txt: Removed.
* js/removing-Cf-characters.html: Removed.
* js/reserved-words-as-property-expected.txt: Removed.
* js/reserved-words-as-property.html: Removed.
* js/same-origin-subframe-about-blank-expected.txt: Removed.
* js/same-origin-subframe-about-blank.html: Removed.
* js/script-line-number-expected.txt: Removed.
* js/script-line-number.html: Removed.
* js/script-tests/Object-defineProperty.js: Removed.
* js/script-tests/activation-proto.js: Removed.
* js/script-tests/array-float-delete.js: Removed.
* js/script-tests/array-join-bug-11524.js: Removed.
* js/script-tests/array-prototype-properties.js: Removed.
* js/script-tests/array-sort-exception.js: Removed.
* js/script-tests/array-tostring-ignore-separator.js: Removed.
* js/script-tests/array-with-double-assign.js: Removed.
* js/script-tests/array-with-double-push.js: Removed.
* js/script-tests/assign.js: Removed.
* js/script-tests/basic-map.js: Removed.
* js/script-tests/basic-set.js: Removed.
* js/script-tests/basic-weakmap.js: Removed.
* js/script-tests/cached-eval-gc.js: Removed.
* js/script-tests/constructor-attributes.js: Removed.
* js/script-tests/constructor.js: Removed.
* js/script-tests/cross-frame-bad-time.js: Removed.
* js/script-tests/cross-frame-really-bad-time-with-__proto__.js: Removed.
* js/script-tests/cross-frame-really-bad-time.js: Removed.
* js/script-tests/cross-global-object-inline-global-var.js: Removed.
* js/script-tests/custom-constructors.js: Removed.
* js/script-tests/cyclic-proto.js: Removed.
* js/script-tests/cyclic-ref-toString.js: Removed.
* js/script-tests/date-DST-time-cusps.js: Removed.
* js/script-tests/date-big-constructor.js: Removed.
* js/script-tests/date-big-setdate.js: Removed.
* js/script-tests/date-big-setmonth.js: Removed.
* js/script-tests/date-negative-setmonth.js: Removed.
* js/script-tests/date-preserve-milliseconds.js: Removed.
* js/script-tests/delete-syntax.js: Removed.
* js/script-tests/dfg-byte-array-put.js: Removed.
* js/script-tests/dfg-byteOffset-neuter.js: Removed.
* js/script-tests/dfg-compare-final-object-to-final-object-or-other.js: Removed.
* js/script-tests/dfg-cross-global-object-inline-new-array-literal-with-variables.js: Removed.
* js/script-tests/dfg-cross-global-object-inline-new-array-literal.js: Removed.
* js/script-tests/dfg-cross-global-object-inline-new-array-with-elements.js: Removed.
* js/script-tests/dfg-cross-global-object-inline-new-array-with-size.js: Removed.
* js/script-tests/dfg-cross-global-object-inline-new-array.js: Removed.
* js/script-tests/dfg-cross-global-object-new-array.js: Removed.
* js/script-tests/dfg-custom-getter-throw-inlined.js: Removed.
* js/script-tests/dfg-custom-getter-throw.js: Removed.
* js/script-tests/dfg-custom-getter.js: Removed.
* js/script-tests/dfg-ensure-array-storage-on-window.js: Removed.
* js/script-tests/dfg-ensure-non-array-array-storage-on-window.js: Removed.
* js/script-tests/dfg-inline-switch-imm.js: Removed.
* js/script-tests/dfg-int32-to-double-on-set-local-and-exit.js: Removed.
* js/script-tests/dfg-int32-to-double-on-set-local-and-sometimes-exit.js: Removed.
* js/script-tests/dfg-logical-not-final-object-or-other.js: Removed.
* js/script-tests/dfg-make-rope-side-effects.js: Removed.
* js/script-tests/dfg-negative-array-size.js: Removed.
* js/script-tests/dfg-patchable-get-by-id-after-watchpoint.js: Removed.
* js/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object.js: Removed.
* js/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object.js: Removed.
* js/script-tests/dfg-peephole-compare-final-object-to-final-object-or-other.js: Removed.
* js/script-tests/dfg-proto-stub-watchpoint-fire.js: Removed.
* js/script-tests/dfg-prototype-chain-caching-with-impure-get-own-property-slot-traps.js: Removed.
* js/script-tests/dfg-put-by-id-allocate-storage-polymorphic.js: Removed.
* js/script-tests/dfg-put-by-id-allocate-storage.js: Removed.
* js/script-tests/dfg-put-by-id-reallocate-storage-polymorphic.js: Removed.
* js/script-tests/dfg-put-by-id-reallocate-storage.js: Removed.
* js/script-tests/dfg-put-by-val-setter-then-get-by-val.js: Removed.
* js/script-tests/dfg-put-to-readonly-property.js: Removed.
* js/script-tests/dfg-rshift-by-zero-eliminate-valuetoint32.js: Removed.
* js/script-tests/dfg-store-unexpected-value-into-argument-and-osr-exit.js: Removed.
* js/script-tests/dfg-strcat-over-objects-then-exit-on-it.js: Removed.
* js/script-tests/dfg-strict-mode-arguments-get-beyond-length.js: Removed.
* js/script-tests/dfg-typed-array-neuter.js: Removed.
* js/script-tests/document-all-triggers-masquerades-watchpoint.js: Removed.
* js/script-tests/dot-node-base-exception.js: Removed.
* js/script-tests/end-in-string-escape.js: Removed.
* js/script-tests/enter-dictionary-indexing-mode-with-blank-indexing-type.js: Removed.
* js/script-tests/eval-cache-scoped-lookup.js: Removed.
* js/script-tests/eval-contained-syntax-error.js: Removed.
* js/script-tests/exception-line-number.js: Removed.
* js/script-tests/exception-registerfile-shrink.js: Removed.
* js/script-tests/function-bind.js: Removed.
* js/script-tests/function-name.js: Removed.
* js/script-tests/function-names.js: Removed.
* js/script-tests/get-by-pname-only-prototype-properties.js: Removed.
* js/script-tests/global-constructors-attributes.js: Removed.
* js/script-tests/global-constructors-deletable.js: Removed.
* js/script-tests/global-function-resolve.js: Removed.
* js/script-tests/immediate-constant-instead-of-cell.js: Removed.
* js/script-tests/implicit-call-with-global-reentry.js: Removed.
* js/script-tests/imul.js: Removed.
* js/script-tests/inc-bracket-assign-subscript.js: Removed.
* js/script-tests/inc-const-valueOf.js: Removed.
* js/script-tests/indexed-setter-on-global-object.js: Removed.
* js/script-tests/inline-arguments-tear-off.js: Removed.
* js/script-tests/instanceof-XMLHttpRequest.js: Removed.
* js/script-tests/jit-set-profiling-access-type-only-for-get-by-id-self.js: Removed.
* js/script-tests/js-correct-exception-handler.js: Removed.
* js/script-tests/lastModified.js: Removed.
* js/script-tests/lazy-create-arguments-from-get-by-val.js: Removed.
* js/script-tests/line-column-numbers.js: Removed.
* js/script-tests/method-check.js: Removed.
* js/script-tests/native-error-prototype.js: Removed.
* js/script-tests/neq-null-crash.js: Removed.
* js/script-tests/nested-object-gc.js: Removed.
* js/script-tests/non-object-proto.js: Removed.
* js/script-tests/normal-character-escapes-in-string-literals.js: Removed.
* js/script-tests/null-char-in-string.js: Removed.
* js/script-tests/number-tofixed.js: Removed.
* js/script-tests/number-toprecision.js: Removed.
* js/script-tests/object-extra-comma.js: Removed.
* js/script-tests/object-prototype-constructor.js: Removed.
* js/script-tests/object-prototype-properties.js: Removed.
* js/script-tests/object-prototype-toLocaleString.js: Removed.
* js/script-tests/post-inc-assign-overwrites.js: Removed.
* js/script-tests/post-message-numeric-property.js: Removed.
* js/script-tests/postfix-syntax.js: Removed.
* js/script-tests/prefix-syntax.js: Removed.
* js/script-tests/prototype-chain-caching-with-impure-get-own-property-slot-traps.js: Removed.
* js/script-tests/put-direct-index-beyond-vector-length-resize.js: Removed.
* js/script-tests/put-to-base-global-checked.js: Removed.
* js/script-tests/random-array-gc-stress.js: Removed.
* js/script-tests/recursion-limit-equal.js: Removed.
* js/script-tests/regexp-bol-with-multiline.js: Removed.
* js/script-tests/regexp-bol.js: Removed.
* js/script-tests/regexp-extended-characters-crash.js: Removed.
* js/script-tests/regexp-lastindex.js: Removed.
* js/script-tests/regexp-look-ahead-empty.js: Removed.
* js/script-tests/regexp-look-ahead.js: Removed.
* js/script-tests/regexp-match-reify-before-putbyval.js: Removed.
* js/script-tests/regexp-non-capturing-groups.js: Removed.
* js/script-tests/regexp-non-greedy-parentheses.js: Removed.
* js/script-tests/regexp-overflow.js: Removed.
* js/script-tests/regexp-range-out-of-order.js: Removed.
* js/script-tests/regexp-ranges-and-escaped-hyphens.js: Removed.
* js/script-tests/regexp-stack-overflow.js: Removed.
* js/script-tests/regexp-unicode-handling.js: Removed.
* js/script-tests/regexp-unicode-overflow.js: Removed.
* js/script-tests/removing-Cf-characters.js: Removed.
* js/script-tests/reserved-words-as-property.js: Removed.
* js/script-tests/select-options-add.js: Removed.
* js/script-tests/stack-at-creation-for-error-objects.js: Removed.
* js/script-tests/stack-trace.js: Removed.
* js/script-tests/strict-readonly-statics.js: Removed.
* js/script-tests/string-match.js: Removed.
* js/script-tests/string-prototype-properties.js: Removed.
* js/script-tests/string-replace-2.js: Removed.
* js/script-tests/string-replace-3.js: Removed.
* js/script-tests/string-replacement-outofmemory.js: Removed.
* js/script-tests/string-split-conformance.js: Removed.
* js/script-tests/string-split-double-empty.js: Removed.
* js/script-tests/string-split-ignore-case.js: Removed.
* js/script-tests/switch-behaviour.js: Removed.
* js/script-tests/throw-exception-in-global-setter.js: Removed.
* js/script-tests/toInt32UInt32.js: Removed.
* js/script-tests/toString-exception.js: Removed.
* js/script-tests/toString-overrides.js: Removed.
* js/script-tests/toString-stack-overflow.js: Removed.
* js/script-tests/transition-cache-dictionary-crash.js: Removed.
* js/script-tests/typed-array-access.js: Removed.
* js/script-tests/typed-array-set-different-types.js: Removed.
* js/script-tests/typeof-syntax.js: Removed.
* js/script-tests/unshift-multi.js: Removed.
* js/script-tests/vardecl-preserve-arguments.js: Removed.
* js/script-tests/webcore-string-comparison.js: Removed.
* js/script-tests/with-scope-gc.js: Removed.
* js/select-options-add-expected.txt: Removed.
* js/select-options-add.html: Removed.
* js/select-options-remove-expected.txt: Removed.
* js/select-options-remove-gc-expected.txt: Removed.
* js/select-options-remove-gc.html: Removed.
* js/select-options-remove.html: Removed.
* js/stack-at-creation-for-error-objects-expected.txt: Removed.
* js/stack-at-creation-for-error-objects.html: Removed.
* js/stack-trace-expected.txt: Removed.
* js/stack-trace.html: Removed.
* js/strict-readonly-statics-expected.txt: Removed.
* js/strict-readonly-statics.html: Removed.
* js/string-anchor-expected.txt: Removed.
* js/string-anchor.html: Removed.
* js/string-concatenate-outofmemory-expected.txt: Removed.
* js/string-fontcolor-expected.txt: Removed.
* js/string-fontcolor.html: Removed.
* js/string-fontsize-expected.txt: Removed.
* js/string-fontsize.html: Removed.
* js/string-link-expected.txt: Removed.
* js/string-link.html: Removed.
* js/string-match-expected.txt: Removed.
* js/string-match.html: Removed.
* js/string-prototype-properties-expected.txt: Removed.
* js/string-prototype-properties.html: Removed.
* js/string-replace-2-expected.txt: Removed.
* js/string-replace-2.html: Removed.
* js/string-replace-3-expected.txt: Removed.
* js/string-replace-3.html: Removed.
* js/string-replace-exception-crash-expected.txt: Removed.
* js/string-replace-exception-crash.html: Removed.
* js/string-replacement-outofmemory-expected.txt: Removed.
* js/string-replacement-outofmemory.html: Removed.
* js/string-split-conformance-expected.txt: Removed.
* js/string-split-conformance.html: Removed.
* js/string-split-double-empty-expected.txt: Removed.
* js/string-split-double-empty.html: Removed.
* js/string-split-ignore-case-expected.txt: Removed.
* js/string-split-ignore-case.html: Removed.
* js/switch-behaviour-expected.txt: Removed.
* js/switch-behaviour.html: Removed.
* js/text-field-resize-expected.txt: Removed.
* js/text-field-resize.html: Removed.
* js/throw-exception-in-global-setter-expected.txt: Removed.
* js/throw-exception-in-global-setter.html: Removed.
* js/throw-from-array-sort-expected.txt: Removed.
* js/throw-from-array-sort.html: Removed.
* js/toInt32UInt32-expected.txt: Removed.
* js/toInt32UInt32.html: Removed.
* js/toString-and-valueOf-override-expected.txt: Removed.
* js/toString-and-valueOf-override.html: Removed.
* js/toString-dontEnum-expected.txt: Removed.
* js/toString-dontEnum.html: Removed.
* js/toString-exception-expected.txt: Removed.
* js/toString-exception.html: Removed.
* js/toString-number-expected.txt: Removed.
* js/toString-number.html: Removed.
* js/toString-overrides-expected.txt: Removed.
* js/toString-overrides.html: Removed.
* js/toString-stack-overflow-expected.txt: Removed.
* js/toString-stack-overflow.html: Removed.
* js/toString-try-else-expected.txt: Removed.
* js/toString-try-else.html: Removed.
* js/transition-cache-dictionary-crash-expected.txt: Removed.
* js/transition-cache-dictionary-crash.html: Removed.
* js/trivial-functions-expected.txt: Removed.
* js/trivial-functions.html: Removed.
* js/try-catch-crash-expected.txt: Removed.
* js/try-catch-crash.html: Removed.
* js/typed-array-access-expected.txt: Removed.
* js/typed-array-access.html: Removed.
* js/typed-array-set-different-types-expected.txt: Removed.
* js/typed-array-set-different-types.html: Removed.
* js/typeof-syntax-expected.txt: Removed.
* js/typeof-syntax.html: Removed.
* js/uncaught-exception-line-number-expected.txt: Removed.
* js/uncaught-exception-line-number.html: Removed.
* js/unshift-multi-expected.txt: Removed.
* js/unshift-multi.html: Removed.
* js/var-declarations-expected.txt: Removed.
* js/var-declarations-shadowing-expected.txt: Removed.
* js/var-declarations-shadowing.html: Removed.
* js/var-declarations.html: Removed.
* js/vardecl-preserve-arguments-expected.txt: Removed.
* js/vardecl-preserve-arguments.html: Removed.
* js/vardecl-preserve-parameters-expected.txt: Removed.
* js/vardecl-preserve-parameters.html: Removed.
* js/vardecl-preserve-vardecl-expected.txt: Removed.
* js/vardecl-preserve-vardecl.html: Removed.
* js/webcore-string-comparison-expected.txt: Removed.
* js/webcore-string-comparison.html: Removed.
* js/webidl-type-mapping-expected.txt: Removed.
* js/webidl-type-mapping.html: Removed.
* js/while-expression-value-expected.txt: Removed.
* js/while-expression-value.html: Removed.
* js/window-location-href-file-urls-expected.txt: Removed.
* js/window-location-href-file-urls.html: Removed.
* js/with-scope-gc-expected.txt: Removed.
* js/with-scope-gc.html: Removed.
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/mac/js/constructor-length-expected.txt: Removed.
* platform/mac/js/dom: Added.
* platform/mac/js/dom/constructor-length-expected.txt: Copied from LayoutTests/platform/mac/js/constructor-length-expected.txt.
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156066
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 22:17:02 +0000 (22:17 +0000)]
Unreviewed, fix for Ruby 1.8.
* Scripts/run-jsc-stress-tests:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156065
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 22:09:06 +0000 (22:09 +0000)]
Give 'jsc' commandline an option to disable deleting the VM.
Reviewed by Mark Hahnenberg.
* jsc.cpp:
(jscmain):
* runtime/Options.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156064
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 18 Sep 2013 21:45:58 +0000 (21:45 +0000)]
Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebKit and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=121568
Reviewed by Andreas Kling.
../WebKit/win:
* WebHistory.cpp:
(WebHistory::removeAllItems):
(WebHistory::orderedLastVisitedDays):
(WebHistory::addItemToDateCaches):
(WebHistory::removeItemFromDateCaches):
* WebHistory.h:
* WebPreferences.cpp:
(WebPreferences::copyWebKitPreferencesToCFPreferences):
../WebKit2:
* Platform/CoreIPC/unix/ConnectionUnix.cpp:
(CoreIPC::Connection::processMessage):
(CoreIPC::readBytesFromSocket):
(CoreIPC::Connection::sendOutgoingMessage):
* UIProcess/API/efl/EwkView.cpp:
(EwkView::feedTouchEvent):
(EwkView::feedTouchEvents):
* UIProcess/API/efl/SnapshotImageGL.h:
* UIProcess/API/efl/ewk_file_chooser_request.cpp:
(ewk_file_chooser_request_files_choose):
* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
(WebKit::createArgsArray):
(WebKit::ProcessLauncher::launchProcess):
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCopyContextMenuItems):
* WebProcess/InjectedBundle/InjectedBundle.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156063
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 21:38:56 +0000 (21:38 +0000)]
run-jsc-stress-tests should make it easier to look at error spew from tests
https://bugs.webkit.org/show_bug.cgi?id=121531
Reviewed by Mark Hahnenberg.
This makes two changes:
- The out/err spew from each test is now saved to a .out file in jsc-stress-results.
- The same spew also goes to the console but is prefixed by the test's name.
This required some tee and awk hacks, and then some sh hacks to work around the fact
that if you do "(foo | bar) || baz", and foo fails, then baz won't run - the ||
operator will only see a failure of bar failed. So to pass output to tee and awk, I
needed to do weird things.
* Scripts/run-jsc-stress-tests:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156062
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Wed, 18 Sep 2013 21:12:28 +0000 (21:12 +0000)]
Fix svg/masking/* tests
https://bugs.webkit.org/show_bug.cgi?id=121570
Reviewed by Rob Buis.
Merge https://chromium.googlesource.com/chromium/blink/+/
975b3219677968706cbddb9295ceada05c092dd6
"rx" is not a valid <circle> attribute - these tests were not drawing anything.
Also switching to rects to avoid reftest antialiasing issues.
For non-alpha variants, using a 50% luminance to capture the effect on the output color.
* svg/masking/mask-type-alpha-expected.svg:
* svg/masking/mask-type-alpha.svg:
* svg/masking/mask-type-luminance-expected.svg:
* svg/masking/mask-type-luminance.svg:
* svg/masking/mask-type-not-set-expected.svg:
* svg/masking/mask-type-not-set.svg:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156061
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Wed, 18 Sep 2013 21:08:00 +0000 (21:08 +0000)]
[Windows] Unreviewed build fix: Expose PlatformArchitecture macro to build system.
* win/tools/vsprops/common.props:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156060
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Wed, 18 Sep 2013 20:45:20 +0000 (20:45 +0000)]
[Windows] Unreviewed build correction.
* WTF.vcxproj/WTFGeneratedCommon.props: Export PLATFORMARCHITECTURE macro for use in
Makefiles and shell scripts.
* WTF.vcxproj/build-generated-files.sh: Output header search path to identify when the build
is confused about build architecture.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156059
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Wed, 18 Sep 2013 20:33:11 +0000 (20:33 +0000)]
[MSE] Throw exception when setting timestampOffset while 'updating' state is set.
https://bugs.webkit.org/show_bug.cgi?id=121561
Reviewed by Eric Carlson.
Source/WebCore:
Tests: Updated http/tests/media/media-source/mediasource-append-buffer.html.
Merge https://chromium.googlesource.com/chromium/blink/+/
25285998be3d0edcd951d12d445a7375e50e512c
by Changbin Shao.
The Media Source Extensions spec requires that an exception be thrown if the 'updating' attribute
equals true while setting the timestampOffset of a SourceBuffer.
* Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::setTimestampOffset):
LayoutTests:
* http/tests/media/media-source/mediasource-append-buffer-expected.txt:
* http/tests/media/media-source/mediasource-append-buffer.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156058
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Wed, 18 Sep 2013 20:31:15 +0000 (20:31 +0000)]
REGRESSION (r129451): run-safari --no-saved-state is broken
https://bugs.webkit.org/show_bug.cgi?id=121566
Reviewed by Mark Rowe.
* Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp):
Check arguments, not the newly created empty array. Pass a value that silences warnings.
While at it, removed a check for Snow Leopard.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156057
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 18 Sep 2013 19:51:28 +0000 (19:51 +0000)]
RefPtrHashMap should work with move only types
https://bugs.webkit.org/show_bug.cgi?id=121564
Reviewed by Andreas Kling.
Source/JavaScriptCore:
* runtime/VM.cpp:
(JSC::VM::addSourceProviderCache):
Source/WebCore:
* bridge/IdentifierRep.cpp:
(WebCore::IdentifierRep::get):
* page/PageGroup.cpp:
(WebCore::PageGroup::transientLocalStorage):
Source/WebKit/mac:
* Plugins/Hosted/ProxyInstance.mm:
(WebKit::ProxyInstance::methodNamed):
(WebKit::ProxyInstance::fieldNamed):
Source/WebKit2:
* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::LocalStorageNamespace::getOrCreateStorageArea):
(WebKit::StorageManager::SessionStorageNamespace::getOrCreateStorageArea):
* WebProcess/Storage/StorageNamespaceImpl.cpp:
(WebKit::StorageNamespaceImpl::storageArea):
Source/WTF:
Add the same rvalue references and std::forward calls that already exist in HashMap.
* wtf/RefPtrHashMap.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156056
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
enrica@apple.com [Wed, 18 Sep 2013 19:13:18 +0000 (19:13 +0000)]
Upstream changes to WebHTMLConverter to support HTML
to NSAttributedString conversion on both iOS and OS X.
Reviewed by Benjamin Poulain.
This is a new submission of r156001 with the fix for the
failing TestWebKitAPI test. The additional change has been
reviewed by Tim Horton.
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
(WebDefaultFont):
(_fontForNameAndSize):
(+[WebHTMLConverter defaultParagraphStyle]):
(-[WebHTMLConverter _computedStyleForElement:]):
(-[WebHTMLConverter _specifiedStyleForElement:]):
(-[WebHTMLConverter _computedStringForNode:property:]):
(-[WebHTMLConverter _stringForNode:property:]):
(-[WebHTMLConverter _getComputedFloat:forNode:property:]):
(-[WebHTMLConverter _getFloat:forNode:property:]):
(_NSFirstPathForDirectoriesInDomains):
(_NSSystemLibraryPath):
(-[WebHTMLConverter _webKitBundle]):
(_colorForRGBColor):
(_shadowForShadowStyle):
(-[WebHTMLConverter _elementIsBlockLevel:]):
(-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
(-[WebHTMLConverter _computedColorForNode:property:]):
(-[WebHTMLConverter _colorForNode:property:]):
(-[WebHTMLConverter _computedAttributesForElement:]):
(-[WebHTMLConverter _attributesForElement:]):
(-[WebHTMLConverter _newParagraphForElement:tag:allowEmpty:suppressTrailingSpace:]):
(-[WebHTMLConverter _newLineForElement:]):
(-[WebHTMLConverter _newTabForElement:]):
(-[WebHTMLConverter _WebMessageDocumentClass]):
(-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
(-[WebHTMLConverter _addQuoteForElement:opening:level:]):
(-[WebHTMLConverter _addValue:forElement:]):
(-[WebHTMLConverter _fillInBlock:forElement:backgroundColor:extraMargin:extraPadding:isTable:]):
(_dateForString):
(_colCompare):
(-[WebHTMLConverter _processMetaElementWithName:content:]):
(-[WebHTMLConverter _processHeadElement:]):
(-[WebHTMLConverter _enterElement:tag:display:embedded:]):
(-[WebHTMLConverter _addTableForElement:]):
(-[WebHTMLConverter _addTableCellForElement:]):
(-[WebHTMLConverter _processElement:tag:display:depth:]):
(-[WebHTMLConverter _addMarkersToList:range:]):
(-[WebHTMLConverter _exitElement:tag:display:depth:startIndex:]):
(-[WebHTMLConverter _processText:]):
(-[WebHTMLConverter _traverseNode:depth:embedded:]):
(-[WebHTMLConverter _traverseFooterNode:depth:]):
(-[WebHTMLConverter _loadFromDOMRange]):
(-[WebHTMLConverter dealloc]):
(-[WebHTMLConverter init]):
(-[WebHTMLConverter initWithDOMRange:]):
(-[WebHTMLConverter attributedString]):
(+[WebHTMLConverter editingAttributedStringFromRange:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156055
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Wed, 18 Sep 2013 18:04:32 +0000 (18:04 +0000)]
Rename RenderBR to RenderLineBreak
https://bugs.webkit.org/show_bug.cgi?id=121560
Reviewed by Sam Weinig.
It now represents both hard (br) and soft (wbr) line breaks.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156054
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
robert@webkit.org [Wed, 18 Sep 2013 17:58:25 +0000 (17:58 +0000)]
Quirksmode: Break Tag Extra Space Bug
https://bugs.webkit.org/show_bug.cgi?id=11943
Reviewed by David Hyatt.
Source/WebCore:
Collapse away all space between text and a hard line-break when in a right-aligned
container so that the trailing space doesn't push the text away from the container edge.
Test: fast/text/whitespace/trailing-space-before-br-in-right-aligned-text.html
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
LayoutTests:
* fast/text/whitespace/trailing-space-before-br-in-right-aligned-text-expected.html: Added.
* fast/text/whitespace/trailing-space-before-br-in-right-aligned-text.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156053
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Wed, 18 Sep 2013 17:45:11 +0000 (17:45 +0000)]
Unreviewed build fix for Qt (and other) ports after 156049.
Wrap implementation of PublicURLManager in ENABLE(BLOB) check.
* html/PublicURLManager.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156052
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Wed, 18 Sep 2013 17:32:29 +0000 (17:32 +0000)]
Make WebHistory more type safe
https://bugs.webkit.org/show_bug.cgi?id=119389
Reviewed by Brent Fulgham.
Use a WTF::HashMap instead of a CFMutableDictionary to avoid
casting from void* all the time when accessing the entries.
This reduces the dependencies on CoreFoundation too.
* WebHistory.cpp:
(WebHistory::WebHistory):
(WebHistory::removeAllItems):
(WebHistory::allItems):
(WebHistory::removeItem):
(WebHistory::addItem):
(WebHistory::visitedURL):
(WebHistory::itemForURL):
(WebHistory::removeItemForURLString):
(WebHistory::itemForURLString):
(WebHistory::addVisitedLinksToPageGroup):
* WebHistory.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156051
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mhahnenberg@apple.com [Wed, 18 Sep 2013 17:27:08 +0000 (17:27 +0000)]
Rename OperationInProgress to HeapOperation and move it out of Heap.h into its own header
https://bugs.webkit.org/show_bug.cgi?id=121534
Reviewed by Geoffrey Garen.
OperationInProgress is a silly name.
Many parts of the Heap would like to know what HeapOperation is currently underway, but
since they are included in Heap.h they can't directly reference HeapOperation if it also
lives in Heap.h. The simplest thing to do is to give HeapOperation its own header. While
a bit overkill, it simplifies including it wherever its needed.
* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::updateAllPredictionsAndCountLiveness):
(JSC::CodeBlock::updateAllValueProfilePredictions):
(JSC::CodeBlock::updateAllPredictions):
* bytecode/CodeBlock.h:
(JSC::CodeBlock::updateAllValueProfilePredictions):
(JSC::CodeBlock::updateAllPredictions):
* bytecode/LazyOperandValueProfile.cpp:
(JSC::CompressedLazyOperandValueProfileHolder::computeUpdatedPredictions):
* bytecode/LazyOperandValueProfile.h:
* bytecode/ValueProfile.h:
(JSC::ValueProfileBase::computeUpdatedPrediction):
* heap/Heap.h:
* heap/HeapOperation.h: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156050
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Wed, 18 Sep 2013 17:25:42 +0000 (17:25 +0000)]
Merge blink MediaSource changes since fork.
https://bugs.webkit.org/show_bug.cgi?id=118752
Rubber-stamped by Eric Carlson.
Source/WebCore:
Tests: http/tests/media/media-source/mediasource-addsourcebuffer.html
http/tests/media/media-source/mediasource-append-buffer.html
http/tests/media/media-source/mediasource-buffered.html
http/tests/media/media-source/mediasource-closed.html
http/tests/media/media-source/mediasource-config-change-mp4-a-bitrate.html
http/tests/media/media-source/mediasource-config-change-mp4-av-audio-bitrate.html
http/tests/media/media-source/mediasource-config-change-mp4-av-framesize.html
http/tests/media/media-source/mediasource-config-change-mp4-av-video-bitrate.html
http/tests/media/media-source/mediasource-config-change-mp4-v-bitrate.html
http/tests/media/media-source/mediasource-config-change-mp4-v-framerate.html
http/tests/media/media-source/mediasource-config-change-mp4-v-framesize.html
http/tests/media/media-source/mediasource-config-change-webm-a-bitrate.html
http/tests/media/media-source/mediasource-config-change-webm-av-audio-bitrate.html
http/tests/media/media-source/mediasource-config-change-webm-av-framesize.html
http/tests/media/media-source/mediasource-config-change-webm-av-video-bitrate.html
http/tests/media/media-source/mediasource-config-change-webm-v-bitrate.html
http/tests/media/media-source/mediasource-config-change-webm-v-framerate.html
http/tests/media/media-source/mediasource-config-change-webm-v-framesize.html
http/tests/media/media-source/mediasource-is-type-supported.html
http/tests/media/media-source/mediasource-multiple-attach.html
http/tests/media/media-source/mediasource-play.html
http/tests/media/media-source/mediasource-sourcebufferlist.html
Add files to project. Fix compile errors exposed by enabling.
* WebCore.xcodeproj/project.pbxproj:
* Modules/mediasource/MediaSourceRegistry.cpp:
(WebCore::MediaSourceRegistry::lookupMediaSource):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(WebCore::MediaPlayerPrivateAVFoundation::load):
* platform/graphics/mac/MediaPlayerPrivateQTKit.h:
(WebCore::MediaPlayerPrivateQTKit::load):
* platform/mac/MIMETypeRegistryMac.mm:
(WebCore::MIMETypeRegistry::isSupportedMediaSourceMIMEType):
* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
Merge
https://chromium.googlesource.com/chromium/blink/+/
c38e2955db98a300a535b692869fea0e41501497
https://chromium.googlesource.com/chromium/blink/+/
8568015e9bee1de7fccee28163f9e4a4b51f9baf
https://chromium.googlesource.com/chromium/blink/+/
14417e8fa6294f4e7dbc1e0fac549398522b2f97
https://chromium.googlesource.com/chromium/blink/+/
f43a5496f233102f8861a067a9cf8053c010d401
https://chromium.googlesource.com/chromium/blink/+/
57771439806f7c6e6a272efb1ea72900f5f6a015
https://chromium.googlesource.com/chromium/blink/+/
8c77a790a9d225194db0a8832399d0f9e1fa54ec
https://chromium.googlesource.com/chromium/blink/+/
d33ae3fa7a8592e946503ed17f862a27c6d9dde1
https://chromium.googlesource.com/chromium/blink/+/
1caaa9c51f06e1b9341d58c994f77fd59fcd236d
https://chromium.googlesource.com/chromium/blink/+/
e95720393b0ebe67f19de39bb77cdf2926165512
https://chromium.googlesource.com/chromium/blink/+/
bad2c1b4b70faec731b2ad3cc8a4ccf28de6cc38
https://chromium.googlesource.com/chromium/blink/+/
a7873430c3d5c9373336c6f3993db3cb4228e9cd
https://chromium.googlesource.com/chromium/blink/+/
508966d5e32360b3cec058f9fbae0014542fbc52
https://chromium.googlesource.com/chromium/blink/+/
371dfe72f61ce6f73e6c242324da73c415d38be3
LayoutTests:
* http/tests/media/media-source/mediasource-addsourcebuffer-expected.txt: Added.
* http/tests/media/media-source/mediasource-addsourcebuffer.html: Added.
* http/tests/media/media-source/mediasource-append-buffer-expected.txt: Added.
* http/tests/media/media-source/mediasource-append-buffer.html: Added.
* http/tests/media/media-source/mediasource-buffered-expected.txt: Added.
* http/tests/media/media-source/mediasource-buffered.html: Added.
* http/tests/media/media-source/mediasource-closed-expected.txt: Added.
* http/tests/media/media-source/mediasource-closed.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-a-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-a-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-audio-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-audio-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-framesize-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-framesize.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-video-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-av-video-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-framerate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-framerate.html: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-framesize-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-mp4-v-framesize.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-a-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-a-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-audio-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-audio-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-framesize-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-framesize.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-video-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-av-video-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-bitrate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-bitrate.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-framerate-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-framerate.html: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-framesize-expected.txt: Added.
* http/tests/media/media-source/mediasource-config-change-webm-v-framesize.html: Added.
* http/tests/media/media-source/mediasource-config-changes.js: Added.
* http/tests/media/media-source/mediasource-is-type-supported-expected.txt: Added.
* http/tests/media/media-source/mediasource-is-type-supported.html: Added.
* http/tests/media/media-source/mediasource-multiple-attach-expected.txt: Added.
* http/tests/media/media-source/mediasource-multiple-attach.html: Added.
* http/tests/media/media-source/mediasource-play-expected.txt: Added.
* http/tests/media/media-source/mediasource-play.html: Added.
* http/tests/media/media-source/mediasource-sourcebufferlist-expected.txt: Added.
* http/tests/media/media-source/mediasource-sourcebufferlist.html: Added.
* http/tests/media/media-source/mediasource-util.js: Added.
* http/tests/media/media-source/video-media-source-objects-expected.txt:
* http/tests/media/resources/media-source/generate-config-change-tests.py: Added.
* http/tests/media/resources/media-source/mp4/test-a-128k-44100Hz-1ch-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-a-192k-44100Hz-1ch-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-av-384k-44100Hz-1ch-320x240-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-av-384k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-av-448k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-av-640k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-v-128k-320x240-24fps-8kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-v-128k-320x240-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-v-128k-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/mp4/test-v-256k-320x240-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-a-128k-44100Hz-1ch-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-a-192k-44100Hz-1ch-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-av-384k-44100Hz-1ch-320x240-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-av-384k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-av-448k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-av-640k-44100Hz-1ch-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-v-128k-320x240-24fps-8kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-v-128k-320x240-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-v-128k-640x480-30fps-10kfr-manifest.json: Added.
* http/tests/media/resources/media-source/webm/test-v-256k-320x240-30fps-10kfr-manifest.json: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156049
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 17:21:56 +0000 (17:21 +0000)]
Improved WinLauncher's URL handling.
https://bugs.webkit.org/show_bug.cgi?id=121535
Patch by Alex Christensen <achristensen@webkit.org> on 2013-09-18
Reviewed by Brent Fulgham.
* WinLauncher/WinLauncher.cpp:
(EditProc):
Use INTERNET_MAX_URL_LENGTH instead of our MAX_URL_LENGTH.
(loadURL):
Prepend "http://" to URLs with no scheme.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156048
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 17:14:02 +0000 (17:14 +0000)]
DFG should support Int52 for local variables
https://bugs.webkit.org/show_bug.cgi?id=121064
Source/JavaScriptCore:
Reviewed by Oliver Hunt.
This adds Int52 support for local variables to the DFG and FTL. It's a speed-up on
programs that have local int32 overflows but where a larger int representation can
prevent us from having to convert all the way up to double.
It's a small speed-up for now. But we're just supporting Int52 for a handful of
operations (add, sub, mul, neg, compare, bitops, typed array access) and this lays
the groundwork for adding Int52 to JSValue, which will probably be a bigger
speed-up.
The basic approach is:
- We have a notion of Int52 in our typesystem. Int52 doesn't belong to BytecodeTop
or HeapTop - i.e. it doesn't arise from JSValues.
- DFG treats Int52 as being part of its FullTop and will treat it as being a
subtype of double unless instructed otherwise.
- Prediction propagator creates Int52s whenever we have a node going doubly but due
to large values rather than fractional values, and that node is known to be able
to produce Int52 natively in the DFG backend.
- Fixup phase converts edges to MachineIntUses in nodes that are known to be able
to deal with Int52, and where we have a subtype of Int32|Int52 as the predicted
input.
- The DFG backend and FTL LLVM IR lowering have two notions of Int52s - ones that
are left-shifted by 16 (great for overflow checks) and ones that are
sign-extended. Both backends know how to convert between Int52s and the other
representations.
* assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::rshift64):
(JSC::MacroAssemblerX86_64::mul64):
(JSC::MacroAssemblerX86_64::branchMul64):
(JSC::MacroAssemblerX86_64::branchNeg64):
(JSC::MacroAssemblerX86_64::convertInt64ToDouble):
* assembler/X86Assembler.h:
(JSC::X86Assembler::imulq_rr):
(JSC::X86Assembler::cvtsi2sdq_rr):
* bytecode/DataFormat.h:
(JSC::dataFormatToString):
* bytecode/ExitKind.cpp:
(JSC::exitKindToString):
* bytecode/ExitKind.h:
* bytecode/OperandsInlines.h:
(JSC::::dumpInContext):
* bytecode/SpeculatedType.cpp:
(JSC::dumpSpeculation):
(JSC::speculationToAbbreviatedString):
(JSC::speculationFromValue):
* bytecode/SpeculatedType.h:
(JSC::isInt32SpeculationForArithmetic):
(JSC::isInt52Speculation):
(JSC::isMachineIntSpeculationForArithmetic):
(JSC::isInt52AsDoubleSpeculation):
(JSC::isBytecodeRealNumberSpeculation):
(JSC::isFullRealNumberSpeculation):
(JSC::isBytecodeNumberSpeculation):
(JSC::isFullNumberSpeculation):
(JSC::isBytecodeNumberSpeculationExpectingDefined):
(JSC::isFullNumberSpeculationExpectingDefined):
* bytecode/ValueRecovery.h:
(JSC::ValueRecovery::alreadyInJSStackAsUnboxedInt52):
(JSC::ValueRecovery::inGPR):
(JSC::ValueRecovery::displacedInJSStack):
(JSC::ValueRecovery::isAlreadyInJSStack):
(JSC::ValueRecovery::gpr):
(JSC::ValueRecovery::virtualRegister):
(JSC::ValueRecovery::dumpInContext):
* dfg/DFGAbstractInterpreter.h:
(JSC::DFG::AbstractInterpreter::needsTypeCheck):
(JSC::DFG::AbstractInterpreter::filterByType):
* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::::executeEffects):
* dfg/DFGAbstractValue.cpp:
(JSC::DFG::AbstractValue::set):
(JSC::DFG::AbstractValue::checkConsistency):
* dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::couldBeType):
(JSC::DFG::AbstractValue::isType):
(JSC::DFG::AbstractValue::checkConsistency):
(JSC::DFG::AbstractValue::validateType):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::ArrayMode::refine):
* dfg/DFGAssemblyHelpers.h:
(JSC::DFG::AssemblyHelpers::boxInt52):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::makeSafe):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::pureCSE):
(JSC::DFG::CSEPhase::getByValLoadElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGClobberize.h:
(JSC::DFG::clobberize):
* dfg/DFGCommon.h:
(JSC::DFG::enableInt52):
* dfg/DFGDCEPhase.cpp:
(JSC::DFG::DCEPhase::fixupBlock):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::run):
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
(JSC::DFG::FixupPhase::fixupUntypedSetLocalsInBlock):
(JSC::DFG::FixupPhase::observeUseKindOnNode):
(JSC::DFG::FixupPhase::fixEdge):
(JSC::DFG::FixupPhase::injectInt32ToDoubleNode):
(JSC::DFG::FixupPhase::attemptToMakeIntegerAdd):
* dfg/DFGFlushFormat.cpp:
(WTF::printInternal):
* dfg/DFGFlushFormat.h:
(JSC::DFG::resultFor):
(JSC::DFG::useKindFor):
* dfg/DFGGenerationInfo.h:
(JSC::DFG::GenerationInfo::initInt52):
(JSC::DFG::GenerationInfo::initStrictInt52):
(JSC::DFG::GenerationInfo::isFormat):
(JSC::DFG::GenerationInfo::isInt52):
(JSC::DFG::GenerationInfo::isStrictInt52):
(JSC::DFG::GenerationInfo::fillInt52):
(JSC::DFG::GenerationInfo::fillStrictInt52):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::addShouldSpeculateMachineInt):
(JSC::DFG::Graph::mulShouldSpeculateMachineInt):
(JSC::DFG::Graph::negateShouldSpeculateMachineInt):
* dfg/DFGInPlaceAbstractState.cpp:
(JSC::DFG::InPlaceAbstractState::mergeStateAtTail):
* dfg/DFGJITCode.cpp:
(JSC::DFG::JITCode::reconstruct):
* dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::noticeOSREntry):
* dfg/DFGMinifiedNode.h:
(JSC::DFG::belongsInMinifiedGraph):
(JSC::DFG::MinifiedNode::hasChild):
* dfg/DFGNode.h:
(JSC::DFG::Node::shouldSpeculateNumber):
(JSC::DFG::Node::shouldSpeculateNumberExpectingDefined):
(JSC::DFG::Node::canSpeculateInt52):
* dfg/DFGNodeFlags.h:
(JSC::DFG::nodeCanSpeculateInt52):
* dfg/DFGNodeType.h:
(JSC::DFG::permitsOSRBackwardRewiring):
(JSC::DFG::forwardRewiringSelectionScore):
* dfg/DFGOSREntry.cpp:
(JSC::DFG::prepareOSREntry):
* dfg/DFGOSREntry.h:
* dfg/DFGOSRExitCompiler.cpp:
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::speculatedDoubleTypeForPrediction):
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doDoubleVoting):
* dfg/DFGSafeToExecute.h:
(JSC::DFG::SafeToExecuteEdge::operator()):
(JSC::DFG::safeToExecute):
* dfg/DFGSilentRegisterSavePlan.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::silentSavePlanForGPR):
(JSC::DFG::SpeculativeJIT::silentFill):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::compileDoublePutByVal):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):
(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
(JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compileAdd):
(JSC::DFG::SpeculativeJIT::compileArithSub):
(JSC::DFG::SpeculativeJIT::compileArithNegate):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileStrictEq):
(JSC::DFG::SpeculativeJIT::speculateMachineInt):
(JSC::DFG::SpeculativeJIT::speculateNumber):
(JSC::DFG::SpeculativeJIT::speculateRealNumber):
(JSC::DFG::SpeculativeJIT::speculate):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::canReuse):
(JSC::DFG::SpeculativeJIT::isFilled):
(JSC::DFG::SpeculativeJIT::isFilledDouble):
(JSC::DFG::SpeculativeJIT::use):
(JSC::DFG::SpeculativeJIT::isKnownInteger):
(JSC::DFG::SpeculativeJIT::isKnownCell):
(JSC::DFG::SpeculativeJIT::isKnownNotNumber):
(JSC::DFG::SpeculativeJIT::int52Result):
(JSC::DFG::SpeculativeJIT::strictInt52Result):
(JSC::DFG::SpeculativeJIT::initConstantInfo):
(JSC::DFG::SpeculativeJIT::isInteger):
(JSC::DFG::SpeculativeJIT::betterUseStrictInt52):
(JSC::DFG::SpeculativeJIT::generationInfo):
(JSC::DFG::SpeculateInt52Operand::SpeculateInt52Operand):
(JSC::DFG::SpeculateInt52Operand::~SpeculateInt52Operand):
(JSC::DFG::SpeculateInt52Operand::edge):
(JSC::DFG::SpeculateInt52Operand::node):
(JSC::DFG::SpeculateInt52Operand::gpr):
(JSC::DFG::SpeculateInt52Operand::use):
(JSC::DFG::SpeculateStrictInt52Operand::SpeculateStrictInt52Operand):
(JSC::DFG::SpeculateStrictInt52Operand::~SpeculateStrictInt52Operand):
(JSC::DFG::SpeculateStrictInt52Operand::edge):
(JSC::DFG::SpeculateStrictInt52Operand::node):
(JSC::DFG::SpeculateStrictInt52Operand::gpr):
(JSC::DFG::SpeculateStrictInt52Operand::use):
(JSC::DFG::SpeculateWhicheverInt52Operand::SpeculateWhicheverInt52Operand):
(JSC::DFG::SpeculateWhicheverInt52Operand::~SpeculateWhicheverInt52Operand):
(JSC::DFG::SpeculateWhicheverInt52Operand::edge):
(JSC::DFG::SpeculateWhicheverInt52Operand::node):
(JSC::DFG::SpeculateWhicheverInt52Operand::gpr):
(JSC::DFG::SpeculateWhicheverInt52Operand::use):
(JSC::DFG::SpeculateWhicheverInt52Operand::format):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::boxInt52):
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateInt32Internal):
(JSC::DFG::SpeculativeJIT::fillSpeculateInt52):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compileInt52Compare):
(JSC::DFG::SpeculativeJIT::compilePeepHoleInt52Branch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGUseKind.cpp:
(WTF::printInternal):
* dfg/DFGUseKind.h:
(JSC::DFG::typeFilterFor):
(JSC::DFG::isNumerical):
* dfg/DFGValueSource.cpp:
(JSC::DFG::ValueSource::dump):
* dfg/DFGValueSource.h:
(JSC::DFG::dataFormatToValueSourceKind):
(JSC::DFG::valueSourceKindToDataFormat):
(JSC::DFG::ValueSource::forFlushFormat):
(JSC::DFG::ValueSource::valueRecovery):
* dfg/DFGVariableAccessData.h:
(JSC::DFG::VariableAccessData::shouldUseDoubleFormatAccordingToVote):
(JSC::DFG::VariableAccessData::flushFormat):
* ftl/FTLCArgumentGetter.cpp:
(JSC::FTL::CArgumentGetter::loadNextAndBox):
* ftl/FTLCArgumentGetter.h:
* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLExitValue.cpp:
(JSC::FTL::ExitValue::dumpInContext):
* ftl/FTLExitValue.h:
(JSC::FTL::ExitValue::inJSStackAsInt52):
* ftl/FTLIntrinsicRepository.h:
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::createPhiVariables):
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileUpsilon):
(JSC::FTL::LowerDFGToLLVM::compilePhi):
(JSC::FTL::LowerDFGToLLVM::compileSetLocal):
(JSC::FTL::LowerDFGToLLVM::compileAdd):
(JSC::FTL::LowerDFGToLLVM::compileArithSub):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):
(JSC::FTL::LowerDFGToLLVM::compilePutByVal):
(JSC::FTL::LowerDFGToLLVM::compileCompareEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareLess):
(JSC::FTL::LowerDFGToLLVM::compileCompareLessEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreater):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreaterEq):
(JSC::FTL::LowerDFGToLLVM::lowInt32):
(JSC::FTL::LowerDFGToLLVM::lowInt52):
(JSC::FTL::LowerDFGToLLVM::lowStrictInt52):
(JSC::FTL::LowerDFGToLLVM::betterUseStrictInt52):
(JSC::FTL::LowerDFGToLLVM::bestInt52Kind):
(JSC::FTL::LowerDFGToLLVM::opposite):
(JSC::FTL::LowerDFGToLLVM::lowWhicheverInt52):
(JSC::FTL::LowerDFGToLLVM::lowCell):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
(JSC::FTL::LowerDFGToLLVM::lowDouble):
(JSC::FTL::LowerDFGToLLVM::lowJSValue):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToInt32):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToDouble):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToJSValue):
(JSC::FTL::LowerDFGToLLVM::setInt52WithStrictValue):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToInt52):
(JSC::FTL::LowerDFGToLLVM::int52ToStrictInt52):
(JSC::FTL::LowerDFGToLLVM::speculateRealNumber):
(JSC::FTL::LowerDFGToLLVM::initializeOSRExitStateForBlock):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::addExitArgumentForNode):
(JSC::FTL::LowerDFGToLLVM::setInt52):
(JSC::FTL::LowerDFGToLLVM::setStrictInt52):
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
* ftl/FTLOutput.h:
(JSC::FTL::Output::addWithOverflow64):
(JSC::FTL::Output::subWithOverflow64):
(JSC::FTL::Output::mulWithOverflow64):
* ftl/FTLValueFormat.cpp:
(WTF::printInternal):
* ftl/FTLValueFormat.h:
* ftl/FTLValueSource.cpp:
(JSC::FTL::ValueSource::dump):
* ftl/FTLValueSource.h:
* interpreter/Register.h:
(JSC::Register::unboxedInt52):
* runtime/Arguments.cpp:
(JSC::Arguments::tearOffForInlineCallFrame):
* runtime/IndexingType.cpp:
(JSC::leastUpperBoundOfIndexingTypeAndType):
* runtime/JSCJSValue.h:
* runtime/JSCJSValueInlines.h:
(JSC::JSValue::isMachineInt):
(JSC::JSValue::asMachineInt):
Source/WTF:
Reviewed by Oliver Hunt.
* wtf/PrintStream.h:
(WTF::ValueIgnoringContext::ValueIgnoringContext):
(WTF::ValueIgnoringContext::dump):
(WTF::ignoringContext):
Tools:
Reviewed by Oliver Hunt.
* Scripts/run-jsc-stress-tests:
LayoutTests:
Reviewed by Oliver Hunt.
* js/dfg-int-overflow-large-constants-in-a-line-expected.txt:
* js/regress/large-int-captured-expected.txt: Added.
* js/regress/large-int-captured.html: Added.
* js/regress/large-int-expected.txt: Added.
* js/regress/large-int-neg-expected.txt: Added.
* js/regress/large-int-neg.html: Added.
* js/regress/large-int.html: Added.
* js/regress/marsaglia-larger-ints-expected.txt: Added.
* js/regress/marsaglia-larger-ints.html: Added.
* js/regress/script-tests/large-int-captured.js: Added.
(.bar):
(foo):
* js/regress/script-tests/large-int-neg.js: Added.
(foo):
* js/regress/script-tests/large-int.js: Added.
(foo):
* js/regress/script-tests/marsaglia-larger-ints.js: Added.
(uint):
(marsaglia):
* js/script-tests/dfg-int-overflow-large-constants-in-a-line.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156047
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
msaboff@apple.com [Wed, 18 Sep 2013 16:51:07 +0000 (16:51 +0000)]
REGRESSION(r155771): js/stack-overflow-arrity-catch.html is crashing on non-Mac platforms
https://bugs.webkit.org/show_bug.cgi?id=121376
Reviewed by Oliver Hunt.
Fix stack grow() call for stack growing down. This should catch running out of stack space before
we try to move the frame down due to arity mismatch.
* runtime/CommonSlowPaths.h:
(JSC::CommonSlowPaths::arityCheckFor):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156046
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 16:33:18 +0000 (16:33 +0000)]
[Win] TestWebKitAPI does not compile.
https://bugs.webkit.org/show_bug.cgi?id=121485
Patch by peavo@outlook.com <peavo@outlook.com> on 2013-09-18
Reviewed by Brent Fulgham.
Source/WebKit:
* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Export needed symbols.
Tools:
It is no longer possible to inherit from WebCore::BitmapImage, which the test relies on.
Instead, load a bitmap, then destroy the decoded data, which will cause WebCore::frameAtIndex()
to return null, which is the case we want to test.
* TestWebKitAPI/Tests/WebCore/win/BitmapImage.cpp:
(TestWebKitAPI::TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156045
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Wed, 18 Sep 2013 16:27:02 +0000 (16:27 +0000)]
Missed one rebaseline for the RenderMenuList change.
* platform/mac/fast/forms/select-empty-option-height-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156044
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Wed, 18 Sep 2013 15:55:55 +0000 (15:55 +0000)]
YARR: Put UCS2 canonicalization tables in read-only memory.
<https://webkit.org/b/121547>
Reviewed by Sam Weinig.
These tables never mutate so mark them const.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156043
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Wed, 18 Sep 2013 15:54:54 +0000 (15:54 +0000)]
Put constant CachedPower table in read-only memory.
<https://webkit.org/b/121546>
Reviewed by Anders Carlsson.
* wtf/dtoa/cached-powers.cc:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156042
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Wed, 18 Sep 2013 15:48:34 +0000 (15:48 +0000)]
CTTE: RenderBR always has an HTMLElement.
<https://webkit.org/b/121557>
Reviewed by Antti Koivisto.
This renderer is never anonymous and always has a corresponding HTMLElement.
Tighten this up by making the constructor take a HTMLElement& and remove
RenderBR::createAnonymous().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156041
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Wed, 18 Sep 2013 15:35:01 +0000 (15:35 +0000)]
Avoid using RenderBR internally in RenderMenuList.
<https://webkit.org/b/121550>
Reviewed by Antti Koivisto.
Source/WebCore:
RenderMenuLists with an empty caption text were previously using a
RenderBR as placeholder.
Switch to using a \n RenderText instead so we can tighten RenderBR.
This will change DRT dumps but actual metrics should not change.
LayoutTests:
Update expected results for RenderMenuLists with empty text.
They now have a RenderText inside them instead of a RenderBR.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156040
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Wed, 18 Sep 2013 14:41:45 +0000 (14:41 +0000)]
Change one accidental "object->isText() || object->isLineBreak()" from previous patch back to "object->isTextOrLineBreak()"
Not reviewed.
* rendering/InlineIterator.h:
(WebCore::isIteratorTarget):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156039
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Wed, 18 Sep 2013 14:33:55 +0000 (14:33 +0000)]
Remove RenderWordBreak
https://bugs.webkit.org/show_bug.cgi?id=121549
Reviewed by Andreas Kling.
Remove RenderWordBreak and make it a bit in RenderBR instead.
* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/Document.cpp:
(WebCore::Document::updateHoverActiveState):
* dom/Position.cpp:
(WebCore::hasInlineBoxWrapper):
(WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight):
* editing/Editor.cpp:
(WebCore::findFirstMarkable):
* editing/TextIterator.cpp:
(WebCore::ignoresContainerClip):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::createRenderer):
* rendering/InlineBox.cpp:
(WebCore::InlineBox::logicalHeight):
(WebCore::InlineBox::baselinePosition):
(WebCore::InlineBox::lineHeight):
(WebCore::InlineBox::deleteLine):
(WebCore::InlineBox::extractLine):
(WebCore::InlineBox::attachLine):
(WebCore::InlineBox::nodeAtPoint):
* rendering/InlineBox.h:
(WebCore::InlineBox::isLineBreak):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::addToLine):
(WebCore::InlineFlowBox::computeOverflow):
* rendering/InlineIterator.h:
(WebCore::InlineIterator::atTextParagraphSeparator):
(WebCore::isIteratorTarget):
* rendering/RenderBR.cpp:
(WebCore::RenderBR::RenderBR):
* rendering/RenderBR.h:
(WebCore::toRenderBR):
RenderBR now represents both hard and soft line breaks. It will be renamed to RenderLineBreak later.
* rendering/RenderBlock.cpp:
(WebCore::InlineMinMaxIterator::next):
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::createInlineBoxForRenderer):
(WebCore::dirtyLineBoxesForRenderer):
(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
(WebCore::RenderBlockFlow::layoutInlineChildren):
(WebCore::textBeginsWithBreakablePosition):
(WebCore::canBreakAtThisPosition):
(WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::generateCulledLineBoxRects):
(WebCore::RenderInline::culledInlineFirstLineBox):
(WebCore::RenderInline::culledInlineLastLineBox):
(WebCore::RenderInline::dirtyLineBoxes):
* rendering/RenderLineBoxList.cpp:
(WebCore::RenderLineBoxList::dirtyLinesFromChangedChild):
* rendering/RenderObject.h:
(WebCore::RenderObject::isLineBreak):
This bit covers both BR and WBR.
(WebCore::RenderObject::isBR):
(WebCore::RenderObject::isLineBreakOpportunity):
Rename isWordBreak to isLineBreakOpportunity. This matches HTML5 spec terminology.
(WebCore::RenderObject::isTextOrLineBreak):
Since WBR used to be Text we want this check to still cover it too. Renamed from isTextOrBR.
(WebCore::RenderObject::setIsLineBreak):
(WebCore::RenderObject::isWBR):
(WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode):
* rendering/RenderText.cpp:
* rendering/RenderText.h:
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
* rendering/RenderWordBreak.cpp: Removed.
* rendering/RenderWordBreak.h: Removed.
* rendering/RenderingAllInOne.cpp:
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::ascentAndDescentForBox):
(WebCore::RootInlineBox::verticalPositionForBox):
(WebCore::RootInlineBox::includeLeadingForBox):
(WebCore::RootInlineBox::includeFontForBox):
(WebCore::RootInlineBox::includeGlyphsForBox):
(WebCore::RootInlineBox::includeMarginForBox):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156038
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Wed, 18 Sep 2013 13:48:19 +0000 (13:48 +0000)]
ASSERT_NOT_REACHED is touched in WebCore::CSSPrimitiveValue::computeLengthDouble
https://bugs.webkit.org/show_bug.cgi?id=120469
Source/WebCore:
Tests: fast/css/outline-offset-parsing-assert.html
fast/css/outline-offset-parsing.html
Reviewed by Dirk Schulze.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Fixed a typo after r66615, outline-offset can't be percentage.
LayoutTests:
Reviewed by Dirk Schulze.
* fast/css/outline-offset-parsing-assert-expected.txt: Added.
* fast/css/outline-offset-parsing-assert.html: Added.
* fast/css/outline-offset-parsing-expected.txt: Added.
* fast/css/outline-offset-parsing.html: Added.
* fast/css/script-tests/outline-offset-parsing.js: Added.
(test):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156037
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 12:39:23 +0000 (12:39 +0000)]
[MathML] Implement the subscriptshift and superscriptshift attributes
https://bugs.webkit.org/show_bug.cgi?id=120069
Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2013-09-18
Reviewed by Darin Adler.
Source/WebCore:
Added support for subscriptshift and superscriptshift attributes. The
subscriptshift attribute is for msup element and superscriptshift for
msup. msubsup can have both subscriptshift and superscriptshift. The
subscriptshift attribute specifies the minimum amount to shift the
baseline of subscript down. The superscriptshift attribute specifies
the minimum amount to shift the baseline of superscript up.
Tests: mathml/presentation/msub-subscriptshift.html
mathml/presentation/msubsup-subscriptshift.html
mathml/presentation/msubsup-superscriptshift.html
mathml/presentation/msup-superscriptshift.html
mathml/presentation/multiscript-subscriptshift.html
mathml/presentation/multiscript-superscriptshift.html
* mathml/mathattrs.in:
* rendering/mathml/RenderMathMLScripts.cpp:
(WebCore::RenderMathMLScripts::layout):
For aligning the subscript and superscript padding is added to the base.
So subscriptshift and superscriptshift attributes is set as padding bottom
and padding top of base respectively.
LayoutTests:
* mathml/presentation/msub-subscriptshift-expected.txt: Added.
* mathml/presentation/msub-subscriptshift.html: Added.
* mathml/presentation/msubsup-subscriptshift-expected.txt: Added.
* mathml/presentation/msubsup-subscriptshift.html: Added.
* mathml/presentation/msubsup-superscriptshift-expected.txt: Added.
* mathml/presentation/msubsup-superscriptshift.html: Added.
* mathml/presentation/msup-superscriptshift-expected.txt: Added.
* mathml/presentation/msup-superscriptshift.html: Added.
* mathml/presentation/multiscript-subscriptshift-expected.txt: Added.
* mathml/presentation/multiscript-subscriptshift.html: Added.
* mathml/presentation/multiscript-superscriptshift-expected.txt: Added.
* mathml/presentation/multiscript-superscriptshift.html: Added.
Added new tests for verifying that subscriptshift and superscriptshift are
being applied properly to the script base.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156036
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mario@webkit.org [Wed, 18 Sep 2013 08:28:59 +0000 (08:28 +0000)]
[ATK] Expose aria-haspopup and aria-sort without the 'aria-' prefix
https://bugs.webkit.org/show_bug.cgi?id=121495
Reviewed by Chris Fleizach.
Source/WebCore:
Removed the 'aria-' prefix from the exposed ATK object attributes
for WAI-ARIA attributes 'aria-haspopup' and 'aria-sort'.
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(webkitAccessibleGetAttributes): Removed the prefix.
Tools:
Adapted DRT and WKTR to deal with the new names for the ATK object
attributes being exposed for 'aria-haspopup' and 'aria-sort'.
* DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
(coreAttributeToAtkAttribute): Updated translation between ATK and DRT.
(AccessibilityUIElement::stringAttributeValue): Ditto.
(AccessibilityUIElement::hasPopup): Ditto.
* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::coreAttributeToAtkAttribute): Updated translation between ATK and WKTR.
(WTR::AccessibilityUIElement::stringAttributeValue): Ditto.
(WTR::AccessibilityUIElement::hasPopup): Ditto.
LayoutTests:
Rebaseline test expectations that were displaying the 'aria-sort'
attributes incorrectly, when they shouldn't due to that ARIA
attribute not being explicitly used in the HTML.
* platform/efl-wk1/accessibility/lists-expected.txt: Removed output for 'aria-sort'.
* platform/efl-wk1/accessibility/plugin-expected.txt: Ditto.
* platform/efl-wk1/accessibility/table-with-aria-role-expected.txt: Ditto.
* platform/efl-wk1/accessibility/transformed-element-expected.txt: Ditto.
* platform/efl-wk2/accessibility/image-link-expected.txt: Ditto.
* platform/efl-wk2/accessibility/image-map2-expected.txt: Ditto.
* platform/efl-wk2/accessibility/lists-expected.txt: Ditto.
* platform/efl-wk2/accessibility/plugin-expected.txt: Ditto.
* platform/efl-wk2/accessibility/table-cell-spans-expected.txt: Ditto.
* platform/efl-wk2/accessibility/table-cells-expected.txt: Ditto.
* platform/efl-wk2/accessibility/table-with-aria-role-expected.txt: Ditto.
* platform/efl-wk2/accessibility/transformed-element-expected.txt: Ditto.
* platform/gtk/accessibility/image-link-expected.txt: Ditto.
* platform/gtk/accessibility/image-map2-expected.txt: Ditto.
* platform/gtk/accessibility/lists-expected.txt: Ditto.
* platform/gtk/accessibility/plugin-expected.txt: Ditto.
* platform/gtk/accessibility/table-cell-spans-expected.txt: Ditto.
* platform/gtk/accessibility/table-cells-expected.txt: Ditto.
* platform/gtk/accessibility/table-detection-expected.txt: Ditto.
* platform/gtk/accessibility/table-one-cell-expected.txt: Ditto.
* platform/gtk/accessibility/table-with-aria-role-expected.txt: Ditto.
* platform/gtk/accessibility/table-with-rules-expected.txt: Ditto.
* platform/gtk/accessibility/transformed-element-expected.txt: Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156033
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 07:25:52 +0000 (07:25 +0000)]
Unreviewed, rolling out r156019 and r156020.
http://trac.webkit.org/changeset/156019
http://trac.webkit.org/changeset/156020
https://bugs.webkit.org/show_bug.cgi?id=121540
Broke tests (Requested by ap on #webkit).
Source/JavaScriptCore:
* assembler/MacroAssemblerX86_64.h:
* assembler/X86Assembler.h:
* bytecode/DataFormat.h:
(JSC::dataFormatToString):
* bytecode/ExitKind.cpp:
(JSC::exitKindToString):
* bytecode/ExitKind.h:
* bytecode/OperandsInlines.h:
(JSC::::dumpInContext):
* bytecode/SpeculatedType.cpp:
(JSC::dumpSpeculation):
(JSC::speculationToAbbreviatedString):
(JSC::speculationFromValue):
* bytecode/SpeculatedType.h:
(JSC::isInt32SpeculationForArithmetic):
(JSC::isInt48Speculation):
(JSC::isMachineIntSpeculationForArithmetic):
(JSC::isInt48AsDoubleSpeculation):
(JSC::isRealNumberSpeculation):
(JSC::isNumberSpeculation):
(JSC::isNumberSpeculationExpectingDefined):
* bytecode/ValueRecovery.h:
(JSC::ValueRecovery::inGPR):
(JSC::ValueRecovery::displacedInJSStack):
(JSC::ValueRecovery::isAlreadyInJSStack):
(JSC::ValueRecovery::gpr):
(JSC::ValueRecovery::virtualRegister):
(JSC::ValueRecovery::dumpInContext):
* dfg/DFGAbstractInterpreter.h:
(JSC::DFG::AbstractInterpreter::needsTypeCheck):
(JSC::DFG::AbstractInterpreter::filterByType):
* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::::executeEffects):
* dfg/DFGAbstractValue.cpp:
(JSC::DFG::AbstractValue::set):
(JSC::DFG::AbstractValue::checkConsistency):
* dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::validateType):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::ArrayMode::refine):
* dfg/DFGAssemblyHelpers.h:
(JSC::DFG::AssemblyHelpers::unboxDouble):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::makeSafe):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::canonicalize):
(JSC::DFG::CSEPhase::pureCSE):
(JSC::DFG::CSEPhase::getByValLoadElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGClobberize.h:
(JSC::DFG::clobberize):
* dfg/DFGCommon.h:
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::run):
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
(JSC::DFG::FixupPhase::observeUseKindOnNode):
(JSC::DFG::FixupPhase::fixEdge):
(JSC::DFG::FixupPhase::injectInt32ToDoubleNode):
(JSC::DFG::FixupPhase::attemptToMakeIntegerAdd):
* dfg/DFGFlushFormat.cpp:
(WTF::printInternal):
* dfg/DFGFlushFormat.h:
(JSC::DFG::resultFor):
(JSC::DFG::useKindFor):
* dfg/DFGGenerationInfo.h:
(JSC::DFG::GenerationInfo::initInt32):
(JSC::DFG::GenerationInfo::fillInt32):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::addShouldSpeculateMachineInt):
(JSC::DFG::Graph::mulShouldSpeculateMachineInt):
(JSC::DFG::Graph::negateShouldSpeculateMachineInt):
* dfg/DFGInPlaceAbstractState.cpp:
(JSC::DFG::InPlaceAbstractState::mergeStateAtTail):
* dfg/DFGJITCode.cpp:
(JSC::DFG::JITCode::reconstruct):
* dfg/DFGMinifiedNode.h:
(JSC::DFG::belongsInMinifiedGraph):
(JSC::DFG::MinifiedNode::hasChild):
* dfg/DFGNode.h:
(JSC::DFG::Node::shouldSpeculateNumber):
(JSC::DFG::Node::shouldSpeculateNumberExpectingDefined):
(JSC::DFG::Node::canSpeculateInt48):
* dfg/DFGNodeFlags.h:
(JSC::DFG::nodeCanSpeculateInt48):
* dfg/DFGNodeType.h:
(JSC::DFG::forwardRewiringSelectionScore):
* dfg/DFGOSRExitCompiler.cpp:
(JSC::DFG::shortOperandsDump):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::speculatedDoubleTypeForPrediction):
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doDoubleVoting):
* dfg/DFGSafeToExecute.h:
(JSC::DFG::SafeToExecuteEdge::operator()):
(JSC::DFG::safeToExecute):
* dfg/DFGSilentRegisterSavePlan.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::silentSavePlanForGPR):
(JSC::DFG::SpeculativeJIT::silentFill):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::compileDoublePutByVal):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):
(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
(JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compileAdd):
(JSC::DFG::SpeculativeJIT::compileArithSub):
(JSC::DFG::SpeculativeJIT::compileArithNegate):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileStrictEq):
(JSC::DFG::SpeculativeJIT::speculateNumber):
(JSC::DFG::SpeculativeJIT::speculateRealNumber):
(JSC::DFG::SpeculativeJIT::speculate):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::canReuse):
(JSC::DFG::SpeculativeJIT::isFilled):
(JSC::DFG::SpeculativeJIT::isFilledDouble):
(JSC::DFG::SpeculativeJIT::use):
(JSC::DFG::SpeculativeJIT::boxDouble):
(JSC::DFG::SpeculativeJIT::isKnownInteger):
(JSC::DFG::SpeculativeJIT::isKnownCell):
(JSC::DFG::SpeculativeJIT::isKnownNotNumber):
(JSC::DFG::SpeculativeJIT::int32Result):
(JSC::DFG::SpeculativeJIT::initConstantInfo):
(JSC::DFG::SpeculativeJIT::isInteger):
(JSC::DFG::SpeculativeJIT::generationInfoFromVirtualRegister):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateInt32Internal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGUseKind.cpp:
(WTF::printInternal):
* dfg/DFGUseKind.h:
(JSC::DFG::typeFilterFor):
(JSC::DFG::isNumerical):
* dfg/DFGValueSource.cpp:
(JSC::DFG::ValueSource::dump):
* dfg/DFGValueSource.h:
(JSC::DFG::dataFormatToValueSourceKind):
(JSC::DFG::valueSourceKindToDataFormat):
(JSC::DFG::ValueSource::forFlushFormat):
(JSC::DFG::ValueSource::valueRecovery):
* dfg/DFGVariableAccessData.h:
(JSC::DFG::VariableAccessData::shouldUseDoubleFormatAccordingToVote):
(JSC::DFG::VariableAccessData::flushFormat):
* ftl/FTLCArgumentGetter.cpp:
(JSC::FTL::CArgumentGetter::loadNextAndBox):
* ftl/FTLCArgumentGetter.h:
* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLExitValue.cpp:
(JSC::FTL::ExitValue::dumpInContext):
* ftl/FTLExitValue.h:
* ftl/FTLIntrinsicRepository.h:
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::createPhiVariables):
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileUpsilon):
(JSC::FTL::LowerDFGToLLVM::compilePhi):
(JSC::FTL::LowerDFGToLLVM::compileSetLocal):
(JSC::FTL::LowerDFGToLLVM::compileAdd):
(JSC::FTL::LowerDFGToLLVM::compileArithSub):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):
(JSC::FTL::LowerDFGToLLVM::compilePutByVal):
(JSC::FTL::LowerDFGToLLVM::compileCompareEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareLess):
(JSC::FTL::LowerDFGToLLVM::compileCompareLessEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreater):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreaterEq):
(JSC::FTL::LowerDFGToLLVM::lowInt32):
(JSC::FTL::LowerDFGToLLVM::lowCell):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
(JSC::FTL::LowerDFGToLLVM::lowDouble):
(JSC::FTL::LowerDFGToLLVM::lowJSValue):
(JSC::FTL::LowerDFGToLLVM::speculateRealNumber):
(JSC::FTL::LowerDFGToLLVM::initializeOSRExitStateForBlock):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::addExitArgumentForNode):
(JSC::FTL::LowerDFGToLLVM::setInt32):
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
* ftl/FTLOutput.h:
(JSC::FTL::Output::mulWithOverflow32):
* ftl/FTLValueFormat.cpp:
(WTF::printInternal):
* ftl/FTLValueFormat.h:
* ftl/FTLValueSource.cpp:
(JSC::FTL::ValueSource::dump):
* ftl/FTLValueSource.h:
* interpreter/Register.h:
* runtime/Arguments.cpp:
(JSC::Arguments::tearOffForInlineCallFrame):
* runtime/IndexingType.cpp:
(JSC::leastUpperBoundOfIndexingTypeAndType):
* runtime/JSCJSValue.h:
* runtime/JSCJSValueInlines.h:
Source/WTF:
* wtf/PrintStream.h:
Tools:
* Scripts/run-jsc-stress-tests:
LayoutTests:
* js/regress/large-int-captured-expected.txt: Removed.
* js/regress/large-int-captured.html: Removed.
* js/regress/large-int-expected.txt: Removed.
* js/regress/large-int-neg-expected.txt: Removed.
* js/regress/large-int-neg.html: Removed.
* js/regress/large-int.html: Removed.
* js/regress/marsaglia-larger-ints-expected.txt: Removed.
* js/regress/marsaglia-larger-ints.html: Removed.
* js/regress/script-tests/large-int-captured.js: Removed.
* js/regress/script-tests/large-int-neg.js: Removed.
* js/regress/script-tests/large-int.js: Removed.
* js/regress/script-tests/marsaglia-larger-ints.js: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156029
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
carlosgc@webkit.org [Wed, 18 Sep 2013 07:07:07 +0000 (07:07 +0000)]
[GTK] WebKitScriptWorld not in API documentation
https://bugs.webkit.org/show_bug.cgi?id=121539
Reviewed by Philippe Normand.
* UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add WebKitScriptWorld.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156028
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 06:51:58 +0000 (06:51 +0000)]
[GTK] Cannot find WebInspectorUI/UserInterface/Main.html referenced in GResourceBundle.xml
https://bugs.webkit.org/show_bug.cgi?id=121405
Patch by Gustavo Noronha Silva <gns@gnome.org> on 2013-09-17
Reviewed by Carlos Garcia Campos.
* GNUmakefile.am: if srcdir == builddir the WebInspectorUI variable that is used both to list
the dependencies of the GResourceBundle and to normalize the paths added to the XML through sed
replacement will end up starting with ./, which would be fine if automake did not remove that
from the paths in the target's dependency. We deal with that by normalizing the path we use to
take that quirk into account.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156027
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ryumiel@company100.net [Wed, 18 Sep 2013 06:39:54 +0000 (06:39 +0000)]
Unreviewed. Add myself as a committer.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156026
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Wed, 18 Sep 2013 06:30:30 +0000 (06:30 +0000)]
Rename InlineBox::isText()
<https://webkit.org/b/121525>
Reviewed by Andreas Kling.
The flag sounds like RenderObject::isText() yet it can be set for some inline boxes generated
for non-text renderers too (br, list markers). This is pretty confusing.
Rename to InlineBox::behavesLikeText().
* rendering/InlineBox.cpp:
(WebCore::InlineBox::logicalHeight):
(WebCore::InlineBox::baselinePosition):
(WebCore::InlineBox::lineHeight):
* rendering/InlineBox.h:
(WebCore::InlineBox::behavesLikeText):
(WebCore::InlineBox::setBehavesLikeText):
(WebCore::InlineBox::InlineBoxBitfields::InlineBoxBitfields):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::addToLine):
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::baselinePosition):
(WebCore::InlineTextBox::lineHeight):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::createInlineBoxForRenderer):
(WebCore::setLogicalWidthForTextRun):
* rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::createInlineBox):
* rendering/RenderText.cpp:
(WebCore::RenderText::createInlineTextBox):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::includeLeadingForBox):
(WebCore::RootInlineBox::includeFontForBox):
(WebCore::RootInlineBox::includeGlyphsForBox):
(WebCore::RootInlineBox::includeMarginForBox):
Switch tests from isText() to isTextOrBR(). This matches the behavior before r155957.
I don't know if there is a case where this actually makes any difference in behavior.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156025
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 18 Sep 2013 06:05:09 +0000 (06:05 +0000)]
Shrink SVGPathStringBuilder
https://bugs.webkit.org/show_bug.cgi?id=121536
Reviewed by Anders Carlsson.
- Use StringBuilder everywhere to avoid unnecessary temporary
String objects and code size bloat.
- Also did a drive by FINAL / OVERRIDE pass.
As an example of the win, the function SVGPathStringBuilder::arcTo
went from being 6120 bytes down to just 378 bytes.
* svg/SVGPathStringBuilder.cpp:
(WebCore::SVGPathStringBuilder::SVGPathStringBuilder):
(WebCore::SVGPathStringBuilder::~SVGPathStringBuilder):
(WebCore::SVGPathStringBuilder::cleanup):
(WebCore::SVGPathStringBuilder::incrementPathSegmentCount):
(WebCore::SVGPathStringBuilder::continueConsuming):
It wasn't helpful for these to be inlined, so move them to
the implementation file.
(WebCore::appendFlag):
(WebCore::appendNumber):
(WebCore::appendPoint):
Added helpers.
(WebCore::SVGPathStringBuilder::moveTo):
(WebCore::SVGPathStringBuilder::lineTo):
(WebCore::SVGPathStringBuilder::lineToHorizontal):
(WebCore::SVGPathStringBuilder::lineToVertical):
(WebCore::SVGPathStringBuilder::curveToCubic):
(WebCore::SVGPathStringBuilder::curveToCubicSmooth):
(WebCore::SVGPathStringBuilder::curveToQuadratic):
(WebCore::SVGPathStringBuilder::curveToQuadraticSmooth):
(WebCore::SVGPathStringBuilder::arcTo):
(WebCore::SVGPathStringBuilder::closePath):
* svg/SVGPathStringBuilder.h:
Stopped using operator+ and removed duplicate string building logic in each build
type (e.g. both sides of the PathCoordinateMode condition were doing almost identical
work).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156024
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 18 Sep 2013 05:00:18 +0000 (05:00 +0000)]
CTTE: Convert some straggling Element subclasses constructors to take a Document&
https://bugs.webkit.org/show_bug.cgi?id=121533
Reviewed by Anders Carlsson.
* html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::didAddUserAgentShadowRoot):
* html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::didAddUserAgentShadowRoot):
* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::didAddUserAgentShadowRoot):
* html/SearchInputType.cpp:
(WebCore::SearchInputType::createShadowSubtree):
* html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::createShadowSubtree):
* html/shadow/MeterShadowElement.cpp:
(WebCore::MeterShadowElement::MeterShadowElement):
(WebCore::MeterInnerElement::MeterInnerElement):
* html/shadow/MeterShadowElement.h:
(WebCore::MeterInnerElement::create):
(WebCore::MeterBarElement::create):
(WebCore::MeterValueElement::create):
* html/shadow/ProgressShadowElement.cpp:
(WebCore::ProgressShadowElement::ProgressShadowElement):
(WebCore::ProgressInnerElement::ProgressInnerElement):
(WebCore::ProgressBarElement::ProgressBarElement):
(WebCore::ProgressValueElement::ProgressValueElement):
* html/shadow/ProgressShadowElement.h:
(WebCore::ProgressInnerElement::create):
(WebCore::ProgressBarElement::create):
(WebCore::ProgressValueElement::create):
* html/shadow/SpinButtonElement.cpp:
(WebCore::SpinButtonElement::SpinButtonElement):
(WebCore::SpinButtonElement::create):
* html/shadow/SpinButtonElement.h:
* html/shadow/TextControlInnerElements.cpp:
(WebCore::TextControlInnerContainer::TextControlInnerContainer):
(WebCore::TextControlInnerContainer::create):
(WebCore::TextControlInnerElement::TextControlInnerElement):
(WebCore::TextControlInnerElement::create):
(WebCore::TextControlInnerTextElement::TextControlInnerTextElement):
(WebCore::TextControlInnerTextElement::create):
(WebCore::SearchFieldResultsButtonElement::SearchFieldResultsButtonElement):
(WebCore::SearchFieldResultsButtonElement::create):
(WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement):
(WebCore::SearchFieldCancelButtonElement::create):
(WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement):
(WebCore::InputFieldSpeechButtonElement::create):
* html/shadow/TextControlInnerElements.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156023
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zoltan@webkit.org [Wed, 18 Sep 2013 03:27:35 +0000 (03:27 +0000)]
[CSS Shapes] Use the float height to determine position in shape-inside
https://bugs.webkit.org/show_bug.cgi?id=102846
Reviewed by Darin Adler.
Float positioning inside shape-inside has been working only for simple cases when the float boundaries didn't overlap with the shape.
This patch fixes the behavior for left floats and shapes with inline content. I want to add this work step by step, therefore the next
step would be to add support for block content with inline content (e.g. paragraphs) then cover cases with right floats.
Source/WebCore:
Tests: fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-inline-content.html
fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-inline-content.html
fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-inline-content.html
fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-inline-content.html
* rendering/LineWidth.cpp:
(WebCore::LineWidth::LineWidth): Use the new updateCurrentShapeSegment member function.
(WebCore::LineWidth::updateCurrentShapeSegment): We need a function to update the current line segment's reference, since we use it multiple places.
* rendering/LineWidth.h: Add new member function.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeLogicalLocationForFloat): Fix positioning of a floating element.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLine): Use updateSegmentsForLine instead of computeSegmentsForLine.
(WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLineInFlowThread): Use updateSegmentsForLine instead of computeSegmentsForLine.
(WebCore::RenderBlock::adjustLogicalLineTopAndLogicalHeightIfNeeded):
(WebCore::updateSegmentsForShapes): After our float is positioned, we need to adjust the current lineTop and update the logical height to be able to wrap around the float.
(WebCore::RenderBlock::LineBreaker::nextSegmentBreak): If we have a float in our line we might need to adjust our lineTop and logicalHeight.
* rendering/shapes/ShapeInfo.cpp:
(WebCore::::computeSegmentsForLine): Add new const function to compute the segments. I'd like make this function static later if possible.
(WebCore::::updateSegmentsForLine): Old computeSegmentsForLine, change name to indicate that it is actually changing things.
* rendering/shapes/ShapeInfo.h: Update function names, add declaration.
(WebCore::ShapeInfo::clearSegments):
(WebCore::ShapeInfo::logicalLineBottom):
(WebCore::ShapeInfo::lineOverlapsShapeBounds):
* rendering/shapes/ShapeInsideInfo.cpp:
(WebCore::ShapeInsideInfo::computeFirstFitPositionForFloat): Compute the first fit position below the current line position inside shapes. I called this function
this way, because currently we use it only for shapes.
* rendering/shapes/ShapeInsideInfo.h: Update function names.
* rendering/shapes/ShapeOutsideInfo.cpp: Update function names.
(WebCore::ShapeOutsideInfo::computeSegmentsForContainingBlockLine):
(WebCore::ShapeOutsideInfo::updateSegmentsForLine):
* rendering/shapes/ShapeOutsideInfo.h: Update function names.
LayoutTests:
* fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-inline-content-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-inline-content.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-inline-content-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-inline-content.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-inline-content-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-inline-content.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-inline-content-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-inline-content.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156022
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jae.park@company100.net [Wed, 18 Sep 2013 01:59:14 +0000 (01:59 +0000)]
Unreviewed. Add myself as a committer.
* Scripts/webkitpy/common/config/contributors.json:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156021
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 01:48:54 +0000 (01:48 +0000)]
Unreviewed, fix 32-bit build.
* runtime/JSCJSValue.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156020
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 01:31:04 +0000 (01:31 +0000)]
DFG should support Int52 for local variables
https://bugs.webkit.org/show_bug.cgi?id=121064
Source/JavaScriptCore:
Reviewed by Oliver Hunt.
This adds Int52 support for local variables to the DFG and FTL. It's a speed-up on
programs that have local int32 overflows but where a larger int representation can
prevent us from having to convert all the way up to double.
It's a small speed-up for now. But we're just supporting Int52 for a handful of
operations (add, sub, mul, neg, compare, bitops, typed array access) and this lays
the groundwork for adding Int52 to JSValue, which will probably be a bigger
speed-up.
The basic approach is:
- We have a notion of Int52 in our typesystem. Int52 doesn't belong to BytecodeTop
or HeapTop - i.e. it doesn't arise from JSValues.
- DFG treats Int52 as being part of its FullTop and will treat it as being a
subtype of double unless instructed otherwise.
- Prediction propagator creates Int52s whenever we have a node going doubly but due
to large values rather than fractional values, and that node is known to be able
to produce Int52 natively in the DFG backend.
- Fixup phase converts edges to MachineIntUses in nodes that are known to be able
to deal with Int52, and where we have a subtype of Int32|Int52 as the predicted
input.
- The DFG backend and FTL LLVM IR lowering have two notions of Int52s - ones that
are left-shifted by 16 (great for overflow checks) and ones that are
sign-extended. Both backends know how to convert between Int52s and the other
representations.
* assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::rshift64):
(JSC::MacroAssemblerX86_64::mul64):
(JSC::MacroAssemblerX86_64::branchMul64):
(JSC::MacroAssemblerX86_64::branchNeg64):
(JSC::MacroAssemblerX86_64::convertInt64ToDouble):
* assembler/X86Assembler.h:
(JSC::X86Assembler::imulq_rr):
(JSC::X86Assembler::cvtsi2sdq_rr):
* bytecode/DataFormat.h:
(JSC::dataFormatToString):
* bytecode/OperandsInlines.h:
(JSC::::dumpInContext):
* bytecode/SpeculatedType.cpp:
(JSC::dumpSpeculation):
(JSC::speculationToAbbreviatedString):
(JSC::speculationFromValue):
* bytecode/SpeculatedType.h:
(JSC::isInt32SpeculationForArithmetic):
(JSC::isMachineIntSpeculationForArithmetic):
(JSC::isBytecodeRealNumberSpeculation):
(JSC::isFullRealNumberSpeculation):
(JSC::isBytecodeNumberSpeculation):
(JSC::isFullNumberSpeculation):
(JSC::isBytecodeNumberSpeculationExpectingDefined):
(JSC::isFullNumberSpeculationExpectingDefined):
* bytecode/ValueRecovery.h:
(JSC::ValueRecovery::alreadyInJSStackAsUnboxedInt52):
(JSC::ValueRecovery::inGPR):
(JSC::ValueRecovery::displacedInJSStack):
(JSC::ValueRecovery::isAlreadyInJSStack):
(JSC::ValueRecovery::gpr):
(JSC::ValueRecovery::virtualRegister):
(JSC::ValueRecovery::dumpInContext):
* dfg/DFGAbstractInterpreter.h:
(JSC::DFG::AbstractInterpreter::needsTypeCheck):
(JSC::DFG::AbstractInterpreter::filterByType):
* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::::executeEffects):
* dfg/DFGAbstractValue.cpp:
(JSC::DFG::AbstractValue::set):
(JSC::DFG::AbstractValue::checkConsistency):
* dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::couldBeType):
(JSC::DFG::AbstractValue::isType):
(JSC::DFG::AbstractValue::checkConsistency):
(JSC::DFG::AbstractValue::validateType):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::ArrayMode::refine):
* dfg/DFGAssemblyHelpers.h:
(JSC::DFG::AssemblyHelpers::boxInt52):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::pureCSE):
(JSC::DFG::CSEPhase::getByValLoadElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGClobberize.h:
(JSC::DFG::clobberize):
* dfg/DFGCommon.h:
(JSC::DFG::enableInt52):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::run):
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
(JSC::DFG::FixupPhase::fixupUntypedSetLocalsInBlock):
(JSC::DFG::FixupPhase::observeUseKindOnNode):
(JSC::DFG::FixupPhase::fixEdge):
(JSC::DFG::FixupPhase::injectInt32ToDoubleNode):
(JSC::DFG::FixupPhase::attemptToMakeIntegerAdd):
* dfg/DFGFlushFormat.cpp:
(WTF::printInternal):
* dfg/DFGFlushFormat.h:
(JSC::DFG::resultFor):
(JSC::DFG::useKindFor):
* dfg/DFGGenerationInfo.h:
(JSC::DFG::GenerationInfo::initInt52):
(JSC::DFG::GenerationInfo::initStrictInt52):
(JSC::DFG::GenerationInfo::isFormat):
(JSC::DFG::GenerationInfo::isInt52):
(JSC::DFG::GenerationInfo::isStrictInt52):
(JSC::DFG::GenerationInfo::fillInt52):
(JSC::DFG::GenerationInfo::fillStrictInt52):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::addShouldSpeculateMachineInt):
(JSC::DFG::Graph::mulShouldSpeculateMachineInt):
(JSC::DFG::Graph::negateShouldSpeculateMachineInt):
* dfg/DFGInPlaceAbstractState.cpp:
(JSC::DFG::InPlaceAbstractState::mergeStateAtTail):
* dfg/DFGJITCode.cpp:
(JSC::DFG::JITCode::reconstruct):
* dfg/DFGMinifiedNode.h:
(JSC::DFG::belongsInMinifiedGraph):
(JSC::DFG::MinifiedNode::hasChild):
* dfg/DFGNode.h:
(JSC::DFG::Node::shouldSpeculateNumber):
(JSC::DFG::Node::shouldSpeculateNumberExpectingDefined):
* dfg/DFGNodeFlags.h:
* dfg/DFGNodeType.h:
(JSC::DFG::forwardRewiringSelectionScore):
* dfg/DFGOSRExitCompiler.cpp:
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::speculatedDoubleTypeForPrediction):
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doDoubleVoting):
* dfg/DFGSafeToExecute.h:
(JSC::DFG::SafeToExecuteEdge::operator()):
(JSC::DFG::safeToExecute):
* dfg/DFGSilentRegisterSavePlan.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::silentSavePlanForGPR):
(JSC::DFG::SpeculativeJIT::silentFill):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compileInlineStart):
(JSC::DFG::SpeculativeJIT::compileDoublePutByVal):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):
(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
(JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compileAdd):
(JSC::DFG::SpeculativeJIT::compileArithSub):
(JSC::DFG::SpeculativeJIT::compileArithNegate):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileStrictEq):
(JSC::DFG::SpeculativeJIT::speculateMachineInt):
(JSC::DFG::SpeculativeJIT::speculateNumber):
(JSC::DFG::SpeculativeJIT::speculateRealNumber):
(JSC::DFG::SpeculativeJIT::speculate):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::canReuse):
(JSC::DFG::SpeculativeJIT::isFilled):
(JSC::DFG::SpeculativeJIT::isFilledDouble):
(JSC::DFG::SpeculativeJIT::use):
(JSC::DFG::SpeculativeJIT::isKnownInteger):
(JSC::DFG::SpeculativeJIT::isKnownCell):
(JSC::DFG::SpeculativeJIT::isKnownNotNumber):
(JSC::DFG::SpeculativeJIT::int52Result):
(JSC::DFG::SpeculativeJIT::strictInt52Result):
(JSC::DFG::SpeculativeJIT::initConstantInfo):
(JSC::DFG::SpeculativeJIT::isInteger):
(JSC::DFG::SpeculativeJIT::betterUseStrictInt52):
(JSC::DFG::SpeculativeJIT::generationInfo):
(JSC::DFG::SpeculateInt52Operand::SpeculateInt52Operand):
(JSC::DFG::SpeculateInt52Operand::~SpeculateInt52Operand):
(JSC::DFG::SpeculateInt52Operand::edge):
(JSC::DFG::SpeculateInt52Operand::node):
(JSC::DFG::SpeculateInt52Operand::gpr):
(JSC::DFG::SpeculateInt52Operand::use):
(JSC::DFG::SpeculateStrictInt52Operand::SpeculateStrictInt52Operand):
(JSC::DFG::SpeculateStrictInt52Operand::~SpeculateStrictInt52Operand):
(JSC::DFG::SpeculateStrictInt52Operand::edge):
(JSC::DFG::SpeculateStrictInt52Operand::node):
(JSC::DFG::SpeculateStrictInt52Operand::gpr):
(JSC::DFG::SpeculateStrictInt52Operand::use):
(JSC::DFG::SpeculateWhicheverInt52Operand::SpeculateWhicheverInt52Operand):
(JSC::DFG::SpeculateWhicheverInt52Operand::~SpeculateWhicheverInt52Operand):
(JSC::DFG::SpeculateWhicheverInt52Operand::edge):
(JSC::DFG::SpeculateWhicheverInt52Operand::node):
(JSC::DFG::SpeculateWhicheverInt52Operand::gpr):
(JSC::DFG::SpeculateWhicheverInt52Operand::use):
(JSC::DFG::SpeculateWhicheverInt52Operand::format):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::boxInt52):
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateInt32Internal):
(JSC::DFG::SpeculativeJIT::fillSpeculateInt52):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compileInt52Compare):
(JSC::DFG::SpeculativeJIT::compilePeepHoleInt52Branch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGUseKind.cpp:
(WTF::printInternal):
* dfg/DFGUseKind.h:
(JSC::DFG::typeFilterFor):
(JSC::DFG::isNumerical):
* dfg/DFGValueSource.cpp:
(JSC::DFG::ValueSource::dump):
* dfg/DFGValueSource.h:
(JSC::DFG::dataFormatToValueSourceKind):
(JSC::DFG::valueSourceKindToDataFormat):
(JSC::DFG::ValueSource::forFlushFormat):
(JSC::DFG::ValueSource::valueRecovery):
* dfg/DFGVariableAccessData.h:
(JSC::DFG::VariableAccessData::shouldUseDoubleFormatAccordingToVote):
(JSC::DFG::VariableAccessData::flushFormat):
* ftl/FTLCArgumentGetter.cpp:
(JSC::FTL::CArgumentGetter::loadNextAndBox):
* ftl/FTLCArgumentGetter.h:
* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLExitValue.cpp:
(JSC::FTL::ExitValue::dumpInContext):
* ftl/FTLExitValue.h:
(JSC::FTL::ExitValue::inJSStackAsInt52):
* ftl/FTLIntrinsicRepository.h:
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::createPhiVariables):
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileUpsilon):
(JSC::FTL::LowerDFGToLLVM::compilePhi):
(JSC::FTL::LowerDFGToLLVM::compileSetLocal):
(JSC::FTL::LowerDFGToLLVM::compileAdd):
(JSC::FTL::LowerDFGToLLVM::compileArithSub):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):
(JSC::FTL::LowerDFGToLLVM::compilePutByVal):
(JSC::FTL::LowerDFGToLLVM::compileCompareEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareLess):
(JSC::FTL::LowerDFGToLLVM::compileCompareLessEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreater):
(JSC::FTL::LowerDFGToLLVM::compileCompareGreaterEq):
(JSC::FTL::LowerDFGToLLVM::lowInt32):
(JSC::FTL::LowerDFGToLLVM::lowInt52):
(JSC::FTL::LowerDFGToLLVM::lowStrictInt52):
(JSC::FTL::LowerDFGToLLVM::betterUseStrictInt52):
(JSC::FTL::LowerDFGToLLVM::bestInt52Kind):
(JSC::FTL::LowerDFGToLLVM::opposite):
(JSC::FTL::LowerDFGToLLVM::Int52s::operator[]):
(JSC::FTL::LowerDFGToLLVM::lowWhicheverInt52):
(JSC::FTL::LowerDFGToLLVM::lowWhicheverInt52s):
(JSC::FTL::LowerDFGToLLVM::lowOpposingInt52s):
(JSC::FTL::LowerDFGToLLVM::lowCell):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
(JSC::FTL::LowerDFGToLLVM::lowDouble):
(JSC::FTL::LowerDFGToLLVM::lowJSValue):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToInt32):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToDouble):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToJSValue):
(JSC::FTL::LowerDFGToLLVM::setInt52WithStrictValue):
(JSC::FTL::LowerDFGToLLVM::strictInt52ToInt52):
(JSC::FTL::LowerDFGToLLVM::int52ToStrictInt52):
(JSC::FTL::LowerDFGToLLVM::speculateRealNumber):
(JSC::FTL::LowerDFGToLLVM::initializeOSRExitStateForBlock):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::addExitArgumentForNode):
(JSC::FTL::LowerDFGToLLVM::setInt52):
(JSC::FTL::LowerDFGToLLVM::setStrictInt52):
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
* ftl/FTLOutput.h:
(JSC::FTL::Output::addWithOverflow64):
(JSC::FTL::Output::subWithOverflow64):
(JSC::FTL::Output::mulWithOverflow64):
* ftl/FTLValueFormat.cpp:
(WTF::printInternal):
* ftl/FTLValueFormat.h:
* ftl/FTLValueSource.cpp:
(JSC::FTL::ValueSource::dump):
* ftl/FTLValueSource.h:
* interpreter/Register.h:
(JSC::Register::unboxedInt52):
* runtime/Arguments.cpp:
(JSC::Arguments::tearOffForInlineCallFrame):
* runtime/IndexingType.cpp:
(JSC::leastUpperBoundOfIndexingTypeAndType):
* runtime/JSCJSValue.h:
* runtime/JSCJSValueInlines.h:
(JSC::JSValue::isMachineInt):
(JSC::JSValue::asMachineInt):
Source/WTF:
Reviewed by Oliver Hunt.
* wtf/PrintStream.h:
(WTF::ValueIgnoringContext::ValueIgnoringContext):
(WTF::ValueIgnoringContext::dump):
(WTF::ignoringContext):
Tools:
Reviewed by Oliver Hunt.
* Scripts/run-jsc-stress-tests:
LayoutTests:
Reviewed by Oliver Hunt.
* js/regress/large-int-captured-expected.txt: Added.
* js/regress/large-int-captured.html: Added.
* js/regress/large-int-expected.txt: Added.
* js/regress/large-int-neg-expected.txt: Added.
* js/regress/large-int-neg.html: Added.
* js/regress/large-int.html: Added.
* js/regress/marsaglia-larger-ints-expected.txt: Added.
* js/regress/marsaglia-larger-ints.html: Added.
* js/regress/script-tests/large-int-captured.js: Added.
(.bar):
(foo):
* js/regress/script-tests/large-int-neg.js: Added.
(foo):
* js/regress/script-tests/large-int.js: Added.
(foo):
* js/regress/script-tests/marsaglia-larger-ints.js: Added.
(uint):
(marsaglia):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156019
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alex.christensen@flexsim.com [Wed, 18 Sep 2013 01:10:07 +0000 (01:10 +0000)]
Added back and forward buttons to WinLauncher.
https://bugs.webkit.org/show_bug.cgi?id=121212
Reviewed by Brent Fulgham.
* WinLauncher/WinLauncher.cpp:
(resizeSubViews):
Move new back and forward buttons to correct positions before URL bar.
(dllLauncherEntryPoint):
Store the default button window procedure and replace with my button procedures.
(EditProc): Updated style and renamed from MyEditProc.
(BackButtonProc): Added.
(ForwardButtonProc): Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156018
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 01:06:49 +0000 (01:06 +0000)]
Use CheckStructure for checking the types of typed arrays whenever possible
https://bugs.webkit.org/show_bug.cgi?id=121514
Reviewed by Oliver Hunt.
* bytecode/ArrayProfile.cpp:
(JSC::ArrayProfile::computeUpdatedPrediction):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::ArrayMode::fromObserved):
(JSC::DFG::ArrayMode::refine):
(JSC::DFG::ArrayMode::originalArrayStructure):
(JSC::DFG::arrayClassToString):
* dfg/DFGArrayMode.h:
(JSC::DFG::ArrayMode::ArrayMode):
(JSC::DFG::ArrayMode::arrayModesWithIndexingShape):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::isOriginalTypedArrayStructure):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156017
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Wed, 18 Sep 2013 01:04:31 +0000 (01:04 +0000)]
DFG should use the (x & 0x7fffffff) trick for doing overflow and neg-zero checks on negation in one go
https://bugs.webkit.org/show_bug.cgi?id=121520
Reviewed by Oliver Hunt.
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileArithNegate):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156016
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 18 Sep 2013 00:15:13 +0000 (00:15 +0000)]
Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebCore
https://bugs.webkit.org/show_bug.cgi?id=121527
Reviewed by Anders Carlsson.
* Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::setBuffer):
* Modules/webaudio/AudioBufferSourceNode.h:
* Modules/webaudio/OscillatorNode.h:
* css/CSSParser.cpp:
(WebCore::CSSParser::setupParser):
(WebCore::CSSParser::currentCharacter16):
* css/CSSParser.h:
* html/HTMLAreaElement.h:
* html/HTMLFrameSetElement.h:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::copyTexSubImage2D):
(WebCore::WebGLRenderingContext::simulateVertexAttrib0):
(WebCore::WebGLRenderingContext::LRUImageBufferCache::LRUImageBufferCache):
* html/canvas/WebGLRenderingContext.h:
* platform/ScrollAnimatorNone.cpp:
* platform/audio/DynamicsCompressor.cpp:
(WebCore::DynamicsCompressor::setNumberOfChannels):
* platform/audio/DynamicsCompressor.h:
* platform/audio/FFTFrame.h:
* platform/audio/gstreamer/FFTFrameGStreamer.cpp:
(WebCore::FFTFrame::FFTFrame):
* platform/efl/ScrollbarEfl.cpp:
(ScrollbarEfl::updateThumbPositionAndProportion):
* platform/graphics/ANGLEWebKitBridge.cpp:
(WebCore::ANGLEWebKitBridge::compileShaderSource):
* platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::texImage2DResourceSafe):
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/GraphicsContext3DPrivate.cpp:
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
* platform/graphics/blackberry/LayerTexture.cpp:
* platform/graphics/ca/win/CACFLayerTreeHost.cpp:
(WebCore::getDirtyRects):
* platform/graphics/cg/GraphicsContext3DCG.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/cg/GraphicsContextCG.cpp:
* platform/graphics/cg/ImageBufferCG.cpp:
* platform/graphics/gpu/Texture.cpp:
(WebCore::Texture::updateSubRect):
* platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::HarfBuzzShaper):
(WebCore::HarfBuzzShaper::setNormalizedBuffer):
* platform/graphics/harfbuzz/HarfBuzzShaper.h:
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getShaderInfoLog):
* platform/graphics/opentype/OpenTypeSanitizer.cpp:
* platform/graphics/texmap/TextureMapperGL.cpp:
* platform/graphics/wince/SharedBitmap.cpp:
(WebCore::SharedBitmap::SharedBitmap):
(WebCore::SharedBitmap::to16bit):
* platform/graphics/wince/SharedBitmap.h:
* platform/image-decoders/blackberry/JPEGImageDecoder.cpp:
(WebCore::ImageReader::decode):
* platform/image-decoders/png/PNGImageDecoder.cpp:
(WebCore::PNGImageReader::createRowBuffer):
* platform/win/ContextMenuWin.cpp:
(WebCore::ContextMenu::getContextMenuItems):
* platform/win/LoggingWin.cpp:
(WebCore::logLevelString):
* plugins/PluginPackage.cpp:
* plugins/blackberry/PluginViewBlackBerry.cpp:
(WebCore::PluginView::handleTouchEvent):
* plugins/win/PluginPackageWin.cpp:
(WebCore::PluginPackage::fetchInfo):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156015
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 18 Sep 2013 00:10:20 +0000 (00:10 +0000)]
Unreviewed, rolling out r156001.
http://trac.webkit.org/changeset/156001
https://bugs.webkit.org/show_bug.cgi?id=121529
Broke API tests (Requested by ap on #webkit).
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
(WebDefaultFont):
(_fontForNameAndSize):
(+[WebHTMLConverter defaultParagraphStyle]):
(-[WebHTMLConverter _computedStyleForElement:]):
(-[WebHTMLConverter _specifiedStyleForElement:]):
(-[WebHTMLConverter _computedStringForNode:property:]):
(-[WebHTMLConverter _stringForNode:property:]):
(-[WebHTMLConverter _getComputedFloat:forNode:property:]):
(-[WebHTMLConverter _getFloat:forNode:property:]):
(_colorForRGBColor):
(_shadowForShadowStyle):
(-[WebHTMLConverter _elementIsBlockLevel:]):
(-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
(-[WebHTMLConverter _computedColorForNode:property:]):
(-[WebHTMLConverter _colorForNode:property:]):
(-[WebHTMLConverter _computedAttributesForElement:]):
(-[WebHTMLConverter _attributesForElement:]):
(-[WebHTMLConverter _newParagraphForElement:tag:allowEmpty:suppressTrailingSpace:]):
(-[WebHTMLConverter _newLineForElement:]):
(-[WebHTMLConverter _newTabForElement:]):
(-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
(-[WebHTMLConverter _addQuoteForElement:opening:level:]):
(-[WebHTMLConverter _addValue:forElement:]):
(-[WebHTMLConverter _fillInBlock:forElement:backgroundColor:extraMargin:extraPadding:isTable:]):
(_dateForString):
(_colCompare):
(-[WebHTMLConverter _enterElement:tag:display:]):
(-[WebHTMLConverter _addTableForElement:]):
(-[WebHTMLConverter _addTableCellForElement:]):
(-[WebHTMLConverter _processElement:tag:display:depth:]):
(-[WebHTMLConverter _addMarkersToList:range:]):
(-[WebHTMLConverter _exitElement:tag:display:depth:startIndex:]):
(-[WebHTMLConverter _processText:]):
(-[WebHTMLConverter _traverseNode:depth:embedded:]):
(-[WebHTMLConverter _traverseFooterNode:depth:]):
(-[WebHTMLConverter _loadFromDOMRange]):
(-[WebHTMLConverter dealloc]):
(-[WebHTMLConverter init]):
(-[WebHTMLConverter initWithDOMRange:]):
(-[WebHTMLConverter attributedString]):
(+[WebHTMLConverter editingAttributedStringFromRange:]):
(fileWrapperForElement):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156014
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 17 Sep 2013 23:24:36 +0000 (23:24 +0000)]
Removed some Lion specific results - these tests are failing on Lion bots despite these,
and it looks like Lion now matches cross-platform results.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Removed.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Removed.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Removed.
* platform/mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156013
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 17 Sep 2013 23:12:35 +0000 (23:12 +0000)]
compositing/images/positioned-image-content-rect.html is failing on some bots
https://bugs.webkit.org/show_bug.cgi?id=121526
* platform/mac/TestExpectations: Marked as failing or passing for now, should
be fixed with upcoming color management improvements.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156012
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 17 Sep 2013 23:08:05 +0000 (23:08 +0000)]
AX: Mac AXARIABusy should be AXElementBusy (not ARIA specific)
https://bugs.webkit.org/show_bug.cgi?id=121442
Patch by Samuel White <samuel_white@apple.com> on 2013-09-17
Reviewed by Chris Fleizach.
Source/WebCore:
No new tests, changed AXARIABusy attribute to AXElementBusy to uncouple the concept of busy with
the aria-busy attribute. This will allow us to expand on the definition of busy moving forward.
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
LayoutTests:
Mac platform attribute name change only (AXARIABusy => AXElementBusy). Updated existing tests using this attribute.
* accessibility/transformed-element-expected.txt:
* platform/mac/accessibility/aria-columnrowheaders-expected.txt:
* platform/mac/accessibility/aria-liveregions-attributes-expected.txt:
* platform/mac/accessibility/aria-liveregions-attributes.html:
* platform/mac/accessibility/bounds-for-range-expected.txt:
* platform/mac/accessibility/document-attributes-expected.txt:
* platform/mac/accessibility/document-links-expected.txt:
* platform/mac/accessibility/image-link-expected.txt:
* platform/mac/accessibility/image-map2-expected.txt:
* platform/mac/accessibility/internal-link-anchors-expected.txt:
* platform/mac/accessibility/internal-link-anchors2-expected.txt:
* platform/mac/accessibility/lists-expected.txt:
* platform/mac/accessibility/plugin-expected.txt:
* platform/mac/accessibility/table-attributes-expected.txt:
* platform/mac/accessibility/table-cell-spans-expected.txt:
* platform/mac/accessibility/table-cells-expected.txt:
* platform/mac/accessibility/table-detection-expected.txt:
* platform/mac/accessibility/table-one-cell-expected.txt:
* platform/mac/accessibility/table-sections-expected.txt:
* platform/mac/accessibility/table-with-aria-role-expected.txt:
* platform/mac/accessibility/table-with-rules-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156011
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
msaboff@apple.com [Tue, 17 Sep 2013 22:48:57 +0000 (22:48 +0000)]
Unreviewed typo fix after r155999
Changed en_US.UTB-8 to en_US.UTF-8
* Scripts/run-javascriptcore-tests:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156010
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Tue, 17 Sep 2013 22:32:31 +0000 (22:32 +0000)]
Pack create_hash_table tables better.
<https://webkit.org/b/121517>
Reviewed by Sam Weinig.
Source/JavaScriptCore:
Reduces JavaScriptCore binary size by 4648 bytes.
* create_hash_table:
* runtime/Lookup.h:
Reorder HashTableValue members to avoid unnecessary padding.
Source/WebCore:
Reduces WebCore binary size by 72744 bytes.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHashTable):
Updated for new HashTableValue member order.
* bindings/scripts/test/JS/*:
Rebaselined bindings tests.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156009
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
simon.fraser@apple.com [Tue, 17 Sep 2013 22:27:40 +0000 (22:27 +0000)]
Rebaseline a test.
* platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt: Copied from LayoutTests/platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt.
* platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156008
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 22:27:07 +0000 (22:27 +0000)]
[Windows] Adjust test list further to make the bots green.
* platform/win/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156007
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zoltan@webkit.org [Tue, 17 Sep 2013 22:07:32 +0000 (22:07 +0000)]
[Qt] Add FlowThreadController.h to Target.pri
https://bugs.webkit.org/show_bug.cgi?id=121516
Reviewed by Dirk Schulze.
No new tests, no behavior change.
* Target.pri:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156006
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 17 Sep 2013 22:03:44 +0000 (22:03 +0000)]
ScriptProcessorNode is garbage collected while still active if unreachable (breaks
webaudio/javascriptaudionode.html test)
https://bugs.webkit.org/show_bug.cgi?id=112521
* TestExpectations: Marking test as failing/asserting.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156005
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Tue, 17 Sep 2013 21:58:57 +0000 (21:58 +0000)]
Stop explicitly using PassOwnPtr in WebCore/html
https://bugs.webkit.org/show_bug.cgi?id=121511
Reviewed by Andreas Kling.
Source/WebCore:
* dom/ElementRareData.h:
(WebCore::ElementRareData::setClassList):
* html/ButtonInputType.cpp:
(WebCore::ButtonInputType::create):
* html/ButtonInputType.h:
* html/CheckboxInputType.cpp:
(WebCore::CheckboxInputType::create):
(WebCore::CheckboxInputType::willDispatchClick):
* html/CheckboxInputType.h:
* html/ClassList.cpp:
(WebCore::ClassList::create):
* html/ClassList.h:
* html/ColorInputType.cpp:
(WebCore::ColorInputType::create):
* html/ColorInputType.h:
* html/DateInputType.cpp:
(WebCore::DateInputType::create):
* html/DateInputType.h:
* html/DateTimeInputType.cpp:
(WebCore::DateTimeInputType::create):
* html/DateTimeInputType.h:
* html/DateTimeLocalInputType.cpp:
(WebCore::DateTimeLocalInputType::create):
* html/DateTimeLocalInputType.h:
* html/EmailInputType.cpp:
(WebCore::EmailInputType::create):
* html/EmailInputType.h:
* html/FileInputType.cpp:
(WebCore::FileInputType::create):
* html/FileInputType.h:
* html/FormAssociatedElement.cpp:
(WebCore::FormAttributeTargetObserver::create):
* html/FormController.cpp:
(WebCore::SavedFormState::create):
(WebCore::SavedFormState::deserialize):
(WebCore::FormKeyGenerator::create):
(WebCore::FormController::createSavedFormStateMap):
* html/FormController.h:
(WebCore::FormController::create):
* html/HTMLInputElement.cpp:
(WebCore::ListAttributeTargetObserver::create):
* html/HiddenInputType.cpp:
(WebCore::HiddenInputType::create):
* html/HiddenInputType.h:
* html/ImageInputType.cpp:
(WebCore::ImageInputType::create):
* html/ImageInputType.h:
* html/InputType.cpp:
(WebCore::InputType::create):
(WebCore::InputType::createText):
(WebCore::InputType::willDispatchClick):
* html/InputType.h:
* html/MonthInputType.cpp:
(WebCore::MonthInputType::create):
* html/MonthInputType.h:
* html/NumberInputType.cpp:
(WebCore::NumberInputType::create):
* html/NumberInputType.h:
* html/PasswordInputType.cpp:
(WebCore::PasswordInputType::create):
* html/PasswordInputType.h:
* html/PublicURLManager.h:
(WebCore::PublicURLManager::create):
* html/RadioInputType.cpp:
(WebCore::RadioInputType::create):
(WebCore::RadioInputType::willDispatchClick):
* html/RadioInputType.h:
* html/RangeInputType.cpp:
(WebCore::RangeInputType::create):
* html/RangeInputType.h:
* html/ResetInputType.cpp:
(WebCore::ResetInputType::create):
* html/ResetInputType.h:
* html/SearchInputType.cpp:
(WebCore::SearchInputType::create):
* html/SearchInputType.h:
* html/SubmitInputType.cpp:
(WebCore::SubmitInputType::create):
* html/SubmitInputType.h:
* html/TelephoneInputType.cpp:
(WebCore::TelephoneInputType::create):
* html/TelephoneInputType.h:
* html/TextInputType.cpp:
(WebCore::TextInputType::create):
* html/TextInputType.h:
* html/TimeInputType.cpp:
(WebCore::TimeInputType::create):
* html/TimeInputType.h:
* html/URLInputType.cpp:
(WebCore::URLInputType::create):
* html/URLInputType.h:
* html/ValidationMessage.cpp:
(WebCore::ValidationMessage::create):
* html/ValidationMessage.h:
* html/ValidityState.h:
(WebCore::ValidityState::create):
* html/WeekInputType.cpp:
(WebCore::WeekInputType::create):
* html/WeekInputType.h:
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::createCompositingBuffer):
* html/canvas/CanvasRenderingContext2D.h:
(WebCore::CanvasRenderingContext2D::create):
* html/canvas/EXTDrawBuffers.cpp:
(WebCore::EXTDrawBuffers::create):
* html/canvas/EXTDrawBuffers.h:
* html/canvas/EXTTextureFilterAnisotropic.cpp:
(WebCore::EXTTextureFilterAnisotropic::create):
* html/canvas/EXTTextureFilterAnisotropic.h:
* html/canvas/OESElementIndexUint.cpp:
(WebCore::OESElementIndexUint::create):
* html/canvas/OESElementIndexUint.h:
* html/canvas/OESStandardDerivatives.cpp:
(WebCore::OESStandardDerivatives::create):
* html/canvas/OESStandardDerivatives.h:
* html/canvas/OESTextureFloat.cpp:
(WebCore::OESTextureFloat::create):
* html/canvas/OESTextureFloat.h:
* html/canvas/OESTextureHalfFloat.cpp:
(WebCore::OESTextureHalfFloat::create):
* html/canvas/OESTextureHalfFloat.h:
* html/canvas/OESVertexArrayObject.cpp:
(WebCore::OESVertexArrayObject::create):
* html/canvas/OESVertexArrayObject.h:
* html/canvas/WebGLCompressedTextureATC.cpp:
(WebCore::WebGLCompressedTextureATC::create):
* html/canvas/WebGLCompressedTextureATC.h:
* html/canvas/WebGLCompressedTexturePVRTC.cpp:
(WebCore::WebGLCompressedTexturePVRTC::create):
* html/canvas/WebGLCompressedTexturePVRTC.h:
* html/canvas/WebGLCompressedTextureS3TC.cpp:
(WebCore::WebGLCompressedTextureS3TC::create):
* html/canvas/WebGLCompressedTextureS3TC.h:
* html/canvas/WebGLDebugRendererInfo.cpp:
(WebCore::WebGLDebugRendererInfo::create):
* html/canvas/WebGLDebugRendererInfo.h:
* html/canvas/WebGLDebugShaders.cpp:
(WebCore::WebGLDebugShaders::create):
* html/canvas/WebGLDebugShaders.h:
* html/canvas/WebGLDepthTexture.cpp:
(WebCore::WebGLDepthTexture::create):
* html/canvas/WebGLDepthTexture.h:
* html/canvas/WebGLLoseContext.cpp:
(WebCore::WebGLLoseContext::create):
* html/canvas/WebGLLoseContext.h:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::create):
* html/canvas/WebGLRenderingContext.h:
* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
(WebCore::BackgroundHTMLParser::resumeFrom):
* html/parser/BackgroundHTMLParser.h:
(WebCore::BackgroundHTMLParser::create):
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser):
(WebCore::HTMLDocumentParser::validateSpeculations):
(WebCore::HTMLDocumentParser::discardSpeculationsAndResumeFrom):
(WebCore::HTMLDocumentParser::processParsedChunkFromBackgroundParser):
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLElementStack.cpp:
(WebCore::HTMLElementStack::ElementRecord::ElementRecord):
* html/parser/HTMLElementStack.h:
(WebCore::HTMLElementStack::ElementRecord::releaseNext):
(WebCore::HTMLElementStack::ElementRecord::setNext):
* html/parser/HTMLMetaCharsetParser.h:
(WebCore::HTMLMetaCharsetParser::create):
* html/parser/HTMLParserScheduler.h:
(WebCore::HTMLParserScheduler::create):
* html/parser/HTMLParserThread.h:
(WebCore::HTMLParserThread::create):
* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::StartTagScanner::createPreloadRequest):
* html/parser/HTMLResourcePreloader.cpp:
(WebCore::HTMLResourcePreloader::preload):
* html/parser/HTMLResourcePreloader.h:
(WebCore::PreloadRequest::create):
* html/parser/HTMLScriptRunner.h:
(WebCore::HTMLScriptRunner::create):
* html/parser/HTMLToken.h:
(WebCore::HTMLToken::releaseDoctypeData):
* html/parser/HTMLTokenizer.h:
(WebCore::HTMLTokenizer::create):
* html/parser/HTMLTreeBuilder.h:
(WebCore::HTMLTreeBuilder::create):
* html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::filterToken):
* html/parser/XSSAuditor.h:
* html/parser/XSSAuditorDelegate.h:
(WebCore::XSSInfo::create):
* html/track/WebVTTParser.h:
(WebCore::WebVTTParser::create):
* html/track/WebVTTTokenizer.h:
(WebCore::WebVTTTokenizer::create):
Source/WTF:
Make operator= work work for different types of OwnPtrs.
* wtf/OwnPtr.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156004
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mhahnenberg@apple.com [Tue, 17 Sep 2013 21:57:25 +0000 (21:57 +0000)]
DFG doesn't properly keep scope alive for op_put_to_scope
https://bugs.webkit.org/show_bug.cgi?id=121519
Reviewed by Michael Saboff.
This was a latent bug that can't actually occur in ToT. It was uncovered by causing slow
path calls in the baseline JIT for op_put_to_scope in places where we couldn't before (but
which were necessary for gen GC).
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156003
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 17 Sep 2013 21:48:58 +0000 (21:48 +0000)]
Web Inspector: inspector/storage-panel-dom-storage-update.html is flakey on the bots
https://bugs.webkit.org/show_bug.cgi?id=120544
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
Marking as such again.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156002
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
enrica@apple.com [Tue, 17 Sep 2013 21:48:13 +0000 (21:48 +0000)]
Upstream changes to WebHTMLConverter to support HTML
to NSAttributedString conversion on both iOS and OS X.
Reviewed by Benjamin Poulain.
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
(WebDefaultFont):
(_fontForNameAndSize):
(+[WebHTMLConverter defaultParagraphStyle]):
(-[WebHTMLConverter _computedStyleForElement:]):
(-[WebHTMLConverter _specifiedStyleForElement:]):
(-[WebHTMLConverter _computedStringForNode:property:]):
(-[WebHTMLConverter _stringForNode:property:]):
(-[WebHTMLConverter _getComputedFloat:forNode:property:]):
(-[WebHTMLConverter _getFloat:forNode:property:]):
(_NSFirstPathForDirectoriesInDomains):
(_NSSystemLibraryPath):
(-[WebHTMLConverter _webKitBundle]):
(_colorForRGBColor):
(_shadowForShadowStyle):
(-[WebHTMLConverter _elementIsBlockLevel:]):
(-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
(-[WebHTMLConverter _computedColorForNode:property:]):
(-[WebHTMLConverter _colorForNode:property:]):
(-[WebHTMLConverter _computedAttributesForElement:]):
(-[WebHTMLConverter _attributesForElement:]):
(-[WebHTMLConverter _newParagraphForElement:tag:allowEmpty:suppressTrailingSpace:]):
(-[WebHTMLConverter _newLineForElement:]):
(-[WebHTMLConverter _newTabForElement:]):
(-[WebHTMLConverter _WebMessageDocumentClass]):
(-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
(-[WebHTMLConverter _addQuoteForElement:opening:level:]):
(-[WebHTMLConverter _addValue:forElement:]):
(-[WebHTMLConverter _fillInBlock:forElement:backgroundColor:extraMargin:extraPadding:isTable:]):
(_dateForString):
(_colCompare):
(-[WebHTMLConverter _processMetaElementWithName:content:]):
(-[WebHTMLConverter _processHeadElement:]):
(-[WebHTMLConverter _enterElement:tag:display:embedded:]):
(-[WebHTMLConverter _addTableForElement:]):
(-[WebHTMLConverter _addTableCellForElement:]):
(-[WebHTMLConverter _processElement:tag:display:depth:]):
(-[WebHTMLConverter _addMarkersToList:range:]):
(-[WebHTMLConverter _exitElement:tag:display:depth:startIndex:]):
(-[WebHTMLConverter _processText:]):
(-[WebHTMLConverter _traverseNode:depth:embedded:]):
(-[WebHTMLConverter _traverseFooterNode:depth:]):
(-[WebHTMLConverter _loadFromDOMRange]):
(-[WebHTMLConverter dealloc]):
(-[WebHTMLConverter init]):
(-[WebHTMLConverter initWithDOMRange:]):
(-[WebHTMLConverter attributedString]):
(+[WebHTMLConverter editingAttributedStringFromRange:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156001
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Tue, 17 Sep 2013 21:46:10 +0000 (21:46 +0000)]
Add make_unique and start using it
https://bugs.webkit.org/show_bug.cgi?id=121523
Reviewed by Anders Carlsson.
../WebCore:
* html/HTMLAreaElement.h:
* html/HTMLFrameSetElement.h:
* platform/Length.cpp:
(WebCore::newCoordsArray):
(WebCore::newLengthArray):
* platform/Length.h:
Switch off OwnArrayPtr to std::unique_ptr<T[]> and make use of make_unique.
../WTF:
* wtf/StdLibExtras.h:
(std::make_unique):
Add temporary implementation of std::make_unique that we can use until our standard
libraries have support for it.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156000
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
msaboff@apple.com [Tue, 17 Sep 2013 21:44:09 +0000 (21:44 +0000)]
run-jsc-stress-tests fails with ruby version 2
https://bugs.webkit.org/show_bug.cgi?id=121521
Reviewed by Jessie Berlin.
Explicitly set LANG to en_US.UTB-8 before starting run-jsc-stress-tests.
* Scripts/run-javascriptcore-tests:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155999
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
simon.fraser@apple.com [Tue, 17 Sep 2013 21:33:48 +0000 (21:33 +0000)]
Hardware accelerated CSS transitions appear pixelated when scaled up using transform
https://bugs.webkit.org/show_bug.cgi?id=27684
<rdar://problem/
6134606>
Source/WebCore:
Reviewed by Dean Jackson.
Take transforms and animations into account when computing the contentsScale
for a layer, so that scaled-up layers remain sharp most of the time.
In its recursiveCommitChanges() tree walk, GraphicsLayerCA now tracks
a root-relative transform, and extracts from that transform the X and Y
scales which it uses to scale the backing store.
If the layer has transform animations on it, we keep around
a transformation matrix for the animation endpoints (or keyframes),
pick up the state that has the larger impact on the root-relative scale,
and use that as the layer's transform, and the transform when recursing
over descendants.
Tests: compositing/contents-scale/animating.html
compositing/contents-scale/scaled-ancestor.html
compositing/contents-scale/simple-scale.html
compositing/contents-scale/z-translate.html
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::maxScaleFromTransform): Decompose the transform if necesssary
to extract the X and Y scale components.
(WebCore::GraphicsLayerCA::GraphicsLayerCA): Initialize m_rootRelativeScaleFactor.
(WebCore::GraphicsLayerCA::flushCompositingState): Supply a TransformationMatrix
for the root of the recursion.
(WebCore::GraphicsLayerCA::layerTransform): This code was factored out of
computeVisibleRect(), and optionally takes a custom transform.
(WebCore::GraphicsLayerCA::computeVisibleRect): Use the layerTransform() function.
(WebCore::GraphicsLayerCA::updateRootRelativeScale): Given a transform from the root,
find the max scale factor by multiplying the various animation endpoint matrices and picking
the one with the biggest impact on scale. Use this to set m_rootRelativeScaleFactor, and
set the flag to say that we need to update contentsScale.
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): After updating
animations, call updateRootRelativeScale() to update m_rootRelativeScaleFactor.
(WebCore::GraphicsLayerCA::updateAnimations): We have a side table of animation name to
TransformationMatrix, so figure out which entries can be removed from that side table,
and remove them.
(WebCore::GraphicsLayerCA::setAnimationOnLayer):
(WebCore::GraphicsLayerCA::appendToUncommittedAnimations): Store the matrices for
animation endpoints/keyframes in the m_animationTransforms side table. We don't store
them directly in LayerPropertyAnimation because we just want the final matrix for
a transform list, and using a side table makes ownership easier to manage.
(WebCore::GraphicsLayerCA::getTransformFromAnimationsWithMaxScaleImpact):
goes through the matrices for the running animation endpoints/keyframes, and
multiplies each with the transform up to this layer to find the matrix with the
larger impact on scale.
(WebCore::GraphicsLayerCA::setTransformAnimationEndpoints): Returns a vector
of TransformationMatrix for the from and to states.
(WebCore::GraphicsLayerCA::setTransformAnimationKeyframes): Returns a vector
of TransformationMatrix for the keyframes.
(WebCore::GraphicsLayerCA::updateContentsScale): Include m_rootRelativeScaleFactor in the
scale factor computation.
(WebCore::GraphicsLayerCA::dumpAdditionalProperties): If we're dumping visible rects,
also dump the contentsScale. Convenient at these are useful to look at together, and I didn't
want to pollute Internals with yet more flags.
* platform/graphics/ca/GraphicsLayerCA.h:
(WebCore::GraphicsLayerCA::LayerPropertyAnimation::LayerPropertyAnimation): Formatting.
LayoutTests:
Reviewed by Dean Jackson.
New tests that dump contentsScale under various scaling scenarios:
* compositing/contents-scale/animating-expected.txt: Added.
* compositing/contents-scale/animating.html: Added.
* compositing/contents-scale/scaled-ancestor-expected.txt: Added.
* compositing/contents-scale/scaled-ancestor.html: Added.
* compositing/contents-scale/simple-scale-expected.txt: Added.
* compositing/contents-scale/simple-scale.html: Added.
* compositing/contents-scale/z-translate-expected.txt: Added.
* compositing/contents-scale/z-translate.html: Added.
These tests had Mac-specific results (which include visible rects and now
contents scale) in the cross-platform directory, so cleaned up the cross-platform
results and moved the Mac results to platform-mac.
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
* compositing/visible-rect/2d-transformed-expected.txt:
* compositing/visible-rect/3d-transform-style-expected.txt:
* compositing/visible-rect/3d-transformed-expected.txt:
* compositing/visible-rect/animated-expected.txt:
* compositing/visible-rect/animated-from-none-expected.txt:
* compositing/visible-rect/clipped-by-viewport-expected.txt:
* compositing/visible-rect/clipped-visible-rect-expected.txt:
* compositing/visible-rect/flipped-preserve-3d-expected.txt:
* compositing/visible-rect/iframe-and-layers-expected.txt:
* compositing/visible-rect/nested-transform-expected.txt:
* compositing/visible-rect/scrolled-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/mac/compositing/visible-rect/2d-transformed-expected.txt: Copied from LayoutTests/compositing/visible-rect/2d-transformed-expected.txt.
* platform/mac/compositing/visible-rect/3d-transform-style-expected.txt: Copied from LayoutTests/compositing/visible-rect/3d-transform-style-expected.txt.
* platform/mac/compositing/visible-rect/3d-transformed-expected.txt: Copied from LayoutTests/compositing/visible-rect/3d-transformed-expected.txt.
* platform/mac/compositing/visible-rect/animated-expected.txt: Copied from LayoutTests/compositing/visible-rect/animated-expected.txt.
* platform/mac/compositing/visible-rect/animated-from-none-expected.txt: Copied from LayoutTests/compositing/visible-rect/animated-from-none-expected.txt.
* platform/mac/compositing/visible-rect/clipped-by-viewport-expected.txt: Copied from LayoutTests/compositing/visible-rect/clipped-by-viewport-expected.txt.
* platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt: Copied from LayoutTests/compositing/visible-rect/clipped-visible-rect-expected.txt.
* platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt: Copied from LayoutTests/compositing/visible-rect/flipped-preserve-3d-expected.txt.
* platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt: Copied from LayoutTests/compositing/visible-rect/iframe-and-layers-expected.txt.
* platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
* platform/mac/compositing/visible-rect/nested-transform-expected.txt: Copied from LayoutTests/compositing/visible-rect/nested-transform-expected.txt.
* platform/mac/compositing/visible-rect/scrolled-expected.txt: Copied from LayoutTests/compositing/visible-rect/scrolled-expected.txt.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155998
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Tue, 17 Sep 2013 20:56:57 +0000 (20:56 +0000)]
Don't GC while OSR compiling
https://bugs.webkit.org/show_bug.cgi?id=121513
Reviewed by Mark Hahnenberg.
Fixes some rare crashes that I see in ConservativeRoots, while in a GC from OSR exit
compilation.
* dfg/DFGOSRExitCompiler.cpp:
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileFTLOSRExit):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155995
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 17 Sep 2013 20:54:00 +0000 (20:54 +0000)]
Unreviewed, rolling out r155977.
http://trac.webkit.org/changeset/155977
https://bugs.webkit.org/show_bug.cgi?id=121515
Broke over a dozen tests on Mac WK2 (Requested by ap on
#webkit).
Source/WebCore:
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::GraphicsLayerCA):
(WebCore::GraphicsLayerCA::flushCompositingState):
(WebCore::GraphicsLayerCA::computeVisibleRect):
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
(WebCore::GraphicsLayerCA::updateAnimations):
(WebCore::GraphicsLayerCA::setAnimationOnLayer):
(WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
(WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
(WebCore::GraphicsLayerCA::setTransformAnimationKeyframes):
(WebCore::GraphicsLayerCA::updateContentsScale):
(WebCore::GraphicsLayerCA::dumpAdditionalProperties):
* platform/graphics/ca/GraphicsLayerCA.h:
(WebCore::GraphicsLayerCA::LayerPropertyAnimation::LayerPropertyAnimation):
LayoutTests:
* compositing/contents-scale/animating-expected.txt: Removed.
* compositing/contents-scale/animating.html: Removed.
* compositing/contents-scale/scaled-ancestor-expected.txt: Removed.
* compositing/contents-scale/scaled-ancestor.html: Removed.
* compositing/contents-scale/simple-scale-expected.txt: Removed.
* compositing/contents-scale/simple-scale.html: Removed.
* compositing/contents-scale/z-translate-expected.txt: Removed.
* compositing/contents-scale/z-translate.html: Removed.
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
* compositing/visible-rect/2d-transformed-expected.txt:
* compositing/visible-rect/3d-transform-style-expected.txt:
* compositing/visible-rect/3d-transformed-expected.txt:
* compositing/visible-rect/animated-expected.txt:
* compositing/visible-rect/animated-from-none-expected.txt:
* compositing/visible-rect/clipped-by-viewport-expected.txt:
* compositing/visible-rect/clipped-visible-rect-expected.txt:
* compositing/visible-rect/flipped-preserve-3d-expected.txt:
* compositing/visible-rect/iframe-and-layers-expected.txt:
* compositing/visible-rect/nested-transform-expected.txt:
* compositing/visible-rect/scrolled-expected.txt:
* platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: Removed.
* platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: Removed.
* platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/mac/compositing/visible-rect/2d-transformed-expected.txt: Removed.
* platform/mac/compositing/visible-rect/3d-transform-style-expected.txt: Removed.
* platform/mac/compositing/visible-rect/3d-transformed-expected.txt: Removed.
* platform/mac/compositing/visible-rect/animated-expected.txt: Removed.
* platform/mac/compositing/visible-rect/animated-from-none-expected.txt: Removed.
* platform/mac/compositing/visible-rect/clipped-by-viewport-expected.txt: Removed.
* platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt: Removed.
* platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt: Removed.
* platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt: Removed.
* platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
* platform/mac/compositing/visible-rect/nested-transform-expected.txt: Removed.
* platform/mac/compositing/visible-rect/scrolled-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155994
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric.carlson@apple.com [Tue, 17 Sep 2013 20:36:26 +0000 (20:36 +0000)]
MediaStream API: Changing the device enumeration to be async
https://bugs.webkit.org/show_bug.cgi?id=120883
Reviewed by Darin Adler.
Source/WebCore:
Parts merged from https://chromium.googlesource.com/chromium/blink/+/
40a96080a1531e50de4eb84571c7dc9fb321ece5
and https://chromium.googlesource.com/chromium/blink/+/
ff783a23bb1add588971a8187048a305cf485121
by Tommy Widenflycht.
Test: fast/mediastream/MediaStreamTrack-getSources.html
* CMakeLists.txt: Added new files.
* DerivedSources.make: Ditto.
* GNUmakefile.list.am: Ditto.
* Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::kind): ASCIILiteral -> NeverDestroyed<AtomicString>.
(WebCore::MediaStreamTrack::readyState): Ditto.
(WebCore::MediaStreamTrack::getSources): New.
* Modules/mediastream/MediaStreamTrack.h:
* Modules/mediastream/MediaStreamTrack.idl:
* Modules/mediastream/MediaStreamTrackSourcesCallback.h: Added.
* Modules/mediastream/MediaStreamTrackSourcesCallback.idl: Added.
* Modules/mediastream/MediaStreamTrackSourcesRequest.cpp: Added.
* Modules/mediastream/MediaStreamTrackSourcesRequest.h: Added.
* Modules/mediastream/SourceInfo.cpp: Added.
* Modules/mediastream/SourceInfo.h: Added.
* Modules/mediastream/SourceInfo.idl: Added.
* WebCore.xcodeproj/project.pbxproj: Add new files.
* bindings/js/JSDOMBinding.h: Add toJS templates for Vector<T> and Vector<RefPtr<T>>.
* platform/mediastream/MediaStreamCenter.h: Add prototype for getMediaStreamTrackSources.
* platform/mediastream/MediaStreamTrackSourcesRequestClient.h: Added.
* platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp:
(WebCore::MediaStreamCenterMac::getMediaStreamTrackSources): Added.
* platform/mediastream/blackberry/MediaStreamCenterBlackBerry.h:
* platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp:
(WebCore::MediaStreamCenterMac::getMediaStreamTrackSources): Added
* platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
* platform/mediastream/mac/MediaStreamCenterMac.cpp:
(WebCore::MediaStreamCenterMac::getMediaStreamTrackSources): Added.
* platform/mediastream/mac/MediaStreamCenterMac.h:
LayoutTests:
* fast/mediastream/MediaStreamTrack-getSources-expected.txt: Added.
* fast/mediastream/MediaStreamTrack-getSources.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155992
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 20:30:12 +0000 (20:30 +0000)]
lUnreviewed, rolling out r155976.
http://trac.webkit.org/changeset/155976
https://bugs.webkit.org/show_bug.cgi?id=121512
Broke a test, needs cleanup (Requested by ap_ on #webkit).
Patch by Commit Queue <commit-queue@webkit.org> on 2013-09-17
* platform/mac/accessibility/element-busy-changed-expected.txt: Removed.
* platform/mac/accessibility/element-busy-changed.html: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155991
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 17 Sep 2013 20:10:34 +0000 (20:10 +0000)]
Unreviewed, rolling out r155976.
http://trac.webkit.org/changeset/155976
https://bugs.webkit.org/show_bug.cgi?id=121512
Broke a test, needs cleanup (Requested by ap_ on #webkit).
Source/WebCore:
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChanged):
* accessibility/AXObjectCache.h:
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
LayoutTests:
* platform/mac/accessibility/element-busy-changed-expected.txt: Removed.
* platform/mac/accessibility/element-busy-changed.html: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155989
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 17 Sep 2013 20:06:49 +0000 (20:06 +0000)]
Improve srcset parser
https://bugs.webkit.org/show_bug.cgi?id=119423
Patch by Romain Perier <romain.perier@gmail.com> on 2013-09-17
Reviewed by Benjamin Poulain.
Source/WebCore:
Added new tests and covered by existing ones.
* html/parser/HTMLParserIdioms.cpp:
(WebCore::isHTMLSpaceOrComma): Add a new predicate function used by String::find()
to get the first space or comma character from the input string.
(WebCore::parseImagesWithScaleFromSrcSetAttribute): Add a new static function to parse
and extract images with scale from the srcset attribute. All valid candidates are
returned to the caller through a list. This parsing function also adds support
for data URI schemes as described by the specification.
(WebCore::bestFitSourceForImageAttributes): Remove intermediate arrays of string
when parsing. That is more efficient and avoids trashing the data cache
(varying between 20 and 65% faster depending of the amount of data)
The parser now walks along the attribute value and extracts the candidates directly.
LayoutTests:
* fast/hidpi/image-srcset-data-srcset-invalid-inputs.html: Ensures that a various invalid
form of data uri schemes are supported by the srcset attribute.
* fast/hidpi/image-srcset-data-srcset-valid-inputs.html: Ensures that a various valid
form of data uri schemes are supported by the srcset attribute.
* fast/hidpi/image-srcset-data-srcset.html: Use comma instead of %.
* fast/hidpi/image-srcset-fraction-1.5x.html: Added.
* fast/hidpi/image-srcset-invalid-inputs-except-one.html: Missing srcset-helper.js. Adding more invalid cases.
* fast/hidpi/image-srcset-invalid-inputs.html: Adding more invalid cases.
* fast/hidpi/image-srcset-nomodifier.html: Updated output as behaviour changed for this case.
* fast/hidpi/image-srcset-space-suffix-nomodifier.html: Ensures that a single candidate with no scale modifier
is supported by the srcset attribute, even if a space is left at the end.
* fast/hidpi/image-srcset-space-prefix-nomodifier.html: Ensures that a single candidate with no scale modifier
is supported by the srcset attribute, even if a space is left at the beginning.
* fast/hidpi/image-srcset-space-surrounded-nomodifier.html: Ensures that a single candidate with no scale modifier
is supported by the srcset attribute, even if it is surrounded by spaces.
* fast/hidpi/image-srcset-data-escaped-srcset.html: Ensures that data uri schemes with escaped characters
are supported by the srcset attribute.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155988
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Tue, 17 Sep 2013 20:00:05 +0000 (20:00 +0000)]
Buildfix for !ENABLE(CUSTOM_PROTOCOLS) platforms
https://bugs.webkit.org/show_bug.cgi?id=121417
Reviewed by Alexey Proskuryakov.
Original patch by Balazs Kelemen <kbalazs@webkit.org>.
* CMakeLists.txt: Add CustomProtocolManagerProxy.messages.in.
* DerivedSources.pri: Add CustomProtocolManagerProxy.messages.in.
* GNUmakefile.am: Add CustomProtocolManagerProxy.messages.in.
* GNUmakefile.list.am: Add CustomProtocolManagerProxyMessages.h and CustomProtocolManagerProxyMessageReceiver.cpp.
* NetworkProcess/NetworkProcess.cpp: Add the missing ENABLE(CUSTOM_PROTOCOLS) guard.
(WebKit::NetworkProcess::NetworkProcess):
* UIProcess/WebProcessProxy.cpp: Remove the unnecessary conditional include.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155987
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kov@webkit.org [Tue, 17 Sep 2013 19:27:30 +0000 (19:27 +0000)]
[GTK] Test /webkit2/WebKitWebInspectorServer/test-open-debugging-session times out after r155714
https://bugs.webkit.org/show_bug.cgi?id=121383
Reviewed by Carlos Garcia Campos.
* UIProcess/API/gtk/tests/TestInspectorServer.cpp:
(openRemoteDebuggingSession): use the page contents' to check the remote debugging of the page
has been successfuly opened, as the title is no longer the same after the switch to the new
frontend.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155985
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kov@webkit.org [Tue, 17 Sep 2013 19:16:01 +0000 (19:16 +0000)]
Unreviewed build fix after 155963.
* platform/gtk/RenderThemeGtk3.cpp:
(WebCore::getStyleContext): use nullptr instead of 0.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155984
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 19:06:26 +0000 (19:06 +0000)]
[Windows] Disable a number of crashing tests to help the EWS system run more rapidly.
https://bugs.webkit.org/show_bug.cgi?id=121509
* platform/win/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155983
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 17 Sep 2013 19:05:23 +0000 (19:05 +0000)]
Make SVGTransform::valueAsString use StringBuilder
https://bugs.webkit.org/show_bug.cgi?id=121498
Unreviewed typo fix, should address a regression on svg/dom/SVGViewSpec.html.
* svg/SVGTransform.cpp: (WebCore::SVGTransform::valueAsString): "e" is totally
not the same as "f".
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155982
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 18:57:15 +0000 (18:57 +0000)]
[Windows] Disable a number of failing tests to help the EWS system run more rapidly.
* platform/win/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155981
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 18:22:02 +0000 (18:22 +0000)]
[Windows] Unreviewed build fix after r155963.
* DumpRenderTree/win/TestRunnerWin.cpp:
(TestRunner::evaluateScriptInIsolatedWorld): Pass nullptr rather than 0.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155979
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@apple.com [Tue, 17 Sep 2013 18:15:15 +0000 (18:15 +0000)]
[Windows] Speculative build fix after r155963
* WebKitCOMAPI.cpp:
(classFactory): Use nullptr rather than 0 for HashMap.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155978
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
simon.fraser@apple.com [Tue, 17 Sep 2013 18:12:52 +0000 (18:12 +0000)]
Hardware accelerated CSS transitions appear pixelated when scaled up using transform
https://bugs.webkit.org/show_bug.cgi?id=27684
<rdar://problem/
6134606>
Source/WebCore:
Reviewed by Dean Jackson.
Take transforms and animations into account when computing the contentsScale
for a layer, so that scaled-up layers remain sharp most of the time.
In its recursiveCommitChanges() tree walk, GraphicsLayerCA now tracks
a root-relative transform, and extracts from that transform the X and Y
scales which it uses to scale the backing store.
If the layer has transform animations on it, we keep around
a transformation matrix for the animation endpoints (or keyframes),
pick up the state that has the larger impact on the root-relative scale,
and use that as the layer's transform, and the transform when recursing
over descendants.
Tests: compositing/contents-scale/animating.html
compositing/contents-scale/scaled-ancestor.html
compositing/contents-scale/simple-scale.html
compositing/contents-scale/z-translate.html
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::maxScaleFromTransform): Decompose the transform if necesssary
to extract the X and Y scale components.
(WebCore::GraphicsLayerCA::GraphicsLayerCA): Initialize m_rootRelativeScaleFactor.
(WebCore::GraphicsLayerCA::flushCompositingState): Supply a TransformationMatrix
for the root of the recursion.
(WebCore::GraphicsLayerCA::layerTransform): This code was factored out of
computeVisibleRect(), and optionally takes a custom transform.
(WebCore::GraphicsLayerCA::computeVisibleRect): Use the layerTransform() function.
(WebCore::GraphicsLayerCA::updateRootRelativeScale): Given a transform from the root,
find the max scale factor by multiplying the various animation endpoint matrices and picking
the one with the biggest impact on scale. Use this to set m_rootRelativeScaleFactor, and
set the flag to say that we need to update contentsScale.
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): After updating
animations, call updateRootRelativeScale() to update m_rootRelativeScaleFactor.
(WebCore::GraphicsLayerCA::updateAnimations): We have a side table of animation name to
TransformationMatrix, so figure out which entries can be removed from that side table,
and remove them.
(WebCore::GraphicsLayerCA::setAnimationOnLayer):
(WebCore::GraphicsLayerCA::appendToUncommittedAnimations): Store the matrices for
animation endpoints/keyframes in the m_animationTransforms side table. We don't store
them directly in LayerPropertyAnimation because we just want the final matrix for
a transform list, and using a side table makes ownership easier to manage.
(WebCore::GraphicsLayerCA::getTransformFromAnimationsWithMaxScaleImpact):
goes through the matrices for the running animation endpoints/keyframes, and
multiplies each with the transform up to this layer to find the matrix with the
larger impact on scale.
(WebCore::GraphicsLayerCA::setTransformAnimationEndpoints): Returns a vector
of TransformationMatrix for the from and to states.
(WebCore::GraphicsLayerCA::setTransformAnimationKeyframes): Returns a vector
of TransformationMatrix for the keyframes.
(WebCore::GraphicsLayerCA::updateContentsScale): Include m_rootRelativeScaleFactor in the
scale factor computation.
(WebCore::GraphicsLayerCA::dumpAdditionalProperties): If we're dumping visible rects,
also dump the contentsScale. Convenient at these are useful to look at together, and I didn't
want to pollute Internals with yet more flags.
* platform/graphics/ca/GraphicsLayerCA.h:
(WebCore::GraphicsLayerCA::LayerPropertyAnimation::LayerPropertyAnimation): Formatting.
LayoutTests:
Reviewed by Dean Jackson.
New tests that dump contentsScale under various scaling scenarios:
* compositing/contents-scale/animating-expected.txt: Added.
* compositing/contents-scale/animating.html: Added.
* compositing/contents-scale/scaled-ancestor-expected.txt: Added.
* compositing/contents-scale/scaled-ancestor.html: Added.
* compositing/contents-scale/simple-scale-expected.txt: Added.
* compositing/contents-scale/simple-scale.html: Added.
* compositing/contents-scale/z-translate-expected.txt: Added.
* compositing/contents-scale/z-translate.html: Added.
These tests had Mac-specific results (which include visible rects and now
contents scale) in the cross-platform directory, so cleaned up the cross-platform
results and moved the Mac results to platform-mac.
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
* compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
* compositing/visible-rect/2d-transformed-expected.txt:
* compositing/visible-rect/3d-transform-style-expected.txt:
* compositing/visible-rect/3d-transformed-expected.txt:
* compositing/visible-rect/animated-expected.txt:
* compositing/visible-rect/animated-from-none-expected.txt:
* compositing/visible-rect/clipped-by-viewport-expected.txt:
* compositing/visible-rect/clipped-visible-rect-expected.txt:
* compositing/visible-rect/flipped-preserve-3d-expected.txt:
* compositing/visible-rect/iframe-and-layers-expected.txt:
* compositing/visible-rect/nested-transform-expected.txt:
* compositing/visible-rect/scrolled-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/mac/compositing/visible-rect/2d-transformed-expected.txt: Copied from LayoutTests/compositing/visible-rect/2d-transformed-expected.txt.
* platform/mac/compositing/visible-rect/3d-transform-style-expected.txt: Copied from LayoutTests/compositing/visible-rect/3d-transform-style-expected.txt.
* platform/mac/compositing/visible-rect/3d-transformed-expected.txt: Copied from LayoutTests/compositing/visible-rect/3d-transformed-expected.txt.
* platform/mac/compositing/visible-rect/animated-expected.txt: Copied from LayoutTests/compositing/visible-rect/animated-expected.txt.
* platform/mac/compositing/visible-rect/animated-from-none-expected.txt: Copied from LayoutTests/compositing/visible-rect/animated-from-none-expected.txt.
* platform/mac/compositing/visible-rect/clipped-by-viewport-expected.txt: Copied from LayoutTests/compositing/visible-rect/clipped-by-viewport-expected.txt.
* platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt: Copied from LayoutTests/compositing/visible-rect/clipped-visible-rect-expected.txt.
* platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt: Copied from LayoutTests/compositing/visible-rect/flipped-preserve-3d-expected.txt.
* platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt: Copied from LayoutTests/compositing/visible-rect/iframe-and-layers-expected.txt.
* platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
* platform/mac/compositing/visible-rect/nested-transform-expected.txt: Copied from LayoutTests/compositing/visible-rect/nested-transform-expected.txt.
* platform/mac/compositing/visible-rect/scrolled-expected.txt: Copied from LayoutTests/compositing/visible-rect/scrolled-expected.txt.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155977
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 17 Sep 2013 18:10:47 +0000 (18:10 +0000)]
AX: Expose ARIA Busy Notifications
https://bugs.webkit.org/show_bug.cgi?id=121451
Patch by Samuel White <samuel_white@apple.com> on 2013-09-17
Reviewed by Darin Adler.
Source/WebCore:
Added AXElementBusyChanged notification that posts when aria-busy is toggled. This
enables screen readers to detect busy states without polling the focused element.
Test: platform/mac/accessibility/element-busy-changed.html
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChanged):
* accessibility/AXObjectCache.h:
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
LayoutTests:
Added test to verify that elements post AXElementBusyChanged notifications when aria-busy is toggled.
* platform/mac/accessibility/element-busy-changed-expected.txt: Added.
* platform/mac/accessibility/element-busy-changed.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155976
268f45cc-cd09-0410-ab3c-
d52691b4dbfc