⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 227225 in webkit


Ignore:
Timestamp:
Jan 19, 2018, 11:54:03 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

AppCache: Log a Deprecation warning to the Console when AppCache is used
https://bugs.webkit.org/show_bug.cgi?id=181778

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2018-01-19
Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

  • web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt:
  • web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt:
  • web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt:
  • web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt:
  • web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt:
  • web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt:
  • web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt:

Source/WebCore:

  • html/HTMLHtmlElement.cpp:

(WebCore::HTMLHtmlElement::insertedByParser):

LayoutTests:

  • http/tests/appcache/404-manifest-expected.txt:
  • http/tests/appcache/404-resource-expected.txt:
  • http/tests/appcache/404-resource-with-slow-main-resource-expected.txt:
  • http/tests/appcache/abort-cache-onchecking-expected.txt:
  • http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt:
  • http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt:
  • http/tests/appcache/abort-cache-ondownloading-expected.txt:
  • http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt:
  • http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt:
  • http/tests/appcache/abort-cache-onprogress-expected.txt:
  • http/tests/appcache/access-via-redirect-expected.txt:
  • http/tests/appcache/crash-when-navigating-away-then-back-expected.txt:
  • http/tests/appcache/credential-url-expected.txt:
  • http/tests/appcache/cyrillic-uri-expected.txt:
  • http/tests/appcache/decide-navigation-policy-after-delay-expected.txt:
  • http/tests/appcache/deferred-events-delete-while-raising-expected.txt:
  • http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt:
  • http/tests/appcache/deferred-events-expected.txt:
  • http/tests/appcache/different-https-origin-resource-main-expected.txt:
  • http/tests/appcache/different-origin-manifest-expected.txt:
  • http/tests/appcache/different-scheme-expected.txt:
  • http/tests/appcache/document-write-html-element-2-expected.txt:
  • http/tests/appcache/empty-manifest-expected.txt:
  • http/tests/appcache/fail-on-update-2-expected.txt:
  • http/tests/appcache/fail-on-update-expected.txt:
  • http/tests/appcache/fallback-expected.txt:
  • http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt:
  • http/tests/appcache/foreign-fallback-expected.txt:
  • http/tests/appcache/foreign-iframe-main-expected.txt:
  • http/tests/appcache/history-test-expected.txt:
  • http/tests/appcache/idempotent-update-expected.txt:
  • http/tests/appcache/identifier-test-expected.txt:
  • http/tests/appcache/interrupted-update-expected.txt:
  • http/tests/appcache/local-content-expected.txt:
  • http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt:
  • http/tests/appcache/main-resource-hash-expected.txt:
  • http/tests/appcache/main-resource-redirect-expected.txt:
  • http/tests/appcache/manifest-containing-itself-expected.txt:
  • http/tests/appcache/manifest-parsing-expected.txt:
  • http/tests/appcache/manifest-redirect-2-expected.txt:
  • http/tests/appcache/manifest-redirect-expected.txt:
  • http/tests/appcache/manifest-with-empty-file-expected.txt:
  • http/tests/appcache/max-size-expected.txt:
  • http/tests/appcache/multi-fallback-expected.txt:
  • http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt:
  • http/tests/appcache/non-html-expected.txt:
  • http/tests/appcache/offline-access-expected.txt:
  • http/tests/appcache/online-fallback-layering-expected.txt:
  • http/tests/appcache/online-whitelist-expected.txt:
  • http/tests/appcache/origin-delete-expected.txt:
  • http/tests/appcache/origin-quota-continued-download-expected.txt:
  • http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt:
  • http/tests/appcache/origin-quota-expected.txt:
  • http/tests/appcache/origin-usage-expected.txt:
  • http/tests/appcache/origins-with-appcache-expected.txt:
  • http/tests/appcache/progress-counter-expected.txt:
  • http/tests/appcache/reload-expected.txt:
  • http/tests/appcache/remove-cache-expected.txt:
  • http/tests/appcache/resource-redirect-2-expected.txt:
  • http/tests/appcache/resource-redirect-expected.txt:
  • http/tests/appcache/simple-expected.txt:
  • http/tests/appcache/simple-video-async-expected.txt:
  • http/tests/appcache/simple-video-sync-expected.txt:
  • http/tests/appcache/top-frame-1-expected.txt:
  • http/tests/appcache/top-frame-2-expected.txt:
  • http/tests/appcache/top-frame-3-expected.txt:
  • http/tests/appcache/top-frame-4-expected.txt:
  • http/tests/appcache/update-cache-expected.txt:
  • http/tests/appcache/video-expected.txt:
  • http/tests/appcache/whitelist-wildcard-expected.txt:
  • http/tests/appcache/wrong-content-type-expected.txt:
  • http/tests/appcache/wrong-signature-2-expected.txt:
  • http/tests/appcache/wrong-signature-expected.txt:
  • http/tests/appcache/x-frame-options-prevents-framing-expected.txt:
  • http/tests/appcache/xhr-foreign-resource-expected.txt:
  • http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt:
  • http/tests/security/appcache-switching-private-browsing-expected.txt:
  • http/tests/security/cross-origin-appcache-allowed-expected.txt:
  • http/tests/security/cross-origin-appcache-expected.txt:
  • http/tests/security/same-origin-appcache-blocked-expected.txt:
  • http/tests/ssl/upgrade-origin-usage-expected.txt:
Location:
trunk
Files:
94 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r227223 r227225  
     12018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        AppCache: Log a Deprecation warning to the Console when AppCache is used
     4        https://bugs.webkit.org/show_bug.cgi?id=181778
     5
     6        Reviewed by Alex Christensen.
     7
     8        * http/tests/appcache/404-manifest-expected.txt:
     9        * http/tests/appcache/404-resource-expected.txt:
     10        * http/tests/appcache/404-resource-with-slow-main-resource-expected.txt:
     11        * http/tests/appcache/abort-cache-onchecking-expected.txt:
     12        * http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt:
     13        * http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt:
     14        * http/tests/appcache/abort-cache-ondownloading-expected.txt:
     15        * http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt:
     16        * http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt:
     17        * http/tests/appcache/abort-cache-onprogress-expected.txt:
     18        * http/tests/appcache/access-via-redirect-expected.txt:
     19        * http/tests/appcache/crash-when-navigating-away-then-back-expected.txt:
     20        * http/tests/appcache/credential-url-expected.txt:
     21        * http/tests/appcache/cyrillic-uri-expected.txt:
     22        * http/tests/appcache/decide-navigation-policy-after-delay-expected.txt:
     23        * http/tests/appcache/deferred-events-delete-while-raising-expected.txt:
     24        * http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt:
     25        * http/tests/appcache/deferred-events-expected.txt:
     26        * http/tests/appcache/different-https-origin-resource-main-expected.txt:
     27        * http/tests/appcache/different-origin-manifest-expected.txt:
     28        * http/tests/appcache/different-scheme-expected.txt:
     29        * http/tests/appcache/document-write-html-element-2-expected.txt:
     30        * http/tests/appcache/empty-manifest-expected.txt:
     31        * http/tests/appcache/fail-on-update-2-expected.txt:
     32        * http/tests/appcache/fail-on-update-expected.txt:
     33        * http/tests/appcache/fallback-expected.txt:
     34        * http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt:
     35        * http/tests/appcache/foreign-fallback-expected.txt:
     36        * http/tests/appcache/foreign-iframe-main-expected.txt:
     37        * http/tests/appcache/history-test-expected.txt:
     38        * http/tests/appcache/idempotent-update-expected.txt:
     39        * http/tests/appcache/identifier-test-expected.txt:
     40        * http/tests/appcache/interrupted-update-expected.txt:
     41        * http/tests/appcache/local-content-expected.txt:
     42        * http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt:
     43        * http/tests/appcache/main-resource-hash-expected.txt:
     44        * http/tests/appcache/main-resource-redirect-expected.txt:
     45        * http/tests/appcache/manifest-containing-itself-expected.txt:
     46        * http/tests/appcache/manifest-parsing-expected.txt:
     47        * http/tests/appcache/manifest-redirect-2-expected.txt:
     48        * http/tests/appcache/manifest-redirect-expected.txt:
     49        * http/tests/appcache/manifest-with-empty-file-expected.txt:
     50        * http/tests/appcache/max-size-expected.txt:
     51        * http/tests/appcache/multi-fallback-expected.txt:
     52        * http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt:
     53        * http/tests/appcache/non-html-expected.txt:
     54        * http/tests/appcache/offline-access-expected.txt:
     55        * http/tests/appcache/online-fallback-layering-expected.txt:
     56        * http/tests/appcache/online-whitelist-expected.txt:
     57        * http/tests/appcache/origin-delete-expected.txt:
     58        * http/tests/appcache/origin-quota-continued-download-expected.txt:
     59        * http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt:
     60        * http/tests/appcache/origin-quota-expected.txt:
     61        * http/tests/appcache/origin-usage-expected.txt:
     62        * http/tests/appcache/origins-with-appcache-expected.txt:
     63        * http/tests/appcache/progress-counter-expected.txt:
     64        * http/tests/appcache/reload-expected.txt:
     65        * http/tests/appcache/remove-cache-expected.txt:
     66        * http/tests/appcache/resource-redirect-2-expected.txt:
     67        * http/tests/appcache/resource-redirect-expected.txt:
     68        * http/tests/appcache/simple-expected.txt:
     69        * http/tests/appcache/simple-video-async-expected.txt:
     70        * http/tests/appcache/simple-video-sync-expected.txt:
     71        * http/tests/appcache/top-frame-1-expected.txt:
     72        * http/tests/appcache/top-frame-2-expected.txt:
     73        * http/tests/appcache/top-frame-3-expected.txt:
     74        * http/tests/appcache/top-frame-4-expected.txt:
     75        * http/tests/appcache/update-cache-expected.txt:
     76        * http/tests/appcache/video-expected.txt:
     77        * http/tests/appcache/whitelist-wildcard-expected.txt:
     78        * http/tests/appcache/wrong-content-type-expected.txt:
     79        * http/tests/appcache/wrong-signature-2-expected.txt:
     80        * http/tests/appcache/wrong-signature-expected.txt:
     81        * http/tests/appcache/x-frame-options-prevents-framing-expected.txt:
     82        * http/tests/appcache/xhr-foreign-resource-expected.txt:
     83        * http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt:
     84        * http/tests/security/appcache-switching-private-browsing-expected.txt:
     85        * http/tests/security/cross-origin-appcache-allowed-expected.txt:
     86        * http/tests/security/cross-origin-appcache-expected.txt:
     87        * http/tests/security/same-origin-appcache-blocked-expected.txt:
     88        * http/tests/ssl/upgrade-origin-usage-expected.txt:
     89
    1902018-01-19  John Wilander  <wilander@apple.com>
    291
  • trunk/LayoutTests/http/tests/appcache/404-manifest-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
    23Test that subresources can be loaded if manifest is not available. Should say SUCCESS.
  • trunk/LayoutTests/http/tests/appcache/404-resource-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/does-not-exist.txt could not be fetched.
    23Test that a missing explicit resource makes caching fail.
  • trunk/LayoutTests/http/tests/appcache/404-resource-with-slow-main-resource-expected.txt

    r178937 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/does-not-exist.txt could not be fetched.
    23This tests that a manifest that contains a missing file will not crash the browser even if the main resource keeps loading after the error occurs.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
    23This tests that download process was aborted after checking event.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
    23This tests that download process was aborted after checking event and before update failed.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
    23This tests that download process was aborted after checking event and before update failed.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
    23This tests that download process was aborted after downloading event.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
    23This tests that download process was not aborted after downloading event since manifest was not found.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
    23This tests that download process was aborted after downloading event although resource was not found.
  • trunk/LayoutTests/http/tests/appcache/abort-cache-onprogress-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 15: Application Cache download process was aborted.
    23This tests that download process was aborted after progress event.
  • trunk/LayoutTests/http/tests/appcache/access-via-redirect-expected.txt

    r41178 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the start of redirect chain doesn't get into an application cache if the end of the chain has a manifest.
    23
  • trunk/LayoutTests/http/tests/appcache/auth-expected.txt

    r155253 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that appcache works with authentication. Should say SUCCESS:
    23
  • trunk/LayoutTests/http/tests/appcache/crash-when-navigating-away-then-back-expected.txt

    r34343 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This tests that loading a page with a manifest, navigating away from the page, and then back does not cause a crash.
    24SUCCESS
  • trunk/LayoutTests/http/tests/appcache/credential-url-expected.txt

    r58219 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that application cache doesn't block loading resources from the same origin with credential.
    23
  • trunk/LayoutTests/http/tests/appcache/cyrillic-uri-expected.txt

    r39883 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     4CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    15Test that non-ASCII URIs work correctly in cache manifests.
    26
  • trunk/LayoutTests/http/tests/appcache/decide-navigation-policy-after-delay-expected.txt

    r190041 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13
  • trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    24CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
    35Test the destruction of an iframe while deferred events are being raised does not crash the system.
  • trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    24CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
    35Test the destruction of an iframe while deferred events are being raised does not crash the system.
  • trunk/LayoutTests/http/tests/appcache/deferred-events-expected.txt

    r187185 r227225  
    1 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    22Test that AppicationCache events are deferred until after onload has been fired.
    33SUCCESS
  • trunk/LayoutTests/http/tests/appcache/different-https-origin-resource-main-expected.txt

    r58433 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a resource from a different https origin is not cached.
    23
  • trunk/LayoutTests/http/tests/appcache/different-origin-manifest-expected.txt

    r43631 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a different origin manifest is completely ignored.
    23
  • trunk/LayoutTests/http/tests/appcache/different-scheme-expected.txt

    r47735 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that application cache doesn't block loading resources with different schemes.
    23
  • trunk/LayoutTests/http/tests/appcache/document-write-html-element-2-expected.txt

    r69026 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12SUCCESS, no assertion failure
    23applicationCache.status == 1
  • trunk/LayoutTests/http/tests/appcache/empty-manifest-expected.txt

    r33061 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the cached event gets sent even if the manifest is empty.
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/fail-on-update-2-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     4CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     5CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     6CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    27SUCCESS: No crash.
  • trunk/LayoutTests/http/tests/appcache/fail-on-update-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    24SUCCESS: No crash.
  • trunk/LayoutTests/http/tests/appcache/fallback-expected.txt

    r39546 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test application cache fallback entries.
    23
  • trunk/LayoutTests/http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt

    r219272 r227225  
     1CONSOLE MESSAGE: line 3: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Tests that we do not load the fallback entry when the manifest does not have Content-Type text/cached-manifest and the fallback namespace is outside the manifest path.
    23
  • trunk/LayoutTests/http/tests/appcache/foreign-fallback-expected.txt

    r68896 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test for bug 44406: Application Cache crash when a fallback document has a manifest URL.
    24
  • trunk/LayoutTests/http/tests/appcache/foreign-iframe-main-expected.txt

    r62957 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test for <rdar://problem/6284708> AppCache crashes in ApplicationCacheResource::addType().
    24
  • trunk/LayoutTests/http/tests/appcache/history-test-expected.txt

    r155099 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test whether window.history.back() is supported in application cache.
    24
  • trunk/LayoutTests/http/tests/appcache/idempotent-update-expected.txt

    r40354 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test what applicationCache.update() does if update is already in progess.
    23
  • trunk/LayoutTests/http/tests/appcache/identifier-test-expected.txt

    r187752 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This page opens a test page in a new window, and that page should get app cached.
    24This page then opens a different test page, that redirects to the first, which should then load from the app cache.
  • trunk/LayoutTests/http/tests/appcache/interrupted-update-expected.txt

    r86478 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: line 37: Reloading...
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    24Test that an application cache update works again after interruption.
    35
  • trunk/LayoutTests/http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt

    r118631 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This test loading the document itself with Application Cache, and deferred load, does not crash WebKit. The most reliable way to reproduce is in Debug where you hit assertions.
    24
  • trunk/LayoutTests/http/tests/appcache/local-content-expected.txt

    r178527 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13CONSOLE MESSAGE: line 28: Not allowed to load local resource: stdio.h
    24Test that documents loaded from application cache don't get access to local resources accidentally.
  • trunk/LayoutTests/http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt

    r151099 r227225  
     1CONSOLE MESSAGE: line 3: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12SUCCESS
  • trunk/LayoutTests/http/tests/appcache/main-resource-hash-expected.txt

    r45848 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test that offline applications' main resources are not affected by URL hashes.
    24
  • trunk/LayoutTests/http/tests/appcache/main-resource-redirect-expected.txt

    r69226 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test that application cache is consulted again after a redirect response.
    24
  • trunk/LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt

    r33067 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that a manifest can contain itself as a resource.
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/manifest-parsing-expected.txt

    r39492 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test application cache manifest parsing.
    23
  • trunk/LayoutTests/http/tests/appcache/manifest-redirect-2-expected.txt

    r40368 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a redirect makes resource caching fail.
    23
  • trunk/LayoutTests/http/tests/appcache/manifest-redirect-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be fetched, because a redirection was attempted.
    23Test that a redirect makes resource caching fail.
  • trunk/LayoutTests/http/tests/appcache/manifest-with-empty-file-expected.txt

    r33463 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that a manifest that contains an empty file will not crash the browser.
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/max-size-expected.txt

    r46456 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Cache a manifest that contains a resource that is too large to fit. The layout test controller sets a maximum size of 10KB for the application cache database file.
    23
  • trunk/LayoutTests/http/tests/appcache/multi-fallback-expected.txt

    r127922 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test application cache fallback entries with multiple candidates.
    23
  • trunk/LayoutTests/http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt

    r33378 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that navigating away while a cache is loading does not crash.
    23SUCCESS - did not crash
  • trunk/LayoutTests/http/tests/appcache/non-html-expected.txt

    r40401 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that non-HTML main resources work with application cache correctly.
    23
  • trunk/LayoutTests/http/tests/appcache/offline-access-expected.txt

    r40354 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    14Test that offline applications work when there is no network access (simulated).
    25
  • trunk/LayoutTests/http/tests/appcache/online-fallback-layering-expected.txt

    r80036 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a network namespace trumps a fallback namespace where they overlap.
    23
  • trunk/LayoutTests/http/tests/appcache/online-whitelist-expected.txt

    r39548 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test online whitelist functionality. Should say PASS:
    23
  • trunk/LayoutTests/http/tests/appcache/origin-delete-expected.txt

    r81557 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This test checks that application cache groups correctly become obsolete after application cache is deletion for a specific origin.
    23
  • trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-expected.txt

    r90946 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~10000
    23This test checks that per-origin application cache quota don't require a refresh to complete successfully.
  • trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt

    r90946 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~30000
    24This test checks that per-origin application cache quota works correctly with multiple manifests/caches per-origin.
  • trunk/LayoutTests/http/tests/appcache/origin-quota-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~30000
    24CONSOLE MESSAGE: Application Cache update failed, because size quota was exceeded.
     5CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    36This test checks that per-origin application cache quotas are enforced.
    47
  • trunk/LayoutTests/http/tests/appcache/origin-usage-expected.txt

    r94436 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This test checks that per-origin usage is reported correctly by loading two iframes which use ~15K each and querying origin usage.
    24
  • trunk/LayoutTests/http/tests/appcache/origins-with-appcache-expected.txt

    r81733 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This test verifies that ApplicationCacheStorage can report the set of origins that have an application cache. First, it tests that no origins are reported after all application caches are removed. Then, it loads an iframe that places a PNG into an application cache for the DumpRenderTree origin, and tests that this origin is now reported to have application cache.
    23
  • trunk/LayoutTests/http/tests/appcache/progress-counter-expected.txt

    r62957 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the lengthComputable / loaded / total properties of the progress event are set correctly.
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/reload-expected.txt

    r39762 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13Test that the manifest is picked correctly when reloading.
    24
  • trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt

    r187185 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    14CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     5CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    26CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
     7CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    38Test that a 404 response for manifest results in cache removal.
    49
  • trunk/LayoutTests/http/tests/appcache/resource-redirect-2-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/resource-redirect-2.php could not be fetched.
    23Test that a redirect makes resource caching fail.
  • trunk/LayoutTests/http/tests/appcache/resource-redirect-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/resource-redirect.php was redirected.
    23Test that a redirect makes resource caching fail.
  • trunk/LayoutTests/http/tests/appcache/simple-expected.txt

    r33059 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the application cache works by first loading a file that does not exist in the cache (to verify that a cache has been associated) and then loads a file that is in the cache
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/simple-video-async-expected.txt

    r185040 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the application cache works for video retrieved by async XMLHttpRequest
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/simple-video-sync-expected.txt

    r183537 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This tests that the application cache works for video retrieved by sync XMLHttpRequest
    23SUCCESS
  • trunk/LayoutTests/http/tests/appcache/top-frame-1-expected.txt

    r39477 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a subframe without manifest doesn't pick an application cache from parent frame (as long as no relevant cache contains its resource).
    23
  • trunk/LayoutTests/http/tests/appcache/top-frame-2-expected.txt

    r55816 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a subframe without manifest gets picked by a relevant application cache that contains its resource.
    23
  • trunk/LayoutTests/http/tests/appcache/top-frame-3-expected.txt

    r55858 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    14Test that a subframe with manifest that matches top frame manifest works correctly.
    25
  • trunk/LayoutTests/http/tests/appcache/top-frame-4-expected.txt

    r55858 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    14Test that a subframe with manifest that matches top frame manifest works correctly.
    25
  • trunk/LayoutTests/http/tests/appcache/update-cache-expected.txt

    r39891 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test a simple offline application self-update process. Should print a series of messages followed with DONE:
    23
  • trunk/LayoutTests/http/tests/appcache/video-expected.txt

    r158743 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23Test that <video> can be loaded from the application cache.
  • trunk/LayoutTests/http/tests/appcache/whitelist-wildcard-expected.txt

    r47512 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that online whitelist wildcard flag is implemented.
    23
  • trunk/LayoutTests/http/tests/appcache/wrong-content-type-expected.txt

    r100541 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12Test that a manifest served with an arbitrary content-type is OK.
    23
  • trunk/LayoutTests/http/tests/appcache/wrong-signature-2-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?
    23Test that a manifest served with a wrong signature isn't treated as such.
  • trunk/LayoutTests/http/tests/appcache/wrong-signature-expected.txt

    r104810 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?
    23Test that a manifest served with a wrong signature isn't treated as such.
  • trunk/LayoutTests/http/tests/appcache/x-frame-options-prevents-framing-expected.txt

    r184598 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12CONSOLE MESSAGE: Refused to display 'http://127.0.0.1:8000/appcache/x-frame-options-prevents-framing.php' in a frame because it set 'X-Frame-Options' to 'deny'.
    23The following iframe is a document that was cached in the application cache.
  • trunk/LayoutTests/http/tests/appcache/xhr-foreign-resource-expected.txt

    r39884 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     3CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     4CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    15Test that a resource marked as foreign can still be loaded via XHR.
    26
  • trunk/LayoutTests/http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt

    r188988 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This is a regression test for webkit.org/b/147651. The test passes if it does not crash.
    24
  • trunk/LayoutTests/http/tests/security/appcache-switching-private-browsing-expected.txt

    r163823 r227225  
    11CONSOLE MESSAGE: line 8: Test started
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    23CONSOLE MESSAGE: line 18: PASS
    34This test passes if the application cache does not load while in private browsing
  • trunk/LayoutTests/http/tests/security/cross-origin-appcache-allowed-expected.txt

    r146115 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This iframe should have a cache:
    24
  • trunk/LayoutTests/http/tests/security/cross-origin-appcache-expected.txt

    r146115 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This iframe should not have a cache:
    24
  • trunk/LayoutTests/http/tests/security/same-origin-appcache-blocked-expected.txt

    r146115 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12This iframe should not have a cache:
    23
  • trunk/LayoutTests/http/tests/ssl/upgrade-origin-usage-expected.txt

    r201753 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
     2CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    13This test checks that per-origin usage is reported correctly when upgrading insecure load requests by loading two iframes which use ~15K each and querying origin usage.
    24
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r227054 r227225  
     12018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        AppCache: Log a Deprecation warning to the Console when AppCache is used
     4        https://bugs.webkit.org/show_bug.cgi?id=181778
     5
     6        Reviewed by Alex Christensen.
     7
     8        * web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt:
     9        * web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt:
     10        * web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt:
     11        * web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt:
     12        * web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt:
     13        * web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt:
     14        * web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt:
     15
    1162018-01-17  Ali Juma  <ajuma@chromium.org>
    217
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt

    r222307 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS Dedicated worker of the cached script
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt

    r204844 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS cached event test
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt

    r204844 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS checking event test
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt

    r204844 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS noupdate event test
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt

    r204844 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS progress event test
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt

    r204844 r227225  
     1CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23PASS url check test
  • trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt

    r224218 r227225  
     1CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
    12
    23FAIL serviceworkers take priority over appcaches assert_unreached: unexpected rejection: assert_false: but serviceworkers should take priority expected false got true Reached unreachable code
  • trunk/Source/WebCore/ChangeLog

    r227221 r227225  
     12018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        AppCache: Log a Deprecation warning to the Console when AppCache is used
     4        https://bugs.webkit.org/show_bug.cgi?id=181778
     5
     6        Reviewed by Alex Christensen.
     7
     8        * html/HTMLHtmlElement.cpp:
     9        (WebCore::HTMLHtmlElement::insertedByParser):
     10
    1112018-01-19  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/html/HTMLHtmlElement.cpp

    r224390 r227225  
    7474    if (manifest.isEmpty())
    7575        documentLoader->applicationCacheHost().selectCacheWithoutManifest();
    76     else
     76    else {
     77        document().addConsoleMessage(MessageSource::AppCache, MessageLevel::Warning, ASCIILiteral("ApplicationCache is deprecated. Please use ServiceWorkers instead."));
    7778        documentLoader->applicationCacheHost().selectCacheWithManifest(document().completeURL(manifest));
     79    }
    7880}
    7981
Note: See TracChangeset for help on using the changeset viewer.