1. 23 Sep, 2011 1 commit
    • commit-queue@webkit.org's avatar
      .: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests · 90680248
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      Tests: fast/dom/scroll-element-to-rect-centered.html
             fast/dom/scroll-element-to-rect.html
      
      * WebCore.exp.in:
      * page/FrameView.cpp:
      (WebCore::FrameView::scrollElementToRect):
      * page/FrameView.h:
      * testing/Internals.cpp:
      (WebCore::Internals::scrollElementToRect):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/chromium: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * public/WebView.h:
      (WebKit::WebView::scrollFocusedNodeIntoRect):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
      
      Source/WebKit2: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * fast/dom/scroll-element-to-rect-centered-expected.txt: Added.
      * fast/dom/scroll-element-to-rect-centered.html: Added.
      * fast/dom/scroll-element-to-rect-expected.txt: Added.
      * fast/dom/scroll-element-to-rect.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90680248
  2. 21 Sep, 2011 1 commit
    • jchaffraix@webkit.org's avatar
      Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled · 3b543a32
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68133
      
      Reviewed by Darin Adler.
      
      .:
      
      * Source/autotools/symbols.filter: Added the mangled symbols needed for window.internals
      
      Source/WebCore:
      
      Tests: fast/css/webkit-mask-crash-fieldset-legend.html
             fast/css/webkit-mask-crash-figure.html
             fast/css/webkit-mask-crash-table.html
             fast/css/webkit-mask-crash-td-2.html
             fast/css/webkit-mask-crash-td.html
      
      GraphicsContext::getCTM crashes if called with a GraphicsContext that has painting
      disabled. RenderBox::paintMaskImages would thus crash if called in this condition.
      
      This change just modifies the different GraphicsContext::getCTM method to bail early
      if painting is disabled on the GraphicsContext. The rest of the change is exposing
      paintControlTints that exposes this.
      
      * WebCore.exp.in: Added symbols of the newly export window.internals function.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::updateControlTints): Split this function in 2 so that
      I can expose the internal paintControlTints.
      
      (WebCore::FrameView::paintControlTints):
      This is the one exposed to Internals as we want to be testable regardless of
      whether the platform supports control tints.
      
      * page/FrameView.h: Added paintControlTints.
      
      * testing/Internals.cpp:
      (WebCore::Internals::paintControlTints):
      * testing/Internals.h:
      * testing/Internals.idl:
      Added a way to force a fake painting so that we can easily reproduce the bugs.
      
      * platform/graphics/cairo/GraphicsContextCairo.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/skia/GraphicsContextSkia.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wince/GraphicsContextWinCE.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wx/GraphicsContextWx.cpp:
      (WebCore::GraphicsContext::getCTM):
      Fixed all our back-end to exit early if painting is disabled.
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      Exported the new FrameView::paintControlTints function.
      
      LayoutTests:
      
      Those tests checks that we do not crash when calling internals.paintControlTints.
      
      * platform/mac/Skipped: Skipped 2 tests as they are hitting an ASSERT unrelated to
      this change on Mac.
      
      * fast/css/webkit-mask-crash-fieldset-legend-expected.txt: Added.
      * fast/css/webkit-mask-crash-fieldset-legend.html: Added.
      * fast/css/webkit-mask-crash-figure-expected.txt: Added.
      * fast/css/webkit-mask-crash-figure.html: Added.
      * fast/css/webkit-mask-crash-table-expected.txt: Added.
      * fast/css/webkit-mask-crash-table.html: Added.
      * fast/css/webkit-mask-crash-td-2-expected.txt: Added.
      * fast/css/webkit-mask-crash-td-2.html: Added.
      * fast/css/webkit-mask-crash-td-expected.txt: Added.
      * fast/css/webkit-mask-crash-td.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b543a32
  3. 08 Sep, 2011 1 commit
    • wjmaclean@chromium.org's avatar
      [chromium] Add backend compositor support for rescaling (zooming) textures during zoom animation. · bcdc0689
      wjmaclean@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66472
      
      Source/WebCore:
      
      This patch contains plumbing from Internals to WebViewImpl that can be removed
      at a later time when the zoom animator code is complete.
      
      Reviewed by James Robinson.
      
      Test: platform/chromium/compositing/zoom-animator-scale-test.html
      
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setZoomAnimatorScale):
      (WebCore::Settings::zoomAnimatorScale):
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::LayerRendererChromium):
      (WebCore::LayerRendererChromium::drawLayersInternal):
      * platform/graphics/chromium/LayerRendererChromium.h:
      (WebCore::LayerRendererChromium::setZoomAnimatorScale):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::commitTo):
      (WebCore::CCLayerTreeHost::setZoomAnimatorScale):
      (WebCore::CCLayerTreeHost::updateLayers):
      * platform/graphics/chromium/cc/CCLayerTreeHost.h:
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::setZoomAnimatorScale):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
      * testing/Internals.cpp:
      (WebCore::Internals::setZoomAnimatorScale):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/chromium:
      
      This patch contains plumbing from Internals to WebViewImpl that can be removed
      at a later time when the zoom animator code is complete.
      
      Reviewed by James Robinson.
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::setZoomLevel):
      (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
      
      LayoutTests:
      
      Initial tests for zoomAnimatorChromium backend.
      
      Reviewed by James Robinson.
      
      * platform/chromium-gpu-linux/platform/chromium/compositing/zoom-animator-scale-test-expected.png: Added.
      * platform/chromium-gpu-linux/platform/chromium/compositing/zoom-animator-scale-test-expected.txt: Added.
      * platform/chromium/compositing/zoom-animator-scale-test.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcdc0689
  4. 07 Sep, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Add test infrastructure to test rubber-banding overhang drawing along with... · a6e510e0
      commit-queue@webkit.org authored
      Add test infrastructure to test rubber-banding overhang drawing along with layout tests for existing Chromium Mac overhang drawing in the non-gpu path.
      https://bugs.webkit.org/show_bug.cgi?id=67511
      
      Patch by Alexei Svitkine <asvitkine@chromium.org> on 2011-09-07
      Reviewed by Dimitri Glazkov.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Tests: platform/chromium-mac/rubberbanding/overhang-e.html
             platform/chromium-mac/rubberbanding/overhang-n.html
             platform/chromium-mac/rubberbanding/overhang-ne.html
             platform/chromium-mac/rubberbanding/overhang-nw.html
             platform/chromium-mac/rubberbanding/overhang-s.html
             platform/chromium-mac/rubberbanding/overhang-se.html
             platform/chromium-mac/rubberbanding/overhang-sw.html
             platform/chromium-mac/rubberbanding/overhang-w.html
      
      * WebCore.exp.in:
      * platform/ScrollableArea.h:
      * testing/Internals.cpp:
      (WebCore::Internals::setScrollViewPosition):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      * platform/chromium-mac/rubberbanding: Added.
      * platform/chromium-mac/rubberbanding/overhang-e-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-e-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-e.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-n-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-n-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-n.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-ne-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-ne-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-ne.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-nw-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-nw-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-nw.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-s-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-s-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-s.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-se-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-se-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-se.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-sw-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-sw-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-sw.html: Added.
      * platform/chromium-mac/rubberbanding/overhang-w-expected.png: Added.
      * platform/chromium-mac/rubberbanding/overhang-w-expected.txt: Added.
      * platform/chromium-mac/rubberbanding/overhang-w.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6e510e0
  5. 06 Sep, 2011 1 commit
    • rniwa@webkit.org's avatar
      REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium · 73688cf4
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67453
      
      Reviewed by Kent Tamura.
      
      .: 
      
      Add symbols for internals.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: 
      
      Fixed the bug by updating inner text value in setSuggestedValue.
      
      Also added a suggestedValue and setSuggestedValue on window.internals for testing purposes.
      
      Test: fast/forms/suggested-value.html
      
      * WebCore.exp.in:
      * testing/Internals.cpp:
      (WebCore::Internals::suggestedValue):
      (WebCore::Internals::setSuggestedValue):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/chromium: 
      
      Chromium code incorrectly calls Node::isFocusable without updating layout, and was hitting assertions.
      Fix the assertion failure (and a potential crash) by updating layout in WebCore::isFocusable.
      
      * src/WebNode.cpp:
      (WebKit::WebNode::isFocusable):
      
      Source/WebKit2: 
      
      Add symbols for internals.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: 
      
      Added a regression test to ensure HTMLInputElement updates its inner text value when the suggested value is set.
      
      * fast/forms/suggested-value-expected.txt: Added.
      * fast/forms/suggested-value.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73688cf4
  6. 31 Aug, 2011 1 commit
    • keishi@webkit.org's avatar
      input color: onchange event is not fired when changing color from color chooser · 0a1f22e9
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66848
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Test: fast/forms/color/input-color-onchange-event.html
      
      * WebCore.exp.in: Added calls used in Internals.cpp.
      * html/ColorInputType.cpp:
      (WebCore::ColorInputType::colorSelected): Dispatch change event.
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::connectToColorChooser): Added. Called from Internals::connectColorChooserClient.
      * html/HTMLInputElement.h:
      * testing/Internals.cpp:
      (WebCore::Internals::connectColorChooserClient): Added. Connects element as client to color chooser.
      (WebCore::Internals::selectColorInColorChooser): Added. Simulate color selection in color chooser.
      * testing/Internals.h:
      * testing/Internals.idl:
      
      LayoutTests:
      
      * fast/forms/color/input-color-onchange-event-expected.txt: Added.
      * fast/forms/color/input-color-onchange-event.html: Added. Tests if change event is fired when user selects color from color chooser.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a1f22e9
  7. 29 Aug, 2011 1 commit
    • rniwa@webkit.org's avatar
      Add a test for lastChangeWasUserEdit in HTMLInputElement and HTMLTextAreaElement · b3eabcbb
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67173
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      Exposed HTMLInputElement::lastChangeWasUserEdit and HTMLTextAreaElement::lastChangeWasUserEdit
      via internals.wasLastChangeUserEdit(Element*, ExceptionCode&). The first argument must be
      an input element or a textarea element lastChangeWasUserEdit is called upon.
      
      Test: fast/forms/textfield-lastchange-was-useredit.html
      
      * testing/Internals.cpp:
      (WebCore::Internals::wasLastChangeUserEdit):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      LayoutTests: 
      
      Added some basic test for HTMLInputElement::lastChangeWasUserEdit and
      HTMLTextAreaElement::lastChangeWasUserEdit.
      
      * fast/forms/textfield-lastchange-was-useredit-expected.txt: Added.
      * fast/forms/textfield-lastchange-was-useredit.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3eabcbb
  8. 19 Aug, 2011 1 commit
    • morrita@google.com's avatar
      .: Spell-checking doesn't recognize word boundaries on contests inserted by... · e6e56a6f
      morrita@google.com authored
      .: Spell-checking doesn't recognize word boundaries on contests inserted by execCommand('insertHTML')
      https://bugs.webkit.org/show_bug.cgi?id=65902
      
      Reviewed by Ryosuke Niwa.
      
      Add export for window.internals object.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: Spell-checking doesn't recognize word boundaries on contests inserted by execCommand('insertHTML')
      https://bugs.webkit.org/show_bug.cgi?id=65902
      
      Reviewed by Ryosuke Niwa.
      
      markMisspellingsAndBadGrammar() was using markSpelling() and markBadGrammar().
      But these are low-level API and caller should take care of word boundary.
      This change replaced these call with overloaded version of markMisspellingsAndBadGrammar(),
      which handles word boundary correctly.
      
      Test: editing/spelling/spelling-insert-html.html
      
      * WebCore.exp.in:
      * editing/Editor.cpp:
      (WebCore::Editor::markMisspellingsAndBadGrammar):
      * testing/Internals.cpp:
      (WebCore::Internals::markerCountOf): Added.
      (WebCore::Internals::markedRangeAt): Added.
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2: Spell-checking against execCommand() inserted HTML doesn't care word boundary.
      https://bugs.webkit.org/show_bug.cgi?id=65902
      
      Reviewed by Ryosuke Niwa.
      
      Add exports for window.internals object.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: Spell-checking doesn't recognize word boundaries on contests inserted by execCommand('insertHTML')
      https://bugs.webkit.org/show_bug.cgi?id=65902
      
      Reviewed by Ryosuke Niwa.
      
      Existing expectation was wrong because of some markers on substrings of words.
      With this fix, Editor now rejects such markers.
      
      * editing/spelling/spelling-insert-html-expected.txt: Added.
      * editing/spelling/spelling-insert-html.html: Added.
      * platform/mac/editing/pasteboard/merge-after-delete-1-expected.png:
      * platform/mac/editing/pasteboard/merge-after-delete-2-expected.png:
      * platform/mac/editing/pasteboard/merge-after-delete-expected.png:
      * platform/mac/editing/pasteboard/merge-end-blockquote-expected.png:
      * platform/mac/editing/pasteboard/merge-end-list-expected.png:
      * platform/mac/editing/pasteboard/merge-end-table-expected.png:
      * platform/mac/editing/pasteboard/paste-text-008-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6e56a6f
  9. 18 Aug, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature · c8019c6e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66052
      
      Patch by Chang Shu <cshu@webkit.org> on 2011-08-18
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      Added runtime settings in WebCore.
      Added support in window.internals for testing.
      
      Tests: editing/input/password-echo-passnode.html
             editing/input/password-echo-passnode2.html
             editing/input/password-echo-passnode3.html
             editing/input/password-echo-textnode.html
      
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setPasswordEchoEnabled):
      (WebCore::Settings::passwordEchoEnabled):
      (WebCore::Settings::setPasswordEchoDurationInSeconds):
      (WebCore::Settings::passwordEchoDurationInSeconds):
      * testing/Internals.cpp:
      (WebCore::Internals::Internals):
      (WebCore::Internals::setPasswordEchoEnabled):
      (WebCore::Internals::setPasswordEchoDurationInSeconds):
      (WebCore::Internals::reset):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/qt:
      
      Enable password echo under the build flag.
      
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      
      LayoutTests:
      
      Added tests.
      
      * editing/input/password-echo-passnode-expected.txt: Added.
      * editing/input/password-echo-passnode.html: Added.
      * editing/input/password-echo-passnode2-expected.txt: Added.
      * editing/input/password-echo-passnode2.html: Added.
      * editing/input/password-echo-passnode3-expected.txt: Added.
      * editing/input/password-echo-passnode3.html: Added.
      * editing/input/password-echo-textnode-expected.txt: Added.
      * editing/input/password-echo-textnode.html: Added.
      * editing/input/resources: Added.
      * editing/input/resources/password-echo.js: Added.
      (secureChar):
      (secureText):
      (log):
      (assert):
      (run.else):
      (run):
      (init):
      * platform/wk2/Skipped: No support yet.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8019c6e
  10. 17 Aug, 2011 1 commit
    • chang.shu@nokia.com's avatar
      2011-08-16 Chang Shu <cshu@webkit.org> · 0999712a
      chang.shu@nokia.com authored
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              New tests will be added when function reset is implemented.
      
              Added framework code in WebCoreTestSupport. The real implementation of
              Internals::reset() depends on the need from the settings that require a reset.
      
              * testing/Internals.cpp:
              (WebCore::Internals::reset):
              * testing/Internals.h:
              * testing/js/WebCoreTestSupport.cpp:
              (WebCoreTestSupport::resetInternalsObject):
              * testing/js/WebCoreTestSupport.h:
              * testing/v8/WebCoreTestSupport.cpp:
              (WebCoreTestSupport::resetInternalsObject):
              * testing/v8/WebCoreTestSupport.h:
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added framework code in WebKit.
      
              * public/WebTestingSupport.h:
              * src/WebTestingSupport.cpp:
              (WebKit::WebTestingSupport::resetInternalsObject):
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added framework code in WebKit.
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::resetInternalsObject):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added call to resetInternalsObject in DRT.
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetTestController):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetWebViewToConsistentStateBeforeTesting):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::resetSettings):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0999712a
  11. 09 Aug, 2011 1 commit
    • enne@google.com's avatar
      Add testing for --force-compositing-mode to windows.internal · 4d373182
      enne@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=65777
      
      Reviewed by Adam Barth.
      
      .:
      
      Add exports for Document::settings().
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Test: platform/chromium/compositing/force-compositing-mode/force-composite-empty.html
      
      Move initial initialization to settings caching function so that RLC
      picks up changes to the force compositing mode flag.
      
      * WebCore.exp.in:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::RenderLayerCompositor):
      (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
      (WebCore::RenderLayerCompositor::updateCompositingLayers):
      * testing/Internals.cpp:
      (WebCore::Internals::setForceCompositingMode):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      Add exports for Document::settings().
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      Add empty page to test that the root gets a graphics layer.
      
      * platform/chromium/compositing/force-compositing-mode/force-composite-empty-expected.txt: Added.
      * platform/chromium/compositing/force-compositing-mode/force-composite-empty.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d373182
  12. 01 Aug, 2011 2 commits
    • commit-queue@webkit.org's avatar
      .: REGRESSION (r39725?): Resources removed from document can not be freed... · 9acd5fe0
      commit-queue@webkit.org authored
      .: REGRESSION (r39725?): Resources removed from document can not be freed until the document is deleted
      https://bugs.webkit.org/show_bug.cgi?id=61006
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-08-01
      Reviewed by Antti Koivisto.
      
      Update exports for test harness.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: REGRESSION (r39725?): Resources removed from document can not be freed
      until the document is deleted
      https://bugs.webkit.org/show_bug.cgi?id=61006
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-08-01
      Reviewed by Antti Koivisto.
      
      Upon completing a load start a Timer to iterate through
      CachedResourceLoader's m_documentResources map to check for any items
      that have only one reference (thus being the reference in the map
      itself). The map should really be weak, but because the
      CachedResourceHandle achieves bookkeeping work in addition to
      reference counting, this is a simpler and more localized way to free
      the used memory while maintaining the other behaviour (when
      CachedResource is used as proxy).
      
      With this patch the testcase at
      https://bugs.webkit.org/attachment.cgi?id=93850 should no longer
      consume 400MB of ram on load. Test added for crash discovered in
      previous revision, but no tests for memory usage.
      
      Test: http/tests/inspector/network/disabled-cache-crash.html
      
      * WebCore.exp.in:
      * loader/cache/CachedResource.h:
      (WebCore::CachedResource::hasOneHandle):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::CachedResourceLoader):
      (WebCore::CachedResourceLoader::loadDone):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
      * loader/cache/CachedResourceLoader.h:
      * testing/Internals.cpp:
      (WebCore::Internals::disableMemoryCache):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2: REGRESSION (r39725?): Resources removed from document can not be freed until the document is deleted
      https://bugs.webkit.org/show_bug.cgi?id=61006
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-08-01
      Reviewed by Antti Koivisto.
      
      Update exports for test harness.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=61006
      
      Test for CachedResourceLoader. Not caused by cache-disabling but very
      difficult to reproduce when cache is active, so use cache disable in
      inspector to exercise code.
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-08-01
      Reviewed by Antti Koivisto.
      
      * http/tests/inspector/network/disabled-cache-crash-expected.txt: Added.
      * http/tests/inspector/network/disabled-cache-crash.html: Added.
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9acd5fe0
    • hayato@chromium.org's avatar
      Add support for getting an element in shadow root by its id into a window.internals object. · 173c1ffd
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=64587
      
      Reviewed by Hajime Morita.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Test: fast/dom/shadow/get-element-by-id-in-shadow-root.html
      
      * WebCore.exp.in:
      * testing/Internals.cpp:
      (WebCore::Internals::getElementByIdInShadowRoot):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      * fast/dom/shadow/get-element-by-id-in-shadow-root-expected.txt: Added.
      * fast/dom/shadow/get-element-by-id-in-shadow-root.html: Added.
      * fast/dom/shadow/resources/create-dom.js: Added.
      (createShadow):
      (createDom):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      173c1ffd
  13. 30 Jul, 2011 1 commit
    • enrica@apple.com's avatar
      REGRESSION: culledInlineAbsoluteRects needs to translate a 0,0 point to absolute · 2e8c28fe
      enrica@apple.com authored
      coordinates so that the top left position is accurate.
      https://bugs.webkit.org/show_bug.cgi?id=65419
      <rdar://problem/9408862>
      
      Source/WebCore: 
      
      This patch fixes a regression introduced in r83075.
      Make sure that culledInlineAbsoluteRects still does
      a translation of a 0,0 point to absolute coordinates so that the top left position is
      accurate.
      This code path could not be tested via JavaScript. The patch
      extends the Internals object to be able to test this case.
      
      Reviewed by Dan Bernstein.
      
      Test: fast/inline/skipped-whitespace-boundingBox.html
      
      * WebCore.exp.in: Added some exports.
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::culledInlineAbsoluteRects):
      * testing/Internals.cpp:
      (WebCore::Internals::boundingBox):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      LayoutTests: 
      
      Reviewed by Dan Bernstein.
      
      * fast/inline/skipped-whitespace-boundingBox-expected.txt: Added.
      * fast/inline/skipped-whitespace-boundingBox.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e8c28fe
  14. 18 Jul, 2011 1 commit
    • morrita@google.com's avatar
      .: [ShadowContentElement] forwarded node should be able to access its hosting content element. · d534c6d8
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      Added GTK symbols for new window.internals methods.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      - Introduced ShadowInclusionSet to manage included nodes to its includer content element.
        ShadowInclusionSet instance is owned by ShadowRoot.
      - Updated the set on inclusion list changes.
      - Used the set to retrieve the content element of NodeRenderingContext.
      
      There are also related refactoring and cleanup:
      - Renamed NodeRenderingContext::m_contentElement to m_includer
      - ShadowContentSelector::m_activeElement is no longer used, thus removed.
      
      Test: fast/dom/shadow/content-element-includer.html
      
      * WebCore.exp.in:
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      (WebCore::NodeRenderingContext::nextRenderer):
      (WebCore::NodeRenderingContext::previousRenderer):
      * dom/NodeRenderingContext.h:
      (WebCore::NodeRenderingContext::includer):
      * dom/ShadowContentElement.cpp:
      (WebCore::removeFromSet):
      (WebCore::addToSet):
      (WebCore::ShadowContentElement::attach):
      (WebCore::ShadowContentElement::detach):
      * dom/ShadowContentElement.h:
      (WebCore::ShadowInclusionSet::add):
      (WebCore::ShadowInclusionSet::remove):
      (WebCore::ShadowInclusionSet::isEmpty):
      (WebCore::ShadowInclusionSet::Translator::hash):
      (WebCore::ShadowInclusionSet::Translator::equal):
      (WebCore::ShadowInclusionSet::Hash::hash):
      (WebCore::ShadowInclusionSet::Hash::equal):
      (WebCore::ShadowInclusionSet::find):
      * dom/ShadowContentSelector.cpp:
      (WebCore::ShadowContentSelector::ShadowContentSelector):
      (WebCore::ShadowContentSelector::selectInclusion):
      * dom/ShadowContentSelector.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::~ShadowRoot):
      (WebCore::ShadowRoot::includerFor):
      (WebCore::ShadowRoot::inclusions):
      (WebCore::ShadowRoot::ensureInclusions):
      * dom/ShadowRoot.h:
      (WebCore::toShadowRoot):
      * testing/Internals.cpp:
      (WebCore::Internals::includerFor):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      Exported additional symbols for window.internals object.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      - Added a new test.
      - Updated expectations. This change make ShadowContentElement availability on NodeRenderingContext
        more strict. that makes some redundant node disappeared.
      
      * fast/dom/shadow/content-element-includer-expected.txt: Added.
      * fast/dom/shadow/content-element-includer.html: Added.
      * platform/chromium-win/fast/html/details-nested-2-expected.txt:
      * platform/gtk/fast/html/details-nested-2-expected.txt:
      * platform/mac/fast/html/details-nested-2-expected.txt:
      * platform/qt/fast/html/details-nested-2-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d534c6d8
  15. 14 Jul, 2011 1 commit
    • morrita@google.com's avatar
      Unreviewed, rolling out r90976, r90981, and r90985. · 3d1224e7
      morrita@google.com authored
      http://trac.webkit.org/changeset/90976
      http://trac.webkit.org/changeset/90981
      http://trac.webkit.org/changeset/90985
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      build break
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      (WebCore::NodeRenderingContext::nextRenderer):
      (WebCore::NodeRenderingContext::previousRenderer):
      * dom/NodeRenderingContext.h:
      * dom/ShadowContentElement.cpp:
      (WebCore::ShadowContentElement::attach):
      (WebCore::ShadowContentElement::detach):
      * dom/ShadowContentElement.h:
      * dom/ShadowContentSelector.cpp:
      (WebCore::ShadowContentSelector::ShadowContentSelector):
      (WebCore::ShadowContentSelector::selectInclusion):
      (WebCore::ShadowContentSelector::willAttachContentFor):
      (WebCore::ShadowContentSelector::didAttachContent):
      (WebCore::ShadowContentSelector::activeElement):
      * dom/ShadowContentSelector.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::~ShadowRoot):
      (WebCore::ShadowRoot::activeContentElement):
      * dom/ShadowRoot.h:
      * testing/Internals.cpp:
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      * fast/dom/shadow/content-element-includer-expected.txt: Removed.
      * fast/dom/shadow/content-element-includer.html: Removed.
      * platform/chromium-win/fast/html/details-nested-2-expected.txt:
      * platform/gtk/fast/html/details-nested-2-expected.txt:
      * platform/mac/fast/html/details-nested-2-expected.txt:
      * platform/qt/fast/html/details-nested-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d1224e7
  16. 13 Jul, 2011 1 commit
    • morrita@google.com's avatar
      .: [ShadowContentElement] forwarded node should be able to access its hosting content element. · 3b337f86
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      Added GTK symbols for new window.internals methods.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      - Introduced ShadowInclusionSet to manage included nodes to its includer content element.
        ShadowInclusionSet instance is owned by ShadowRoot.
      - Updated the set on inclusion list changes.
      - Used the set to retrieve the content element of NodeRenderingContext.
      
      There are also related refactoring and cleanup:
      - Renamed NodeRenderingContext::m_contentElement to m_includer
      - ShadowContentSelector::m_activeElement is no longer used, thus removed.
      
      Test: fast/dom/shadow/content-element-includer.html
      
      * WebCore.exp.in:
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      (WebCore::NodeRenderingContext::nextRenderer):
      (WebCore::NodeRenderingContext::previousRenderer):
      * dom/NodeRenderingContext.h:
      (WebCore::NodeRenderingContext::includer):
      * dom/ShadowContentElement.cpp:
      (WebCore::removeFromSet): Added
      (WebCore::addToSet): Added
      (WebCore::ShadowContentElement::attach):
      (WebCore::ShadowContentElement::detach):
      * dom/ShadowContentElement.h:
      (WebCore::ShadowInclusionSet::add):
      (WebCore::ShadowInclusionSet::remove):
      (WebCore::ShadowInclusionSet::isEmpty):
      (WebCore::ShadowInclusionSet::Translator::hash):
      (WebCore::ShadowInclusionSet::Translator::equal):
      (WebCore::ShadowInclusionSet::Hash::hash):
      (WebCore::ShadowInclusionSet::Hash::equal):
      (WebCore::ShadowInclusionSet::find):
      * dom/ShadowContentSelector.cpp:
      (WebCore::ShadowContentSelector::ShadowContentSelector):
      (WebCore::ShadowContentSelector::selectInclusion):
      * dom/ShadowContentSelector.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::~ShadowRoot):
      (WebCore::ShadowRoot::includerFor): Replaced activeElement()
      (WebCore::ShadowRoot::inclusions): Added
      (WebCore::ShadowRoot::ensureInclusions): Added
      * dom/ShadowRoot.h:
      (WebCore::toShadowRoot):
      * testing/Internals.cpp:
      (WebCore::Internals::includerFor):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      Exported additional symbols for window.internals object.
      
      * win/WebKit2.def:
      
      LayoutTests: [ShadowContentElement] forwarded node should be able to access its hosting content element.
      https://bugs.webkit.org/show_bug.cgi?id=64251
      
      Reviewed by Dimitri Glazkov.
      
      - Added a new test.
      - Updated expectations. This change make ShadowContentElement availability on NodeRenderingContext
        more strict. that makes some redundant node disappeared.
      
      * fast/dom/shadow/content-element-includer-expected.txt: Added.
      * fast/dom/shadow/content-element-includer.html: Added.
      * platform/chromium-win/fast/html/details-nested-2-expected.txt:
      * platform/gtk/fast/html/details-nested-2-expected.txt:
      * platform/mac/fast/html/details-nested-2-expected.txt:
      * platform/qt/fast/html/details-nested-2-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b337f86
  17. 05 Jul, 2011 2 commits
    • vsevik@chromium.org's avatar
      2011-07-05 Vsevolod Vlasov <vsevik@chromium.org> · da8338c9
      vsevik@chromium.org authored
              Unreviewed; Qt Linux Release minimal compile fix.
      
              * testing/Internals.h:
              (WebCore::Internals::setInspectorResourcesDataSizeLimits):
              * testing/Internals.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da8338c9
    • vsevik@chromium.org's avatar
      2011-07-05 Vsevolod Vlasov <vsevik@chromium.org> · d8b27104
      vsevik@chromium.org authored
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Added GTK symbols for new window.internals methods.
      
              Reviewed by Pavel Feldman.
      
              * Source/autotools/symbols.filter:
      2011-07-04  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Added tests for plugin content saving and replacing in NetworkResourcesData.
              Adjusted older tests to use new window.internals method setInspectorResourcesDataSizeLimits
              to ensure NetworkResourcesData is in the correct state before test.
      
              Reviewed by Pavel Feldman.
      
              * http/tests/inspector/network/network-content-replacement-embed-expected.txt: Added.
              * http/tests/inspector/network/network-content-replacement-embed.html: Added.
              * http/tests/inspector/network/network-content-replacement-xhr-expected.txt: Added.
              * http/tests/inspector/network/network-content-replacement-xhr.html: Added.
              * http/tests/inspector/network/network-embed-expected.txt: Added.
              * http/tests/inspector/network/network-embed.html: Added.
              * http/tests/inspector/network/network-xhr-async-expected.txt:
              * http/tests/inspector/network/network-xhr-async.html:
              * http/tests/inspector/network/network-xhr-sync-expected.txt:
              * http/tests/inspector/network/network-xhr-sync.html:
              * http/tests/inspector/network/resources/cp1251.xml: Added.
              * http/tests/inspector/network/resources/plugin-data.php: Added.
              * http/tests/inspector/network/resources/resource.php:
              * http/tests/inspector/network/resources/utf8.xml: Added.
              * platform/chromium/test_expectations.txt:
      2011-07-05  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Now the data from didReceiveData callback is passed to inspector.
              It is then saved in NetworkResourcesData structure for plugin requests.
              Added window.internals.setInspectorResourcesDataSizeLimits() method
              for testing replacement logic.
      
              Reviewed by Pavel Feldman.
      
              Tests: http/tests/inspector/network/network-content-replacement-embed.html
                     http/tests/inspector/network/network-content-replacement-xhr.html
                     http/tests/inspector/network/network-embed.html
      
              * WebCore.exp.in:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::setResourcesDataSizeLimitsFromInternals):
              * inspector/InspectorController.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didReceiveDataImpl):
              * inspector/InspectorInstrumentation.h:
              (WebCore::InspectorInstrumentation::didReceiveData):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::didReceiveResponse):
              (WebCore::InspectorResourceAgent::didReceiveData):
              (WebCore::InspectorResourceAgent::didFinishLoading):
              (WebCore::InspectorResourceAgent::setInitialXHRContent):
              (WebCore::InspectorResourceAgent::setResourcesDataSizeLimitsFromInternals):
              (WebCore::InspectorResourceAgent::getResourceContent):
              * inspector/InspectorResourceAgent.h:
              * inspector/NetworkResourcesData.cpp:
              (WebCore::NetworkResourcesData::ResourceData::ResourceData):
              (WebCore::NetworkResourcesData::ResourceData::setContent):
              (WebCore::NetworkResourcesData::ResourceData::purgeContent):
              (WebCore::NetworkResourcesData::ResourceData::createDecoder):
              (WebCore::NetworkResourcesData::ResourceData::dataLength):
              (WebCore::NetworkResourcesData::ResourceData::appendData):
              (WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
              (WebCore::NetworkResourcesData::NetworkResourcesData):
              (WebCore::NetworkResourcesData::responseReceived):
              (WebCore::NetworkResourcesData::setResourceContent):
              (WebCore::NetworkResourcesData::maybeAddResourceData):
              (WebCore::NetworkResourcesData::maybeDecodeDataToContent):
              (WebCore::NetworkResourcesData::data):
              (WebCore::NetworkResourcesData::clear):
              (WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
              (WebCore::NetworkResourcesData::ensureNoDataForIdentifier):
              (WebCore::NetworkResourcesData::ensureFreeSpace):
              * inspector/NetworkResourcesData.h:
              (WebCore::NetworkResourcesData::ResourceData::hasContent):
              (WebCore::NetworkResourcesData::ResourceData::content):
              (WebCore::NetworkResourcesData::ResourceData::decoder):
              (WebCore::NetworkResourcesData::ResourceData::buffer):
              (WebCore::NetworkResourcesData::ResourceData::setBuffer):
              (WebCore::NetworkResourcesData::ResourceData::hasData):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource.prototype.get contentEncoded):
              * inspector/front-end/ResourcePreviewView.js:
              (WebInspector.ResourcePreviewView.prototype.contentLoaded):
              (WebInspector.ResourcePreviewView.prototype._createEmptyView):
              (WebInspector.ResourcePreviewView.prototype._createPreviewView):
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.hasTextContent):
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::didReceiveData):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::willLoadMediaElementURL):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::FrameLoader::loadedResourceFromMemoryCache):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::didReceiveData):
              (WebCore::ResourceLoadNotifier::dispatchDidReceiveData):
              (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
              * loader/ResourceLoadNotifier.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didReceiveData):
              * testing/Internals.cpp:
              (WebCore::Internals::setInspectorResourcesDataSizeLimits):
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-07-05  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Added win symbols for new window.internals methods.
      
              Reviewed by Pavel Feldman.
      
              * win/WebKit2.def:
              * win/WebKit2CFLite.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8b27104
  18. 04 Jul, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-07-04 Sheriff Bot <webkit.review.bot@gmail.com> · 1e1df61f
      commit-queue@webkit.org authored
              Unreviewed, rolling out r90373.
              http://trac.webkit.org/changeset/90373
              https://bugs.webkit.org/show_bug.cgi?id=63917
      
              Breaks Qt Linux Release minimal (Requested by vsevik on
              #webkit).
      
              * Source/autotools/symbols.filter:
      2011-07-04  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r90373.
              http://trac.webkit.org/changeset/90373
              https://bugs.webkit.org/show_bug.cgi?id=63917
      
              Breaks Qt Linux Release minimal (Requested by vsevik on
              #webkit).
      
              * http/tests/inspector/network/network-content-replacement-embed-expected.txt: Removed.
              * http/tests/inspector/network/network-content-replacement-embed.html: Removed.
              * http/tests/inspector/network/network-content-replacement-xhr-expected.txt: Removed.
              * http/tests/inspector/network/network-content-replacement-xhr.html: Removed.
              * http/tests/inspector/network/network-embed-expected.txt: Removed.
              * http/tests/inspector/network/network-embed.html: Removed.
              * http/tests/inspector/network/network-xhr-async-expected.txt:
              * http/tests/inspector/network/network-xhr-async.html:
              * http/tests/inspector/network/network-xhr-sync-expected.txt:
              * http/tests/inspector/network/network-xhr-sync.html:
              * http/tests/inspector/network/resources/cp1251.xml: Removed.
              * http/tests/inspector/network/resources/plugin-data.php: Removed.
              * http/tests/inspector/network/resources/resource.php:
              * http/tests/inspector/network/resources/utf8.xml: Removed.
              * platform/chromium/test_expectations.txt:
      2011-07-04  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r90373.
              http://trac.webkit.org/changeset/90373
              https://bugs.webkit.org/show_bug.cgi?id=63917
      
              Breaks Qt Linux Release minimal (Requested by vsevik on
              #webkit).
      
              * WebCore.exp.in:
              * inspector/InspectorController.cpp:
              * inspector/InspectorController.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
              * inspector/InspectorInstrumentation.h:
              (WebCore::InspectorInstrumentation::didReceiveContentLength):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::didReceiveResponse):
              (WebCore::InspectorResourceAgent::didReceiveContentLength):
              (WebCore::InspectorResourceAgent::didFinishLoading):
              (WebCore::InspectorResourceAgent::setInitialXHRContent):
              (WebCore::InspectorResourceAgent::getResourceContent):
              * inspector/InspectorResourceAgent.h:
              * inspector/NetworkResourcesData.cpp:
              (WebCore::NetworkResourcesData::ResourceData::ResourceData):
              (WebCore::NetworkResourcesData::ResourceData::content):
              (WebCore::NetworkResourcesData::ResourceData::appendContent):
              (WebCore::NetworkResourcesData::ResourceData::purgeContent):
              (WebCore::NetworkResourcesData::NetworkResourcesData):
              (WebCore::NetworkResourcesData::responseReceived):
              (WebCore::NetworkResourcesData::addResourceContent):
              (WebCore::NetworkResourcesData::data):
              (WebCore::NetworkResourcesData::clear):
              (WebCore::NetworkResourcesData::ensureNoDataForIdentifier):
              (WebCore::NetworkResourcesData::ensureFreeSpace):
              * inspector/NetworkResourcesData.h:
              (WebCore::NetworkResourcesData::ResourceData::hasContent):
              (WebCore::NetworkResourcesData::ResourceData::setIsContentPurged):
              (WebCore::NetworkResourcesData::ResourceData::textEncodingName):
              (WebCore::NetworkResourcesData::ResourceData::setTextEncodingName):
              * inspector/front-end/Resource.js:
              * inspector/front-end/ResourcePreviewView.js:
              (WebInspector.ResourcePreviewView.prototype.contentLoaded):
              (WebInspector.ResourcePreviewView.prototype._createInnerView):
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.hasTextContent):
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::didReceiveData):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::willLoadMediaElementURL):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::FrameLoader::loadedResourceFromMemoryCache):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::didReceiveData):
              (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength):
              (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
              * loader/ResourceLoadNotifier.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didReceiveData):
              * testing/Internals.cpp:
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-07-04  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r90373.
              http://trac.webkit.org/changeset/90373
              https://bugs.webkit.org/show_bug.cgi?id=63917
      
              Breaks Qt Linux Release minimal (Requested by vsevik on
              #webkit).
      
              * win/WebKit2.def:
              * win/WebKit2CFLite.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e1df61f
    • vsevik@chromium.org's avatar
      2011-07-04 Vsevolod Vlasov <vsevik@chromium.org> · 169a9b5d
      vsevik@chromium.org authored
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Reviewed by Pavel Feldman.
      
              * Source/autotools/symbols.filter:
      2011-07-04  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Reviewed by Pavel Feldman.
      
              * http/tests/inspector/network/network-content-replacement-embed-expected.txt: Added.
              * http/tests/inspector/network/network-content-replacement-embed.html: Added.
              * http/tests/inspector/network/network-content-replacement-xhr-expected.txt: Added.
              * http/tests/inspector/network/network-content-replacement-xhr.html: Added.
              * http/tests/inspector/network/network-embed-expected.txt: Added.
              * http/tests/inspector/network/network-embed.html: Added.
              * http/tests/inspector/network/network-xhr-async-expected.txt:
              * http/tests/inspector/network/network-xhr-async.html:
              * http/tests/inspector/network/network-xhr-sync-expected.txt:
              * http/tests/inspector/network/network-xhr-sync.html:
              * http/tests/inspector/network/resources/cp1251.xml: Added.
              * http/tests/inspector/network/resources/plugin-data.php: Added.
              * http/tests/inspector/network/resources/resource.php:
              * http/tests/inspector/network/resources/utf8.xml: Added.
              * platform/chromium/test_expectations.txt:
      2011-07-04  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Reviewed by Pavel Feldman.
      
              Tests: http/tests/inspector/network/network-content-replacement-embed.html
                     http/tests/inspector/network/network-content-replacement-xhr.html
                     http/tests/inspector/network/network-embed.html
      
              * WebCore.exp.in:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::setResourcesDataSizeLimitsFromInternals):
              * inspector/InspectorController.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didReceiveDataImpl):
              * inspector/InspectorInstrumentation.h:
              (WebCore::InspectorInstrumentation::didReceiveData):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::didReceiveResponse):
              (WebCore::InspectorResourceAgent::didReceiveData):
              (WebCore::InspectorResourceAgent::didFinishLoading):
              (WebCore::InspectorResourceAgent::setInitialXHRContent):
              (WebCore::InspectorResourceAgent::setResourcesDataSizeLimitsFromInternals):
              (WebCore::InspectorResourceAgent::getResourceContent):
              * inspector/InspectorResourceAgent.h:
              * inspector/NetworkResourcesData.cpp:
              (WebCore::NetworkResourcesData::ResourceData::ResourceData):
              (WebCore::NetworkResourcesData::ResourceData::setContent):
              (WebCore::NetworkResourcesData::ResourceData::purgeContent):
              (WebCore::NetworkResourcesData::ResourceData::createDecoder):
              (WebCore::NetworkResourcesData::ResourceData::dataLength):
              (WebCore::NetworkResourcesData::ResourceData::appendData):
              (WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
              (WebCore::NetworkResourcesData::NetworkResourcesData):
              (WebCore::NetworkResourcesData::responseReceived):
              (WebCore::NetworkResourcesData::setResourceContent):
              (WebCore::NetworkResourcesData::maybeAddResourceData):
              (WebCore::NetworkResourcesData::maybeDecodeDataToContent):
              (WebCore::NetworkResourcesData::data):
              (WebCore::NetworkResourcesData::clear):
              (WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
              (WebCore::NetworkResourcesData::ensureNoDataForIdentifier):
              (WebCore::NetworkResourcesData::ensureFreeSpace):
              * inspector/NetworkResourcesData.h:
              (WebCore::NetworkResourcesData::ResourceData::hasContent):
              (WebCore::NetworkResourcesData::ResourceData::content):
              (WebCore::NetworkResourcesData::ResourceData::decoder):
              (WebCore::NetworkResourcesData::ResourceData::buffer):
              (WebCore::NetworkResourcesData::ResourceData::setBuffer):
              (WebCore::NetworkResourcesData::ResourceData::hasData):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource.prototype.get contentEncoded):
              * inspector/front-end/ResourcePreviewView.js:
              (WebInspector.ResourcePreviewView.prototype.contentLoaded):
              (WebInspector.ResourcePreviewView.prototype._createEmptyView):
              (WebInspector.ResourcePreviewView.prototype._createPreviewView):
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.hasTextContent):
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::didReceiveData):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::willLoadMediaElementURL):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::FrameLoader::loadedResourceFromMemoryCache):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::didReceiveData):
              (WebCore::ResourceLoadNotifier::dispatchDidReceiveData):
              (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
              * loader/ResourceLoadNotifier.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didReceiveData):
              * testing/Internals.cpp:
              (WebCore::Internals::setInspectorResourcesDataSizeLimits):
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-07-04  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Web Inspector: Show content for plugin requests in network panel.
              https://bugs.webkit.org/show_bug.cgi?id=30080
      
              Reviewed by Pavel Feldman.
      
              * win/WebKit2.def:
              * win/WebKit2CFLite.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      169a9b5d
  19. 24 Jun, 2011 1 commit
    • dominicc@chromium.org's avatar
      2011-06-24 Dominic Cooney <dominicc@chromium.org> · 958d2e44
      dominicc@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              * Source/autotools/symbols.filter: Export symbols for GTK.
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Update tests to use internals.{ensureShadowRoot, shadowRoot,
              shadowPseudoId, removeShadowRoot} instead of layoutTestController.
      
              * fast/dom/HTMLKeygenElement/keygen-expected.txt:
              * fast/dom/HTMLKeygenElement/keygen.html:
              * fast/dom/HTMLMeterElement/meter-clone-expected.txt:
              * fast/dom/HTMLMeterElement/meter-clone.html:
              * fast/dom/HTMLProgressElement/progress-clone-expected.txt:
              * fast/dom/HTMLProgressElement/progress-clone.html:
              * fast/dom/shadow/activeelement-should-be-shadowhost.html:
              * fast/dom/shadow/create-content-element.html:
              * fast/dom/shadow/gc-shadow-expected.txt:
              * fast/dom/shadow/gc-shadow.html:
              * fast/dom/shadow/layout-tests-can-access-shadow-expected.txt: shadowRoot of non-element throws now, so verify new behavior.
              * fast/dom/shadow/layout-tests-can-access-shadow.html:
              * fast/dom/shadow/nodetype.html:
              * fast/dom/shadow/tab-order-iframe-and-shadow.html:
              * fast/events/shadow-boundary-crossing.html:
              * fast/forms/resources/common.js:
              (getValidationMessageBubbleNode):
              * fast/html/clone-keygen-expected.txt:
              * fast/html/clone-keygen.html:
              * fast/html/clone-range-expected.txt:
              * fast/html/clone-range.html:
              * fast/html/details-clone.html:
              * fullscreen/video-controls-override-expected.txt:
              * fullscreen/video-controls-override.html:
              * media/audio-controls-do-not-fade-out.html:
              * media/media-controls.js:
              (mediaControlsButtonCoordinates):
              * media/video-controls-in-media-document.html:
              * platform/win/Skipped: shadowRoot and friends now available on win.
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              * WebCore.exp.in: Exports for symbols used by WebCoreTestSupport.
              * testing/Internals.cpp: The new home of shadowRoot and friends.
              (WebCore::Internals::ensureShadowRoot):
              (WebCore::Internals::shadowRoot):
              (WebCore::Internals::removeShadowRoot):
              (WebCore::Internals::shadowPseudoId):
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove shadow DOM-related methods from Chromium API. These are not
              required any more.
      
              * public/WebElement.h:
              * src/WebElement.cpp:
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove shadow-DOM related methods from GTK DRT API. These are not
              required any more.
      
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove shadow DOM-related methods from Mac API. These are not
              required any more.
      
              * DOM/WebDOMOperations.mm:
              * DOM/WebDOMOperationsPrivate.h:
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow-DOM related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove shadow-DOM related methods from Qt DRT API. These are not
              required any more.
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2011-06-24  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove shadow DOM-related methods from WebKit2 API. These are not
              required any more.
      
              * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h:
              * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
              * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
              * win/WebKit2.def: Re-exports for symbols used by WebCoreTestSupport.
              * win/WebKit2CFLite.def: Same for Cairo.
      2011-06-24  Dominic Cooney   <dominicc@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Convert shadow DOM-related tests to use window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61671
      
              Remove ensureShadowRoot, shadowRoot, shadowPseudoId and
              removeShadowRoot from layoutTestController; these have been
              replaced by equivalents in window.internals instead.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      958d2e44
  20. 22 Jun, 2011 1 commit
    • japhet@chromium.org's avatar
      2011-06-22 Nate Chapin <japhet@chromium.org> · 94a630a0
      japhet@chromium.org authored
              Reviewed by Adam Barth.
      
              Add symbols required for window.internals.
              https://bugs.webkit.org/show_bug.cgi?id=62066
      
              * Source/autotools/symbols.filter:
      2011-06-22  Nate Chapin  <japhet@chromium.org>
      
              Reviewed by Adam Barth.
      
              Test updates for https://bugs.webkit.org/show_bug.cgi?id=62066.
      
              * fast/preloader/scan-body-from-head-import.html: Use window.internals.
              * fast/preloader/scan-body-from-head-script.html: Use window.internals.
              * http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt:
              * http/tests/loading/cross-origin-XHR-willLoadRequest.html:
              * http/tests/loading/preload-append-scan-expected.txt:
              * http/tests/loading/preload-append-scan.php: Use window.internals.
              * http/tests/misc/favicon-loads-with-icon-loading-override-expected.txt:
              * http/tests/misc/link-rel-icon-beforeload-expected.txt:
              * platform/chromium-linux/fast/preloader/scan-body-from-head-script-expected.txt:  Removed.
      2011-06-22  Nate Chapin  <japhet@chromium.org>
      
              Reviewed by Adam Barth.
      
              Don't let all subresources keep isLoadingInAPISense() from
              returning false, only requests that affect
              CachedResourceRequest::requestCount().
      
              Also, add a callback to Internals to determine whether
              a resource has been preloaded.
      
              https://bugs.webkit.org/show_bug.cgi?id=62066
      
              * WebCore.exp.in:
              * dom/Document.cpp: Add m_loadEventFinished.
              * dom/Document.h:
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::isLoadingInAPISense):
              * loader/cache/CachedResourceLoader.cpp:
              (WebCore::CachedResourceLoader::isPreloaded):
              * loader/cache/CachedResourceLoader.h:
              * testing/Internals.cpp:
              (WebCore::Internals::isPreloaded):
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-06-22  Nate Chapin  <japhet@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add win symbols for new window.internals functionality.
              https://bugs.webkit.org/show_bug.cgi?id=62066
      
              * win/WebKit2.def:
      2011-06-22  Nate Chapin  <japhet@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add libsoup to libWebCoreInternals build.
              https://bugs.webkit.org/show_bug.cgi?id=62066
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94a630a0
  21. 19 Jun, 2011 1 commit
    • morrita@google.com's avatar
      2011-06-19 MORITA Hajime <morrita@google.com> · 7837bc86
      morrita@google.com authored
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * Source/autotools/symbols.filter: Added some more symbols necessary for
              window.internals to function to the global symbol list.
      
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * fast/dom/shadow/create-content-element-expected.txt: Added.
              * fast/dom/shadow/create-content-element.html: Added.
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              This change:
              - added Internals::createShadowContentElement(), which creates,
                ShadowContentElement instance which includes all host children,
              - added Internals::elementRenderTreeAsText() to help content layout testing, and
              - Unabstracted ShadowContentElement by giving a default shouldInclude() implementation.
      
              Test: fast/dom/shadow/create-content-element.html
      
              * WebCore.exp.in:
              * dom/ShadowContentElement.cpp:
              (WebCore::ShadowContentElement::create): Added.
              (WebCore::ShadowContentElement::ShadowContentElement):
              (WebCore::ShadowContentElement::~ShadowContentElement):
              (WebCore::ShadowContentElement::shouldInclude): Gave a default implementation which always returns true.
              * dom/ShadowContentElement.h:
              * html/HTMLSummaryElement.cpp:
              (WebCore::SummaryContentElement::SummaryContentElement):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::externalRepresentation): Factored out for supportin per-element render tree dump.
              * rendering/RenderTreeAsText.h:
              * testing/Internals.cpp:
              (WebCore::Internals::createShadowContentElement): Added.
              (WebCore::Internals::elementRenderTreeAsText): dded.
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * win/WebKit2.def: Added some more symbols necessary for
              window.internals to function to the global symbol list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7837bc86
  22. 02 Jun, 2011 1 commit
    • dglazkov@chromium.org's avatar
      2011-06-02 Dimitri Glazkov <dglazkov@chromium.org> · b4a8037d
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * fast/dom/Window/script-tests/window-property-descriptors.js: Added internals object to list of properties to skip.
              * fast/dom/Window/window-properties.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance-2.js: Ditto.
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/harness/internals-object-expected.txt: Added.
              * fast/harness/internals-object.html: Added.
              * platform/gtk/Skipped: Skipped the newly added test until platform supports window.internals.
              * platform/mac-wk2/Skipped: Ditto.
              * platform/qt/Skipped: Ditto.
              * platform/win/Skipped: Ditto.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Test: fast/harness/internals-object.html
      
              * Configurations/WebCoreTestSupport.xcconfig: Added.
              * DerivedSources.make: Added support for generating from Internals.idl.
              * WebCore.gyp/WebCore.gyp: Added new webcore_test_support library.
              * WebCore.gypi: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Added WebCoreTestSupport library.
              * testing/Internals.cpp: Added.
              * testing/Internals.h: Added.
              * testing/Internals.idl: Added.
              * testing/js/WebCoreTestSupport.cpp: Added.
              * testing/js/WebCoreTestSupport.h: Added.
              * testing/v8/WebCoreTestSupport.cpp: Added.
              * testing/v8/WebCoreTestSupport.h: Added.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * WebKit.gyp: Added linking new webkit_test_support library.
              * public/WebTestingSupport.h: Added.
              * src/WebTestingSupport.cpp: Added.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::bindJSObjectsToWindow): Added injection code.
              * DumpRenderTree/mac/FrameLoadDelegate.mm:
              (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4a8037d
  23. 18 May, 2011 1 commit
    • enne@google.com's avatar
      2011-05-18 Alok Priyadarshi <alokp@chromium.org> and Adrienne Walker <enne@google.com> · 2afa3b43
      enne@google.com authored
              Reviewed by James Robinson.
      
              [chromium] Split canvas from LayerTilerChromium
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              LayerTilerChromium now just does tiling. It delegates the task of painting and updating textures to LayerTextureUpdater.
              Also abstracted LayerTextureSubImage to upload texture pixels.
      
              * WebCore.gypi:
              * platform/chromium/TraceEvent.h:
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              (WebCore::ContentLayerChromium::create):
              (WebCore::ContentLayerChromium::ContentLayerChromium):
              (WebCore::ContentLayerChromium::~ContentLayerChromium):
              (WebCore::ContentLayerChromium::paintContentsIfDirty):
              (WebCore::ContentLayerChromium::cleanupResources):
              (WebCore::ContentLayerChromium::setLayerRenderer):
              (WebCore::ContentLayerChromium::createTextureUpdater):
              (WebCore::ContentLayerChromium::drawsContent):
              (WebCore::ContentLayerChromium::createTilerIfNeeded):
              (WebCore::ContentLayerChromium::updateCompositorResources):
              * platform/graphics/chromium/ContentLayerChromium.h:
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerTextureUpdater::ImageLayerTextureUpdater):
              (WebCore::ImageLayerTextureUpdater::~ImageLayerTextureUpdater):
              (WebCore::ImageLayerTextureUpdater::orientation):
              (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
              (WebCore::ImageLayerTextureUpdater::updateTextureRect):
              (WebCore::ImageLayerTextureUpdater::imageRect):
              (WebCore::ImageLayerChromium::paintContentsIfDirty):
              (WebCore::ImageLayerChromium::updateCompositorResources):
              (WebCore::ImageLayerChromium::createTextureUpdater):
              * platform/graphics/chromium/ImageLayerChromium.h:
              * platform/graphics/chromium/LayerPainterChromium.h: Added.
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::create):
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              (WebCore::LayerRendererChromium::updateRootLayerContents):
              (WebCore::LayerRendererChromium::drawRootLayer):
              (WebCore::LayerRendererChromium::updateAndDrawLayers):
              (WebCore::LayerRendererChromium::updateLayers):
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/LayerTextureSubImage.cpp: Added.
              (WebCore::LayerTextureSubImage::LayerTextureSubImage):
              (WebCore::LayerTextureSubImage::~LayerTextureSubImage):
              (WebCore::LayerTextureSubImage::setSubImageSize):
              (WebCore::LayerTextureSubImage::upload):
              (WebCore::LayerTextureSubImage::uploadWithTexSubImage):
              (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
              * platform/graphics/chromium/LayerTextureSubImage.h: Copied from Source/WebCore/platform/chromium/TraceEvent.h.
              * platform/graphics/chromium/LayerTextureUpdater.h: Copied from Source/WebCore/platform/chromium/TraceEvent.h.
              (WebCore::LayerTextureUpdater::LayerTextureUpdater):
              (WebCore::LayerTextureUpdater::~LayerTextureUpdater):
              (WebCore::LayerTextureUpdater::context):
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Added.
              (WebCore::LayerTextureUpdaterCanvas::LayerTextureUpdaterCanvas):
              (WebCore::LayerTextureUpdaterCanvas::paintContents):
              (WebCore::LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap):
              (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
              (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Added.
              (WebCore::LayerTextureUpdaterCanvas::~LayerTextureUpdaterCanvas):
              (WebCore::LayerTextureUpdaterCanvas::contentRect):
              (WebCore::LayerTextureUpdaterBitmap::~LayerTextureUpdaterBitmap):
              (WebCore::LayerTextureUpdaterBitmap::orientation):
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              (WebCore::LayerTilerChromium::create):
              (WebCore::LayerTilerChromium::LayerTilerChromium):
              (WebCore::LayerTilerChromium::setTileSize):
              (WebCore::LayerTilerChromium::prepareToUpdate):
              (WebCore::LayerTilerChromium::updateRect):
              (WebCore::LayerTilerChromium::draw):
              * platform/graphics/chromium/LayerTilerChromium.h:
              (WebCore::LayerTilerChromium::Tile::Tile):
              * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
              (WebCore::CCHeadsUpDisplay::draw):
      2011-05-18  Alok Priyadarshi  <alokp@chromium.org> and Adrienne Walker  <enne@google.com>
      
              Reviewed by James Robinson.
      
              Split canvas from LayerTilerChromium
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              * src/WebViewImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2afa3b43
  24. 02 Mar, 2011 1 commit
    • jorlow@chromium.org's avatar
      2011-03-02 David Grogan <dgrogan@chromium.org> · 492d1618
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: fire versionchange events when calling setVersion
              https://bugs.webkit.org/show_bug.cgi?id=55095
      
              * storage/indexeddb/set_version_queue-expected.txt:
              * storage/indexeddb/set_version_queue.html:
      2011-03-02  David Grogan  <dgrogan@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: fire versionchange events when calling setVersion
              https://bugs.webkit.org/show_bug.cgi?id=55095
      
              * dom/EventNames.h:
              * storage/IDBDatabase.cpp:
              (WebCore::IDBDatabase::setVersion):
              (WebCore::IDBDatabase::close):
              (WebCore::IDBDatabase::onVersionChange):
              (WebCore::IDBDatabase::open):
              (WebCore::IDBDatabase::enqueueEvent):
              (WebCore::IDBDatabase::dispatchEvent):
              * storage/IDBDatabase.h:
              (WebCore::IDBDatabase::dispatchEvent):
              * storage/IDBDatabase.idl:
              * storage/IDBDatabaseBackendImpl.cpp:
              (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::create):
              (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::databaseCallbacks):
              (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::PendingSetVersionCall):
              (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
              (WebCore::IDBDatabaseBackendImpl::setVersion):
              (WebCore::IDBDatabaseBackendImpl::open):
              (WebCore::IDBDatabaseBackendImpl::close):
              * storage/IDBDatabaseBackendImpl.h:
              * storage/IDBDatabaseBackendInterface.h:
              * storage/IDBDatabaseCallbacks.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
              (WebCore::IDBDatabaseCallbacks::~IDBDatabaseCallbacks):
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::open):
              * storage/IDBRequest.cpp:
              (WebCore::IDBRequest::onSuccess):
              * storage/IDBVersionChangeEvent.cpp:
              (WebCore::IDBVersionChangeEvent::create):
              (WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
              * storage/IDBVersionChangeEvent.h:
              * storage/IDBVersionChangeRequest.cpp:
              (WebCore::IDBVersionChangeRequest::onBlocked):
      2011-03-02  David Grogan  <dgrogan@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: fire versionchange events when calling setVersion
              https://bugs.webkit.org/show_bug.cgi?id=55095
      
              * WebKit.gyp:
              * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
              (WebCore::IDBDatabaseCallbacksProxy::create):
              (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
              (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
              (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
              * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
              * src/IDBDatabaseProxy.cpp:
              (WebCore::IDBDatabaseProxy::setVersion):
              (WebCore::IDBDatabaseProxy::close):
              (WebCore::IDBDatabaseProxy::open):
              * src/IDBDatabaseProxy.h:
              * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
              (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
              (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
              (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
              * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
              * src/WebIDBDatabaseImpl.cpp:
              (WebKit::WebIDBDatabaseImpl::setVersion):
              (WebKit::WebIDBDatabaseImpl::close):
              (WebKit::WebIDBDatabaseImpl::open):
              * src/WebIDBDatabaseImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      492d1618
  25. 20 Jan, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-01-20 Ben Vanik <ben.vanik@gmail.com> · 2dd86016
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Implementation of the OES_standard_derivatives WebGL extension.
              https://bugs.webkit.org/show_bug.cgi?id=51678
      
              Changes are modeled off of the existing OESTextureFloat extension. New files,
              extension retrieval, etc all match the existing code.
      
              Changed ANGLEWebKitBridge to allow for multiple sets of the ANGLE shader compiler
              options. This supports the enabling of the standard derivatives flag when the
              extension is enabled. Refactored the cleanup code to make the destruction of the
              compilers (if they had been created) cleaner.
      
              Tested with the WebGL conformance test:
              https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/oes-standard-derivatives.html
              Passes on WebKit/OSX, Chromium/OSX, and Chromium/Windows.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              (WebCore::toJS):
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              (WebCore::toV8Object):
              * html/canvas/OESStandardDerivatives.cpp: Added.
              (WebCore::OESStandardDerivatives::OESStandardDerivatives):
              (WebCore::OESStandardDerivatives::~OESStandardDerivatives):
              (WebCore::OESStandardDerivatives::getName):
              (WebCore::OESStandardDerivatives::create):
              * html/canvas/OESStandardDerivatives.h: Added.
              * html/canvas/OESStandardDerivatives.idl: Added.
              * html/canvas/WebGLExtension.h:
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getExtension): Enable and return the new extension.
              (WebCore::WebGLRenderingContext::getParameter): Support extension enum when enabled.
              (WebCore::WebGLRenderingContext::getSupportedExtensions):
              (WebCore::WebGLRenderingContext::hint): Validate extension enum when enabled.
              (WebCore::WebGLRenderingContext::getNumberOfExtensions):
              (WebCore::WebGLRenderingContext::getExtensionNumber):
              * html/canvas/WebGLRenderingContext.h:
              * platform/graphics/ANGLEWebKitBridge.cpp:
              (WebCore::ANGLEWebKitBridge::~ANGLEWebKitBridge): Cleaned up compiler cleanup.
              (WebCore::ANGLEWebKitBridge::cleanupCompilers): Destruct compilers.
              (WebCore::ANGLEWebKitBridge::setResources): Cleanup existing compilers when changing
              ANGLE settings.
              (WebCore::ANGLEWebKitBridge::validateShaderSource): Cleaned up compiler cleanup on error.
              * platform/graphics/ANGLEWebKitBridge.h:
              (WebCore::ANGLEWebKitBridge::getResources):
              * platform/graphics/Extensions3D.h: Added enumeration for the extension.
              * platform/graphics/GraphicsContext3D.h: lumbing for GraphicsContext3D.
              * platform/graphics/opengl/Extensions3DOpenGL.cpp:
              (WebCore::Extensions3DOpenGL::Extensions3DOpenGL): Plumbed through a pointer to the
              GraphicsContext3D to handle resetting the shader compilers.
              (WebCore::Extensions3DOpenGL::supports): Desktop GL always supports this extension,
              so always return true.
              (WebCore::Extensions3DOpenGL::ensureEnabled): Reset shader compilers as required.
              * platform/graphics/opengl/Extensions3DOpenGL.h: Plumbing for GraphicsContext3D.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::getExtensions): Plumbing for GraphicsContext3D to
              Extensions3DOpenGL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2dd86016
  26. 08 Jan, 2011 1 commit
  27. 10 Dec, 2010 1 commit
    • kbr@google.com's avatar
      2010-12-10 Kenneth Russell <kbr@google.com> · 81bb4971
      kbr@google.com authored
              Reviewed by James Robinson.
      
              Implement extension entry points and remove EXTENSIONS enum
              https://bugs.webkit.org/show_bug.cgi?id=40316
      
              Added support for ensuring that a particular OpenGL extension is
              enabled.
      
              * public/WebGraphicsContext3D.h:
              * src/Extensions3DChromium.cpp:
              (WebCore::Extensions3DChromium::ensureEnabled):
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::initializeExtensions):
              (WebCore::GraphicsContext3DInternal::supportsExtension):
              (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
              * src/GraphicsContext3DInternal.h:
              * src/WebGraphicsContext3DDefaultImpl.cpp:
              (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM):
              (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
              * src/WebGraphicsContext3DDefaultImpl.h:
      2010-12-10  Kenneth Russell  <kbr@google.com>
      
              Reviewed by James Robinson.
      
              Implement extension entry points and remove EXTENSIONS enum
              https://bugs.webkit.org/show_bug.cgi?id=40316
      
              Implemented WebGLRenderingContext's getSupportedExtensions and
              getExtensions entry points, and, to verify them, added support for
              the first specified WebGL extension, OES_texture_float. This
              extension is now advertised in the Chromium and WebKit ports when
              the underlying hardware supports it.
      
              The new OES_texture_float test in the WebGL conformance suite
              verifies the allocation and population of floating point textures,
              and their use as render targets. However, because this extension
              is optional, it is not easily testable with a layout test; there
              is only one set of expectations for a given test, and two would be
              needed, one when the extension is available and one when it is not.
      
              Tested with the oes-texture-float.html WebGL conformance test in
              Chromium and WebKit on Mac OS X on hardware that supports the
              extension. Also verified with a configuration that does not
              advertise the extension that this same test passes.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              (WebCore::toJS):
              (WebCore::JSWebGLRenderingContext::markChildren):
              (WebCore::JSWebGLRenderingContext::getExtension):
              (WebCore::JSWebGLRenderingContext::getSupportedExtensions):
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              (WebCore::toV8Object):
              (WebCore::V8WebGLRenderingContext::getExtensionCallback):
              (WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback):
              * html/canvas/OESTextureFloat.cpp: Added.
              (WebCore::OESTextureFloat::OESTextureFloat):
              (WebCore::OESTextureFloat::~OESTextureFloat):
              (WebCore::OESTextureFloat::getName):
              (WebCore::OESTextureFloat::create):
              * html/canvas/OESTextureFloat.h: Added.
              * html/canvas/OESTextureFloat.idl: Added.
              * html/canvas/WebGLExtension.cpp: Added.
              (WebCore::WebGLExtension::WebGLExtension):
              (WebCore::WebGLExtension::~WebGLExtension):
              * html/canvas/WebGLExtension.h: Added.
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getExtension):
              (WebCore::WebGLRenderingContext::getSupportedExtensions):
              (WebCore::WebGLRenderingContext::validateTexFuncFormatAndType):
              (WebCore::WebGLRenderingContext::validateTexFuncData):
              (WebCore::WebGLRenderingContext::getNumberOfExtensions):
              (WebCore::WebGLRenderingContext::getExtensionNumber):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLRenderingContext.idl:
              * platform/graphics/Extensions3D.h:
              * platform/graphics/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
              (WebCore::GraphicsContext3D::extractTextureData):
              (WebCore::doUnpackingAndPacking):
              (WebCore::doPacking):
              (WebCore::doFloatingPointPacking):
              (WebCore::GraphicsContext3D::packPixels):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/chromium/Extensions3DChromium.h:
              * platform/graphics/opengl/Extensions3DOpenGL.cpp:
              (WebCore::Extensions3DOpenGL::supports):
              (WebCore::Extensions3DOpenGL::ensureEnabled):
              * platform/graphics/opengl/Extensions3DOpenGL.h:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::texImage2D):
              * platform/graphics/qt/Extensions3DQt.cpp:
              (WebCore::Extensions3DQt::ensureEnabled):
              * platform/graphics/qt/Extensions3DQt.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81bb4971
  28. 09 Sep, 2010 1 commit
    • kbr@google.com's avatar
      2010-09-09 Kenneth Russell <kbr@google.com> · ce2bab63
      kbr@google.com authored
              Reviewed by James Robinson.
      
              Add cubic texture coordinate computation
              https://bugs.webkit.org/show_bug.cgi?id=45250
      
              Adding the texture coordinate computation for cubic curves per the
              GPU Gems 3 chapter. No tests yet; will be tested in conjunction
              with later code.
      
              * platform/graphics/gpu/LoopBlinnConstants.h: Added.
              * platform/graphics/gpu/LoopBlinnTextureCoords.cpp: Added.
              (WebCore::LoopBlinnTextureCoords::compute):
              * platform/graphics/gpu/LoopBlinnTextureCoords.h: Added.
              (WebCore::LoopBlinnTextureCoords::Result::Result):
              (WebCore::LoopBlinnTextureCoords::LoopBlinnTextureCoords):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce2bab63
  29. 30 Jul, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-07-29 Jeremy Orlow <jorlow@chromium.org> · eb5eb5b5
      jorlow@chromium.org authored
              Reviewed by Steve Block.
      
              Rename all the IDBIndex classses to match the latest conventions
              https://bugs.webkit.org/show_bug.cgi?id=43190
      
              No functionality has changed.
      
              IDBIndexRequest -> IDBIndex in the spec.  So that's the first change.
              IDBIndex was the name of our interface class though, so we need to rename
              it to get it out of the way.  While we're at it, we might as well clean
              up the naming in general to make things more clear.  In the future, we're
              going to need another layer (yes, yuck) which will be shared by the async
              and sync classes which will do caching and other optimizations.  That will
              then connect to the backend.  We also added "Interface" to make it more
              clear that's what the file/class is.
      
              Existing layout tests are enough since nothing should change as far as JavaScript can see.
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * Android.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSIDBAnyCustom.cpp:
              (WebCore::toJS):
              * bindings/v8/custom/V8IDBAnyCustom.cpp:
              (WebCore::toV8):
              * storage/IDBAny.cpp:
              (WebCore::IDBAny::idbIndex):
              (WebCore::IDBAny::set):
              * storage/IDBAny.h:
              (WebCore::IDBAny::):
              * storage/IDBCallbacks.h:
              * storage/IDBIndex.cpp: Added.
              (WebCore::IDBIndex::IDBIndex):
              (WebCore::IDBIndex::~IDBIndex):
              * storage/IDBIndex.h:
              (WebCore::IDBIndex::create):
              (WebCore::IDBIndex::name):
              (WebCore::IDBIndex::keyPath):
              (WebCore::IDBIndex::unique):
              * storage/IDBIndex.idl: Added.
              * storage/IDBIndexBackendImpl.cpp: Added.
              (WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
              (WebCore::IDBIndexBackendImpl::~IDBIndexBackendImpl):
              * storage/IDBIndexBackendImpl.h: Added.
              (WebCore::IDBIndexBackendImpl::create):
              (WebCore::IDBIndexBackendImpl::name):
              (WebCore::IDBIndexBackendImpl::keyPath):
              (WebCore::IDBIndexBackendImpl::unique):
              * storage/IDBIndexBackendInterface.h: Added.
              (WebCore::IDBIndexBackendInterface::~IDBIndexBackendInterface):
              * storage/IDBIndexImpl.cpp: Removed.
              * storage/IDBIndexImpl.h: Removed.
              * storage/IDBIndexRequest.cpp: Removed.
              * storage/IDBIndexRequest.h: Removed.
              * storage/IDBIndexRequest.idl: Removed.
              * storage/IDBObjectStore.h:
              * storage/IDBObjectStoreImpl.cpp:
              (WebCore::IDBObjectStoreImpl::createIndex):
              (WebCore::IDBObjectStoreImpl::index):
              * storage/IDBObjectStoreImpl.h:
              * storage/IDBObjectStoreRequest.cpp:
              (WebCore::IDBObjectStoreRequest::index):
              * storage/IDBObjectStoreRequest.h:
              * storage/IDBObjectStoreRequest.idl:
              * storage/IDBRequest.cpp:
              (WebCore::IDBRequest::onSuccess):
              * storage/IDBRequest.h:
      2010-07-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Steve Block.
      
              Rename all the IDBIndex classses to match the latest conventions
              https://bugs.webkit.org/show_bug.cgi?id=43190
      
              Fix up stuff in WebKit layer to handle the renamings in WebCore.
      
              * WebKit.gyp:
              * src/IDBCallbacksProxy.cpp:
              (WebCore::IDBCallbacksProxy::onSuccess):
              * src/IDBCallbacksProxy.h:
              * src/IDBIndexBackendProxy.cpp: Added.
              (WebCore::IDBIndexBackendProxy::create):
              (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
              (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
              (WebCore::IDBIndexBackendProxy::name):
              (WebCore::IDBIndexBackendProxy::keyPath):
              (WebCore::IDBIndexBackendProxy::unique):
              * src/IDBIndexBackendProxy.h: Added.
              * src/IDBIndexProxy.cpp: Removed.
              * src/IDBIndexProxy.h: Removed.
              * src/IDBObjectStoreProxy.cpp:
              (WebCore::IDBObjectStoreProxy::index):
              * src/IDBObjectStoreProxy.h:
              * src/WebIDBCallbacksImpl.cpp:
              (WebCore::WebIDBCallbacksImpl::onSuccess):
              * src/WebIDBIndexImpl.cpp:
              (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
              (WebKit::WebIDBIndexImpl::name):
              (WebKit::WebIDBIndexImpl::keyPath):
              (WebKit::WebIDBIndexImpl::unique):
              * src/WebIDBIndexImpl.h:
              * src/WebIDBObjectStoreImpl.cpp:
              (WebKit::WebIDBObjectStoreImpl::index):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb5eb5b5
  30. 28 May, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-05-27 Jeremy Orlow <jorlow@chromium.org> · 6d85cb87
      jorlow@chromium.org authored
              Reviewed by Steve Block.
      
              Add IndexedDB's IDBIndex
              https://bugs.webkit.org/show_bug.cgi?id=39850
      
              Flesh out IDBIndex as much as possible until Andrei finishes
              his patch to get around passing Frame*'s all around.  I also
              cleaned up a bunch of existing files as I noticed style
              violations (while basing my new files off of the old).
      
              Not hooked up enough to test.  Will add tests soon.
      
              * Android.derived.jscbindings.mk
              * Android.derived.v8bindings.mk
              * Android.mk
              * CMakeLists.txt
              * DerivedSources.cpp
              * DerivedSources.make
              * GNUmakefile.am
              * WebCore.pri
              * WebCore.pro
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj
              * WebCore.xcodeproj/project.pbxproj
              * bindings/js/JSIDBAnyCustom.cpp:
              (WebCore::toJS):
              * bindings/v8/custom/V8IDBAnyCustom.cpp:
              (WebCore::toV8):
              * storage/IDBAny.cpp:
              (WebCore::IDBAny::idbIndexRequest):
              (WebCore::IDBAny::set):
              * storage/IDBAny.h:
              (WebCore::IDBAny::):
              * storage/IDBCallbacks.h:
              * storage/IDBDatabase.h:
              * storage/IDBDatabaseError.h:
              (WebCore::IDBDatabaseError::):
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.h:
              * storage/IDBDatabaseException.idl:
              * storage/IDBDatabaseImpl.cpp:
              * storage/IDBDatabaseImpl.h:
              * storage/IDBDatabaseRequest.cpp:
              * storage/IDBDatabaseRequest.h:
              * storage/IDBDatabaseRequest.idl:
              * storage/IDBIndex.h: Added.
              (WebCore::IDBIndex::~IDBIndex):
              * storage/IDBIndexImpl.cpp: Added.
              (WebCore::IDBIndexImpl::IDBIndexImpl):
              (WebCore::IDBIndexImpl::~IDBIndexImpl):
              * storage/IDBIndexImpl.h: Added.
              (WebCore::IDBIndexImpl::create):
              (WebCore::IDBIndexImpl::name):
              (WebCore::IDBIndexImpl::keyPath):
              (WebCore::IDBIndexImpl::unique):
              * storage/IDBIndexRequest.cpp: Added.
              (WebCore::IDBIndexRequest::IDBIndexRequest):
              (WebCore::IDBIndexRequest::~IDBIndexRequest):
              * storage/IDBIndexRequest.h: Added.
              (WebCore::IDBIndexRequest::create):
              (WebCore::IDBIndexRequest::name):
              (WebCore::IDBIndexRequest::keyPath):
              (WebCore::IDBIndexRequest::unique):
              * storage/IDBIndexRequest.idl: Added.
              * storage/IDBObjectStore.cpp:
              (WebCore::IDBObjectStore::IDBObjectStore):
              (WebCore::IDBObjectStore::~IDBObjectStore):
              (WebCore::IDBObjectStore::indexNames):
              (WebCore::IDBObjectStore::createIndex):
              (WebCore::IDBObjectStore::index):
              (WebCore::IDBObjectStore::removeIndex):
              * storage/IDBObjectStore.h:
              * storage/IDBObjectStoreRequest.cpp:
              (WebCore::IDBObjectStoreRequest::IDBObjectStoreRequest):
              (WebCore::IDBObjectStoreRequest::name):
              (WebCore::IDBObjectStoreRequest::keyPath):
              (WebCore::IDBObjectStoreRequest::indexNames):
              (WebCore::IDBObjectStoreRequest::createIndex):
              (WebCore::IDBObjectStoreRequest::index):
              (WebCore::IDBObjectStoreRequest::removeIndex):
              * storage/IDBObjectStoreRequest.h:
              * storage/IDBObjectStoreRequest.idl:
              * storage/IDBRequest.cpp:
              (WebCore::IDBRequest::onSuccess):
              * storage/IDBRequest.h:
              * storage/IndexedDatabaseRequest.idl:
      2010-05-27  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Steve Block.
      
              Add IndexedDB's IDBIndex
              https://bugs.webkit.org/show_bug.cgi?id=39850
      
              Add WebKit layer for IDBIndex.
      
              * WebKit.gyp:
              * public/WebCommon.h:
              * public/WebIDBCallbacks.h:
              (WebKit::WebIDBCallbacks::onError):
              (WebKit::WebIDBCallbacks::onSuccess):
              * public/WebIDBDatabase.h:
              * public/WebIDBIndex.h: Added.
              (WebKit::WebIDBIndex::~WebIDBIndex):
              (WebKit::WebIDBIndex::name):
              (WebKit::WebIDBIndex::keyPath):
              (WebKit::WebIDBIndex::unique):
              * src/IDBCallbacksProxy.cpp:
              (WebCore::IDBCallbacksProxy::onSuccess):
              * src/IDBCallbacksProxy.h:
              * src/IDBDatabaseProxy.cpp:
              * src/IDBDatabaseProxy.h:
              * src/IDBIndexProxy.cpp: Added.
              (WebCore::IDBIndexProxy::create):
              (WebCore::IDBIndexProxy::IDBIndexProxy):
              (WebCore::IDBIndexProxy::~IDBIndexProxy):
              (WebCore::IDBIndexProxy::name):
              (WebCore::IDBIndexProxy::keyPath):
              (WebCore::IDBIndexProxy::unique):
              * src/IDBIndexProxy.h: Added.
              * src/WebIDBCallbacksImpl.cpp:
              (WebCore::WebIDBCallbacksImpl::onSuccess):
              * src/WebIDBCallbacksImpl.h:
              * src/WebIDBDatabaseImpl.cpp:
              * src/WebIDBDatabaseImpl.h:
              * src/WebIDBIndexImpl.cpp: Added.
              (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
              (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
              (WebKit::WebIDBIndexImpl::name):
              (WebKit::WebIDBIndexImpl::keyPath):
              (WebKit::WebIDBIndexImpl::unique):
              * src/WebIDBIndexImpl.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d85cb87
  31. 26 May, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-05-26 Andrei Popescu <andreip@google.com> · e3865917
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Indexed Database component is missing IDBObjectStoreRequest interface
              https://bugs.webkit.org/show_bug.cgi?id=39490
      
              Adding IDL and stub implementation for IDBObjectStoreRequest.
      
              No new tests, indexed database isn't yet testable.
      
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSIDBObjectStoreRequestCustom.cpp: Added.
              (WebCore::JSIDBObjectStoreRequest::remove):
              (WebCore::JSIDBObjectStoreRequest::addOrModify):
              (WebCore::JSIDBObjectStoreRequest::modify):
              (WebCore::JSIDBObjectStoreRequest::add):
              (WebCore::JSIDBObjectStoreRequest::get):
              * bindings/v8/custom/V8IDBObjectStoreRequestCustom.cpp: Added.
              (WebCore::V8IDBObjectStoreRequest::removeCallback):
              (WebCore::V8IDBObjectStoreRequest::addOrModifyCallback):
              (WebCore::V8IDBObjectStoreRequest::modifyCallback):
              (WebCore::V8IDBObjectStoreRequest::addCallback):
              (WebCore::V8IDBObjectStoreRequest::getCallback):
              * storage/IDBObjectStore.cpp: Added.
              * storage/IDBObjectStore.h: Added.
              (WebCore::IDBObjectStore::~IDBObjectStore):
              * storage/IDBObjectStoreRequest.cpp: Added.
              (WebCore::IDBObjectStoreRequest::name):
              (WebCore::IDBObjectStoreRequest::keyPath):
              (WebCore::IDBObjectStoreRequest::IDBObjectStoreRequest):
              * storage/IDBObjectStoreRequest.h: Added.
              (WebCore::IDBObjectStoreRequest::create):
              (WebCore::IDBObjectStoreRequest::~IDBObjectStoreRequest):
              * storage/IDBObjectStoreRequest.idl: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3865917
  32. 13 May, 2010 1 commit
  33. 30 Mar, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-03-29 Jeremy Orlow <jorlow@chromium.org> · 2087744b
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              More IndexedDB work
              https://bugs.webkit.org/show_bug.cgi?id=36770
      
              Add the "singleton" IndexedDatabase object to PageGroup
              IndexedDatabase now has a create() method since PageGroup can own the instance (at least for now)
              Rip out the IDBRequest stuff (now obsolete).
              DOMWindow now can instantiate indexedDatabase objects on demand.
      
              New layout tests starting with the next patch (which should make indexedDB.open() "work").
      
              * WebCore.gypi:
              * bindings/v8/custom/V8IDBRequestCustom.cpp: Removed.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::indexedDB):
              * page/DOMWindow.h:
              * page/PageGroup.cpp:
              (WebCore::PageGroup::indexedDatabase):
              * page/PageGroup.h:
              * storage/IDBDatabase.cpp:
              * storage/IDBDatabaseRequest.h:
              (WebCore::IDBDatabaseRequest::createObjectStore):
              * storage/IDBDatabaseRequest.idl:
              * storage/IDBRequest.cpp: Removed.
              * storage/IDBRequest.h: Removed.
              * storage/IDBRequest.idl: Removed.
              * storage/IndexedDatabase.cpp:
              (WebCore::IndexedDatabase::create):
              * storage/IndexedDatabase.h:
              * storage/IndexedDatabaseImpl.cpp:
              (WebCore::IndexedDatabaseImpl::create):
              (WebCore::IndexedDatabaseImpl::IndexedDatabaseImpl):
              (WebCore::IndexedDatabaseImpl::~IndexedDatabaseImpl):
              * storage/IndexedDatabaseImpl.h:
              * storage/IndexedDatabaseRequest.cpp:
              (WebCore::IndexedDatabaseRequest::IndexedDatabaseRequest):
              * storage/IndexedDatabaseRequest.h:
              (WebCore::IndexedDatabaseRequest::create):
              * storage/IndexedDatabaseRequest.idl:
              * storage/chromium/IndexedDatabase.cpp:
              (WebCore::IndexedDatabase::create):
      2010-03-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Darin Fisher.
      
              More IndexedDB work
              https://bugs.webkit.org/show_bug.cgi?id=36770
      
              Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
      
              * WebKit.gyp:
              * public/WebIndexedDatabase.h:
              * src/WebIndexedDatabaseImpl.cpp: Added.
              (WebKit::WebIndexedDatabase::create):
              (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
              (WebKit::WebIndexedDatabaseImpl::open):
              * src/WebIndexedDatabaseImpl.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2087744b
  34. 29 Mar, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-03-24 Jeremy Orlow <jorlow@chromium.org> · 1b097cf2
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              A few more steps towards IndexedDB
              https://bugs.webkit.org/show_bug.cgi?id=36546
      
              Add a callback interface to be used by all async methods.
              Add the first fragments of IDBDatabase.
              Clean up on IDBDatabaseError.
              Flesh out IndexedDatabase further.
      
              Not enough hooked up yet to test.  Soon though...
      
              * WebCore.gypi:
              * storage/IDBCallbacks.h: Added.
              (WebCore::IDBCallbacks::~IDBCallbacks):
              * storage/IDBDatabase.cpp: Added.
              * storage/IDBDatabase.h: Added.
              (WebCore::IDBDatabase::~IDBDatabase):
              * storage/IDBDatabaseError.h:
              (WebCore::IDBDatabaseError::create):
              (WebCore::IDBDatabaseError::message):
              (WebCore::IDBDatabaseError::IDBDatabaseError):
              * storage/IndexedDatabase.h:
              * storage/IndexedDatabaseImpl.cpp:
              (WebCore::IndexedDatabaseImpl::IndexedDatabaseImpl):
              (WebCore::IndexedDatabaseImpl::~IndexedDatabaseImpl):
              (WebCore::IndexedDatabaseImpl::open):
              * storage/IndexedDatabaseImpl.h:
              * storage/IndexedDatabaseRequest.cpp:
              (WebCore::IndexedDatabaseRequest::open):
      2010-03-24  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Darin Fisher.
      
              More IndexedDB plumbing
              https://bugs.webkit.org/show_bug.cgi?id=36546
      
              Plumbing work towards the goal of making IndexedDatabase::open work.
      
              * WebKit.gyp:
              * public/WebIDBCallbacks.h: Added.
              (WebKit::WebIDBCallbacks::~WebIDBCallbacks):
              * public/WebIDBDatabase.h: Added.
              (WebKit::WebIDBDatabase::~WebIDBDatabase):
              * public/WebIDBDatabaseError.h: Added.
              (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
              (WebKit::WebIDBDatabaseError::operator=):
              * public/WebIndexedDatabase.h:
              * public/WebKitClient.h:
              (WebKit::WebKitClient::indexedDatabase):
              * public/WebSerializedScriptValue.h:
              * src/IDBCallbacksProxy.h: Added.
              (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
              (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
              (WebCore::IDBCallbacksProxy::onSuccess):
              (WebCore::IDBCallbacksProxy::onError):
              * src/IDBDatabaseProxy.cpp: Added.
              (WebCore::IDBDatabaseProxy::create):
              (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
              (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
              * src/IDBDatabaseProxy.h: Added.
              * src/IndexedDatabaseProxy.cpp:
              (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
              (WebCore::IndexedDatabaseProxy::open):
              * src/IndexedDatabaseProxy.h:
              * src/WebIDBDatabaseError.cpp: Added.
              (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
              (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
              (WebKit::WebIDBDatabaseError::assign):
              (WebKit::WebIDBDatabaseError::code):
              (WebKit::WebIDBDatabaseError::message):
              (WebKit::WebIDBDatabaseError::operator=):
              (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b097cf2
  35. 06 Feb, 2008 1 commit
  36. 04 Jun, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej. · a000448f
      darin authored
              - fixed so we can compile without Apple Internal headers installed
      
              * JavaScriptCore.pbproj/project.pbxproj: Added icu directory to header search path.
      
              * icu/README: Added.
              * icu/unicode/platform.h: Added.
              * icu/unicode/uchar.h: Added.
              * icu/unicode/uconfig.h: Added.
              * icu/unicode/umachine.h: Added.
              * icu/unicode/urename.h: Added.
              * icu/unicode/utf.h: Added.
              * icu/unicode/utf16.h: Added.
              * icu/unicode/utf8.h: Added.
              * icu/unicode/utf_old.h: Added.
              * icu/unicode/utypes.h: Added.
              * icu/unicode/uversion.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a000448f
  37. 22 Sep, 2003 1 commit
    • darin's avatar
      Reviewed by Ken. · b12e4b43
      darin authored
              - research determined we were using nothing defined in config.h, so I got rid of it
      
              * Makefile.am: Removed rules to generate config.h.
              * config.h: Removed.
      
              * WebCore.pbproj/project.pbxproj: Removed define of HAVE_CONFIG_H.
      
              * WebCorePrefix.h: Removed include of <config.h>.
      
              * ForwardingHeaders/config.h: Emptied this file out. Can't remove this because there are
              some includes of <config.h> without HAVE_CONFIG_H wrappers.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b12e4b43