1. 29 Dec, 2010 9 commits
  2. 28 Dec, 2010 25 commits
    • dbates@webkit.org's avatar
      2010-12-28 Daniel Bates <dbates@rim.com> · 192a76c1
      dbates@webkit.org authored
              Reviewed by Sam Weinig.
      
              Substitute // MARK: for compiler-specific #pragma mark
              https://bugs.webkit.org/show_bug.cgi?id=51657
      
              For consistency, we should substitute "// MARK:" for compiler-
              specific "#pragma mark" in the source files for the Mac port.
      
              * History/WebHistory.mm:
              * Plugins/WebBaseNetscapePluginView.mm:
              * Plugins/WebNetscapePluginView.mm:
              * WebCoreSupport/WebInspectorClient.mm:
              * WebCoreSupport/WebSecurityOrigin.mm:
              * WebView/WebPDFView.mm:
              * WebView/WebVideoFullscreenController.mm:
              * WebView/WebVideoFullscreenHUDWindowController.mm:
      2010-12-28  Daniel Bates  <dbates@rim.com>
      
              Reviewed by Sam Weinig.
      
              Substitute // MARK: for compiler-specific #pragma mark
              https://bugs.webkit.org/show_bug.cgi?id=51657
      
              Fix compilation warnings about "#pragma mark" on GTK+ bots by
              substituting  "// MARK:" for "#pragma mark", which provides
              analogous code-bookmarking functionality under Xcode.
      
              * platform/graphics/cg/PathCG.cpp:
              * platform/graphics/mac/WebLayer.mm:
      2010-12-28  Daniel Bates  <dbates@rim.com>
      
              Reviewed by Sam Weinig.
      
              Substitute // MARK: for compiler-specific #pragma mark
              https://bugs.webkit.org/show_bug.cgi?id=51657
      
              Fix future compilation warnings about "#pragma mark" on GTK+ bots by
              substituting  "// MARK:" for "#pragma mark", which provides
              analogous code-bookmarking functionality under Xcode.
      
              Also, for consistency, we should substitute "// MARK:" for compiler-
              specific "#pragma mark" in the source files for the Mac port.
      
              * DumpRenderTree/AccessibilityTextMarker.cpp:
              * DumpRenderTree/cf/WebArchiveDumpSupport.h:
              * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
              * DumpRenderTree/mac/ObjCController.m:
              * MiniBrowser/mac/AppDelegate.m:
              * MiniBrowser/mac/BrowserWindowController.m:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      192a76c1
    • dbates@webkit.org's avatar
      2010-12-28 Daniel Bates <dbates@rim.com> · 72d5b6bc
      dbates@webkit.org authored
              Reviewed by Antonio Gomes.
      
              Add comment to test case fast/repaint/no-caret-repaint-in-non-content-editable-element.html
              to clarify caret browsing disabled
              https://bugs.webkit.org/show_bug.cgi?id=51633
      
              Add a comment to test case fast/repaint/no-caret-repaint-in-non-content-editable-element.html
              that explains that this test is only applicable when caret browsing is disabled.
      
              * fast/repaint/no-caret-repaint-in-non-content-editable-element.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72d5b6bc
    • mrobinson@webkit.org's avatar
      2010-12-28 Martin Robinson <mrobinson@igalia.com> · edf63974
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Closing a window during an onload event can trigger serious GLib warnings
              https://bugs.webkit.org/show_bug.cgi?id=51686
      
              Don't emit the close-web-view signal immediately during execution of closeWindowSoon.
              The signal handler may choose to destroy the web view while handling that signal,
              which may remove the last reference to the web view. FrameLoaderClient depends on the
              view still existing though. Instead, let the caller finish executing and emit the signal
              after a 0 length timeout. This matches the behavior on the Windows and Mac ports.
      
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::ChromeClient): Initialize the timer id.
              (WebKit::emitCloseWebViewSignalLater): Callback for the timer.
              (WebKit::ChromeClient::closeWindowSoon): Do the actual signal invocation after
              the caller finishes its tasks.
              * WebCoreSupport/ChromeClientGtk.h: Add a new member for the timer id. We
              can use this to prevent emitting the close-web-view signal twice.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edf63974
    • mrobinson@webkit.org's avatar
      2010-12-28 Martin Robinson <mrobinson@igalia.com> · bfa4e0b5
      mrobinson@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Clean up usage of NULL in webkitwebframe.cpp
              https://bugs.webkit.org/show_bug.cgi?id=51685
      
              Replace occurrences of NULL with 0, in webkitwebframe.cpp. Not all
              uses of NULL have been changed, as certain GLib functions require
              an explicit NULL as a sentinel.
      
              * webkit/webkitwebframe.cpp:
              (webkit_web_frame_get_data_source_from_core_loader):
              (webkit_web_frame_class_init):
              (webkit_web_frame_new):
              (webkit_web_frame_get_title):
              (webkit_web_frame_get_uri):
              (webkit_web_frame_get_web_view):
              (webkit_web_frame_get_name):
              (webkit_web_frame_get_parent):
              (webkit_web_frame_load_string):
              (webkit_web_frame_load_alternate_string):
              (webkit_web_frame_find_frame):
              (webkit_web_frame_get_global_context):
              (webkit_web_frame_get_data_source):
              (webkit_web_frame_get_provisional_data_source):
              (webkit_web_frame_print_full):
              (webkit_web_frame_get_security_origin):
              (webkit_web_frame_get_network_response):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfa4e0b5
    • kbr@google.com's avatar
      2010-12-28 Kenneth Russell <kbr@google.com> · e119a27c
      kbr@google.com authored
              Reviewed by Eric Seidel.
      
              Make fast/canvas/canvas-save-restore-with-path.js more robust
              https://bugs.webkit.org/show_bug.cgi?id=51665
      
              * fast/canvas/canvas-save-restore-with-path-expected.txt:
              * fast/canvas/canvas-save-restore-with-path.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e119a27c
    • commit-queue@webkit.org's avatar
      2010-12-28 Jan Erik Hanssen <jhanssen@sencha.com> · 96556486
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Qt] GraphicsContext::getCTM() does not need to make a copy of QPainter::combinedTransform()
              https://bugs.webkit.org/show_bug.cgi?id=51687
      
              Use a const reference instead of a copy of QPainter::combinedTransform()
              in GraphicsContext::getCTM()
      
              * platform/graphics/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContext::getCTM):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96556486
    • commit-queue@webkit.org's avatar
      2010-12-28 Helder Correia <helder@sencha.com> · acf42dab
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              JSON.stringify must exist as a function taking 3 parameters
              https://bugs.webkit.org/show_bug.cgi?id=51667
      
              The reported function length is 1 instead.
      
              Test: ietestcenter/Javascript/15.12.3-0-2.html
      
              * runtime/JSONObject.cpp:
      2010-12-28  Helder Correia  <helder@sencha.com>
      
              Reviewed by Eric Seidel.
      
              JSON.stringify must exist as a function taking 3 parameters
              https://bugs.webkit.org/show_bug.cgi?id=51667
      
              The reported function length is 1 instead.
      
              * ietestcenter/Javascript/15.12.3-0-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acf42dab
    • commit-queue@webkit.org's avatar
      2010-12-28 Xan Lopez <xlopez@igalia.com> · b97c1b9b
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Add --no-build option to run-sunspider
              https://bugs.webkit.org/show_bug.cgi?id=51658
      
              * Scripts/run-sunspider: add --no-build flag to skip building
              phase.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b97c1b9b
    • commit-queue@webkit.org's avatar
      2010-12-28 Takashi Toyoshima <toyoshim@google.com> · d7f5436e
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              gcc detected 'control reaches end of non-void function' with
              -finstrument-functions option.
              https://bugs.webkit.org/show_bug.cgi?id=51669
      
              No new tests. These fixes are trivial.
      
              * dom/Element.cpp:
              (WebCore::Element::childTypeAllowed):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::cachedResourceTypeString):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7f5436e
    • tonyg@chromium.org's avatar
      2010-12-28 Tony Gentilcore <tonyg@chromium.org> · 54f86c7e
      tonyg@chromium.org authored
              Reviewed by Eric Seidel.
      
              Remove unused member of PendingScript
              https://bugs.webkit.org/show_bug.cgi?id=51684
      
              This was used when HTMLScriptRunner::runScript created a PendingScript
              for inline scripts. But now it just calls executeScript() directly.
              External scripts always have the minimum starting line number.
      
              No new tests because no changed functionality.
      
              * dom/PendingScript.cpp:
              (WebCore::PendingScript::releaseElementAndClear):
              * dom/PendingScript.h:
              (WebCore::PendingScript::PendingScript):
              (WebCore::PendingScript::operator=):
              * html/parser/HTMLScriptRunner.cpp:
              (WebCore::HTMLScriptRunner::sourceFromPendingScript):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54f86c7e
    • tonikitoo@webkit.org's avatar
      2010-12-20 Antonio Gomes <agomes@rim.com> · 3d62372d
      tonikitoo@webkit.org authored
              Reviewed by Daniel Bates.
      
              Spatial Navigation: code clean up (Part VI)
              https://bugs.webkit.org/show_bug.cgi?id=50666
      
              No new tests needed.
      
              * page/FocusController.cpp:
              (WebCore::updatFocusCandidateIfNeeded): Assert renderer() and
              isElementNode() now that we are bailing out earlier in both the
              FocusCandidate constructor and FocusController::findFocusCandidateInContainer().
              * page/SpatialNavigation.h: Swapped the parameters order in canScrollInDirection
              and virtualRectForAreaElementAndDirection functions.
              (WebCore::FocusController::findFocusCandidateInContainer):
              (WebCore::FocusController::advanceFocusDirectionallyInContainer): Adjusted call sites
              of canScrollInDirection(), and added an early return if !isElementNode().
              (WebCore::FocusController::advanceFocusDirectionally): Adjusted call site of
              virtualRectForAreaElementAndDirection().
              * page/SpatialNavigation.cpp:
              (WebCore::FocusCandidate::FocusCandidate): Assert if node is not an Element node.
              (WebCore::isScrollableNode): Renamed from isScrollableContainerNode.
              (WebCore::scrollInDirection): Adjusted call site after function name change;
              (WebCore::scrollableEnclosingBoxOrParentFrameForNodeInDi:rection): Assert if node is
              a Document node.
              (WebCore::canScrollInDirection): Signature changed.
              (WebCore::canBeScrolledIntoView): Ditto.
              (WebCore::virtualRectForAreaElementAndDirection): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d62372d
    • enne@google.com's avatar
      2010-12-28 Adrienne Walker <enne@google.com> · 421e57ee
      enne@google.com authored
              Reviewed by Kenneth Russell.
      
              [chromium] Fix tiled compositor assertion after GPU process recovery.
              https://bugs.webkit.org/show_bug.cgi?id=51682
      
              After the GPU process recovers, the layer size is set to IntSize(),
              but IntRect::unite() has a special case for empty rects.  This
              behavior was causing the layer size to be too small, causing an
              out-of-bounds array access elsewhere.
      
              No new tests.
      
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              (WebCore::LayerTilerChromium::growLayerToContain):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      421e57ee
    • commit-queue@webkit.org's avatar
      2010-12-28 Helder Correia <helder@sencha.com> · 42d8f4a3
      commit-queue@webkit.org authored
              Reviewed by Sam Weinig.
      
              JSON.parse must exist as a function taking 2 parameters
              https://bugs.webkit.org/show_bug.cgi?id=51666
      
              Support for revivers was introduced in bug 26591, but the function
              length has since remained unchanged.
      
              Test: ietestcenter/Javascript/15.12.2-0-2.html
      
              * runtime/JSONObject.cpp:
      2010-12-28  Helder Correia  <helder@sencha.com>
      
              Reviewed by Sam Weinig.
      
              JSON.parse must exist as a function taking 2 parameters
              https://bugs.webkit.org/show_bug.cgi?id=51666
      
              Support for revivers was introduced in bug 26591, but the function
              length has since remained unchanged.
      
              * ietestcenter/Javascript/15.12.2-0-2-expected.txt: Change expected
                result to success.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42d8f4a3
    • zmo@google.com's avatar
      2010-12-23 Zhenyao Mo <zmo@google.com> · 5ae3f683
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
              (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
              * src/GraphicsContext3DInternal.h:
      2010-12-23  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * html/canvas/WebGLFramebuffer.cpp: Track width/height/internalFormat of color buffer.
              (WebCore::WebGLFramebuffer::WebGLFramebuffer):
              (WebCore::WebGLFramebuffer::setAttachment):
              (WebCore::WebGLFramebuffer::getWidth):
              (WebCore::WebGLFramebuffer::getHeight):
              (WebCore::WebGLFramebuffer::getColorBufferFormat):
              * html/canvas/WebGLFramebuffer.h:
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::copyTexImage2D): Initialize undefined pixels to 0.
              (WebCore::WebGLRenderingContext::copyTexSubImage2D):
              (WebCore::WebGLRenderingContext::framebufferTexture2D):
              (WebCore::WebGLRenderingContext::renderbufferStorage):
              (WebCore::WebGLRenderingContext::getBoundFramebufferWidth):
              (WebCore::WebGLRenderingContext::getBoundFramebufferHeight):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLTexture.cpp: Track width/height/internalFormat of a texture by target/level.
              (WebCore::WebGLTexture::getInternalFormat):
              (WebCore::WebGLTexture::getWidth):
              (WebCore::WebGLTexture::getHeight):
              (WebCore::WebGLTexture::mapTargetToIndex):
              (WebCore::WebGLTexture::getLevelInfo):
              * html/canvas/WebGLTexture.h:
              (WebCore::WebGLTexture::isTexture):
              * platform/graphics/GraphicsContext3D.h: Add getInternalFramebufferSize() function.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::getInternalFramebufferSize):
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              (WebCore::GraphicsContext3D::getInternalFramebufferSize):
      2010-12-23  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * fast/canvas/webgl/uninitialized-test-expected.txt: Add test cases for copyTexImage2D.
              * fast/canvas/webgl/uninitialized-test.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ae3f683
    • zmo@google.com's avatar
      2010-12-23 Zhenyao Mo <zmo@google.com> · fbdedd40
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Map GLsizei to long instead of unsigned long in WebGLRenderingContext and GraphicsContext3D
              https://bugs.webkit.org/show_bug.cgi?id=39855
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::copyTexImage2D): Map GLsizei to long.
              (WebCore::WebGLRenderingContext::copyTexSubImage2D): Ditto.
              (WebCore::WebGLRenderingContext::renderbufferStorage): Ditto.
              (WebCore::WebGLRenderingContext::scissor): Ditto.
              (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
              (WebCore::WebGLRenderingContext::texImage2D): Ditto.
              (WebCore::WebGLRenderingContext::texSubImage2DBase): Ditto.
              (WebCore::WebGLRenderingContext::texSubImage2DImpl): Ditto.
              (WebCore::WebGLRenderingContext::texSubImage2D): Ditto.
              (WebCore::WebGLRenderingContext::viewport): Ditto.
              (WebCore::WebGLRenderingContext::validateSize): Check the sizes are non-negative.
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLRenderingContext.idl:
      2010-12-28  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Map GLsizei to long instead of unsigned long in WebGLRenderingContext and GraphicsContext3D
              https://bugs.webkit.org/show_bug.cgi?id=39855
      
              * fast/canvas/webgl/invalid-passed-params-expected.txt: Add test cases for negative offset/width/height.
              * fast/canvas/webgl/invalid-passed-params.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbdedd40
    • kbr@google.com's avatar
      2010-12-28 Kenneth Russell <kbr@google.com> · 6ff4b2aa
      kbr@google.com authored
              Unreviewed, Chromium test expectations update. Mark
              fast/forms/input-text-paste-maxlength.html as a flaky crash on
              Linux Release as well as Debug.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ff4b2aa
    • kbr@google.com's avatar
      2010-12-28 Kenneth Russell <kbr@google.com> · 96808e94
      kbr@google.com authored
              Unreviewed, Chromium test expectations update.
      
              Marked inspector/styles-source-lines.html as a flaky failure on
              Win Debug and
              http/tests/inspector/extensions-resources-redirect.html as a flaky
              timeout on Win Release.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96808e94
    • inferno@chromium.org's avatar
      2010-12-28 Abhishek Arya <inferno@chromium.org> · fe68f979
      inferno@chromium.org authored
              Reviewed by Kenneth Russell.
      
              Fix crash with invalid font in m_fontList by not drawing text when a custom font is in the
              process of loading.
              https://bugs.webkit.org/show_bug.cgi?id=51681
      
              Test: canvas/philip/tests/2d.text-custom-font-load-crash.html
      
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::drawTextInternal): bail out if a custom font is loading.
              * platform/graphics/Font.cpp:
              (WebCore::Font::operator==): Replace condition with new function loadingCustomFonts()
              (WebCore::Font::drawText): Replace condition with new function loadingCustomFonts()
              (WebCore::Font::drawEmphasisMarks): Replace condition with new function loadingCustomFonts()
              * platform/graphics/Font.h:
              (WebCore::Font::loadingCustomFonts): new function that returns if a custom font is loading.
      2010-12-28  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              Tests that we do not crash when drawing text during custom font load.
              https://bugs.webkit.org/show_bug.cgi?id=51681
      
              * canvas/philip/tests/2d.text-custom-font-load-crash-expected.txt: Added.
              * canvas/philip/tests/2d.text-custom-font-load-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe68f979
    • dglazkov@chromium.org's avatar
      2010-12-28 Dimitri Glazkov <dglazkov@chromium.org> · 78bcf44f
      dglazkov@chromium.org authored
              Reviewed by Eric Seidel.
      
              Combine setShadowRoot and clearShadowRoot into a simpler API
              https://bugs.webkit.org/show_bug.cgi?id=50971
      
              No change in behavior, and API is not used yet.
      
              * dom/Element.cpp:
              (WebCore::Element::setShadowRoot): Combined clearing and setting of
                  the shadowRoot, also hooked up with setting and clearing of the
                  corresponding shadowHost values.
              * dom/Element.h: renamed clearShadowRoot to removeShadowRoot and made it
                  private.
              * dom/Node.h: Made shadow host-related functions public so that
                  Element::setShadowRoot can access setShadowHost. It seems logical
                  to make shadowHost public as well to keep the defs together.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78bcf44f
    • caseq@chromium.org's avatar
      2010-12-28 Andrey Kosyakov <caseq@chromium.org> · 1562cd99
      caseq@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
              Do not request content for resources with non-numeric identifiers.
              https://bugs.webkit.org/show_bug.cgi?id=49727
      
              Test: http/tests/inspector/extensions-resources-redirect.html
      
              * inspector/front-end/NetworkManager.js:
              (WebInspector.NetworkManager.prototype._appendRedirect):
      
      2010-12-28  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
              Do not request content for resources with non-numeric identifiers.
              https://bugs.webkit.org/show_bug.cgi?id=49727
      
              * http/tests/inspector/extensions-resources-redirect-expected.txt: Added.
              * http/tests/inspector/extensions-resources-redirect.html: Added.
              * http/tests/inspector/extensions-resources-test.js: Added.
              (extension_getResourceByUrl.onHAR):
              (extension_getResourceByUrl):
              * inspector/extensions-resources-expected.txt:
              * inspector/extensions-resources.html:
              * platform/mac-leopard/inspector/extensions-resources-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1562cd99
    • loislo@chromium.org's avatar
      2010-12-28 Ilya Tikhonovsky <loislo@chromium.org> · d0cdf093
      loislo@chromium.org authored
              Unreviewed build fix for Qt.
      
              ResourceTreeModel.js was added.
      
              * inspector/front-end/WebKit.qrc:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0cdf093
    • mnaganov@chromium.org's avatar
      2010-12-28 Mikhail Naganov <mnaganov@chromium.org> · 8f9b27db
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [Chromium] Fix memory leak in Profiles tab concerned with heap profiles views.
      
              https://bugs.webkit.org/show_bug.cgi?id=51680
      
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._reset):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f9b27db
    • kbr@google.com's avatar
      2010-12-28 Kenneth Russell <kbr@google.com> · a2af57aa
      kbr@google.com authored
              Unreviewed, Chromium test expectations update. Coalesce WebGL
              expectations for chromium-gpu platform and fix duplicate
              expectation for gl-object-get-calls.html accidentally introduced
              on Windows Debug.
      
              * platform/chromium-gpu/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2af57aa
    • apavlov@chromium.org's avatar
      2010-12-28 Alexander Pavlov <apavlov@chromium.org> · 4a66e9f1
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: REGRESSION: Clicking image resource in style sidebar doesn't actually go to resource anymore
              https://bugs.webkit.org/show_bug.cgi?id=51663
      
              * inspector/elements-tests2.js:
              (initialize_ElementTest.InspectorTest.dumpSelectedElementStyles): Drive-by: remove bad test exit code.
              * inspector/resources/styles-url-linkify-iframe.html: Added.
              * inspector/resources/styles-url-linkify.css: Added.
              (#local):
              * inspector/styles-url-linkify-expected.txt: Added.
              * inspector/styles-url-linkify.html: Added.
      2010-12-28  Alexander Pavlov  <apavlov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: REGRESSION: Clicking image resource in style sidebar doesn't actually go to resource anymore
              https://bugs.webkit.org/show_bug.cgi?id=51663
      
              The base URI is now computed correctly for links from CSS property uri(...) values. Additionally,
              optional quotes/apostrophes and spaces are now allowed inside uri(...).
      
              Test: inspector/styles-url-linkify.html
      
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
              (WebInspector.StylePropertyTreeElement.prototype.updateTitle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a66e9f1
    • loislo@chromium.org's avatar
      2010-12-21 Ilya Tikhonovsky <loislo@chromium.org> · ccc40921
      loislo@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Protocol cleanup task. Introduce Network, DOMStorage and Database domains.
      
              Domain was changed for Resources, FileSystem etc. related methods.
              ResourcesManager was renamed to NetworkManager.
              ResourceTreeModel was extracted as separate file.
              FileSystem, Database, DOMStorage and ApplicationCache methods were
              removed from NetworkManager and added to corresponding classes.
      
              https://bugs.webkit.org/show_bug.cgi?id=51334
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/Inspector.idl:
              * inspector/front-end/AuditRules.js:
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
              * inspector/front-end/CSSStyleModel.js:
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype.addMessage):
              (WebInspector.ConsoleView.prototype.clearMessages):
              * inspector/front-end/DOMAgent.js:
              (WebInspector.ApplicationCache.updateApplicationCacheStatus):
              (WebInspector.ApplicationCache.updateNetworkState):
              * inspector/front-end/DOMStorage.js:
              (WebInspector.DOMStorage.addDOMStorage):
              (WebInspector.DOMStorage.selectDOMStorage):
              (WebInspector.DOMStorage.updateDOMStorage):
              * inspector/front-end/Database.js:
              (WebInspector.Database.prototype.executeSql):
              (WebInspector.Database.addDatabase):
              (WebInspector.Database.selectDatabase):
              (WebInspector.Database.sqlTransactionSucceeded):
              (WebInspector.Database.sqlTransactionFailed):
              * inspector/front-end/FileSystemView.js:
              (WebInspector.FileSystem.didGetFileSystemPath):
              (WebInspector.FileSystem.didGetFileSystemError):
              (WebInspector.FileSystem.didGetFileSystemDisabled):
              * inspector/front-end/NetworkItemView.js:
              (WebInspector.NetworkItemView):
              * inspector/front-end/NetworkManager.js: Added.
              (WebInspector.NetworkManager):
              (WebInspector.NetworkManager.prototype._createResource):
              (WebInspector.NetworkManager.prototype.identifierForInitialRequest):
              (WebInspector.NetworkManager.prototype.willSendRequest):
              (WebInspector.NetworkManager.prototype._updateResourceWithRequest):
              (WebInspector.NetworkManager.prototype._appendRedirect):
              (WebInspector.NetworkManager.prototype.markResourceAsCached):
              (WebInspector.NetworkManager.prototype.didReceiveResponse):
              (WebInspector.NetworkManager.prototype._updateResourceWithResponse):
              (WebInspector.NetworkManager.prototype.didReceiveContentLength):
              (WebInspector.NetworkManager.prototype.didFinishLoading):
              (WebInspector.NetworkManager.prototype.didFailLoading):
              (WebInspector.NetworkManager.prototype.didLoadResourceFromMemoryCache):
              (WebInspector.NetworkManager.prototype._updateResourceWithCachedResource):
              (WebInspector.NetworkManager.prototype.setInitialContent):
              (WebInspector.NetworkManager.prototype.didCommitLoadForFrame):
              (WebInspector.NetworkManager.prototype.frameDetachedFromParent):
              (WebInspector.NetworkManager.prototype.didCreateWebSocket):
              (WebInspector.NetworkManager.prototype.willSendWebSocketHandshakeRequest):
              (WebInspector.NetworkManager.prototype.didReceiveWebSocketHandshakeResponse):
              (WebInspector.NetworkManager.prototype.didCloseWebSocket):
              (WebInspector.NetworkManager.prototype._processCachedResources):
              (WebInspector.NetworkManager.prototype._addFramesRecursively):
              (WebInspector.NetworkManager.requestContent):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkPanel.prototype.refreshResource):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource.prototype._innerRequestContent):
              * inspector/front-end/ResourceManager.js: Removed.
              * inspector/front-end/ResourceTreeModel.js: Added.
              (WebInspector.ResourceTreeModel):
              (WebInspector.ResourceTreeModel.prototype.addOrUpdateFrame):
              (WebInspector.ResourceTreeModel.prototype.didCommitLoadForFrame):
              (WebInspector.ResourceTreeModel.prototype.frameDetachedFromParent):
              (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
              (WebInspector.ResourceTreeModel.prototype.addResourceToFrame):
              (WebInspector.ResourceTreeModel.prototype._clearResources):
              (WebInspector.ResourceTreeModel.prototype.forAllResources):
              (WebInspector.ResourceTreeModel.prototype.addConsoleMessage):
              (WebInspector.ResourceTreeModel.prototype.clearConsoleMessages):
              (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
              (WebInspector.ResourceTreeModel.prototype.resourceForURL):
              (WebInspector.ResourceTreeModel.prototype.bindResourceURL):
              (WebInspector.ResourceTreeModel.prototype._unbindResourceURL):
              (WebInspector.ResourceTreeModel.createResource):
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.createResourceView):
              (WebInspector.ResourceView.resourceViewTypeMatchesResource):
              (WebInspector.ResourceView.resourceViewForResource):
              (WebInspector.ResourceView.recreateResourceView):
              (WebInspector.ResourceView.existingResourceViewForResource):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
              (WebInspector.ResourcesPanel.prototype.showSourceLine):
              (WebInspector.ResourcesPanel.prototype.showResource):
              (WebInspector.ResourcesPanel.prototype.get searchableViews.callback):
              (WebInspector.ResourcesPanel.prototype.get searchableViews):
              (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsUpdated):
              (WebInspector.FrameResourceTreeElement.prototype._contentChanged):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._addScript):
              (WebInspector.ScriptsPanel.prototype.reset):
              (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
              (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector.forAllResources):
              (WebInspector.resourceForURL):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccc40921
  3. 27 Dec, 2010 6 commits