1. 01 Dec, 2009 38 commits
    • aroben@apple.com's avatar
      Skip more tests that fail with specific versions of CFNetwork on Windows · 64b696b1
      aroben@apple.com authored
      Rubber-stamped in advance by Brady Eidson.
      
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64b696b1
    • weinig@apple.com's avatar
      Simplify [WebView userAgentForURL:]. No need to call into helper function. · 02c9476f
      weinig@apple.com authored
      Reviewed by Mark Rowe.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::userAgent):
      * WebView/WebView.mm:
      (-[WebView userAgentForURL:]):
      * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02c9476f
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · aeb999ad
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=32036
              Implement CredentialStorage::getFromPersistentStorage for CFNetwork
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeb999ad
    • pkasting@chromium.org's avatar
      [Chromium] Simplify zoom-related APIs and add a zoom level getter, · 7fbcd16a
      pkasting@chromium.org authored
      part one: Add new APIs.  (Old APIs will be removed in a second pass.)
      https://bugs.webkit.org/show_bug.cgi?id=31893
      
      Reviewed by Darin Fisher.
      
      * public/WebView.h:
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::zoomLevel):
      (WebKit::WebViewImpl::setZoomLevel):
      * src/WebViewImpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fbcd16a
    • eric@webkit.org's avatar
      2009-12-01 Daniel Bates <dbates@webkit.org> · f06a4d76
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              https://bugs.webkit.org/show_bug.cgi?id=32001
      
              Updated layout test to reflect change to localized string and
              rebased the result.
      
              * inspector/elements-img-tooltip-expected.txt:
              * inspector/elements-img-tooltip.html:
      2009-12-01  Daniel Bates  <dbates@webkit.org>
      
              Reviewed by Pavel Feldman.
      
              https://bugs.webkit.org/show_bug.cgi?id=32001
      
              Added missing localized strings (that I left out of the patch for bug #21554):
              %d × %d pixels
              %d × %d pixels (Natural: %d × %d pixels)
      
              Also, changed formatting of these stings to conform with existing ones (added
              a space on both sides of the multiply sign).
      
              * English.lproj/localizedStrings.js: Added stings.
              * inspector/front-end/ElementsTreeOutline.js:
              (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f06a4d76
    • eric@webkit.org's avatar
      2009-12-01 Daniel Bates <dbates@webkit.org> · a82ec714
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              https://bugs.webkit.org/show_bug.cgi?id=31898
      
              Makes QtLauncher default to the http scheme for URLs.
      
              * QtLauncher/main.cpp:
              (MainWindow::MainWindow):
              (MainWindow::changeLocation):
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a82ec714
    • aroben@apple.com's avatar
      Skip a test that fails with some versions of CFNetwork on Windows · a15fb1ea
      aroben@apple.com authored
      Rubber-stamped by Brady Eidson.
      
      * platform/win/Skipped: Skip http/tests/plugins/post-url-file.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a15fb1ea
    • hyatt@apple.com's avatar
      Fix for bug 32032, empty namespaces should be allowed in @namespace directives in CSS. · 6e4e9856
      hyatt@apple.com authored
      Reviewed by Simon Fraser.
      
      Added fast/css/namespaces/namespaces-empty.xml
      
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::addNamespace):
      (WebCore::CSSStyleSheet::determineNamespace):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e4e9856
    • kov@webkit.org's avatar
      Revert 51551 because it broke GTK+. · 197accca
      kov@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      197accca
    • aroben@apple.com's avatar
      Remove user content before running each test on Windows · 73ca6e7e
      aroben@apple.com authored
      Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows
      
      Reviewed by Alexey Proskuryakov.
      
      * DumpRenderTree/win/DumpRenderTree.cpp:
      (resetWebViewToConsistentStateBeforeTesting): Remove all user content
      before each test, which matches Mac.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73ca6e7e
    • joepeck@webkit.org's avatar
      2009-12-01 Joseph Pecoraro <joepeck@webkit.org> · 02237f75
      joepeck@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Escape key in the Search Field should be more User Friendly
              https://bugs.webkit.org/show_bug.cgi?id=32005
      
              * inspector/front-end/inspector.js:
              (WebInspector.loaded): add mousedown listener on the search field
              (WebInspector.searchFieldManualFocus): user clicked to focus on the search field
              (WebInspector.searchKeyDown): handle escape
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02237f75
    • ap@apple.com's avatar
      Enabling WebSocket tests on Windows again - let's see what errors get logged. · 9d4a04bb
      ap@apple.com authored
              * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d4a04bb
    • eric@webkit.org's avatar
      2009-12-01 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 823bfaf1
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              PLATFORM(CAIRO) should be defined by WIN_CAIRO define
              https://bugs.webkit.org/show_bug.cgi?id=22250
      
              * wtf/Platform.h: Remove WTF_PLATFORM_CAIRO as it is
              already define in config.h
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      823bfaf1
    • ap@apple.com's avatar
      2009-12-01 Yuzo Fujishima <yuzo@google.com> · 97479bbf
      ap@apple.com authored
              Reviewed by Alexey Proskuryakov.
      
              Make pywebsocket log errors to a file
              https://bugs.webkit.org/show_bug.cgi?id=31604
      
              * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
              (by passing the path to the server via a recently added -l option).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97479bbf
    • hyatt@apple.com's avatar
      @namespace directives need to use "maybe_space" in the "maybe_ns_prefix"... · 5ccf9a12
      hyatt@apple.com authored
      @namespace directives need to use "maybe_space" in the "maybe_ns_prefix" portion of the grammar to match
      the spec.  Not doing so prevent comments from being used immmediately after the namespace prefix.
      
      Reviewed by David Kilzer.
      
      Added fast/css/namespaces-comments.xml
      
      * css/CSSGrammar.y:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ccf9a12
    • eric@webkit.org's avatar
      2009-12-01 Xiyuan Xia <xiyuan@chromium.org> · e6dd2557
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Only fire start/stop events when main frame is not loading.
      
              https://bugs.webkit.org/show_bug.cgi?id=31838
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6dd2557
    • aroben@apple.com's avatar
      Add a timing-out test to the Skipped file on Windows · c4d65298
      aroben@apple.com authored
      Rubber-stamped by Ada Chan.
      
      * platform/win/Skipped: Added
      fast/dom/Window/window-postmessage-clone.html, which was timing out
      due to eventSender.beginDragFiles being unimplemented.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4d65298
    • aroben@apple.com's avatar
      Fix tests that use the TestNetscapePlugin in Debug_Internal builds · a6a81b06
      aroben@apple.com authored
      Reviewed by Ada Chan.
      
      Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
      TestNetscapePlugin fail in Debug_Internal builds
      
      * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
      directory in Debug and Debug_All builds, but not in Debug_Internal
      builds.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6a81b06
    • aroben@apple.com's avatar
      Re-enable DRT's watchdog timer on Windows · 06cd711f
      aroben@apple.com authored
      It was accidentally disabled in r50907.
      
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
      into an if condition.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06cd711f
    • eric@webkit.org's avatar
      2009-12-01 Yael Aharon <yael.aharon@nokia.com> · 0c9118b2
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Reloading WebInspector from context menu is closing it instead of reloading.
              https://bugs.webkit.org/show_bug.cgi?id=32004
      
              When reloading WebInspector, don't delete its m_page.
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::close):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c9118b2
    • aroben@apple.com's avatar
      Add expected Windows failure results for tests that use textInputController · 84857548
      aroben@apple.com authored
      <http://webkit.org/b/32021> covers fixing these tests.
      
      Rubber-stamped by Sam Weinig.
      
      * platform/win/Skipped: Removed tests that use textInputController.
      
      * platform/win/editing/selection/5825350-1-expected.txt: Added.
      * platform/win/editing/selection/5825350-2-expected.txt: Added.
      * platform/win/editing/selection/mixed-editability-10-expected.txt: Added.
      * platform/win/fast/events/ime-composition-events-001-expected.txt: Added.
      * platform/win/fast/forms/input-maxlength-ime-completed-expected.txt: Added.
      * platform/win/fast/forms/input-maxlength-ime-preedit-expected.txt: Added.
      * platform/win/fast/text/international/thai-cursor-position-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84857548
    • ossy@webkit.org's avatar
      [Qt] Put test into skiplist because of missing layoutTestController.evaluateInWebInspector(). · c6da41d1
      ossy@webkit.org authored
      * platform/qt/Skipped: inspector/timeline-network-resource.html added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6da41d1
    • abarth@webkit.org's avatar
      2009-12-01 Adam Barth <abarth@webkit.org> · 890ae715
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              check-webkit-style complains about #imports with / in them
              https://bugs.webkit.org/show_bug.cgi?id=32022
      
              We need to exclude #import directives in addition to #include from the
              binary operator whitespace checks.
      
              * Scripts/modules/cpp_style.py:
              * Scripts/modules/cpp_style_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      890ae715
    • eric@webkit.org's avatar
      2009-12-01 Steve Block <steveblock@google.com> · bc2e427e
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Adds V8 bindings for Geolocation.
              https://bugs.webkit.org/show_bug.cgi?id=30206
      
              Also adds Geolocation files to Chrome build files.
      
              * WebCore.gyp/WebCore.gyp: Modified. Corrects list of Geolocation IDL files.
              * WebCore.gypi: Modified. Adds Geolocation files.
              * bindings/v8/DOMObjectsInclude.h: Modified. Adds Geolocation includes.
              * bindings/v8/DerivedSourcesAllInOne.cpp: Modified. Adds Geolocation files.
              * bindings/v8/V8Index.cpp: Modified. Includes Geolocation generated headers.
              * bindings/v8/V8Index.h: Modified. Adds Geolocation types to DOM_OBJECT_TYPES.
              * bindings/v8/custom/V8CoordinatesCustom.cpp: Added. Handles optional properties.
              * bindings/v8/custom/V8CustomBinding.h: Modified. Declares callbacks and getters.
              * bindings/v8/custom/V8CustomPositionCallback.cpp: Added.
              (WebCore::V8CustomPositionCallback::V8CustomPositionCallback): Added. Constructor.
              (WebCore::V8CustomPositionCallback::~V8CustomPositionCallback): Added. Destructor.
              (WebCore::V8CustomPositionCallback::handleEvent): Added. Invokes callback.
              * bindings/v8/custom/V8CustomPositionCallback.h: Added.
              (WebCore::V8CustomPositionCallback::create): Added. Factory method.
              * bindings/v8/custom/V8CustomPositionErrorCallback.cpp: Added.
              (WebCore::V8CustomPositionErrorCallback::V8CustomPositionErrorCallback): Added. Constructor.
              (WebCore::V8CustomPositionErrorCallback::~V8CustomPositionErrorCallback): Added. Destructor.
              (WebCore::V8CustomPositionErrorCallback::handleEvent): Added. Invokes callback.
              * bindings/v8/custom/V8CustomPositionErrorCallback.h: Added.
              (WebCore::V8CustomPositionErrorCallback::create): Added. Factory method.
              * bindings/v8/custom/V8GeolocationCustom.cpp: Added.
              (WebCore::throwTypeMismatchException): Added. Throws a type mismatch error.
              (WebCore::createPositionCallback): Added. Handles type checking for successCallback argument.
              (WebCore::createPositionErrorCallback): Added. Handles type checking for errorCallback argument.
              (WebCore::createPositionOptions): Added. Handles type checking for positionOptions argument.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc2e427e
    • eric@webkit.org's avatar
      2009-12-01 Eric Z. Ayers <zundel@google.com> · 0f5ad84b
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Adds test for Timeline network resource records.
      
              https://bugs.webkit.org/show_bug.cgi?id=31378
      
              * inspector/timeline-network-resource-expected.txt: Added.
              * inspector/timeline-network-resource.html: Added.
              * inspector/timeline-network-resource.js: Added.
              * inspector/timeline-test.js:
              (printTimelineRecords):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f5ad84b
    • yurys@chromium.org's avatar
      2009-12-01 Yury Semikhatsky <yurys@chromium.org> · 2d423529
      yurys@chromium.org authored
              Reviewed by Adam Barth.
      
              Provide a way to get ScriptState for the inspected page.
      
              https://bugs.webkit.org/show_bug.cgi?id=32020
      
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::mainWorldScriptState):
              * bindings/v8/ScriptController.h:
              * bindings/v8/ScriptState.cpp:
              (WebCore::scriptStateFromPage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d423529
    • cmarrin@apple.com's avatar
      Changed mallocs to fastMallocs and frees to fastFrees in... · 85f90658
      cmarrin@apple.com authored
              Changed mallocs to fastMallocs and frees to fastFrees in GraphicsContext3D. Also added error returns
              https://bugs.webkit.org/show_bug.cgi?id=30778
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85f90658
    • eric@webkit.org's avatar
      2009-12-01 Mads Ager <ager@chromium.org> · ac15d211
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [V8] Don't crash in DOMWindow event getter in OOM situations
              https://bugs.webkit.org/show_bug.cgi?id=32017
      
              Add missing null handle checks in DOMWindow event property
              accessors.  V8Proxy::context(frame) can return a null handle in
              OOM situations either if failing to initialize a context or if an
              OOM is handled gracefully and javascript is disabled.
      
              No new tests because we don't have a good way to test
              out-of-memory bugs.
      
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::ACCESSOR_GETTER):
              (WebCore::ACCESSOR_SETTER):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac15d211
    • cmarrin@apple.com's avatar
    • pfeldman@chromium.org's avatar
      2009-12-01 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> · 2a543207
      pfeldman@chromium.org authored
              Not reviewed: chromium build fix, added missing import.
      
              * inspector/InspectorFrontendHost.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a543207
    • ossy@webkit.org's avatar
      [Qt] Put tests into skiplist because of missing textInputController.selectedRange(). · 093a195f
      ossy@webkit.org authored
      * platform/qt/Skipped:
      - editing/selection/mixed-editability-10.html added.
      - editing/selection/5825350-1.html added.
      - editing/selection/5825350-2.html added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      093a195f
    • pfeldman@chromium.org's avatar
      2009-12-01 Pavel Feldman <pfeldman@chromium.org> · 60dcf092
      pfeldman@chromium.org authored
              Not reviewed: fix windows build via unexcluding generated files from
              project.
      
              * WebCore.vcproj/WebCore.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60dcf092
    • mrowe@apple.com's avatar
      Stop copying IDL files in to the WebCore framework wrapper. · 72f046a4
      mrowe@apple.com authored
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72f046a4
    • mrowe@apple.com's avatar
      Fix the Tiger build by making the Xcode project compatible with Xcode 2.4. · 2008e4a9
      mrowe@apple.com authored
      This was probably broken by hand-editing the project file as Xcode itself
      knows how to keep project files to a backwards-compatible subset of its format.
      
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2008e4a9
    • pfeldman@chromium.org's avatar
      2009-12-01 Pavel Feldman <pfeldman@chromium.org> · e11fd0e1
      pfeldman@chromium.org authored
              Not reviewed: windows build fix (bad vcproj in r51528).
      
              * WebCore.vcproj/WebCore.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e11fd0e1
    • pfeldman@chromium.org's avatar
      2009-11-27 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> · 87861d02
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Split InspectorBackend into three parts: backend,
              injected script host and frontend host.
              
              https://bugs.webkit.org/show_bug.cgi?id=31888
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSInspectorBackendCustom.cpp: Removed.
              * bindings/js/JSInspectorFrontendHostCustom.cpp: Added.
              (WebCore::JSInspectorFrontendHost::search):
              (WebCore::JSInspectorFrontendHost::setting):
              (WebCore::JSInspectorFrontendHost::setSetting):
              * bindings/js/ScriptObject.cpp:
              (WebCore::ScriptGlobalObject::set):
              * bindings/js/ScriptObject.h:
              * bindings/v8/DOMObjectsInclude.h:
              * bindings/v8/DerivedSourcesAllInOne.cpp:
              * bindings/v8/ScriptObject.cpp:
              (WebCore::ScriptGlobalObject::set):
              * bindings/v8/ScriptObject.h:
              * bindings/v8/V8Index.cpp:
              * bindings/v8/V8Index.h:
              * bindings/v8/custom/V8CustomBinding.h:
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: Added.
              (WebCore::CALLBACK_FUNC_DECL):
              * bindings/v8/custom/V8InspectorBackendCustom.cpp: Removed.
              * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp: Added.
              (WebCore::CALLBACK_FUNC_DECL):
              * inspector/InjectedScriptHost.cpp: Added.
              (WebCore::InjectedScriptHost::InjectedScriptHost):
              (WebCore::InjectedScriptHost::~InjectedScriptHost):
              (WebCore::InjectedScriptHost::copyText):
              (WebCore::InjectedScriptHost::nodeForId):
              (WebCore::InjectedScriptHost::wrapObject):
              (WebCore::InjectedScriptHost::unwrapObject):
              (WebCore::InjectedScriptHost::pushNodePathToFrontend):
              (WebCore::InjectedScriptHost::addNodesToSearchResult):
              (WebCore::InjectedScriptHost::currentCallFrame):
              (WebCore::InjectedScriptHost::databaseForId):
              (WebCore::InjectedScriptHost::selectDatabase):
              (WebCore::InjectedScriptHost::selectDOMStorage):
              (WebCore::InjectedScriptHost::reportDidDispatchOnInjectedScript):
              (WebCore::InjectedScriptHost::inspectorDOMAgent):
              (WebCore::InjectedScriptHost::inspectorFrontend):
              * inspector/InjectedScriptHost.h: Added.
              (WebCore::InjectedScriptHost::create):
              (WebCore::InjectedScriptHost::inspectorController):
              (WebCore::InjectedScriptHost::disconnectController):
              * inspector/InjectedScriptHost.idl: Added.
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::InspectorBackend):
              (WebCore::InspectorBackend::storeLastActivePanel):
              (WebCore::InspectorBackend::toggleNodeSearch):
              (WebCore::InspectorBackend::resourceTrackingEnabled):
              (WebCore::InspectorBackend::debuggerEnabled):
              (WebCore::InspectorBackend::enableDebugger):
              (WebCore::InspectorBackend::disableDebugger):
              (WebCore::InspectorBackend::addBreakpoint):
              (WebCore::InspectorBackend::updateBreakpoint):
              (WebCore::InspectorBackend::removeBreakpoint):
              (WebCore::InspectorBackend::pauseInDebugger):
              (WebCore::InspectorBackend::resumeDebugger):
              (WebCore::InspectorBackend::stepOverStatementInDebugger):
              (WebCore::InspectorBackend::stepIntoStatementInDebugger):
              (WebCore::InspectorBackend::stepOutOfFunctionInDebugger):
              (WebCore::InspectorBackend::pauseOnExceptions):
              (WebCore::InspectorBackend::setPauseOnExceptions):
              (WebCore::InspectorBackend::profilerEnabled):
              (WebCore::InspectorBackend::enableProfiler):
              (WebCore::InspectorBackend::disableProfiler):
              (WebCore::InspectorBackend::startProfiling):
              (WebCore::InspectorBackend::stopProfiling):
              (WebCore::InspectorBackend::getProfileHeaders):
              (WebCore::InspectorBackend::getProfile):
              (WebCore::InspectorBackend::currentCallFrame):
              (WebCore::InspectorBackend::highlightDOMNode):
              (WebCore::InspectorBackend::hideDOMNodeHighlight):
              (WebCore::InspectorBackend::getCookies):
              (WebCore::InspectorBackend::deleteCookie):
              (WebCore::InspectorBackend::didEvaluateForTestInFrontend):
              (WebCore::InspectorBackend::nodeForId):
              * inspector/InspectorBackend.h:
              (WebCore::InspectorBackend::create):
              * inspector/InspectorBackend.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::~InspectorController):
              (WebCore::InspectorController::inspectedPageDestroyed):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::inspectorFrontendHost):
              (WebCore::InspectorController::injectedScriptHost):
              * inspector/InspectorFrontendHost.cpp: Added.
              (WebCore::InspectorFrontendHost::InspectorFrontendHost):
              (WebCore::InspectorFrontendHost::~InspectorFrontendHost):
              (WebCore::InspectorFrontendHost::loaded):
              (WebCore::InspectorFrontendHost::attach):
              (WebCore::InspectorFrontendHost::detach):
              (WebCore::InspectorFrontendHost::closeWindow):
              (WebCore::InspectorFrontendHost::windowUnloading):
              (WebCore::InspectorFrontendHost::setAttachedWindowHeight):
              (WebCore::InspectorFrontendHost::moveWindowBy):
              (WebCore::InspectorFrontendHost::localizedStringsURL):
              (WebCore::InspectorFrontendHost::hiddenPanels):
              (WebCore::InspectorFrontendHost::platform):
              (WebCore::InspectorFrontendHost::port):
              (WebCore::InspectorFrontendHost::addResourceSourceToFrame):
              (WebCore::InspectorFrontendHost::addSourceToFrame):
              * inspector/InspectorFrontendHost.h: Added.
              (WebCore::InspectorFrontendHost::create):
              (WebCore::InspectorFrontendHost::inspectorController):
              (WebCore::InspectorFrontendHost::disconnectController):
              * inspector/InspectorFrontendHost.idl: Added.
              * inspector/front-end/Breakpoint.js:
              (WebInspector.Breakpoint.prototype.set condition):
              * inspector/front-end/BreakpointsSidebarPane.js:
              (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint):
              (WebInspector.BreakpointsSidebarPane.prototype.removeBreakpoint):
              (WebInspector.BreakpointsSidebarPane.prototype._breakpointEnableChanged):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype.clearMessages):
              * inspector/front-end/CookieItemsView.js:
              (WebInspector.CookieItemsView.prototype._deleteCookieCallback):
              * inspector/front-end/DOMAgent.js:
              (WebInspector.DOMAgent.prototype.getChildNodesAsync):
              (WebInspector.DOMAgent.prototype.setAttributeAsync):
              (WebInspector.DOMAgent.prototype.removeAttributeAsync):
              (WebInspector.DOMAgent.prototype.setTextNodeValueAsync):
              (WebInspector.Cookies.getCookiesAsync):
              (WebInspector.EventListeners.getEventListenersForNodeAsync):
              * inspector/front-end/DOMStorage.js:
              (WebInspector.DOMStorage.prototype.getEntries):
              (WebInspector.DOMStorage.prototype.setItem):
              (WebInspector.DOMStorage.prototype.removeItem):
              * inspector/front-end/Database.js:
              (WebInspector.Database.prototype.getTableNames):
              * inspector/front-end/ElementsPanel.js:
              (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
              (WebInspector.ElementsPanel.prototype.hide):
              (WebInspector.ElementsPanel.prototype.reset):
              (WebInspector.ElementsPanel.prototype.handleCopyEvent):
              (WebInspector.ElementsPanel.prototype._nodeSearchButtonClicked):
              * inspector/front-end/ElementsTreeOutline.js:
              (WebInspector.ElementsTreeOutline.prototype.set focusedDOMNode.restoreHighlightToHoveredNode):
              (WebInspector.ElementsTreeOutline.prototype.set focusedDOMNode):
              ():
              * inspector/front-end/EventListenersSidebarPane.js:
              (WebInspector.EventListenersSidebarPane.prototype):
              * inspector/front-end/InjectedScript.js:
              (InjectedScript._evaluateAndWrap):
              (InjectedScript.performSearch.addNodesToResults):
              (InjectedScript.getCallFrames):
              (InjectedScript._callFrameForId):
              (InjectedScript._clearConsoleMessages):
              (InjectedScript._inspectObject):
              (InjectedScript._copy):
              (InjectedScript._ensureCommandLineAPIInstalled):
              (InjectedScript._window):
              (InjectedScript._nodeForId):
              (InjectedScript._objectForId):
              (InjectedScript.pushNodeToFrontend):
              (InjectedScript.executeSql):
              (InjectedScript.executeSql.errorCallback):
              (InjectedScript.executeSql.queryTransaction):
              * inspector/front-end/InjectedScriptAccess.js:
              (InjectedScriptAccess._installHandler.InjectedScriptAccess.methodName):
              (InjectedScriptAccess._installHandler):
              * inspector/front-end/InspectorBackendStub.js: Added.
              (.WebInspector.InspectorBackendStub):
              (.WebInspector.InspectorBackendStub.prototype.wrapCallback):
              (.WebInspector.InspectorBackendStub.prototype.platform):
              (.WebInspector.InspectorBackendStub.prototype.port):
              (.WebInspector.InspectorBackendStub.prototype.closeWindow):
              (.WebInspector.InspectorBackendStub.prototype.attach):
              (.WebInspector.InspectorBackendStub.prototype.detach):
              (.WebInspector.InspectorBackendStub.prototype.storeLastActivePanel):
              (.WebInspector.InspectorBackendStub.prototype.clearMessages):
              (.WebInspector.InspectorBackendStub.prototype.searchingForNode):
              (.WebInspector.InspectorBackendStub.prototype.search):
              (.WebInspector.InspectorBackendStub.prototype.toggleNodeSearch):
              (.WebInspector.InspectorBackendStub.prototype.setAttachedWindowHeight):
              (.WebInspector.InspectorBackendStub.prototype.moveByUnrestricted):
              (.WebInspector.InspectorBackendStub.prototype.addResourceSourceToFrame):
              (.WebInspector.InspectorBackendStub.prototype.addSourceToFrame):
              (.WebInspector.InspectorBackendStub.prototype.getResourceDocumentNode):
              (.WebInspector.InspectorBackendStub.prototype.highlightDOMNode):
              (.WebInspector.InspectorBackendStub.prototype.hideDOMNodeHighlight):
              (.WebInspector.InspectorBackendStub.prototype.inspectedWindow):
              (.WebInspector.InspectorBackendStub.prototype.loaded):
              (.WebInspector.InspectorBackendStub.prototype.localizedStringsURL):
              (.WebInspector.InspectorBackendStub.prototype.windowUnloading):
              (.WebInspector.InspectorBackendStub.prototype.hiddenPanels):
              (.WebInspector.InspectorBackendStub.prototype.debuggerEnabled):
              (.WebInspector.InspectorBackendStub.prototype.enableResourceTracking):
              (.WebInspector.InspectorBackendStub.prototype.disableResourceTracking):
              (.WebInspector.InspectorBackendStub.prototype.resourceTrackingEnabled):
              (.WebInspector.InspectorBackendStub.prototype.enableDebugger):
              (.WebInspector.InspectorBackendStub.prototype.disableDebugger):
              (.WebInspector.InspectorBackendStub.prototype.addBreakpoint):
              (.WebInspector.InspectorBackendStub.prototype.removeBreakpoint):
              (.WebInspector.InspectorBackendStub.prototype.updateBreakpoint):
              (.WebInspector.InspectorBackendStub.prototype.pauseInDebugger):
              (.WebInspector.InspectorBackendStub.prototype.pauseOnExceptions):
              (.WebInspector.InspectorBackendStub.prototype.setPauseOnExceptions):
              (.WebInspector.InspectorBackendStub.prototype.resumeDebugger):
              (.WebInspector.InspectorBackendStub.prototype.profilerEnabled):
              (.WebInspector.InspectorBackendStub.prototype.enableProfiler):
              (.WebInspector.InspectorBackendStub.prototype.disableProfiler):
              (.WebInspector.InspectorBackendStub.prototype.startProfiling):
              (.WebInspector.InspectorBackendStub.prototype.stopProfiling):
              (.WebInspector.InspectorBackendStub.prototype.getProfileHeaders):
              (.WebInspector.InspectorBackendStub.prototype.getProfile):
              (.WebInspector.InspectorBackendStub.prototype.takeHeapSnapshot):
              (.WebInspector.InspectorBackendStub.prototype.databaseTableNames):
              (.WebInspector.InspectorBackendStub.prototype.stepIntoStatementInDebugger):
              (.WebInspector.InspectorBackendStub.prototype.stepOutOfFunctionInDebugger):
              (.WebInspector.InspectorBackendStub.prototype.stepOverStatementInDebugger):
              (.WebInspector.InspectorBackendStub.prototype.setSetting):
              (.WebInspector.InspectorBackendStub.prototype.dispatchOnInjectedScript):
              (.WebInspector.InspectorBackendStub.prototype.releaseWrapperObjectGroup):
              (.WebInspector.InspectorBackendStub.prototype.setting):
              * inspector/front-end/InspectorControllerStub.js:
              * inspector/front-end/InspectorFrontendHostStub.js: Added.
              (.WebInspector.InspectorFrontendHostStub):
              (.WebInspector.InspectorFrontendHostStub.prototype.platform):
              (.WebInspector.InspectorFrontendHostStub.prototype.port):
              (.WebInspector.InspectorFrontendHostStub.prototype.closeWindow):
              (.WebInspector.InspectorFrontendHostStub.prototype.attach):
              (.WebInspector.InspectorFrontendHostStub.prototype.detach):
              (.WebInspector.InspectorFrontendHostStub.prototype.search):
              (.WebInspector.InspectorFrontendHostStub.prototype.setAttachedWindowHeight):
              (.WebInspector.InspectorFrontendHostStub.prototype.moveWindowBy):
              (.WebInspector.InspectorFrontendHostStub.prototype.addResourceSourceToFrame):
              (.WebInspector.InspectorFrontendHostStub.prototype.addSourceToFrame):
              (.WebInspector.InspectorFrontendHostStub.prototype.loaded):
              (.WebInspector.InspectorFrontendHostStub.prototype.localizedStringsURL):
              (.WebInspector.InspectorFrontendHostStub.prototype.hiddenPanels):
              (.WebInspector.InspectorFrontendHostStub.prototype.setSetting):
              (.WebInspector.InspectorFrontendHostStub.prototype.setting):
              * inspector/front-end/ProfileView.js:
              (WebInspector.CPUProfileView):
              (WebInspector.CPUProfileType.prototype.buttonClicked):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._updateInterface):
              (WebInspector.ProfilesPanel.prototype._enableProfiling):
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.reset):
              (WebInspector.ResourcesPanel.prototype._toggleLargerResources):
              (WebInspector.ResourcesPanel.prototype._enableResourceTracking):
              (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
              * inspector/front-end/ScriptView.js:
              (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
              (WebInspector.ScriptsPanel.prototype.addScript):
              (WebInspector.ScriptsPanel.prototype.attachDebuggerWhenShown):
              (WebInspector.ScriptsPanel.prototype.reset):
              (WebInspector.ScriptsPanel.prototype.canShowResource):
              (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
              (WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu):
              (WebInspector.ScriptsPanel.prototype._updatePauseOnExceptionsButton):
              (WebInspector.ScriptsPanel.prototype._updateDebuggerButtons):
              (WebInspector.ScriptsPanel.prototype._enableDebugging):
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              (WebInspector.ScriptsPanel.prototype._togglePauseOnExceptions):
              (WebInspector.ScriptsPanel.prototype._togglePause):
              (WebInspector.ScriptsPanel.prototype._stepOverClicked):
              (WebInspector.ScriptsPanel.prototype._stepIntoClicked):
              (WebInspector.ScriptsPanel.prototype._stepOutClicked):
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):
              (WebInspector.SourceView.prototype.performSearch.findSearchMatches):
              (WebInspector.SourceView.prototype.performSearch):
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylesSidebarPane.prototype._changeColorFormat):
              * inspector/front-end/TestController.js:
              (WebInspector.TestController.prototype.notifyDone):
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
              * inspector/front-end/WatchExpressionsSidebarPane.js:
              (WebInspector.WatchExpressionsSection.prototype.update):
              (WebInspector.WatchExpressionsSection.prototype.loadSavedExpressions):
              (WebInspector.WatchExpressionsSection.prototype.saveExpressions):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector.pendingDispatches.0.get platform):
              (WebInspector.get port):
              (WebInspector.set currentPanel):
              (WebInspector._createPanels):
              (WebInspector._loadPreferences):
              (WebInspector.set attached):
              (WebInspector._updateHoverHighlight):
              (WebInspector.loaded):
              (windowLoaded):
              (WebInspector.windowUnload):
              (WebInspector.close):
              (WebInspector.toolbarDrag):
              (WebInspector.UIString):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87861d02
    • hamaji@chromium.org's avatar
      2009-11-30 Shinichiro Hamaji <hamaji@chromium.org> · 382642ba
      hamaji@chromium.org authored
              Reviewed by Dan Bernstein.
      
              css2.1/t1205-c566-list-stl-00-e-ag.html is failing
              https://bugs.webkit.org/show_bug.cgi?id=23264
              css2.1/t1205-c565-list-pos-00-b.html is failing
              https://bugs.webkit.org/show_bug.cgi?id=23263
      
              Ignore whitespaces after list markers.
              Rendering of this was already done for the case where inside=false.
              This fixes the rendering of inside=true case and calcInlinePrefWidths.
      
              Test: fast/lists/calc-width-with-space.html
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::calcInlinePrefWidths):
              * rendering/RenderBlockLineLayout.cpp:
              (WebCore::RenderBlock::findNextLineBreak):
      2009-11-30  Shinichiro Hamaji  <hamaji@chromium.org>
      
              Reviewed by Dan Bernstein.
      
              css2.1/t1205-c566-list-stl-00-e-ag.html is failing
              https://bugs.webkit.org/show_bug.cgi?id=23264
      
              * editing/pasteboard/copy-crash-expected.txt:
              * fast/lists/calc-width-with-space-expected.txt: Added.
              * fast/lists/calc-width-with-space.html: Added.
              * platform/mac/css2.1/t1205-c561-list-displ-00-b-expected.checksum:
              * platform/mac/css2.1/t1205-c561-list-displ-00-b-expected.png:
              * platform/mac/css2.1/t1205-c561-list-displ-00-b-expected.txt:
              * platform/mac/css2.1/t1205-c565-list-pos-00-b-expected.checksum:
              * platform/mac/css2.1/t1205-c565-list-pos-00-b-expected.png:
              * platform/mac/css2.1/t1205-c565-list-pos-00-b-expected.txt:
              * platform/mac/css2.1/t1205-c566-list-stl-00-e-ag-expected.checksum:
              * platform/mac/css2.1/t1205-c566-list-stl-00-e-ag-expected.png:
              * platform/mac/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
              * platform/mac/fast/block/positioning/complex-percentage-height-expected.checksum:
              * platform/mac/fast/block/positioning/complex-percentage-height-expected.png:
              * platform/mac/fast/block/positioning/complex-percentage-height-expected.txt:
              * platform/mac/fast/lists/item-not-in-list-line-wrapping-expected.checksum:
              * platform/mac/fast/lists/item-not-in-list-line-wrapping-expected.png:
              * platform/mac/fast/lists/item-not-in-list-line-wrapping-expected.txt:
              * platform/mac/fast/repaint/list-marker-expected.checksum:
              * platform/mac/fast/repaint/list-marker-expected.png:
              * platform/mac/fast/repaint/list-marker-expected.txt:
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      382642ba
    • abarth@webkit.org's avatar
      2009-11-30 Adam Barth <abarth@webkit.org> · 43c50352
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              check-webkit-style is slightly too verbose
              https://bugs.webkit.org/show_bug.cgi?id=32010
      
              check-webkit-style prints out a bunch of "done" lines that seem redundant,
              especially for the style-queue.
      
              * Scripts/modules/cpp_style.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43c50352
  2. 30 Nov, 2009 2 commits
    • eric@webkit.org's avatar
      2009-11-30 Alejandro G. Castro <alex@igalia.com> · 5214a6b5
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Moved the functions that are closing the result log of the
              tests to the last line of the runTest function, this avoids
              reporting crashes in the wrong test if there is a problem when
              reseting the state after the test.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (dump):
              (runTest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5214a6b5
    • ukai@chromium.org's avatar
      2009-11-30 Fumitoshi Ukai <ukai@chromium.org> · 317a5e7c
      ukai@chromium.org authored
              Unreviewed Chromium build fix introduced by r51212
      
              Fix scriptStateFromNode and ScriptStateFromPage to take DOMWrapperWorld
              as the first argument.
              Move mainThreadNormalWorld() to ScriptState.{h,cpp}.
              Add debuggerWorld() and pluginWorld() in ScriptState.h.
      
              * bindings/v8/ScriptController.cpp:
              * bindings/v8/ScriptController.h:
              * bindings/v8/ScriptState.cpp:
              (WebCore::scriptStateFromNode):
              (WebCore::scriptStateFromPage):
              (WebCore::mainThreadNormalWorld):
              * bindings/v8/ScriptState.h:
              (WebCore::debuggerWorld):
              (WebCore::pluginWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      317a5e7c