1. 15 Mar, 2013 40 commits
    • mhahnenberg@apple.com's avatar
      Roll out r145838 · 871ffe65
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112458
      
      Unreviewed. Requested by Filip Pizlo.
      
      
      Source/JavaScriptCore:
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * dfg/DFGOperations.cpp:
      * interpreter/CallFrame.h:
      (JSC::ExecState::objectPrototypeTable):
      * jit/JITStubs.cpp:
      (JSC::getByVal):
      * llint/LLIntSlowPaths.cpp:
      (JSC::LLInt::getByVal):
      * runtime/CommonIdentifiers.h:
      * runtime/JSCell.cpp:
      (JSC):
      * runtime/JSCell.h:
      (JSCell):
      * runtime/JSCellInlines.h:
      (JSC):
      (JSC::JSCell::fastGetOwnProperty):
      * runtime/JSGlobalData.cpp:
      (JSC):
      (JSC::JSGlobalData::JSGlobalData):
      (JSC::JSGlobalData::~JSGlobalData):
      * runtime/JSGlobalData.h:
      (JSGlobalData):
      * runtime/JSObject.cpp:
      (JSC):
      * runtime/JSObject.h:
      (JSObject):
      (JSC):
      * runtime/Lookup.cpp:
      (JSC::setUpStaticFunctionSlot):
      * runtime/ObjectPrototype.cpp:
      (JSC):
      (JSC::ObjectPrototype::finishCreation):
      (JSC::ObjectPrototype::getOwnPropertySlot):
      (JSC::ObjectPrototype::getOwnPropertyDescriptor):
      * runtime/ObjectPrototype.h:
      (JSC::ObjectPrototype::create):
      (ObjectPrototype):
      * runtime/PropertyMapHashTable.h:
      (JSC::PropertyTable::findWithString):
      * runtime/Structure.h:
      (Structure):
      * runtime/StructureInlines.h:
      (JSC::Structure::get):
      
      LayoutTests:
      
      * fast/js/regress/script-tests/string-lookup-hit-identifier.js: Removed.
      * fast/js/regress/script-tests/string-lookup-hit.js: Removed.
      * fast/js/regress/script-tests/string-lookup-miss.js: Removed.
      * fast/js/regress/string-lookup-hit-expected.txt: Removed.
      * fast/js/regress/string-lookup-hit-identifier-expected.txt: Removed.
      * fast/js/regress/string-lookup-hit-identifier.html: Removed.
      * fast/js/regress/string-lookup-hit.html: Removed.
      * fast/js/regress/string-lookup-miss-expected.txt: Removed.
      * fast/js/regress/string-lookup-miss.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      871ffe65
    • jochen@chromium.org's avatar
      Expose whether a UserGestureToken still has gestures via WebKit API · 91e368b5
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112342
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      * dom/UserGestureIndicator.cpp:
      * dom/UserGestureIndicator.h:
      (UserGestureToken):
      
      Source/WebKit/chromium:
      
      * public/WebUserGestureToken.h:
      (WebUserGestureToken):
      * src/WebUserGestureToken.cpp:
      (WebKit::WebUserGestureToken::hasGestures):
      (WebKit):
      * tests/WebUserGestureTokenTest.cpp:
      (WebCore::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91e368b5
    • commit-queue@webkit.org's avatar
      Convert inspector to new-flexbox · 2005e105
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112399
      
      Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-15
      Reviewed by Ojan Vafai.
      
      No new tests, refactoring.
      
      * inspector/front-end/auditsPanel.css:
      (.audit-launcher-view .audit-launcher-view-content):
      (.audit-launcher-view div.button-container):
      (.audit-launcher-view div.button-container > button):
      * inspector/front-end/dialog.css:
      (.dialog):
      * inspector/front-end/elementsPanel.css:
      (.sidebar-pane.composite .metrics):
      * inspector/front-end/helpScreen.css:
      (.help-window-main):
      (.help-content):
      * inspector/front-end/inspector.css:
      (#toolbar):
      (#toolbar-controls):
      (#toolbar-dropdown .scrollable-content):
      (#toolbar-dropdown .toolbar-item):
      (.toolbar-item.close-left, .toolbar-item.close-right):
      * inspector/front-end/nativeMemoryProfiler.css:
      (.memory-pie-chart-container):
      (.memory-pie-chart):
      * inspector/front-end/networkPanel.css:
      (.network-item-view.visible):
      * inspector/front-end/panelEnablerView.css:
      (.panel-enabler-view .flexible-space):
      * inspector/front-end/profilesPanel.css:
      (.profile-launcher-view-content):
      (.control-profiling):
      * inspector/front-end/splitView.css:
      (.sidebar-overlay):
      * inspector/front-end/tabbedPane.css:
      (.tabbed-pane):
      (.tabbed-pane-content):
      Replace -webkit-box with -webkit-flex, -webkit-box-orient with
      -webkit-flex-direction, etc.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2005e105
    • commit-queue@webkit.org's avatar
      Source/WebCore: Remove unused unified textchecker variable · 92150f9a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112362
      
      Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
      Reviewed by Tony Chang.
      
      The variable m_originalUnifiedSpellCheckerEnabled is never used. The generated
      code from Settings.in already backs up and restores unified textchecker setting.
      
      * testing/InternalSettings.h: Remove unusued m_originalUnifiedSpellCheckerEnabled variable.
      
      Tools: Remove setAsynchronousSpellCheckingEnabled from test runners
      https://bugs.webkit.org/show_bug.cgi?id=112362
      
      Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
      Reviewed by Tony Chang.
      
      Remove setAsynchronousSpellCheckingEnabled from test runners. The setting is now
      in internals.settings, so all ports can share it.
      
      * DumpRenderTree/TestRunner.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/TestRunner.h: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/efl/TestRunnerEfl.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/gtk/TestRunnerGtk.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/mac/TestRunnerMac.mm: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/qt/TestRunnerQt.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/qt/TestRunnerQt.h: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/win/TestRunnerWin.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      * DumpRenderTree/wx/TestRunnerWx.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
      
      LayoutTests: Move setAsynchronousSpellCheckingEnabled to internals.settings
      https://bugs.webkit.org/show_bug.cgi?id=112362
      
      Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
      Reviewed by Tony Chang.
      
      Changed the tests from using testRunner.setAsynchronousSpellCheckingEnabled(bool)
      with port-specific implementations to use internals.settings.setAsynchronousSpellCheckingEnabled(bool)
      with one common implementation, similar to internals.settings.setUnifiedTextCheckerEnabled(bool).
      Changed the tests to not reset these settings when they finish, because the test harness resets
      the settings automatically.
      
      * editing/spelling/grammar-markers-hidpi.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/grammar-markers.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/grammar-paste.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/resources/util.js: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/script-tests/spellcheck-paste.js: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-async-mutation.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-async-remove-frame.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-async.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-paste-disabled.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-queue.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spellcheck-sequencenum.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * editing/spelling/spelling-marker-description.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * platform/chromium/editing/spelling/delete-misspelled-word.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      * platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92150f9a
    • ojan@chromium.org's avatar
      Auto height column flexboxes with border and padding are too short · 76d929e5
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112398
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Test: css3/flexbox/auto-height-column-with-border-and-padding.html
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::mainAxisContentExtent):
      computeLogicalHeight expects that you pass in the border-box logicalHeight, not
      the contentLogicalHeight. Since we subtract the border, padding and scrollbar height from
      the returned m_extent, if we pass in the contentLogicalHeight and the flexbox is auto-sized
      then we end up incorrectly subtracting border, padding and scrollbar height from the
      contentLogicalHeight.
      
      LayoutTests:
      
      * css3/flexbox/auto-height-column-with-border-and-padding-expected.html: Added.
      * css3/flexbox/auto-height-column-with-border-and-padding.html: Added.
      * css3/flexbox/resources/flexbox.css:
      (.flex-one-one-auto):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76d929e5
    • kov@webkit.org's avatar
      Unreviewed, build fix. Also gather translatable strings from WebKit2 files. · 07774013
      kov@webkit.org authored
      * POTFILES.in: added WebKit2GTK+ files that have translatable strings.
      * ar.po: regenerated.
      * as.po: ditto.
      * bg.po: ditto.
      * cs.po: ditto.
      * de.po: ditto.
      * el.po: ditto.
      * en_CA.po: ditto.
      * en_GB.po: ditto.
      * eo.po: ditto.
      * es.po: ditto.
      * et.po: ditto.
      * eu.po: ditto.
      * fr.po: ditto.
      * gl.po: ditto.
      * gu.po: ditto.
      * he.po: ditto.
      * hi.po: ditto.
      * hu.po: ditto.
      * id.po: ditto.
      * it.po: ditto.
      * ko.po: ditto.
      * lt.po: ditto.
      * lv.po: ditto.
      * mr.po: ditto.
      * nb.po: ditto.
      * nl.po: ditto.
      * pa.po: ditto.
      * pl.po: ditto.
      * pt.po: ditto.
      * pt_BR.po: ditto.
      * ro.po: ditto.
      * ru.po: ditto.
      * sl.po: ditto.
      * sr.po: ditto.
      * sr@latin.po: ditto.
      * sv.po: ditto.
      * uk.po: ditto.
      * vi.po: ditto.
      * zh_CN.po: ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07774013
    • benjamin@webkit.org's avatar
      [iOS] Fix the length pass to memcmp in the fallback versions of String's equal · a0abc523
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112463
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-15
      Reviewed by Ryosuke Niwa.
      
      * wtf/text/StringImpl.h:
      (WTF::equal): It might be a good idea to compare the full UChar strings...
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0abc523
    • timothy_horton@apple.com's avatar
      RenderSnapshottedPlugIn can't be a RenderBlock (what if it's display: inline?) · ce1d7d39
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112432
      <rdar://problem/13187211>
      
      Reviewed by Simon Fraser and Dean Jackson.
      
      Re-use code from PLUGIN_PROXY_FOR_VIDEO to allow RenderEmbeddedObject to lay out its children,
      and make RenderSnapshottedPlugIn a RenderEmbeddedObject subclass once again. This will ensure that
      RenderSnapshottedPlugIn lays itself out in the page the same as the RenderEmbeddedObject it replaces did,
      preventing snapshotted plug-ins from breaking the layout when they are display: inline.
      
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::defaultEventHandler):
      RenderSnapshottedPlugIn is a RenderEmbeddedObject subclass again, so we need to check
      for it when we have a RenderEmbeddedObject, instead of when we don't.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::updateWidget):
      Ditto.
      
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::layout):
      (WebCore::RenderEmbeddedObject::canHaveChildren):
      Allow RenderEmbeddedObject to have and lay out children if it is a RenderSnapshottedPlugIn.
      Also, preserve the code that allows children if it is a media element and PLUGIN_PROXY_FOR_VIDEO is enabled.
      Don't call addWidgetToUpdate for instances which will never have a widget, like RenderSnapshottedPlugIn.
      
      * rendering/RenderEmbeddedObject.h:
      (RenderEmbeddedObject):
      We need canHaveChildren() and children() and m_children now.
      Add canHaveWidget(), which returns true. Subclasses can override if need be.
      
      * rendering/RenderSnapshottedPlugIn.h: Add canHaveWidget(), which is false for RenderSnapshottedPlugIn.
      * rendering/RenderSnapshottedPlugIn.cpp:
      (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
      (WebCore::RenderSnapshottedPlugIn::layout):
      (WebCore::RenderSnapshottedPlugIn::getCursor):
      Make RenderSnapshottedPlugIn a RenderEmbeddedObject.
      
      (WebCore::RenderSnapshottedPlugIn::paint):
      Paint our children.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce1d7d39
    • msaboff@apple.com's avatar
      Cleanup of DFG and Baseline JIT debugging code · 096abe0e
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=111871
      
      Reviewed by Geoffrey Garen.
      
      Fixed various debug related issue in baseline and DFG JITs. See below.
      
      * dfg/DFGRepatch.cpp:
      (JSC::DFG::dfgLinkClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
      * dfg/DFGScratchRegisterAllocator.h: Now use ScratchBuffer::activeLengthPtr() to get
      pointer to scratch register length.
      (JSC::DFG::ScratchRegisterAllocator::preserveUsedRegistersToScratchBuffer):
      (JSC::DFG::ScratchRegisterAllocator::restoreUsedRegistersFromScratchBuffer):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::checkConsistency): Added missing case labels for DataFormatOSRMarker,
      DataFormatDead, and DataFormatArguments and made them RELEASE_ASSERT_NOT_REACHED();
      * jit/JITCall.cpp:
      (JSC::JIT::privateCompileClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
      * jit/JITCall32_64.cpp:
      (JSC::JIT::privateCompileClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
      * runtime/JSGlobalData.h:
      (JSC::ScratchBuffer::ScratchBuffer): Fixed buffer allocation alignment to
      be on a double boundary.
      (JSC::ScratchBuffer::setActiveLength):
      (JSC::ScratchBuffer::activeLength):
      (JSC::ScratchBuffer::activeLengthPtr):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      096abe0e
    • morrita@google.com's avatar
      [Custom Elements] Any HTMLElement subclass should become a superclass of custom element · b6d053b9
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110436
      
      Reviewed by Dimitri Glazkov.
      
      Source/WebCore:
      
      This change introduces "type extension" concept of custom elements.
      With the type extension, each custom elements are able to inherit
      from not only HTMLElement, but also any HTML element. To make it work,
      this change extends the plumbing.
      
      This change does following changes:
      
      = Data structure:
      
      - Let CustomElementConstructor objects being keyed by pair of (element
        name, local name) as the standard requries, instead of just using
        single name. See CustomElementRegistry::ConstructorMap and CustomElementRegistry::find().
      
      - Creates mapping from WrapperTypeInfo to element name.  This map
        can be looked-up by generated functions like
        findHTMLTagNameOfV8Type().  With this table, WebKit can determine
        the custom element local name of given prototype object. See  make_names.pl.
        Note that V8 prototype object knows associated WrapperTypeInfo. See r144865.
      
      = Hooking up element lifecyle:
      
      - Create appropriate C++ instance for each custom element.  Before
        this change, the C++ backend of custom elements were always
        HTMLUnknownElements or HTMLElement.  See
        CustomElementConstructor::createElement() and ElementFactories in
        make_names.pl.
      
      - Hooks up element construction and element wrapper creation for
        custom element "before" non-custom case instead of "after"
        that. We do this because custom element needs to
        override non-custom case when @is attribute is given for
        otherwise-non-custom elements like <div is=x-bar>.
        See make_names.pl.
      
      - Gives @is attributes to elements if needed. See setTypeExtension() call sites
        like Document::createElement(), Document::createElementtNS() and CustomElementConstructor::createElementt()
      
      Test: fast/dom/custom/document-register-type-extensions.html
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      * bindings/scripts/test/V8/V8Float64Array.h:
      * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
      * bindings/scripts/test/V8/V8TestEventConstructor.h:
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      * bindings/scripts/test/V8/V8TestException.h:
      * bindings/scripts/test/V8/V8TestInterface.h:
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
      * bindings/scripts/test/V8/V8TestNamedConstructor.h:
      * bindings/scripts/test/V8/V8TestNode.h:
      * bindings/scripts/test/V8/V8TestObj.h:
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      * bindings/scripts/test/V8/V8TestTypedefs.h:
      * bindings/v8/CustomElementHelpers.cpp:
      (WebCore::hasValidPrototypeChain):
      (WebCore::CustomElementHelpers::isValidPrototypeParameter):
      (WebCore::CustomElementHelpers::findLocalName):
      (WebCore):
      (WebCore::CustomElementHelpers::findWrapperType):
      * bindings/v8/CustomElementHelpers.h:
      (CustomElementHelpers):
      * bindings/v8/V8CustomElement.cpp:
      (WebCore::V8CustomElement::createWrapper):
      * bindings/v8/V8CustomElement.h:
      (V8CustomElement):
      (WebCore::V8CustomElement::wrap):
      (WebCore::V8CustomElement::constructorOf):
      * bindings/v8/WrapperTypeInfo.h:
      (WrapperTypeTraits): Added.
      * bindings/v8/custom/V8CustomElementConstructorCustom.cpp:
      (WebCore::V8CustomElementConstructor::callAsFunctionCallback):
      * dom/CustomElementConstructor.cpp:
      (WebCore::CustomElementConstructor::create):
      (WebCore::CustomElementConstructor::CustomElementConstructor):
      (WebCore::CustomElementConstructor::createElement):
      (WebCore::setTypeExtension):
      * dom/CustomElementConstructor.h:
      (CustomElementConstructor):
      (WebCore::CustomElementConstructor::document):
      (WebCore::CustomElementConstructor::typeName):
      (WebCore::CustomElementConstructor::localName):
      * dom/CustomElementRegistry.cpp:
      (WebCore::nameIncludesHyphen):
      (WebCore::CustomElementRegistry::isValidName):
      (WebCore::CustomElementRegistry::registerElement):
      (WebCore::CustomElementRegistry::findFor):
      (WebCore::CustomElementRegistry::find):
      (WebCore::CustomElementRegistry::createElement):
      * dom/CustomElementRegistry.h:
      (CustomElementRegistry):
      * dom/Document.cpp:
      (WebCore::Document::createElement):
      (WebCore::Document::createElementNS):
      (WebCore::Document::registerElement):
      * dom/Document.h:
      (Document):
      (WebCore::Document::registry): Moved from Document.cpp to be inlined.
      * dom/Document.idl:
      * dom/make_names.pl:
      (printFactoryCppFile):
      (printWrapperFactoryCppFile):
      (printWrapperFactoryHeaderFile):
      * html/HTMLAttributeNames.in: Added @is attribute
      
      LayoutTests:
      
      * fast/dom/custom/document-register-basic-expected.txt:
      * fast/dom/custom/document-register-basic.html:
      * fast/dom/custom/document-register-type-extensions-expected.txt: Added.
      * fast/dom/custom/document-register-type-extensions.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6d053b9
    • msaboff@apple.com's avatar
      Add runtime check for improper register allocations in DFG · 278a60c3
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112380
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Added framework to check for register allocation within a branch source - target range.  All register allocations
      are saved using the offset in the code stream where the allocation occurred.  Later when a jump is linked, the
      currently saved register allocations are checked to make sure that they didn't occur in the range of code that was
      jumped over.  This protects against the case where an allocation could have spilled register contents to free up 
      a register and that spill only occurs on one path of a many through the code.  A subsequent fill of the spilled
      register may load garbage.  See https://bugs.webkit.org/show_bug.cgi?id=111777 for one such bug.
      This code is protected by the compile time check of #if ENABLE(DFG_REGISTER_ALLOCATION_VALIDATION).
      The check is only done during the processing of SpeculativeJIT::compile(Node* node) and its callees.
       
      * assembler/AbstractMacroAssembler.h:
      (JSC::AbstractMacroAssembler::Jump::link): Invoke register allocation checks using source and target of link.
      (JSC::AbstractMacroAssembler::Jump::linkTo): Invoke register allocation checks using source and target of link.
      (AbstractMacroAssembler):
      (RegisterAllocationOffset): New helper class to store the instruction stream offset and compare against a 
      jump range.
      (JSC::AbstractMacroAssembler::RegisterAllocationOffset::RegisterAllocationOffset):
      (JSC::AbstractMacroAssembler::RegisterAllocationOffset::check):
      (JSC::AbstractMacroAssembler::addRegisterAllocationAtOffset):
      (JSC::AbstractMacroAssembler::clearRegisterAllocationOffsets): 
      (JSC::AbstractMacroAssembler::checkRegisterAllocationAgainstBranchRange):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::allocate):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      Source/WTF: 
      
      * wtf/Platform.h: Added new ENABLE_DFG_REGISTER_ALLOCATION_VALIDATION compilation flag to
      enable generation of register allocation checking.  This is on for debug builds.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      278a60c3
    • ap@apple.com's avatar
      Minor cleanup in worker code · b42f3fb0
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=112455
      
              Reviewed by Anders Carlsson.
      
              - Added OVERRIDE keywords.
              - Toned down FIXMEs about single MessagePort versions of functions. It's not a given
              that we'll want to get rid of them even when implementing array versions.
              - Explicitly marked virtual destructors as virtual.
      
              * dom/MessageEvent.cpp:
              * dom/MessageEvent.h:
              * workers/Worker.cpp:
              * workers/Worker.h:
              Removed an unused version of postMessage() that took no MessagePorts. This makes
              it less confusing why MessagePortArray is passed by pointer, and not by reference.
      
              * workers/DedicatedWorkerContext.cpp:
              (WebCore::DedicatedWorkerContext::~DedicatedWorkerContext):
              * workers/DedicatedWorkerContext.h:
              Added a destructor instead of an implicit one.
              Removed an unused version of postMessage() that took no MessagePorts.
      
              * workers/SharedWorker.h: Removed an unused virtual function (thank you OVERRIDE!)
      
              * dom/MessagePort.cpp:
              * dom/MessagePort.h:
              * loader/WorkerThreadableLoader.h:
              * page/DOMWindow.h:
              * workers/AbstractWorker.h:
              * workers/DedicatedWorkerThread.h:
              * workers/SharedWorkerContext.h:
              * workers/SharedWorkerThread.h:
              * workers/WorkerContext.h:
              * workers/WorkerMessagingProxy.h:
              * workers/WorkerObjectProxy.h:
              * workers/WorkerScriptLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b42f3fb0
    • jsbell@chromium.org's avatar
      [V8] Binding: Implement EnforceRange IDL Attribute for long long conversions · 131803a3
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96798
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Implement [EnforceRange] attribute for V8 bindings, which specifies throwing behavior
      on conversions outside int/uint 32/64 ranges and edge cases like NaNs and Infinities.
      Conversely, conversions without this attribute should *not* throw.
      
      Tests: fast/js/webidl-type-mapping.html:
             fast/dom/non-numeric-values-numeric-parameters.html
             fast/js/script-tests/select-options-add.html
             storage/indexeddb/intversion-bad-parameters.html
      
      * Modules/indexeddb/IDBCursor.cpp: Remove custom range enforcement for advance()
      * Modules/indexeddb/IDBCursor.h: Adjust type to match WebIDL.
      * Modules/indexeddb/IDBCursor.idl: Specify [EnforceRange] and type matches spec WebIDL.
      * Modules/indexeddb/IDBFactory.cpp: Remove custom range enforcement for open()
      * Modules/indexeddb/IDBFactory.h: Adjust type to match WebIDL.
      * Modules/indexeddb/IDBFactory.idl: Specify [EnforceRange] and type matches spec WebIDL.
      * bindings/scripts/CodeGeneratorJS.pm:
      (JSValueToNative): Add FIXME to support [EnforceRange]
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNormalAttrSetter): Handle [EnforceRange] in attribute setters
      (GenerateParametersCheck): Handle [EnforceRange] in parameters.
      (JSValueToNative): Pass EnforceRange to toInt() functions as appropriate.
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/test/TestObj.idl: Tests w/ [EnforceRange]
      * bindings/scripts/test/V8/V8TestObj.cpp: Updated expectations
      * bindings/scripts/test/V8/V8TestTypedefs.cpp: Updated expectations.
      * bindings/v8/V8Binding.cpp: Overloads for toInt() variants that handle constraints.
      (WebCore::toInt32):
      (WebCore::toUInt32):
      (WebCore::toInt64):
      (WebCore::toUInt64):
      * bindings/v8/V8Binding.h: Ditto, plus helpers for callers not expecting errors.
      (WebCore::toInt32):
      (WebCore::toUInt32):
      (WebCore::toInt64):
      (WebCore::toUInt64):
      * bindings/v8/V8BindingMacros.h: Helper macros for type conversions that may throw.
      * testing/TypeConversions.h: Added new members with EnforceRange constraint.
      * testing/TypeConversions.idl: Ditto.
      
      LayoutTests:
      
      Some of the tests for HTMLOptionsCollection.add() assumed it should throw for
      Infinities and NaNs, but this is not what the DOM+WebIDL specs say. (Firefox doesn't throw
      so this does not appear to be a web-compat issue.) This updates the tests/expectations so
      that V8 passes. JSC expectations are FAIL in a few places since it still incorrectly throws
      on Infinity/NaN -> int32 conversion (existing tests) and does not implement EnforceRange
      (new tests).
      
      Tne non-numeric-values-numeric-parameters test was also broken for NaN testing, reporting
      incorrect results which hid some of this behavior.
      
      * fast/dom/non-numeric-values-numeric-parameters-expected.txt: Failing behavior for JSC.
      * fast/dom/script-tests/non-numeric-values-numeric-parameters.js: HTMLOptionsCollection.add()
      should not throw on NaNs/Infinities.
      * fast/js/script-tests/select-options-add.js: Ditto.
      * fast/js/select-options-add-expected.txt: Failing behavior for JSC.
      * fast/js/webidl-type-mapping-expected.txt: Ditto.
      * fast/js/webidl-type-mapping.html: Added test cases for [EnforceRange]
      * platform/chromium/fast/dom/non-numeric-values-numeric-parameters-expected.txt: Added - passing behavior for V8.
      * platform/chromium/fast/js/select-options-add-expected.txt: Ditto.
      * platform/chromium/fast/js/webidl-type-mapping-expected.txt: Added.
      * storage/indexeddb/intversion-bad-parameters-expected.txt: Added non-finite test cases.
      * storage/indexeddb/resources/intversion-bad-parameters.js: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      131803a3
    • simon.fraser@apple.com's avatar
      Marking... · f2470c1e
      simon.fraser@apple.com authored
      Marking sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html
      as a Slow test.
      
      * platform/mac/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2470c1e
    • eustas@chromium.org's avatar
      Web Inspector: [Network] Refine JSDocs in NetworkRequest.js · 2cd759b1
      eustas@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112412
      
      Reviewed by Vsevolod Vlasov.
      
      Return types for some members are confusing (Object).
      
      * inspector/front-end/NetworkManager.js: Fixed JSDocs.
      * inspector/front-end/NetworkRequest.js: Ditto. Plus minor refactorings.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2cd759b1
    • simon.fraser@apple.com's avatar
      Fix the stupid unit tests. · db4cf133
      simon.fraser@apple.com authored
      * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
      (test_sample_process):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db4cf133
    • aestes@apple.com's avatar
      REGRESSION (r127277): CSS URIs with multi-byte Unicode escape sequences fail to parse · c6d8ab58
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112436
      
      Reviewed by Michael Saboff.
      
      Source/WebCore:
      
      r127277 modified the CSS parser to use 8-bit strings when possible.
      However, it failed to handle URIs that contain Unicode escape sequences
      that expand to multi-byte characters. Not only would the URI fail to
      parse, but so would the remainder of the input string.
      
      Fix this by producing a 16-bit result when we detect a URI with a
      multi-byte Unicode escape, like we do for identifiers and other strings.
      
      Test: fast/css/url-with-multi-byte-unicode-escape.html
      
      * css/CSSParser.cpp:
      (WebCore::checkAndSkipString): Changed to be a free function since it
      doesn't access CSSParser's internal state.
      (WebCore::CSSParser::findURI): Added a function that consolidates the
      logic of finding the start and end pointers of the URI and the quote
      character (if encountered), starting at the current character.
      (WebCore::CSSParser::parseURIInternal): Removed duplicated logic for
      finding the URI bounds (this now lives in findURI()) and logic for
      setting the token type and updating the current character (this now
      lives in parseURI()).
      (WebCore::CSSParser::parseURI): Find the URI and parse it. If a
      multi-byte Unicode escape is encountered, rewind to the beginning of
      the URI and re-parse with a 16-bit string as the destination.
      * css/CSSParser.h:
      
      LayoutTests:
      
      * fast/css/url-with-multi-byte-unicode-escape-expected.txt: Added.
      * fast/css/url-with-multi-byte-unicode-escape.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6d8ab58
    • commit-queue@webkit.org's avatar
      Unreviewed. Rolled Chromium DEPS to r188418. Requested by · f07e1ad9
      commit-queue@webkit.org authored
      "Adam Barth" <abarth@webkit.org> via sheriffbot.
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f07e1ad9
    • akling@apple.com's avatar
      [JSC] Remove custom WebAudio mark functions that we can generate instead. · a6488e29
      akling@apple.com authored
      <http://webkit.org/b/110976>
      
      Reviewed by Eric Carlson.
      
      Remove custom JSC mark functions for AudioContext and ScriptProcessorNode since they
      are trivial to generate.
      
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/ScriptProcessorNode.idl:
      * GNUmakefile.list.am:
      * UseJSC.cmake:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSAudioContextCustom.cpp:
      * bindings/js/JSScriptProcessorNodeCustom.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6488e29
    • jer.noble@apple.com's avatar
      Unreviewed build fix. Rename local variable which was colliding with class method. · deb60c52
      jer.noble@apple.com authored
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::clone):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      deb60c52
    • jsbell@chromium.org's avatar
      IndexedDB: Handle success events arriving after context stopped · 62b58d86
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112451
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      In multiprocess ports, events from the back-end can arrive in the form of
      onXXX() calls after the script execution context has stopped. These need to
      be ignored. This was already done in most cases, but missing for two overloads
      of IDBRequest::onSuccess() - void and int64_t.
      
      Test: webkit_unit_test IDBRequestTest.EventsAfterStopping
      
      * Modules/indexeddb/IDBRequest.cpp:
      (WebCore::IDBRequest::onSuccess): Early return if context has stopped.
      (WebCore::IDBRequest::onSuccessInternal): ASSERT() that callers have checked context.
      
      Source/WebKit/chromium:
      
      * tests/IDBRequestTest.cpp:
      (WebKit::TEST_F): Add cases for onSuccess() and onSuccess(int64_t)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62b58d86
    • simon.fraser@apple.com's avatar
      Collect samples for unresponsive web processes · 523dd32d
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112409
      
      Tools:
      
      Reviewed by Tim Horton.
      
      When we detect that a subprocess was unresponsive, run the 'sample'
      tool on that process, for the Mac port.
      
      The sample will be linked to from the results.html page, next
      to the crash log link.
      
      * Scripts/webkitpy/layout_tests/controllers/manager.py:
      (Manager._look_for_new_crash_logs): Before looking for crash logs,
      look for samples on disk.
      * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
      (TestResultWriter):
      (TestResultWriter.copy_sample_file): Teach TestResultWriter about
      -sample.txt files, and have it copy their contents to a new file
      next to the test that spawned them (as we do for crash logs).
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.look_for_new_samples): Base class does nothing for sampling.
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (Driver._check_for_driver_crash): Kick off a sample if we detected
      that the subprocess was unresponsive.
      * Scripts/webkitpy/layout_tests/port/mac.py:
      (MacPort.sample_file_path): Utility to generate the file path
      to the generated sample files at the top level of layout-test-results.
      (MacPort.look_for_new_crash_logs): Fix typo
      (MacPort.look_for_new_samples): New function to find sample files.
      (MacPort.sample_process): Use the utility function to get the file path.
      
      LayoutTests:
      
      Reviewed by Tim Horton.
      
      Add links for samples, which some platforms will show for unresponsive WebProcess timeouts.
      
      * fast/harness/results.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      523dd32d
    • jer.noble@apple.com's avatar
      REGRESSION: -webkit-box-reflect does not show on video elements · 21ddedcc
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112397
      
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      Test: compositing/video/video-reflection.html
      
      Support cloning specific CALayer subtypes in PlatformCALayer,
      which allows reflections to work correctly for those layer types.
      Specifically, add support for cloning AVPlayerLayer layers.
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::cloneLayer): Moved most of the
          implementation to PlatformCALayer::clone().
      * platform/graphics/ca/PlatformCALayer.h:
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      (PlatformCALayer::PlatformCALayer): Set the layerType to
          LayerTypeAVPlayerLayer if the PlatformLayer parameter is an
          AVPlayerLayer.
      (PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
          Copy the player value to the new layer, if the current layer is
          a LayerTypeAVPlayerLayer.
      (PlatformCALayer::playerLayer):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
          May want to add support for AVCFPlayerLayers in the future.
      
      LayoutTests:
      
      * compositing/video/video-reflection-expected.png: Added.
      * compositing/video/video-reflection-expected.txt: Added.
      * compositing/video/video-reflection.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21ddedcc
    • japhet@chromium.org's avatar
      Hide MainResourceLoader from the outside world · 7a771246
      japhet@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109971
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      No new tests, refactor only.
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      * html/HTMLEmbedElement.cpp:
      * html/MediaDocument.cpp:
      * html/PluginDocument.cpp:
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::mainResourceLoader):
      (WebCore::DocumentLoader::finishedLoading):
      (WebCore::DocumentLoader::receivedData):
      (WebCore::DocumentLoader::setMainResourceDataBufferingPolicy):
      * loader/DocumentLoader.h:
      * loader/EmptyClients.h:
      * loader/FrameLoader.cpp:
      * loader/FrameLoaderClient.h:
      * loader/MainResourceLoader.cpp:
      * loader/appcache/ApplicationCacheGroup.cpp:
      * loader/appcache/ApplicationCacheHost.cpp:
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::convertMainResourceLoadToDownload):
      * WebCoreSupport/FrameLoaderClientBlackBerry.h:
      (FrameLoaderClientBlackBerry):
      
      Source/WebKit/chromium:
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
      * src/FrameLoaderClientImpl.h:
      (FrameLoaderClientImpl):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
      * WebCoreSupport/FrameLoaderClientEfl.h:
      (FrameLoaderClientEfl):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
      * WebCoreSupport/FrameLoaderClientGtk.h:
      (FrameLoaderClient):
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient):
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::convertMainResourceLoadToDownload):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
      * WebCoreSupport/FrameLoaderClientQt.h:
      (FrameLoaderClientQt):
      
      Source/WebKit/win:
      
      * WebFrame.cpp:
      (WebFrame::convertMainResourceLoadToDownload):
      * WebFrame.h:
      
      Source/WebKit/wince:
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      (WebKit::FrameLoaderClientWinCE::convertMainResourceLoadToDownload):
      * WebCoreSupport/FrameLoaderClientWinCE.h:
      (FrameLoaderClientWinCE):
      
      Source/WebKit/wx:
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      (WebCore::FrameLoaderClientWx::convertMainResourceLoadToDownload):
      * WebKitSupport/FrameLoaderClientWx.h:
      (FrameLoaderClientWx):
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::convertMainResourceLoadToDownload):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::convertMainResourceLoadToDownload):
      * WebProcess/WebPage/WebFrame.h:
      (WebFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a771246
    • inferno@chromium.org's avatar
      Replace static_casts with to* helper functions. · 92242cbf
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112401
      
      Reviewed by Stephen Chenney.
      
      to* helper functions are preferred over static_cast calls since they
      help to catch bad casts easily on the testing infrastructure.
      
      Source/WebCore:
      
      * accessibility/AccessibilityObject.cpp:
      (WebCore::appendAccessibilityObject):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
      * accessibility/AccessibilityScrollView.cpp:
      (WebCore::AccessibilityScrollView::webAreaObject):
      (WebCore::AccessibilityScrollView::documentFrameView):
      (WebCore::AccessibilityScrollView::parentObject):
      (WebCore::AccessibilityScrollView::parentObjectIfExists):
      * accessibility/chromium/AXObjectCacheChromium.cpp:
      (WebCore::AXObjectCache::postPlatformNotification):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::pluginScriptObjectFromPluginViewBase):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::setJavaScriptPaused):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::createScriptInstanceForWidget):
      * bindings/js/ScriptControllerQt.cpp:
      (WebCore::ScriptController::createScriptInstanceForWidget):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::createScriptInstanceForWidget):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::appendFormData):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::subframeForTargetNode):
      (WebCore::EventHandler::passGestureEventToWidget):
      * page/Frame.cpp:
      (WebCore::Frame::frameForWidget):
      * page/FrameView.cpp:
      (WebCore::collectFrameViewChildren):
      (WebCore::FrameView::hasCustomScrollbars):
      (WebCore::FrameView::convertToContainingView):
      (WebCore::FrameView::convertFromContainingView):
      (WebCore::FrameView::removeChild):
      * page/FrameView.h:
      (WebCore::toFrameView):
      (WebCore):
      * page/Page.cpp:
      (WebCore::Page::collectPluginViews):
      * page/chromium/EventHandlerChromium.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/efl/EventHandlerEfl.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/gtk/EventHandlerGtk.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/qt/EventHandlerQt.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
      * page/win/EventHandlerWin.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * page/wx/EventHandlerWx.cpp:
      (WebCore::EventHandler::passWheelEventToWidget):
      * platform/ScrollView.h:
      (WebCore::toScrollView):
      (WebCore):
      * platform/Scrollbar.cpp:
      (WebCore::Scrollbar::isScrollViewScrollbar):
      (WebCore::Scrollbar::mouseUp):
      (WebCore::Scrollbar::axObjectCache):
      * platform/Widget.h:
      (WebCore::Widget::isScrollView):
      * platform/blackberry/PlatformScreenBlackBerry.cpp:
      (WebCore::toUserSpace):
      * platform/efl/ScrollbarEfl.cpp:
      (ScrollbarEfl::setParent):
      * platform/qt/PlatformSupportQt.cpp:
      (WebCore::PlatformSupport::popupsAllowed):
      (WebCore::PlatformSupport::pluginScriptableObject):
      * plugins/IFrameShimSupport.cpp:
      (WebCore::getPluginOcclusions):
      * plugins/PluginView.h:
      (WebCore::toPluginView):
      (WebCore):
      * plugins/PluginViewBase.h:
      (WebCore::PluginViewBase::isPluginViewBase):
      (PluginViewBase):
      (WebCore::toPluginViewBase):
      (WebCore):
      * plugins/blackberry/PluginViewBlackBerry.cpp:
      (WebCore::PluginView::updatePluginWidget):
      (WebCore::PluginView::updateBuffer):
      (WebCore::PluginView::paint):
      (WebCore::PluginView::handleScrollEvent):
      (WebCore::PluginView::calculateClipRect):
      (WebCore::PluginView::handleFullScreenAllowedEvent):
      (WebCore::PluginView::handleFullScreenExitEvent):
      (WebCore::PluginView::setParent):
      (WebCore::PluginView::setNPWindowIfNeeded):
      (WebCore::PluginView::platformGetValue):
      (WebCore::PluginView::platformStart):
      (WebCore::PluginView::platformDestroy):
      (WebCore::PluginView::setBackgroundPlay):
      * plugins/blackberry/PluginViewPrivateBlackBerry.cpp:
      (WebCore::PluginViewPrivate::setVisibleRects):
      (WebCore::PluginViewPrivate::showKeyboard):
      (WebCore::PluginViewPrivate::requestFullScreen):
      (WebCore::PluginViewPrivate::requestCenterFitZoom):
      (WebCore::PluginViewPrivate::lockOrientation):
      (WebCore::PluginViewPrivate::unlockOrientation):
      (WebCore::PluginViewPrivate::preventIdle):
      * plugins/gtk/PluginViewGtk.cpp:
      (WebCore::PluginView::updatePluginWidget):
      * plugins/mac/PluginViewMac.mm:
      (WebCore::PluginView::platformStart):
      * plugins/qt/PluginViewQt.cpp:
      (WebCore::PluginView::updatePluginWidget):
      * plugins/win/PluginViewWin.cpp:
      (WebCore::PluginView::updatePluginWidget):
      (WebCore::PluginView::paintIntoTransformedContext):
      (WebCore::PluginView::paintWindowedPluginIntoContext):
      (WebCore::PluginView::paint):
      (WebCore::PluginView::handleMouseEvent):
      (WebCore::PluginView::setNPWindowRect):
      (WebCore::PluginView::snapshot):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::addLayoutOverflow):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing):
      (WebCore::RenderEmbeddedObject::viewCleared):
      (WebCore::RenderEmbeddedObject::nodeAtPoint):
      (WebCore::RenderEmbeddedObject::scroll):
      * rendering/RenderFlexibleBox.h:
      (WebCore::toRenderFlexibleBox):
      (WebCore):
      * rendering/RenderFrame.cpp:
      (WebCore::RenderFrame::viewCleared):
      * rendering/RenderFrameBase.cpp:
      (WebCore::RenderFrameBase::layoutWithFlattening):
      * rendering/RenderIFrame.cpp:
      (WebCore::RenderIFrame::contentRootRenderer):
      (WebCore::RenderIFrame::layoutSeamlessly):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame):
      * rendering/RenderPart.cpp:
      (WebCore::RenderPart::requiresAcceleratedCompositing):
      (WebCore::RenderPart::embeddedContentBox):
      (WebCore::RenderPart::nodeAtPoint):
      * rendering/RenderRuby.cpp:
      (WebCore::rubyBeforeBlock):
      (WebCore::rubyAfterBlock):
      (WebCore::lastRubyRun):
      (WebCore::findRubyRunParent):
      * rendering/RenderTreeAsText.cpp:
      (WebCore::write):
      * rendering/RenderWidget.cpp:
      (WebCore::RenderWidget::paintContents):
      (WebCore::RenderWidget::setOverlapTestResult):
      (WebCore::RenderWidget::updateWidgetPosition):
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::frameForNode):
      (BlackBerry::WebKit::needsLayoutRecursive):
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::redirectDataToPlugin):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::ensureFocusPluginElementVisible):
      
      Source/WebKit/chromium:
      
      * src/WebPluginContainerImpl.cpp:
      (WebKit::WebPluginContainerImpl::scrollRect):
      (WebKit::WebPluginContainerImpl::setWantsWheelEvents):
      (WebKit::WebPluginContainerImpl::handleMouseEvent):
      * tests/ScrollingCoordinatorChromiumTest.cpp:
      (WebKit::TEST_F):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::redirectDataToPlugin):
      
      Source/WebKit/mac:
      
      * WebView/WebRenderNode.mm:
      (copyRenderNode):
      * WebView/WebView.mm:
      (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
      
      Source/WebKit/win:
      
      * WebCoreSupport/EmbeddedWidget.cpp:
      (EmbeddedWidget::frameRectsChanged):
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::redirectDataToPlugin):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      (WebKit::FrameLoaderClientWinCE::redirectDataToPlugin):
      
      Source/WebKit/wx:
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      (WebCore::FrameLoaderClientWx::redirectDataToPlugin):
      
      Source/WebKit2:
      
      * Shared/WebRenderObject.cpp:
      (WebKit::WebRenderObject::WebRenderObject):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92242cbf
    • commit-queue@webkit.org's avatar
      [GTK] acceleration_backend_description does not concatenate "(gles2" · 5171da43
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112405
      
      Patch by Jae Hyun Park <jae.park@company100.net> on 2013-03-15
      Reviewed by Martin Robinson.
      
      In FindDependencies.m4, acceleration_backend_description string does not
      concatenate if there is a space between the operator and the operand.
      
      * Source/autotools/FindDependencies.m4:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5171da43
    • commit-queue@webkit.org's avatar
      Source/WebCore: [Texmap] REGRESSION (r144190): Failure at style with preserve-3d and opacity · db2bbe2b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112370
      
      According to spec, we avoid masking and clipping when preserves-3d is enabled.
      However, opacity should still work.
      Allowing opacity when preserves-3d is on.
      
      Patch by No'am Rosenthal <noam@webkit.org> on 2013-03-15
      Reviewed by Caio Marcelo de Oliveira Filho.
      
      Test: compositing/overlap-blending/preserves3d-opacity.html
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      * platform/graphics/texmap/TextureMapperLayer.cpp:
      (WebCore::TextureMapperLayer::paintRecursive):
      
      LayoutTests: [Texmap] REGRESSION (r144190): Failure at style with webkit-transform and opacity
      https://bugs.webkit.org/show_bug.cgi?id=112370
      
      Patch by No'am Rosenthal <noam@webkit.org> on 2013-03-15
      Reviewed by Caio Marcelo de Oliveira Filho.
      
      New ref-test for opacity+preserves-3d.
      
      * compositing/overlap-blending/preserves3d-opacity-expected.html: Added.
      * compositing/overlap-blending/preserves3d-opacity.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db2bbe2b
    • commit-queue@webkit.org's avatar
      Get rid of useless forward declaration. · b0c6f55a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112449
      
      Patch by Konrad Piascik <kpiascik@blackberry.com> on 2013-03-15
      Reviewed by Stephen Chenney.
      
      No behavioural change
      
      * svg/SVGRectElement.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0c6f55a
    • commit-queue@webkit.org's avatar
      Web Inspector: make CPU profiler show timings using the same time unit [ms] · aca830a8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112356
      
      That makes it much easier to compare values when looking at the data.
      
      Patch by Alexei Filippov <alph@chromium.org> on 2013-03-15
      Reviewed by Yury Semikhatsky.
      
      * inspector/front-end/ProfileDataGridTree.js:
      (WebInspector.ProfileDataGridNode.prototype.get data.formatMilliseconds):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aca830a8
    • peter@chromium.org's avatar
      Implement support for nullable types in the bindings generator · fe02fb88
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111728
      
      Reviewed by Kentaro Hara.
      
      This patch adds support for nullable types in the bindings
      generator, as described in section 3.10.22 of WebIDL:
          http://dev.w3.org/2006/webapi/WebIDL/#idl-nullable-type
      
      interface MyInterface {
          readonly attribute boolean? value; // true, false or null.
      };
      
      The IDL Parser has been modified to record whether attributes are
      nullable. Question marks from the type will always be stripped
      from the domAttribute->signature->type field. Once support for
      this has been completely implemented, we'll be able to remove a
      bunch of custom bindings, i.e. those of Device Orientation.
      
      Any getter for an attribute which returns a nullable type will be
      called with an additional attribute (passed by reference) named
      "isNull". This will be the last argument passed to the method,
      unless an exception code (ec) argument will be passed as well.
      
      The CPP, GObject and ObjC bindings will not change behavior following
      this patch, although they have been modified to call the WebCore
      methods for nullable attributes with the correct signature. The
      V8 and JS binding generators do have modified behavior, in that they
      will actually return v8Null/jsNull when isNull == true.
      
      Tested by existing binding tests and the new nullable attribute
      tests in the bindings/scripts/test/ directory.
      
      * bindings/scripts/CodeGeneratorCPP.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorGObject.pm:
      (GenerateProperty):
      (GenerateFunction):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorObjC.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNormalAttrGetter):
      * bindings/scripts/IDLParser.pm:
      (typeHasNullableSuffix):
      (typeRemoveNullableSuffix):
      (parseAttributeRest):
      (parseOptionalOrRequiredArgument):
      (parseAttributeRestOld):
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
      (WebDOMTestObj::nullableDoubleAttribute):
      (WebDOMTestObj::nullableLongAttribute):
      (WebDOMTestObj::nullableBooleanAttribute):
      (WebDOMTestObj::nullableStringAttribute):
      (WebDOMTestObj::nullableLongSettableAttribute):
      (WebDOMTestObj::setNullableLongSettableAttribute):
      (WebDOMTestObj::nullableStringValue):
      (WebDOMTestObj::setNullableStringValue):
      * bindings/scripts/test/CPP/WebDOMTestObj.h:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      (webkit_dom_test_obj_set_property):
      (webkit_dom_test_obj_get_property):
      (webkit_dom_test_obj_class_init):
      (webkit_dom_test_obj_get_nullable_double_attribute):
      (webkit_dom_test_obj_get_nullable_long_attribute):
      (webkit_dom_test_obj_get_nullable_boolean_attribute):
      (webkit_dom_test_obj_get_nullable_string_attribute):
      (webkit_dom_test_obj_get_nullable_long_settable_attribute):
      (webkit_dom_test_obj_set_nullable_long_settable_attribute):
      (webkit_dom_test_obj_get_nullable_string_value):
      (webkit_dom_test_obj_set_nullable_string_value):
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore):
      (WebCore::jsTestObjNullableDoubleAttribute):
      (WebCore::jsTestObjNullableLongAttribute):
      (WebCore::jsTestObjNullableBooleanAttribute):
      (WebCore::jsTestObjNullableStringAttribute):
      (WebCore::jsTestObjNullableLongSettableAttribute):
      (WebCore::jsTestObjNullableStringValue):
      (WebCore::setJSTestObjNullableLongSettableAttribute):
      (WebCore::setJSTestObjNullableStringValue):
      * bindings/scripts/test/JS/JSTestObj.h:
      (WebCore):
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      (-[DOMTestObj nullableDoubleAttribute]):
      (-[DOMTestObj nullableLongAttribute]):
      (-[DOMTestObj nullableBooleanAttribute]):
      (-[DOMTestObj nullableStringAttribute]):
      (-[DOMTestObj nullableLongSettableAttribute]):
      (-[DOMTestObj setNullableLongSettableAttribute:]):
      (-[DOMTestObj nullableStringValue]):
      (-[DOMTestObj setNullableStringValue:]):
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetter):
      (TestObjV8Internal):
      (WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableLongAttributeAttrGetter):
      (WebCore::TestObjV8Internal::nullableLongAttributeAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetter):
      (WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableStringAttributeAttrGetter):
      (WebCore::TestObjV8Internal::nullableStringAttributeAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetter):
      (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetter):
      (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetterCallback):
      (WebCore::TestObjV8Internal::nullableStringValueAttrGetter):
      (WebCore::TestObjV8Internal::nullableStringValueAttrGetterCallback):
      (WebCore::TestObjV8Internal::nullableStringValueAttrSetter):
      (WebCore::TestObjV8Internal::nullableStringValueAttrSetterCallback):
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe02fb88
    • commit-queue@webkit.org's avatar
      [V8] Store main world and non-main world templates separately. · 4d4ea9d4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111724
      
      Patch by Marja Hölttä <marja@chromium.org> on 2013-03-15
      Reviewed by Jochen Eisinger.
      
      This is needed for generating specialized bindings for the main
      world (bug 110874).
      
      Source/WebCore:
      
      No new tests (updated existing bindings tests).
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (GenerateDomainSafeFunctionGetter):
      (GenerateNormalAttrSetter):
      (GenerateParametersCheckExpression):
      (GenerateParametersCheck):
      (GenerateImplementation):
      (JSValueToNative):
      (CreateCustomSignature):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::Float64ArrayV8Internal::fooMethod):
      (WebCore::ConfigureV8Float64ArrayTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      (WebCore::V8Float64Array::HasInstance):
      (WebCore):
      (WebCore::V8Float64Array::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8Float64Array.h:
      (V8Float64Array):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
      (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
      (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      (WebCore::V8TestActiveDOMObject::HasInstance):
      (WebCore):
      (WebCore::V8TestActiveDOMObject::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
      (V8TestActiveDOMObject):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      (WebCore::V8TestCustomNamedGetter::HasInstance):
      (WebCore):
      (WebCore::V8TestCustomNamedGetter::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
      (V8TestCustomNamedGetter):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetTemplate):
      (WebCore::V8TestEventConstructor::HasInstance):
      (WebCore):
      (WebCore::V8TestEventConstructor::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestEventConstructor.h:
      (V8TestEventConstructor):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::TestEventTargetV8Internal::dispatchEventMethod):
      (WebCore::ConfigureV8TestEventTargetTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      (WebCore::V8TestEventTarget::HasInstance):
      (WebCore):
      (WebCore::V8TestEventTarget::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      (V8TestEventTarget):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetTemplate):
      (WebCore::V8TestException::HasInstance):
      (WebCore):
      (WebCore::V8TestException::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestException.h:
      (V8TestException):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
      (WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
      (WebCore::ConfigureV8TestInterfaceTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      (WebCore::V8TestInterface::HasInstance):
      (WebCore):
      (WebCore::V8TestInterface::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestInterface.h:
      (V8TestInterface):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      (WebCore::V8TestMediaQueryListListener::HasInstance):
      (WebCore):
      (WebCore::V8TestMediaQueryListListener::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
      (V8TestMediaQueryListListener):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetTemplate):
      (WebCore::V8TestNamedConstructor::HasInstance):
      (WebCore):
      (WebCore::V8TestNamedConstructor::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestNamedConstructor.h:
      (V8TestNamedConstructor):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetTemplate):
      (WebCore::V8TestNode::HasInstance):
      (WebCore):
      (WebCore::V8TestNode::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestNode.h:
      (V8TestNode):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::testObjAttrAttrSetter):
      (WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
      (WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
      (WebCore::TestObjV8Internal::mutablePointAttrSetter):
      (WebCore::TestObjV8Internal::immutablePointAttrSetter):
      (WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::longMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::objMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
      (WebCore::TestObjV8Internal::overloadedMethod1Method):
      (WebCore::TestObjV8Internal::overloadedMethod2Method):
      (WebCore::TestObjV8Internal::overloadedMethod8Method):
      (WebCore::TestObjV8Internal::overloadedMethodMethod):
      (WebCore::TestObjV8Internal::convert1Method):
      (WebCore::TestObjV8Internal::convert2Method):
      (WebCore::TestObjV8Internal::convert4Method):
      (WebCore::TestObjV8Internal::convert5Method):
      (WebCore::TestObjV8Internal::variadicNodeMethodMethod):
      (WebCore::ConfigureV8TestObjTemplate):
      (WebCore::V8TestObj::GetTemplate):
      (WebCore::V8TestObj::HasInstance):
      (WebCore):
      (WebCore::V8TestObj::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestObj.h:
      (V8TestObj):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
      (WebCore::TestOverloadedConstructorsV8Internal::constructor1):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor2):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor3):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor):
      (WebCore::V8TestOverloadedConstructors::GetTemplate):
      (WebCore::V8TestOverloadedConstructors::HasInstance):
      (WebCore):
      (WebCore::V8TestOverloadedConstructors::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
      (V8TestOverloadedConstructors):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
      (WebCore):
      (WebCore::V8TestSerializedScriptValueInterface::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      (V8TestSerializedScriptValueInterface):
      * bindings/scripts/test/V8/V8TestTypedefs.cpp:
      (WebCore::TestTypedefsV8Internal::funcMethod):
      (WebCore::ConfigureV8TestTypedefsTemplate):
      (WebCore::V8TestTypedefs::GetTemplate):
      (WebCore::V8TestTypedefs::HasInstance):
      (WebCore):
      (WebCore::V8TestTypedefs::HasInstanceInAnyWorld):
      * bindings/scripts/test/V8/V8TestTypedefs.h:
      (V8TestTypedefs):
      * bindings/v8/Dictionary.cpp:
      (WebCore::Dictionary::get):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::visitNodeWrappers):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8AdaptorFunction.cpp:
      (WebCore::V8AdaptorFunction::getTemplate):
      * bindings/v8/V8Binding.cpp:
      (WebCore::toDOMStringList):
      (WebCore::toXPathNSResolver):
      * bindings/v8/V8Binding.h:
      (WebCore):
      (WebCore::toRefPtrNativeArray):
      * bindings/v8/V8Collection.cpp:
      (WebCore::toOptionsCollectionSetter):
      * bindings/v8/V8GCController.cpp:
      * bindings/v8/V8NPObject.cpp:
      (WebCore::npObjectInvokeImpl):
      * bindings/v8/V8PerIsolateData.cpp:
      (WebCore::V8PerIsolateData::reportMemoryUsage):
      (WebCore::V8PerIsolateData::hasPrivateTemplate):
      (WebCore::V8PerIsolateData::privateTemplate):
      (WebCore::V8PerIsolateData::rawTemplate):
      (WebCore::V8PerIsolateData::hasInstance):
      * bindings/v8/V8PerIsolateData.h:
      (WebCore::V8PerIsolateData::rawTemplateMap):
      (V8PerIsolateData):
      (WebCore::V8PerIsolateData::templateMap):
      * bindings/v8/V8Utilities.cpp:
      (WebCore::extractTransferables):
      * bindings/v8/custom/V8ArrayBufferViewCustom.h:
      (WebCore::constructWebGLArray):
      (WebCore::setWebGLArrayHelper):
      * bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
      (WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
      * bindings/v8/custom/V8BlobCustom.cpp:
      (WebCore::V8Blob::constructorCustom):
      * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
      (WebCore::toCanvasStyle):
      * bindings/v8/custom/V8ClipboardCustom.cpp:
      (WebCore::V8Clipboard::setDragImageMethodCustom):
      * bindings/v8/custom/V8CryptoCustom.cpp:
      (WebCore::V8Crypto::getRandomValuesMethodCustom):
      * bindings/v8/custom/V8DOMFormDataCustom.cpp:
      (WebCore::V8DOMFormData::constructorCustom):
      (WebCore::V8DOMFormData::appendMethodCustom):
      * bindings/v8/custom/V8DataViewCustom.cpp:
      (WebCore::V8DataView::constructorCustom):
      * bindings/v8/custom/V8DocumentCustom.cpp:
      (WebCore::V8Document::evaluateMethodCustom):
      * bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
      (WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
      * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
      (WebCore::V8HTMLOptionsCollection::addMethodCustom):
      * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
      (WebCore::removeElement):
      * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
      (WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
      (WebCore::V8InjectedScriptHost::typeMethodCustom):
      (WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
      * bindings/v8/custom/V8LocationCustom.cpp:
      (WebCore::V8Location::reloadAttrGetterCustom):
      (WebCore::V8Location::replaceAttrGetterCustom):
      (WebCore::V8Location::assignAttrGetterCustom):
      * bindings/v8/custom/V8NodeCustom.cpp:
      (WebCore::V8Node::insertBeforeMethodCustom):
      (WebCore::V8Node::replaceChildMethodCustom):
      (WebCore::V8Node::removeChildMethodCustom):
      (WebCore::V8Node::appendChildMethodCustom):
      * bindings/v8/custom/V8NodeListCustom.cpp:
      (WebCore::V8NodeList::opaqueRootForGC):
      * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
      (WebCore::toWebGLUniformLocation):
      (WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
      (WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
      (WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
      (WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
      (WebCore::vertexAttribAndUniformHelperf):
      (WebCore::uniformHelperi):
      (WebCore::uniformMatrixHelper):
      * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
      (WebCore::isDocumentType):
      (WebCore::V8XMLHttpRequest::sendMethodCustom):
      
      Source/WebKit/chromium:
      
      * src/WebArrayBuffer.cpp:
      (WebKit::WebArrayBuffer::createFromV8Value):
      * src/WebArrayBufferView.cpp:
      (WebKit::WebArrayBufferView::createFromV8Value):
      * src/WebBindings.cpp:
      (WebKit::getRangeImpl):
      (WebKit::getNodeImpl):
      (WebKit::getElementImpl):
      (WebKit::getArrayBufferImpl):
      (WebKit::getArrayBufferViewImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d4ea9d4
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r145802. · 82e82e42
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/145802
      https://bugs.webkit.org/show_bug.cgi?id=112444
      
      This broke Chrome. (Requested by marja____ on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
      
      Source/WebCore:
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (GenerateDomainSafeFunctionGetter):
      (GenerateNormalAttrSetter):
      (GenerateParametersCheckExpression):
      (GenerateParametersCheck):
      (GenerateImplementation):
      (JSValueToNative):
      (CreateCustomSignature):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::Float64ArrayV8Internal::fooMethod):
      (WebCore::ConfigureV8Float64ArrayTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      (WebCore::V8Float64Array::HasInstance):
      * bindings/scripts/test/V8/V8Float64Array.h:
      (V8Float64Array):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
      (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
      (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      (WebCore::V8TestActiveDOMObject::HasInstance):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
      (V8TestActiveDOMObject):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      (WebCore::V8TestCustomNamedGetter::HasInstance):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
      (V8TestCustomNamedGetter):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetTemplate):
      (WebCore::V8TestEventConstructor::HasInstance):
      * bindings/scripts/test/V8/V8TestEventConstructor.h:
      (V8TestEventConstructor):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::TestEventTargetV8Internal::dispatchEventMethod):
      (WebCore::ConfigureV8TestEventTargetTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      (WebCore::V8TestEventTarget::HasInstance):
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      (V8TestEventTarget):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetTemplate):
      (WebCore::V8TestException::HasInstance):
      * bindings/scripts/test/V8/V8TestException.h:
      (V8TestException):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
      (WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
      (WebCore::ConfigureV8TestInterfaceTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      (WebCore::V8TestInterface::HasInstance):
      * bindings/scripts/test/V8/V8TestInterface.h:
      (V8TestInterface):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      (WebCore::V8TestMediaQueryListListener::HasInstance):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
      (V8TestMediaQueryListListener):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetTemplate):
      (WebCore::V8TestNamedConstructor::HasInstance):
      * bindings/scripts/test/V8/V8TestNamedConstructor.h:
      (V8TestNamedConstructor):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetTemplate):
      (WebCore::V8TestNode::HasInstance):
      * bindings/scripts/test/V8/V8TestNode.h:
      (V8TestNode):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::testObjAttrAttrSetter):
      (WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
      (WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
      (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
      (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
      (WebCore::TestObjV8Internal::mutablePointAttrSetter):
      (WebCore::TestObjV8Internal::immutablePointAttrSetter):
      (WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::longMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::objMethodWithArgsMethod):
      (WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
      (WebCore::TestObjV8Internal::overloadedMethod1Method):
      (WebCore::TestObjV8Internal::overloadedMethod2Method):
      (WebCore::TestObjV8Internal::overloadedMethod8Method):
      (WebCore::TestObjV8Internal::overloadedMethodMethod):
      (WebCore::TestObjV8Internal::convert1Method):
      (WebCore::TestObjV8Internal::convert2Method):
      (WebCore::TestObjV8Internal::convert4Method):
      (WebCore::TestObjV8Internal::convert5Method):
      (WebCore::TestObjV8Internal::variadicNodeMethodMethod):
      (WebCore::ConfigureV8TestObjTemplate):
      (WebCore::V8TestObj::GetTemplate):
      (WebCore::V8TestObj::HasInstance):
      * bindings/scripts/test/V8/V8TestObj.h:
      (V8TestObj):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
      (WebCore::TestOverloadedConstructorsV8Internal::constructor1):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor2):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor3):
      (WebCore::TestOverloadedConstructorsV8Internal::constructor):
      (WebCore::V8TestOverloadedConstructors::GetTemplate):
      (WebCore::V8TestOverloadedConstructors::HasInstance):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
      (V8TestOverloadedConstructors):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      (V8TestSerializedScriptValueInterface):
      * bindings/scripts/test/V8/V8TestTypedefs.cpp:
      (WebCore::TestTypedefsV8Internal::funcMethod):
      (WebCore::ConfigureV8TestTypedefsTemplate):
      (WebCore::V8TestTypedefs::GetTemplate):
      (WebCore::V8TestTypedefs::HasInstance):
      * bindings/scripts/test/V8/V8TestTypedefs.h:
      (V8TestTypedefs):
      * bindings/v8/Dictionary.cpp:
      (WebCore::Dictionary::get):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::visitNodeWrappers):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8AdaptorFunction.cpp:
      (WebCore::V8AdaptorFunction::getTemplate):
      * bindings/v8/V8Binding.cpp:
      (WebCore::toDOMStringList):
      (WebCore::toXPathNSResolver):
      * bindings/v8/V8Binding.h:
      (WebCore::toRefPtrNativeArray):
      (WebCore):
      * bindings/v8/V8Collection.cpp:
      (WebCore::toOptionsCollectionSetter):
      * bindings/v8/V8GCController.cpp:
      * bindings/v8/V8NPObject.cpp:
      (WebCore::npObjectInvokeImpl):
      * bindings/v8/V8PerIsolateData.cpp:
      (WebCore::V8PerIsolateData::reportMemoryUsage):
      (WebCore::V8PerIsolateData::hasPrivateTemplate):
      (WebCore::V8PerIsolateData::privateTemplate):
      (WebCore::V8PerIsolateData::rawTemplate):
      (WebCore::V8PerIsolateData::hasInstance):
      * bindings/v8/V8PerIsolateData.h:
      (WebCore::V8PerIsolateData::rawTemplateMap):
      (WebCore::V8PerIsolateData::templateMap):
      (V8PerIsolateData):
      * bindings/v8/V8Utilities.cpp:
      (WebCore::extractTransferables):
      * bindings/v8/custom/V8ArrayBufferViewCustom.h:
      (WebCore::constructWebGLArray):
      (WebCore::setWebGLArrayHelper):
      * bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
      (WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
      * bindings/v8/custom/V8BlobCustom.cpp:
      (WebCore::V8Blob::constructorCustom):
      * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
      (WebCore::toCanvasStyle):
      * bindings/v8/custom/V8ClipboardCustom.cpp:
      (WebCore::V8Clipboard::setDragImageMethodCustom):
      * bindings/v8/custom/V8CryptoCustom.cpp:
      (WebCore::V8Crypto::getRandomValuesMethodCustom):
      * bindings/v8/custom/V8DOMFormDataCustom.cpp:
      (WebCore::V8DOMFormData::constructorCustom):
      (WebCore::V8DOMFormData::appendMethodCustom):
      * bindings/v8/custom/V8DataViewCustom.cpp:
      (WebCore::V8DataView::constructorCustom):
      * bindings/v8/custom/V8DocumentCustom.cpp:
      (WebCore::V8Document::evaluateMethodCustom):
      * bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
      (WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
      * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
      (WebCore::V8HTMLOptionsCollection::addMethodCustom):
      * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
      (WebCore::removeElement):
      * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
      (WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
      (WebCore::V8InjectedScriptHost::typeMethodCustom):
      (WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
      * bindings/v8/custom/V8LocationCustom.cpp:
      (WebCore::V8Location::reloadAttrGetterCustom):
      (WebCore::V8Location::replaceAttrGetterCustom):
      (WebCore::V8Location::assignAttrGetterCustom):
      * bindings/v8/custom/V8NodeCustom.cpp:
      (WebCore::V8Node::insertBeforeMethodCustom):
      (WebCore::V8Node::replaceChildMethodCustom):
      (WebCore::V8Node::removeChildMethodCustom):
      (WebCore::V8Node::appendChildMethodCustom):
      * bindings/v8/custom/V8NodeListCustom.cpp:
      (WebCore::V8NodeList::opaqueRootForGC):
      * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
      (WebCore::toWebGLUniformLocation):
      (WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
      (WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
      (WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
      (WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
      (WebCore::vertexAttribAndUniformHelperf):
      (WebCore::uniformHelperi):
      (WebCore::uniformMatrixHelper):
      * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
      (WebCore::isDocumentType):
      (WebCore::V8XMLHttpRequest::sendMethodCustom):
      
      Source/WebKit/chromium:
      
      * src/WebArrayBuffer.cpp:
      (WebKit::WebArrayBuffer::createFromV8Value):
      * src/WebArrayBufferView.cpp:
      (WebKit::WebArrayBufferView::createFromV8Value):
      * src/WebBindings.cpp:
      (WebKit::getRangeImpl):
      (WebKit::getNodeImpl):
      (WebKit::getElementImpl):
      (WebKit::getArrayBufferImpl):
      (WebKit::getArrayBufferViewImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e82e42
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r145896. · 3887394b
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/145896
      https://bugs.webkit.org/show_bug.cgi?id=112443
      
      Chrome broken by r145802 and this builds on top of it.
      (Requested by marja____ on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (GenerateNormalAttrGetterCallback):
      (GenerateNormalAttrGetter):
      (GenerateNormalAttrSetterCallback):
      (GenerateNormalAttrSetter):
      (GenerateNamedConstructor):
      (GenerateBatchedAttributeData):
      (GenerateSingleBatchedAttribute):
      (GenerateImplementation):
      (GenerateCallbackImplementation):
      (GenerateFunctionCallString):
      (CreateCustomSignature):
      (NativeToJSValue):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::ConfigureV8Float64ArrayTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      (WebCore::V8Float64Array::HasInstance):
      * bindings/scripts/test/V8/V8Float64Array.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      (WebCore::V8TestActiveDOMObject::HasInstance):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::ConfigureV8TestCustomNamedGetterTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      (WebCore::V8TestCustomNamedGetter::HasInstance):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore):
      (WebCore::ConfigureV8TestEventConstructorTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      (WebCore::V8TestEventConstructor::HasInstance):
      * bindings/scripts/test/V8/V8TestEventConstructor.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::ConfigureV8TestEventTargetTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      (WebCore::V8TestEventTarget::HasInstance):
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::ConfigureV8TestExceptionTemplate):
      (WebCore::V8TestException::GetTemplate):
      (WebCore::V8TestException::HasInstance):
      * bindings/scripts/test/V8/V8TestException.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (TestInterfaceV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestInterfaceTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      (WebCore::V8TestInterface::HasInstance):
      * bindings/scripts/test/V8/V8TestInterface.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      (WebCore::V8TestMediaQueryListListener::HasInstance):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
      (WebCore::ConfigureV8TestNamedConstructorTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      (WebCore::V8TestNamedConstructor::HasInstance):
      * bindings/scripts/test/V8/V8TestNamedConstructor.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::ConfigureV8TestNodeTemplate):
      (WebCore::V8TestNode::GetTemplate):
      (WebCore::V8TestNode::HasInstance):
      * bindings/scripts/test/V8/V8TestNode.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (TestObjV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestObjTemplate):
      (WebCore::V8TestObj::GetTemplate):
      (WebCore::V8TestObj::HasInstance):
      * bindings/scripts/test/V8/V8TestObj.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
      (WebCore::ConfigureV8TestOverloadedConstructorsTemplate):
      (WebCore::V8TestOverloadedConstructors::GetTemplate):
      (WebCore::V8TestOverloadedConstructors::HasInstance):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore):
      (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestTypedefs.cpp:
      (WebCore):
      (WebCore::ConfigureV8TestTypedefsTemplate):
      (WebCore::V8TestTypedefs::GetTemplate):
      (WebCore::V8TestTypedefs::HasInstance):
      * bindings/scripts/test/V8/V8TestTypedefs.h:
      (WebCore):
      * bindings/v8/DOMDataStore.h:
      (DOMDataStore):
      * bindings/v8/V8DOMConfiguration.cpp:
      * bindings/v8/V8DOMConfiguration.h:
      (V8DOMConfiguration):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      * bindings/v8/custom/V8EventTargetCustom.cpp:
      * bindings/v8/custom/V8IDBAnyCustom.cpp:
      * bindings/v8/custom/V8MicroDataItemValueCustom.cpp:
      * bindings/v8/custom/V8WorkerContextCustom.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3887394b
    • commit-queue@webkit.org's avatar
      [BlackBerry] Remove PlatformSupport · c9be9923
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112438
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-15
      Reviewed by Rob Buis.
      
      This class only contains getFontFamilyForCharacters(), which was
      moved from PlatformSupport to FontCache in r129257.
      
      This patch does the same for the BlackBerry port.
      
      * platform/graphics/FontCache.h:
      (FontCache):
      * platform/graphics/blackberry/FontCacheBlackBerry.cpp:
      (WebCore::FontCache::getFontFamilyForCharacters):
      (WebCore):
      (WebCore::FontCache::getFontDataForCharacters):
      * platform/graphics/blackberry/PlatformSupport.cpp: Removed.
      * platform/graphics/blackberry/PlatformSupport.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9be9923
    • commit-queue@webkit.org's avatar
      [BlackBerry] FontPlatformData: remove TextOrientation parameter · b6ed5aa2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112135
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-15
      Reviewed by Rob Buis.
      
      I forgot to remove the #include "TextOrientation.h" line as
      well. This file no longer exists.
      
      * platform/graphics/blackberry/FontCustomPlatformData.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6ed5aa2
    • commit-queue@webkit.org's avatar
      DataGrid should reveal and select next/previous DataGridNode upon deletion of selected node · 4654e85e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112404
      
      Patch by Sankeerth V S <sankeerth.vs@samsung.com> on 2013-03-15
      Reviewed by Vsevolod Vlasov.
      
      No new tests as this is a UI related change.
      
      While deleting the entries of the data grid by clicking on 'Delete'
      status bar button, deletion of selected node should trigger selection of
      next possible (backward/forward) DataGridNode.
      
      * inspector/front-end/DOMStorageItemsView.js:
      (WebInspector.DOMStorageItemsView.prototype._deleteButtonClicked):
      * inspector/front-end/DataGrid.js:
      (WebInspector.DataGrid.prototype._keyDown):
      (WebInspector.DataGrid.prototype.changeNodeAfterDeletion):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4654e85e
    • loislo@chromium.org's avatar
      Web Inspector: Flame Chart. Draw timeline grid over flame chart items. · 56dd39d9
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112439
      
      Reviewed by Pavel Feldman.
      
      I've used WebInspector.TimelineGrid
      
      * inspector/front-end/FlameChart.js:
      (WebInspector.FlameChart):
      (WebInspector.FlameChart.Calculator):
      (WebInspector.FlameChart.Calculator.prototype._updateBoundaries):
      (WebInspector.FlameChart.Calculator.prototype.computePosition):
      (WebInspector.FlameChart.Calculator.prototype.formatTime):
      (WebInspector.FlameChart.Calculator.prototype.maximumBoundary):
      (WebInspector.FlameChart.Calculator.prototype.minimumBoundary):
      (WebInspector.FlameChart.Calculator.prototype.boundarySpan):
      (WebInspector.FlameChart.prototype.update):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56dd39d9
    • allan.jensen@digia.com's avatar
      [Qt] Build error with building with Qt 5.1 · 0acbbe8f
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112435
      
      Reviewed by Noam Rosenthal.
      
      QAccessibleWidget has moved to private.
      
      .:
      
      * Source/widgetsapi.pri:
      
      Source/WebKit/qt:
      
      * WidgetApi/qwebviewaccessible_p.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0acbbe8f
    • jknotten@chromium.org's avatar
      [Chromium] Compositor is applying scroll offset using 'programmatic' API · ad170fc7
      jknotten@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109712
      
      Reviewed by James Robinson.
      
      Ensure that the compositor uses non-programmatic APIs to scroll and
      scale.
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::setPageScaleFactor):
      (WebKit::WebViewImpl::updateMainFrameScrollPosition):
      (WebKit):
      (WebKit::WebViewImpl::applyScrollAndScale):
      * src/WebViewImpl.h:
      (WebViewImpl):
      * tests/WebFrameTest.cpp:
      * tests/WebViewTest.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad170fc7
    • caseq@chromium.org's avatar
      Unreviewed -- remove test expectations for timeline-receive-response-event and remove · edb06363
      caseq@chromium.org authored
      another source of flakiness in the test.
      
      * inspector/timeline/timeline-receive-response-event.html:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edb06363