1. 09 Aug, 2013 1 commit
    • ap@apple.com's avatar
      <unknown> is often dumped instead of path in test output · 20c8cc65
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119590
      
      Reviewed by Anders Carlsson.
      
      Tools:
      
      There were two reasons for <unknown>:
      1. When delegate logging is enabled via a testRunner call, that obviously happens
      after main resource load starts, so we don't record its URL.
      2. Authentication delegate logging relied on URL recording, but it's only turned on
      when enabling resource loading delegate logging, not auth one.
      
      URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
      landed without posted rationale and unreviewed. Just undoing that change now.
      
      * DumpRenderTree/mac/ResourceLoadDelegate.mm:
      (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
      * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
      (WTR::InjectedBundlePage::didInitiateLoadForResource):
      
      LayoutTests:
      
      Updating test results.
      
      * fast/loader/file-protocol-fragment-expected.txt:
      * fast/loader/main-document-url-for-non-http-loads-expected.txt:
      * http/tests/cache/iframe-304-crash-expected.txt:
      * http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt:
      * http/tests/loading/307-after-303-after-post-expected.txt:
      * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
      * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
      * http/tests/loading/basic-credentials-sent-automatically-expected.txt:
      * http/tests/loading/redirect-methods-expected.txt:
      * http/tests/misc/401-alternative-content-expected.txt:
      * http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
      * http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
      * http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
      * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
      * http/tests/misc/link-rel-icon-beforeload-expected.txt:
      * http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt:
      * http/tests/misc/window-dot-stop-expected.txt:
      * http/tests/security/401-logout/401-logout-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
      * http/tests/xmlhttprequest/failed-auth-expected.txt:
      * http/tests/xmlhttprequest/remember-bad-password-expected.txt:
      * loader/go-back-cached-main-resource-expected.txt:
      * platform/efl-wk2/loader/go-back-cached-main-resource-expected.txt:
      * platform/mac/fast/images/support-broken-image-delegate-expected.txt:
      * platform/mac/security/block-test-expected.txt:
      * platform/mac/security/block-test-no-port-expected.txt:
      * platform/mac/webarchive/loading/cache-expired-subresource-expected.txt:
      * webarchive/loading/test-loading-archive-expected.txt:
      * webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20c8cc65
  2. 24 May, 2013 1 commit
  3. 23 May, 2013 1 commit
  4. 11 Apr, 2013 1 commit
    • carlosgc@webkit.org's avatar
      FrameLoaderClient::assignIdentifierToInitialRequest() not called for the main... · 85d5a175
      carlosgc@webkit.org authored
      FrameLoaderClient::assignIdentifierToInitialRequest() not called for the main resource when loaded from the memory cache
      https://bugs.webkit.org/show_bug.cgi?id=112418
      
      Source/WebCore:
      
      Reviewed by Darin Adler.
      
      When the main resource is loaded from the memory cache the
      response is not added to the ResponseVector of the document
      loader, so that when committing the provisional load the remaining
      delegate messages are not called because the ResponseVector of the
      document loader is empty. When the main resource is loaded from
      the memory cache, there's no resource loader, and the client is
      notified about the response received using
      ResourceLoadNotifier::dispatchDidReceiveResponse() directly
      instead of ResourceLoadNotifier::didReceiveResponse() which is the
      one adding the response to the ResponseVector of the document
      loader. So, the problem can be fixed by adding the response to the
      ResponseVector before calling dispatchDidReceiveResponse() when
      loading the main resource without a resource loade
      
      Test: loader/go-back-cached-main-resource.html
      
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::responseReceived):
      
      LayoutTests:
      
      Patch by Manuel Rego Casasnovas <rego@igalia.com> on 2013-04-11
      Reviewed by Darin Adler.
      
      * loader/go-back-cached-main-resource-expected.txt: Added.
      * loader/go-back-cached-main-resource.html: Added.
      * loader/resources/first-page.html: Added.
      * loader/resources/other-page.html: Added.
      * platform/gtk-wk1/loader/go-back-cached-main-resource-expected.txt: Added.
      * platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85d5a175
  5. 03 Jan, 2013 1 commit
  6. 15 Jun, 2012 1 commit
    • rniwa@webkit.org's avatar
      Use testRunner instead of layoutTestController in ietestcenter, inspector,... · 08372332
      rniwa@webkit.org authored
      Use testRunner instead of layoutTestController in ietestcenter, inspector, java, jquery, loader, mathml, media, and mhtml tests
      https://bugs.webkit.org/show_bug.cgi?id=89176
      
      Reviewed by Kent Tamura.
      
      * ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm:
      * inspector/audits/resources/audits-style1.css:
      * inspector/console/console-long-eval-crash.html:
      * inspector/extensions/extensions-audits-content-script.html:
      * inspector/extensions/extensions-eval-content-script.html:
      * inspector/profiler/cpu-profiler-profiling-without-inspector.html:
      * inspector/timeline/timeline-animation-frame.html:
      * inspector/timeline/timeline-paint.html:
      * inspector/timeline/timeline-receive-response-event.html:
      * inspector/timeline/timeline-timer.html:
      * java/argument-to-object-type.html:
      * java/array-return.html:
      * java/array-sort.html:
      * java/embedding-java-with-object.html:
      * java/inaccessible-class.html:
      * java/inline-applet-crash.html:
      * java/java-and-plugins.html:
      * java/lc3/:
      * jquery/resources/helper.js:
      * loader/go-back-to-different-window-size.html:
      * loader/load-defer-resume-crash.html:
      * loader/navigation-while-deferring-loads.html:
      * loader/reload-subresource-when-type-changes.html:
      * mathml/EmptyMFracCrash.xhtml:
      * mathml/EmptyMunderOverCrash.xhtml:
      * mathml/empty-mroot-crash.xhtml:
      * mathml/empty-msubsup-crash.html:
      * mathml/fenced-whitespace-separators-crash.html:
      * mathml/msub-anonymous-child-render-crash.html:
      * mathml/msubsup-no-grandchild.xhtml:
      * mathml/msubsup-remove-children.xhtml:
      * mathml/munderover-remove-children.html:
      * mathml/operator-hijacks-fenced-node.xhtml:
      * mathml/wbr-in-mroot-crash.html:
      * media/W3C/w3cwrapper.js:
      (test):
      (async_test.t.done):
      (async_test):
      * media/adopt-node-crash.html:
      * media/audio-controls-do-not-fade-out.html:
      * media/audio-controls-rendering.html:
      * media/audio-delete-while-slider-thumb-clicked.html:
      * media/audio-delete-while-step-button-clicked.html:
      * media/audio-garbage-collect.html:
      * media/audio-no-installed-engines.html:
      * media/audio-only-video-intrinsic-size.html:
      * media/audio-repaint.html:
      * media/context-menu-actions.html:
      * media/controls-after-reload.html:
      * media/controls-drag-timebar.html:
      * media/controls-layout-direction.html:
      * media/controls-right-click-on-timebar.html:
      * media/controls-without-preload.html:
      * media/crash-closing-page-with-media-as-plugin-fallback.html:
      * media/fallback.html:
      * media/media-blocked-by-beforeload.html:
      * media/media-blocked-by-willsendrequest.html:
      * media/media-controls-clone-crash.html:
      * media/media-controls-invalid-url.html:
      * media/media-document-audio-repaint.html:
      * media/media-document-audio-size.html:
      * media/media-fullscreen.js:
      (canplaythrough):
      * media/media-volume-slider-rendered-normal.html:
      * media/no-auto-play-in-sandbox.html:
      * media/remove-from-document-before-load.html:
      * media/resources/foreignobject-media.svg:
      * media/restore-from-page-cache.html:
      * media/svg-as-image-with-media-blocked.html:
      * media/video-beforeload-remove-source.html:
      * media/video-canvas-alpha.html:
      * media/video-canvas.html-disabled:
      * media/video-click-dblckick-standalone.html:
      * media/video-controls-in-media-document.html:
      * media/video-controls-no-scripting.html:
      * media/video-controls-toggling.html:
      * media/video-controls-visible-audio-only.html:
      * media/video-controls-with-mutation-event-handler.html:
      * media/video-delay-load-event.html:
      * media/video-display-toggle.html:
      * media/video-document-types.html:
      * media/video-element-other-namespace-crash.html:
      * media/video-empty-source.html:
      * media/video-no-audio.html:
      * media/video-paint-test.js:
      (init.waitForMultipleEvents):
      (initAndPause.waitForMultipleEvents):
      (initAndPause):
      * media/video-plays-past-end-of-test.html:
      * media/video-poster-blocked-by-willsendrequest.html:
      * media/video-replaces-poster.html:
      * media/video-source-inserted.html:
      * media/video-test.js:
      (endTest):
      * media/video-volume-slider.html:
      * media/video-zoom.html:
      * mhtml/check_domain.mht:
      * mhtml/multi_frames.html_original:
      * mhtml/multi_frames_binary.mht:
      * mhtml/multi_frames_ie.mht:
      * mhtml/multi_frames_unmht.mht:
      * mhtml/page_with_css_and_js_ie.mht:
      * mhtml/page_with_css_and_js_unmht.mht:
      * mhtml/page_with_image.html_original:
      * mhtml/page_with_image_ie.mht:
      * mhtml/page_with_image_unmht.mht:
      * mhtml/simple_page.html_original:
      * mhtml/simple_page_ie.mht:
      * mhtml/simple_page_unmht.mht:
      * networkinformation/resources/event-after-navigation-new.html:
      * networkinformation/script-tests/event-after-navigation.js:
      * platform/chromium/media/video-frame-size-change.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08372332
  7. 05 Aug, 2011 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r92439. · 1af3b43d
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/92439
      https://bugs.webkit.org/show_bug.cgi?id=65753
      
      Caused 9 tests to fail on Qt (Requested by abarth on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-05
      
      Source/WebCore:
      
      * dom/Document.cpp:
      (WebCore::Document::implicitOpen):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::transitionToCommitted):
      (WebCore::FrameLoader::detachChildren):
      
      LayoutTests:
      
      * loader/document-destruction-within-unload-expected.txt: Removed.
      * loader/document-destruction-within-unload.html: Removed.
      * loader/resources/document-destruction-within-unload-iframe.html: Removed.
      * loader/resources/document-destruction-within-unload.svg: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1af3b43d
    • commit-queue@webkit.org's avatar
      Bad interaction between document destruction and unload events · 0fb5e568
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=64741
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-08-04
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Three different errors triggered by this test case. The case to
      consider is a subdocument with an onunload on an element, that
      destroys the parent document during the onunload. One fix was a
      lifetime issue fixed by a protecting RefPtr, and another was an
      additional cancel of event triggers. The main fix was that during the
      transition to commited state, the documentLoader is being replaced by
      the provisionalDocumentLoader. But, because during firing events in
      the subdocument the parent is destroyed, that subevent caused the
      provisionalDocumentLoader to be detached from its frame. By marking
      the page as being in committed state before the parent documentLoader
      is set, this is avoided.
      
      Test: loader/document-destruction-within-unload.html
      
      * dom/Document.cpp:
      (WebCore::Document::implicitOpen):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::transitionToCommitted):
      (WebCore::FrameLoader::detachChildren):
      
      LayoutTests:
      
      * loader/document-destruction-within-unload-expected.txt: Added.
      * loader/document-destruction-within-unload.html: Added.
      * loader/resources/document-destruction-within-unload-iframe.html: Added.
      * loader/resources/document-destruction-within-unload.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fb5e568
  8. 18 Jul, 2011 1 commit
    • yi.4.shen@nokia.com's avatar
      [Qt] ASSERTION FAILED in ResourceHandle::setDefersLoading causes crash · 78acf879
      yi.4.shen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=62808
      
      Source/WebCore:
      
      The assertion in ResourceHandle::setDefersLoading assumes asynchronous
      content delivery -- To resume a page, first, its main resource loader
      calls setDefersLoading to resume loading the main content; then all the
      sub-resource loaders calls setDefersLoading to resume sub-contents.
      However, since QNetworkReplyHandler delivers content synchronously,
      some new sub-resource loaders get created as soon as the main resource
      loader resumed, and all these new sub-resource loaders set their
      defersLoading flag to false. Then, the assertion fails for these new
      sub-resource loaders when calling setDefersLoading on them. As a fix,
      this path makes QNetworkReplyHandler deliver content asynchronously
      when its load type is set to SynchronousLoad.
      
      Reviewed by Benjamin Poulain.
      
      Test: loader/load-defer-resume-crash.html
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
      * platform/network/qt/QNetworkReplyHandler.h:
      (WebCore::QNetworkReplyHandler::setLoadingDeferred):
      
      LayoutTests:
      
      Added a test for the crash occurs when load deferring is turned off.
      
      Reviewed by Benjamin Poulain.
      
      * loader/load-defer-resume-crash-expected.txt: Added.
      * loader/load-defer-resume-crash.html: Added.
      * loader/resources/images.html: Added.
      * platform/chromium/test_expectations.txt: Skip this test since the LayoutTestController::setDefersLoading is not implemented for chromium.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78acf879
  9. 11 Jul, 2011 2 commits
    • yi.4.shen@nokia.com's avatar
      [Qt] Unreviewed rollout 90779 which may fail the layout-test. · 15bd53df
      yi.4.shen@nokia.com authored
      
      Source/WebCore:
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
      * platform/network/qt/QNetworkReplyHandler.h:
      
      LayoutTests:
      
      * loader/load-defer-resume-crash-expected.txt: Removed.
      * loader/load-defer-resume-crash.html: Removed.
      * loader/resources/images.html: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15bd53df
    • yi.4.shen@nokia.com's avatar
      [Qt] ASSERTION FAILED in ResourceHandle::setDefersLoading causes crash · 7fb530e0
      yi.4.shen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=62808
      
      Source/WebCore:
      
      Reviewed by Benjamin Poulain.
      
      The assertion in ResourceHandle::setDefersLoading assumes asynchronous
      content delivery -- To resume a page, first, its main resource loader
      calls setDefersLoading to resume loading the main content; then all the
      sub-resource loaders calls setDefersLoading to resume sub-contents.
      However, since QNetworkReplyHandler delivers content synchronously,
      some new sub-resource loaders get created as soon as the main resource
      loader resumed, and all these new sub-resource loaders set their
      defersLoading flag to false. Then, the assertion fails for these new
      sub-resource loaders when calling setDefersLoading on them. As a fix,
      this path makes QNetworkReplyHandler deliver content asynchronously.
      
      Test: loader/load-defer-resume-crash.html
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
      * platform/network/qt/QNetworkReplyHandler.h:
      
      LayoutTests:
      
      Added a test for the crash occurs when load deferring is turned off.
      
      Reviewed by Benjamin Poulain.
      
      * loader/load-defer-resume-crash-expected.txt: Added.
      * loader/load-defer-resume-crash.html: Added.
      * loader/resources/images.html: Added.
      * platform/chromium/test_expectations.txt: Skip this test since the LayoutTestController::setDefersLoading is not implemented for chromium.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fb530e0
  10. 01 Jul, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-07-01 Juan C. Montemayor <jmont@apple.com> · 3d5ab959
      commit-queue@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Lexer error messages are currently appalling
              https://bugs.webkit.org/show_bug.cgi?id=63340
      
              Updated expected test results.
      
              * fast/js/basic-strict-mode-expected.txt:
              * fast/js/kde/parse-expected.txt:
              * fast/js/kde/string-1-n-expected.txt:
              * fast/js/kde/string-2-n-expected.txt:
              * fast/js/numeric-escapes-in-string-literals-expected.txt:
              * fast/js/removing-Cf-characters-expected.txt:
              * fast/regex/non-pattern-characters-expected.txt:
              * http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * loader/reload-subresource-when-type-changes-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt:
      2011-07-01  Juan C. Montemayor  <jmont@apple.com>
      
              Reviewed by Oliver Hunt.
      
              Lexer error messages are currently appalling
              https://bugs.webkit.org/show_bug.cgi?id=63340
      
              Added error messages for the Lexer. These messages will be displayed
              instead of the lexer error messages from the parser that are currently
              shown.
      
              * parser/Lexer.cpp:
              (JSC::Lexer::getInvalidCharMessage):
              (JSC::Lexer::setCode):
              (JSC::Lexer::parseString):
              (JSC::Lexer::lex):
              (JSC::Lexer::clear):
              * parser/Lexer.h:
              (JSC::Lexer::getErrorMessage):
              (JSC::Lexer::setOffset):
              * parser/Parser.cpp:
              (JSC::Parser::parse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d5ab959
  11. 20 Jun, 2011 1 commit
    • oliver@apple.com's avatar
      2011-06-20 Juan C. Montemayor <jmont@apple.com> · 1b61eb07
      oliver@apple.com authored
              Reviewed by Oliver Hunt.
      
              No context for javascript parse errors.
              https://bugs.webkit.org/show_bug.cgi?id=62613
      
              Ran 'run-webkit-tests --reset' with 'fast/js/' and 'sputnik' to update
              those tests with the new parser error messages.
      
              The test 'fast/js/script-tests/parser-syntax-check.js' was fixed to
              not fail with the new parser error messages.
      
              * fast/dom/SelectorAPI/unknown-pseudo-expected.txt:
              * fast/dom/javascript-url-exception-isolation-expected.txt:
              * fast/encoding/meta-in-script-expected.txt:
              * fast/events/window-onerror5-expected.txt:
              * fast/events/window-onerror6-expected.txt:
              * fast/js/assign-expected.txt:
              * fast/js/basic-strict-mode-expected.txt:
              * fast/js/break-ASI-expected.txt:
              * fast/js/function-declaration-expected.txt:
              * fast/js/function-toString-object-literals-expected.txt:
              * fast/js/function-toString-parentheses-expected.txt:
              * fast/js/js-continue-break-restrictions-expected.txt:
              * fast/js/kde/garbage-n-expected.txt:
              * fast/js/kde/parse-expected.txt:
              * fast/js/kde/string-1-n-expected.txt:
              * fast/js/kde/string-2-n-expected.txt:
              * fast/js/mozilla/strict/12.14.1-expected.txt:
              * fast/js/mozilla/strict/13.1-expected.txt:
              * fast/js/mozilla/strict/regress-532254-expected.txt:
              * fast/js/no-semi-insertion-at-end-of-script-expected.txt:
              * fast/js/numeric-escapes-in-string-literals-expected.txt:
              * fast/js/object-extra-comma-expected.txt:
              * fast/js/object-literal-syntax-expected.txt:
              * fast/js/parser-xml-close-comment-expected.txt:
              * fast/js/postfix-syntax-expected.txt:
              * fast/js/regexp-compile-crash-expected.txt:
              * fast/js/removing-Cf-characters-expected.txt:
              * fast/js/reserved-words-as-property-expected.txt:
              * fast/js/script-tests/parser-syntax-check.js:
              (runTest):
              * fast/parser/entity-end-script-tag-expected.txt:
              * fast/regex/non-pattern-characters-expected.txt:
              * html5lib/runner-expected.txt:
              * http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * http/tests/workers/shared-worker-importScripts-expected.txt:
              * http/tests/workers/worker-importScripts-expected.txt:
              * inspector/console/console-log-syntax-error-expected.txt:
              * inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt:
              * java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
              * loader/reload-subresource-when-type-changes-expected.txt:
              * platform/mac/fast/tokenizer/002-expected.txt:
              * platform/mac/fast/tokenizer/external-script-document-write_2-expected.txt:
              * platform/mac/fast/tokenizer/script_extra_close-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt:
              * sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt:
              * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt:
              * sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt:
              * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.1_eval/S15.1.2.1_A2_T2-expected.txt:
              * sputnik/Conformance/15_Native_Objects/15.3_Function/15.3.4/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1-expected.txt:
      2011-06-20  Juan C. Montemayor  <jmont@apple.com>
      
              Reviewed by Oliver Hunt.
      
              No context for javascript parse errors.
              https://bugs.webkit.org/show_bug.cgi?id=62613
      
              Parse errors now show more details like:
              "Unexpected token: ]"
              or
              "Expected token: while"
      
              For reserved names, numbers, indentifiers, strings, lexer errors,
              and EOFs, the following error messages are printed:
      
              "Use of reserved word: super"
              "Unexpected number: 42"
              "Unexpected identifier: "
              "Unexpected string: "foobar""
              "Invalid token character sequence: \u4023"
              "Unexpected EOF"
      
              * parser/JSParser.cpp:
              (JSC::JSParser::consume):
              (JSC::JSParser::getToken):
              (JSC::JSParser::getTokenName):
              (JSC::JSParser::updateErrorMessageSpecialCase):
              (JSC::JSParser::updateErrorMessage):
              (JSC::JSParser::updateErrorWithNameAndMessage):
              (JSC::jsParse):
              (JSC::JSParser::JSParser):
              (JSC::JSParser::parseProgram):
              (JSC::JSParser::parseVarDeclarationList):
              (JSC::JSParser::parseForStatement):
              (JSC::JSParser::parseBreakStatement):
              (JSC::JSParser::parseContinueStatement):
              (JSC::JSParser::parseWithStatement):
              (JSC::JSParser::parseTryStatement):
              (JSC::JSParser::parseStatement):
              (JSC::JSParser::parseFormalParameters):
              (JSC::JSParser::parseFunctionInfo):
              (JSC::JSParser::parseAssignmentExpression):
              (JSC::JSParser::parsePrimaryExpression):
              (JSC::JSParser::parseMemberExpression):
              (JSC::JSParser::parseUnaryExpression):
              * parser/JSParser.h:
              * parser/Lexer.cpp:
              (JSC::Lexer::lex):
              * parser/Parser.cpp:
              (JSC::Parser::parse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b61eb07
  12. 17 May, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-05-16 Ian Henderson <ianh@apple.com> · ef45a5d2
      commit-queue@webkit.org authored
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              * loader/navigation-while-deferring-loads-expected.txt: Added.
              * loader/navigation-while-deferring-loads.html: Added.
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-05-16  Ian Henderson  <ianh@apple.com>
      
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              If goToItem is called while loading is deferred, save the arguments
              and try again later instead of doing nothing.
      
              Test: loader/navigation-while-deferring-loads.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::setDefersLoading):
              Pipe the "defersLoading" state into HistoryController.
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::HistoryController):
              (WebCore::HistoryController::goToItem):
              Save the HistoryItem and FrameLoadType if loading is deferred.
              (WebCore::HistoryController::setDefersLoading):
              If we have a saved HistoryItem after resuming, try going to it.
              * loader/HistoryController.h:
              * page/Page.cpp:
              (WebCore::Page::goToItem):
              No longer bail early if loading is deferred, since HistoryController
              now handles this case.
      2011-05-16  Ian Henderson  <ianh@apple.com>
      
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              Add setDefersLoading and goBack methods to LayoutTestController.  We
              need to use goBack() instead of history.back() because the latter goes
              through NavigationScheduler, hence doesn't exhibit the bug.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (goBackCallback):
              (setDefersLoadingCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef45a5d2
  13. 12 Apr, 2011 1 commit
  14. 29 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-29 Gavin Peters <gavinp@chromium.org> · 0bc7ea92
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Web page can prevent WebKit from loading subresources on other
              pages (cache poisoning)
              https://bugs.webkit.org/show_bug.cgi?id=35404
      
              * http/tests/misc/unloadable-script-expected.txt: Renamed from LayoutTests/fast/loader/unloadable-script-expected.txt.
              * http/tests/misc/unloadable-script.html: Renamed from LayoutTests/fast/loader/unloadable-script.html.
              * loader/reload-subresource-when-type-changes-expected.txt: Added.
              * loader/reload-subresource-when-type-changes.html: Added.
              * loader/resources/image1.png: Added.
              * loader/resources/image2.png: Added.
              * loader/resources/reload-subresource-when-type-changes.js: Added.
      2010-11-29  Gavin Peters  <gavinp@chromium.org>
      
              Reviewed by Adam Barth.
      
              Web page can prevent WebKit from loading subresources on other
              pages (cache poisoning)
              https://bugs.webkit.org/show_bug.cgi?id=35404
      
              Tests: http/tests/misc/unloadable-script.html
                     loader/reload-subresource-when-type-changes.html
      
              * loader/cache/MemoryCache.cpp:
              (WebCore::MemoryCache::requestResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bc7ea92
  15. 24 Aug, 2009 1 commit