1. 21 Jun, 2010 4 commits
    • dumi@chromium.org's avatar
      Unreviewed, fixing expectations. · bbf0afd8
      dumi@chromium.org authored
      * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/gtk/fast/js/global-constructors-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbf0afd8
    • dumi@chromium.org's avatar
      Adding the SQLException class which will be used to report sync DB errors. · 72f3cc96
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40607
      
      Reviewed by Adam Barth.
      
      WebCore: 
      
      * Android.derived.jscbindings.mk:
      * Android.derived.v8bindings.mk:
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::setDOMException):
      * bindings/js/JSExceptionBase.cpp:
      (WebCore::toExceptionBase):
      * bindings/v8/V8Proxy.cpp:
      (WebCore::V8Proxy::setDOMException):
      * bindings/v8/V8Proxy.h:
      * dom/ExceptionCode.cpp:
      (WebCore::):
      (WebCore::getExceptionCodeDescription):
      * dom/ExceptionCode.h:
      (WebCore::):
      * page/DOMWindow.idl:
      * storage/SQLException.h: Added.
      (WebCore::SQLException::create):
      (WebCore::SQLException::):
      (WebCore::SQLException::SQLException):
      * storage/SQLException.idl: Added.
      
      LayoutTests: 
      
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/Window/window-property-descriptors-expected.txt:
      * fast/dom/prototype-inheritance-expected.txt:
      * fast/js/global-constructors-expected.txt:
      * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
      * platform/gtk/fast/dom/Window/window-properties-expected.txt:
      * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/js/global-constructors-expected.txt:
      * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/win/fast/js/global-constructors-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72f3cc96
    • eric@webkit.org's avatar
      2010-06-20 Hayato Ito <hayato@chromium.org> · cb115038
      eric@webkit.org authored
              Reviewed by Kent Tamura.
      
              Add tests for CSS3 Paged Media to make sure page breaks should happen at right places.
              Two tests (allowed-page-break and page-break-margin-collapsed) are expected to fail
              due to lack of support.
      
              https://bugs.webkit.org/show_bug.cgi?id=40770
      
              * printing/allowed-page-breaks-expected.txt: Added.
              * printing/allowed-page-breaks.html: Added.
              * printing/no-content-empty-pages-expected.txt: Added.
              * printing/no-content-empty-pages.html: Added.
              * printing/page-break-display-none-expected.txt: Added.
              * printing/page-break-display-none.html: Added.
              * printing/page-break-margin-collapsed-expected.txt: Added.
              * printing/page-break-margin-collapsed.html: Added.
              * printing/script-tests/allowed-page-breaks.js: Added.
              (test):
              * printing/script-tests/no-content-empty-pages.js: Added.
              (test):
              * printing/script-tests/page-break-display-none.js: Added.
              (test):
              * printing/script-tests/page-break-margin-collapsed.js: Added.
              (test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb115038
    • yurys@chromium.org's avatar
      2010-06-20 Yury Semikhatsky <yurys@chromium.org> · 8b686afa
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
              v8 debugging protocol.
              https://bugs.webkit.org/show_bug.cgi?id=40844
      
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::addListener):
              (WebCore::ScriptDebugServer::setEnabled):
              (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
              * bindings/v8/ScriptDebugServer.h:
      2010-06-20  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
              v8 debugging protocol.
      
              * src/DebuggerAgentManager.cpp:
              (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b686afa
  2. 20 Jun, 2010 25 commits
  3. 19 Jun, 2010 11 commits
    • jschuh@chromium.org's avatar
      2010-06-19 Justin Schuh <jschuh@chromium.org> · 435c5882
      jschuh@chromium.org authored
              Unreviewed.
      
              Adding myself to the committers list.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      435c5882
    • eric@webkit.org's avatar
      2010-06-19 Hayato Ito <hayato@chromium.org> · 452014d0
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add tests for CSS 'orphans' and 'widows' properties.
              All tests are expected to fail due to lack of implementations.
      
              https://bugs.webkit.org/show_bug.cgi?id=40821
      
              * printing/page-break-orphans-and-widows-expected.txt: Added.
              * printing/page-break-orphans-and-widows.html: Added.
              * printing/page-break-orphans-expected.txt: Added.
              * printing/page-break-orphans.html: Added.
              * printing/page-break-widows-expected.txt: Added.
              * printing/page-break-widows.html: Added.
              * printing/script-tests/page-break-orphans-and-widows.js: Added.
              (test):
              * printing/script-tests/page-break-orphans.js: Added.
              (test):
              * printing/script-tests/page-break-widows.js: Added.
              (test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      452014d0
    • eric@webkit.org's avatar
      2010-06-19 Hayato Ito <hayato@chromium.org> · 59cf1aa7
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add tests for 'page-break-{before,after}: avoid'.
              All tests are expected to fail due to lack of implementations.
      
              https://bugs.webkit.org/show_bug.cgi?id=40814
      
              * printing/page-break-after-avoid-expected.txt: Added.
              * printing/page-break-after-avoid.html: Added.
              * printing/page-break-avoid-expected.txt: Added.
              * printing/page-break-avoid.html: Added.
              * printing/page-break-before-avoid-expected.txt: Added.
              * printing/page-break-before-avoid.html: Added.
              * printing/script-tests/page-break-after-avoid.js: Added.
              (test):
              * printing/script-tests/page-break-avoid.js: Added.
              (test):
              * printing/script-tests/page-break-before-avoid.js: Added.
              (test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59cf1aa7
    • weinig@apple.com's avatar
      Fix for https://bugs.webkit.org/show_bug.cgi?id=40882 · af8df7ea
      weinig@apple.com authored
      Add ability to have a WebProcess per WebContext.
      
      Reviewed by Anders Carlsson.
      
      WebKit2: 
      
      - Move to a one-to-one correspondence of WebContexts to WebProcessProxies.
      - Add explicit shared contexts for general use.
      - Only non-shared contexts can use injected bundles.
      
      * UIProcess/API/C/WKContext.cpp:
      (WKContextCreate):
      (WKContextCreateWithInjectedBundlePath):
      (WKContextGetSharedProcessContext):
      (WKContextGetSharedThreadContext):
      * UIProcess/API/C/WKContext.h:
      * UIProcess/API/C/WKContextPrivate.h:
      Change API for WKContext to no longer take a WKProcessModel type and instead
      have explicit Create/Get functions for the different kind of contexts. Added
      two shared contexts, one threaded, one process, and made the threaded on private
      for now.
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView initWithFrame:]):
      Make WKViews that don't have an explicit context use the shared process
      context by default.
      
      * UIProcess/Launcher/WebProcessLauncher.h:
      * UIProcess/Launcher/mac/WebProcessLauncher.mm:
      (WebKit::launchWebProcess):
      * UIProcess/Launcher/win/WebProcessLauncher.cpp:
      (WebKit::launchWebProcess):
      Use a boolean argument to note whether we are using a thread or a process
      instead of using the process model enum.
      
      * UIProcess/ProcessModel.h:
      (WebKit::):
      Convert to using explicit Shared modifier for shared contexts.
      
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::sharedProcessContext):
      (WebKit::WebContext::sharedThreadContext):
      (WebKit::WebContext::ensureWebProcess):
      (WebKit::WebContext::createWebPage):
      (WebKit::WebContext::reviveIfNecessary):
      * UIProcess/WebContext.h:
      (WebKit::WebContext::create):
      (WebKit::WebContext::process):
      * UIProcess/WebPageNamespace.cpp:
      (WebKit::WebPageNamespace::createWebPage):
      (WebKit::WebPageNamespace::preferencesDidChange):
      (WebKit::WebPageNamespace::getStatistics):
      * UIProcess/WebPageNamespace.h:
      (WebKit::WebPageNamespace::process):
      (WebKit::WebPageNamespace::reviveIfNecessary):
      Move WebProcessProxy creation logic up into WebContext.
      
      * UIProcess/WebProcessManager.cpp:
      (WebKit::WebProcessManager::getWebProcess):
      (WebKit::WebProcessManager::processDidClose):
      * UIProcess/WebProcessManager.h:
      Keep a map of WebContexts to WebProcessProxies in addition to the two
      shared processes.
      
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::create):
      (WebKit::WebProcessProxy::WebProcessProxy):
      (WebKit::WebProcessProxy::connect):
      (WebKit::WebProcessProxy::didClose):
      * UIProcess/WebProcessProxy.h:
      Store a WebContext instead of the process model.
      
      * mac/WebKit2.exp:
      Add new functions.
      
      WebKitTools: 
      
      Move to use new shared contexts API.
      
      * MiniBrowser/mac/AppDelegate.h:
      * MiniBrowser/mac/AppDelegate.m:
      (-[BrowserAppDelegate init]):
      (-[BrowserAppDelegate getCurrentPageNamespace]):
      (-[BrowserAppDelegate validateMenuItem:]):
      (-[BrowserAppDelegate _setProcessModel:]):
      (-[BrowserAppDelegate setSharedProcessProcessModel:]):
      (-[BrowserAppDelegate setSharedThreadProcessModel:]):
      * MiniBrowser/win/BrowserView.cpp:
      (BrowserView::create):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af8df7ea
    • eric@webkit.org's avatar
      2010-06-19 Tony Gentilcore <tonyg@chromium.org> · 243f056e
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Persist V8's ScriptData to the memory cache.
              https://bugs.webkit.org/show_bug.cgi?id=38661
      
              When V8 ScriptData caching was originally submitted it causes crashes
              in external scripts with high-byte characters. This new test crashes on
              the original code, but now passes.
      
              * fast/js/parser-high-byte-character-expected.txt: Added.
              * fast/js/parser-high-byte-character.html: Added.
              * fast/js/script-tests/parser-high-byte-character.js: Added.
              (runTest):
      2010-06-19  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Adam Barth.
      
              Persist V8's ScriptData to the memory cache.
              https://bugs.webkit.org/show_bug.cgi?id=38661
      
              This stores V8's ScriptData in the memory cache and also causes the
              network platform layer to be notified of the available cacheable
              metadata.
      
              Chromium's morejs benchmark showed a ~7% improvement when this was
              originally submitted (before it had to be rolled back).
      
              Test: fast/js/parser-high-byte-character.html
      
              * bindings/v8/ScriptSourceCode.h:
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              (WebCore::ScriptSourceCode::cachedScript):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::compileScript):
              (WebCore::V8Proxy::precompileScript):
              (WebCore::V8Proxy::evaluate):
              * bindings/v8/V8Proxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      243f056e
    • dglazkov@chromium.org's avatar
      2010-06-19 Dimitri Glazkov <dglazkov@chromium.org> · 682c5dcd
      dglazkov@chromium.org authored
              Unreviewed, expectations update.
      
              * platform/chromium/test_expectations.txt: Tuned expectations according to the bot result runs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      682c5dcd
    • abarth@webkit.org's avatar
      2010-06-19 Tony Gentilcore <tonyg@chromium.org> · cb9b622f
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Add LayoutTest to ensure resources within <noscript> are not preloaded
              https://bugs.webkit.org/show_bug.cgi?id=40849
      
              * fast/preloader/noscript-expected.txt: Added.
              * fast/preloader/noscript.html: Added.
              * fast/preloader/resources/noscript-image1.png: Copied from BugsSite/data/mail.
              * fast/preloader/resources/noscript-image2.png: Copied from BugsSite/data/mail.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb9b622f
    • eric@webkit.org's avatar
      2010-06-19 Kwang Yul Seo <skyul@company100.net> · fec68662
      eric@webkit.org authored
              Reviewed by Kent Tamura.
      
              [BREWMP] Port SocketStream
              https://bugs.webkit.org/show_bug.cgi?id=39671
      
              Port SocketStream with BREW MP's ISocket interface.
      
              * platform/network/brew/SocketStreamError.h: Added.
              (WebCore::SocketStreamError::SocketStreamError):
              * platform/network/brew/SocketStreamHandle.h: Added.
              (WebCore::SocketStreamHandle::create):
              * platform/network/brew/SocketStreamHandleBrew.cpp: Added.
              (WebCore::socketStreamConnectCallback):
              (WebCore::getHostByNameCallback):
              (WebCore::socketReadableCallback):
              (WebCore::networkManager):
              (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate):
              (WebCore::SocketStreamHandlePrivate::~SocketStreamHandlePrivate):
              (WebCore::SocketStreamHandlePrivate::socketConnected):
              (WebCore::SocketStreamHandlePrivate::socketReadyRead):
              (WebCore::SocketStreamHandlePrivate::connect):
              (WebCore::SocketStreamHandlePrivate::send):
              (WebCore::SocketStreamHandlePrivate::close):
              (WebCore::SocketStreamHandlePrivate::socketClosed):
              (WebCore::SocketStreamHandlePrivate::socketError):
              (WebCore::SocketStreamHandle::SocketStreamHandle):
              (WebCore::SocketStreamHandle::~SocketStreamHandle):
              (WebCore::SocketStreamHandle::platformSend):
              (WebCore::SocketStreamHandle::platformClose):
              (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
              (WebCore::SocketStreamHandle::receivedCredential):
              (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
              (WebCore::SocketStreamHandle::receivedCancellation):
              * platform/network/brew/SocketStreamHandlePrivate.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fec68662
    • eric@webkit.org's avatar
      2010-06-19 Jay Civelli <jcivelli@chromium.org> · 0bf5e7a6
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Adding a < operator to WebURLs so they can be used in std::maps.
              https://bugs.webkit.org/show_bug.cgi?id=40632
      
              * public/WebCString.h:
              (WebKit::operator<):
              * public/WebURL.h:
              (WebKit::operator<):
              * src/WebCString.cpp:
              (WebKit::WebCString::compare):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bf5e7a6
    • eric@webkit.org's avatar
      2010-06-19 Nikita Vasilyev <me@elv1s.ru> · 7c5c584d
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: subtitleElement.textContent is always empty. Use subtitleAsText method instead.
              https://bugs.webkit.org/show_bug.cgi?id=40420
      
              * inspector/elements-tests.js:
              (frontend_getSelectedElementStyles):
      2010-06-19  Nikita Vasilyev  <me@elv1s.ru>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: Prevent from copying "filename.css" in Styles pane
              https://bugs.webkit.org/show_bug.cgi?id=40420
      
              * inspector/front-end/Section.js:
              (WebInspector.Section.prototype.set subtitle):
              (WebInspector.Section.prototype.get subtitleAsText):
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylePropertiesSection):
              * inspector/front-end/inspector.css:
              (.styles-section .subtitle::before, .styles-section .subtitle a::before):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c5c584d
    • eric@webkit.org's avatar
      2010-06-19 Alex Milowski <alex@milowski.com> · d8ad0040
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              A fix for a change in https://bugs.webkit.org/show_bug.cgi?id=39941
              that caused a compile error in MathML.
              https://bugs.webkit.org/show_bug.cgi?id=40827
      
              * mathml/MathMLElement.cpp:
              (WebCore::MathMLElement::MathMLElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8ad0040