1. 30 Jul, 2009 35 commits
  2. 29 Jul, 2009 5 commits
    • jianli@chromium.org's avatar
      WebCore: · d7d927d0
      jianli@chromium.org authored
      2009-07-29  Jian Li  <jianli@chromium.org>
      
              Reviewed by Darin Adler.
      
              Workers need to throw an exception when presented with invalid URLs.
              https://bugs.webkit.org/show_bug.cgi?id=27770
      
              Tests covered by worker-constructor.html and worker-redirect.html.
      
              * bindings/js/JSWorkerConstructor.cpp:
              (WebCore::constructWorker):
              * bindings/v8/custom/V8WorkerCustom.cpp:
              (WebCore::CALLBACK_FUNC_DECL):
              * workers/Worker.cpp:
              (WebCore::Worker::Worker):
              * workers/Worker.h:
              (WebCore::Worker::create):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::importScripts):
              * workers/WorkerScriptLoader.cpp:
              (WebCore::WorkerScriptLoader::loadSynchronously):
              (WebCore::WorkerScriptLoader::loadAsynchronously):
              (WebCore::WorkerScriptLoader::createResourceRequest):
              * workers/WorkerScriptLoader.h:
      
      LayoutTests:
      
      2009-07-29  Jian Li  <jianli@chromium.org>
      
              Reviewed by Darin Adler.
      
              Workers need to throw an exception when presented with invalid URLs.
              https://bugs.webkit.org/show_bug.cgi?id=27770
      
              Update worker-constructor.html and worker-redirect.html per the behavior change.
      
              * fast/workers/worker-constructor-expected.txt:
              * fast/workers/worker-constructor.html:
              * http/tests/workers/worker-redirect-expected.txt:
              * http/tests/workers/worker-redirect.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7d927d0
    • beidson@apple.com's avatar
      2009-07-29 Brady Eidson <beidson@apple.com> · 23498826
      beidson@apple.com authored
              Reviewed by Darin Adler.
      
              (REGRESSION: r46039) Should restore previous connections-per-host limit for non-http(s) hosts
              https://bugs.webkit.org/show_bug.cgi?id=27822 and <rdar://problem/7091659>
      
              * loader/loader.cpp:
              (WebCore::Loader::Host::servePendingRequests): For non-http(s) hosts, restore the previous behavior of 
                only limiting connections while parsing and still trying to figure out stylesheet urls.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23498826
    • staikos@webkit.org's avatar
      2009-07-29 Yong Li <yong.li@torchmobile.com> · d2e38d72
      staikos@webkit.org authored
              
              Reviewed by George Staikos.
              
              WINCE PORT: Add WebCore/page/wince/FrameWince.cpp
              https://bugs.webkit.org/show_bug.cgi?id=27729
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2e38d72
    • rniwa@webkit.org's avatar
      WebCore: · a91d6a2e
      rniwa@webkit.org authored
      2009-07-29  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Justin Garcia.
      
              REGRESSION(r46370-46426): /editing/style/remove-underline-from-stylesheet.html fails
              https://bugs.webkit.org/show_bug.cgi?id=27809
      
              The patch primarily rebaselines the tests but also fixes the bug in currentlyHasStyle.
              To determine that a particular text decoration is present, currentlyHasStyle should refer to
              -webkit-text-decorations-in-effect to take care of styles set by u, s, strike tags and ancestors' CSS.
              We also need to update layout to accommodate the changes made within ApplyStyleCommand.
      
              * editing/ApplyStyleCommand.cpp: ditto
              (WebCore::StyleChange::currentlyHasStyle): ditto
      
      LayoutTests:
      
      2009-07-29  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Justin Garcia.
      
              REGRESSION(r46370-46426): /editing/style/remove-underline-from-stylesheet.html fails
              https://bugs.webkit.org/show_bug.cgi?id=27809
      
              Since new behavior is consistent with Firefox, we rebaseline the test cases.
              The patch converts remove-underline-from-stylesheet and remove-underline-in-bold to dumpAsText tests
              with markup printed explicitly because pixel tests did not detect the disappearance of underline.
      
              * editing/style/remove-underline-from-stylesheet-expected.txt: Added.
              * editing/style/remove-underline-from-stylesheet.html:
              * editing/style/remove-underline-in-bold-expected.txt: Added.
              * editing/style/remove-underline-in-bold.html:
              * platform/mac/editing/style/remove-underline-from-stylesheet-expected.checksum: Removed.
              * platform/mac/editing/style/remove-underline-from-stylesheet-expected.png: Removed.
              * platform/mac/editing/style/remove-underline-from-stylesheet-expected.txt: Removed.
              * platform/mac/editing/style/remove-underline-in-bold-expected.checksum: Removed.
              * platform/mac/editing/style/remove-underline-in-bold-expected.png: Removed.
              * platform/mac/editing/style/remove-underline-in-bold-expected.txt: Removed.
              * platform/qt/editing/style/remove-underline-from-stylesheet-expected.txt: Removed.
              * platform/qt/editing/style/remove-underline-in-bold-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a91d6a2e
    • staikos@webkit.org's avatar
      2009-07-29 Yong Li <yong.li@torchmobile.com> · 74494341
      staikos@webkit.org authored
              Reviewed by George Staikos.
      
              WINCE PORT: changes to platform/text files
              https://bugs.webkit.org/show_bug.cgi?id=27715
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74494341