[V8] Remove temporary flag override for es52_globals
https://bugs.webkit.org/show_bug.cgi?id=91681

Reviewed by Adam Barth.

V8 has now changed their default value for the es52_globals so we no longer needs this override.

No new tests. No change in functionality.

* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::initContextIfNeeded):
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::initIsolate):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] Add heap profiling tests to Skipped list
https://bugs.webkit.org/show_bug.cgi?id=91684

Unreviewed gardening.

JSC doesn't support heap profiling.

Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-07-18

* platform/efl/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed TestExpectations update for WK90469.
Restore a test that was skipped to test a theory.
https://bugs.webkit.org/show_bug.cgi?id=90469

* platform/chromium/TestExpectations:

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

Correct a path error introduced by r122769 for the fast/sub-pixel/selection/selection-gaps-at-fractional-offsets.html
test in many Skipped lists.

* platform/mac-lion/Skipped:
* platform/mac-snowleopard/Skipped:
* platform/mac-wk2/Skipped:
* platform/mac/Skipped:
* platform/qt-4.8/Skipped:
* platform/qt/Skipped:
* platform/win-wk2/Skipped:
* platform/win-xp/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:
* platform/wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Improve Replaceable extended attribute
https://bugs.webkit.org/show_bug.cgi?id=91668

Reviewed by Adam Barth.

Replaceable is working by chance in the V8 bindings because V8 does not correctly handle
read only properties on the prototype chain. With this change we generate a setter that
uses ForceSet to replace the existing property when set.

Source/WebCore:

Test: fast/dom/Window/replaceable.html

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateReplaceableAttrSetter):
(GenerateFunctionCallback):
(GenerateSingleBatchedAttribute):
(GenerateImplementation):
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
(WebDOMTestObj::replaceableAttribute):
* bindings/scripts/test/CPP/WebDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_get_property):
(webkit_dom_test_obj_class_init):
(webkit_dom_test_obj_get_replaceable_attribute):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
(WebCore::jsTestObjReplaceableAttribute):
(WebCore::setJSTestObjReplaceableAttribute):
* bindings/scripts/test/JS/JSTestObj.h:
(WebCore):
* bindings/scripts/test/ObjC/DOMTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj replaceableAttribute]):
(-[DOMTestObj setReplaceableAttribute:]):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::replaceableAttributeAttrGetter):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::TestObjReplaceableAttrSetter):
(WebCore):

LayoutTests:

* fast/dom/Window/replaceable-expected.txt: Added.
* fast/dom/Window/replaceable.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Direction parameter ignored by some openCursor() overloads
https://bugs.webkit.org/show_bug.cgi?id=91687

Reviewed by Tony Chang.

Source/WebCore:

A few of the openCursor() and openKeyCursor() overloads were not passing along the
direction parameter, resulting in the default direction being used. Trivial fixes.
Also, added a whitespace fix to a relevant console warning.

Test: storage/indexeddb/cursor-overloads.html

* Modules/indexeddb/IDBIndex.cpp:
(WebCore::IDBIndex::openCursor):
(WebCore::IDBIndex::openKeyCursor):
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::openCursor):

LayoutTests:

Test the overloads to ensure cursor direction is set correctly.

* storage/indexeddb/cursor-overloads-expected.txt: Added.
* storage/indexeddb/cursor-overloads.html: Added.
* storage/indexeddb/legacy-constants-expected.txt: Fix whitespace in console warnings.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Disable printing on chromium-android
https://bugs.webkit.org/show_bug.cgi?id=91550

Reviewed by Tony Chang.

We don't implement printing on Android.

* features.gypi:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::printPage):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Hit testing in the gap between pages returns incorrect results
https://bugs.webkit.org/show_bug.cgi?id=91695

Reviewed by Dave Hyatt.

Source/WebCore: 

Test: fast/multicol/hit-test-gap-between-pages.html

* rendering/RenderBlock.h:
(RenderBlock): Promoted adjustPointToColumnContents from private to protected.
* rendering/RenderView.cpp:
(WebCore::RenderView::updateHitTestResult): If we get here, and we make the document element
the inner node, adjust the local point for columns.

LayoutTests: 

* fast/multicol/hit-test-gap-between-pages-expected.txt: Added.
* fast/multicol/hit-test-gap-between-pages.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Drag image for image elements should be scaled with device scale factor.
https://bugs.webkit.org/show_bug.cgi?id=89688

Patch by Varun Jain <varunjain@chromium.org> on 2012-07-18
Reviewed by Adam Barth.

* ManualTests/chromium/drag-image-accounts-for-device-scale.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DFG should emit inline code for property storage (re)allocation
https://bugs.webkit.org/show_bug.cgi?id=91597

Reviewed by Oliver Hunt.

This adds two new ops to the DFG IR: AllocatePropertyStorage and
ReallocatePropertyStorage. It enables these to interact properly with
CSE so that a GetPropertyStorage on something for which we have
obviously done a (Re)AllocatePropertyStorage will result in the
GetPropertyStorage being eliminated. Other than that, the code
emitted for these ops is identical to the code we were emitting in
the corresponding PutById stub.

* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::putStructureStoreElimination):
(JSC::DFG::CSEPhase::getPropertyStorageLoadElimination):
* dfg/DFGNode.h:
(JSC::DFG::Node::hasStructureTransitionData):
* dfg/DFGNodeType.h:
(DFG):
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileAllocatePropertyStorage):
(DFG):
(JSC::DFG::SpeculativeJIT::compileReallocatePropertyStorage):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
(SpeculativeJIT):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* runtime/Structure.cpp:
(JSC::nextOutOfLineStorageCapacity):
* runtime/Structure.h:
(JSC):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[mac] Unreviewed gardening.

Rebaseline (by partially reverting) r122883.

* platform/mac/fast/inline/002-expected.txt:
* platform/mac/fast/table/table-display-types-strict-expected.txt:

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