Title: [227225] trunk
Revision
227225
Author
[email protected]
Date
2018-01-19 11:54:03 -0800 (Fri, 19 Jan 2018)

Log 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 <[email protected]> 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:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (227224 => 227225)


--- trunk/LayoutTests/ChangeLog	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/ChangeLog	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,92 @@
+2018-01-19  Joseph Pecoraro  <[email protected]>
+
+        AppCache: Log a Deprecation warning to the Console when AppCache is used
+        https://bugs.webkit.org/show_bug.cgi?id=181778
+
+        Reviewed by Alex Christensen.
+
+        * 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:
+
 2018-01-19  John Wilander  <[email protected]>
 
         Resource Load Statistics: Implement callback support for removal of WebsiteDataType::ResourceLoadStatistics

Modified: trunk/LayoutTests/http/tests/appcache/404-manifest-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/404-manifest-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/404-manifest-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
 Test that subresources can be loaded if manifest is not available. Should say SUCCESS.
 

Modified: trunk/LayoutTests/http/tests/appcache/404-resource-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/404-resource-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/404-resource-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/does-not-exist.txt could not be fetched.
 Test that a missing explicit resource makes caching fail.
 

Modified: trunk/LayoutTests/http/tests/appcache/404-resource-with-slow-main-resource-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/404-resource-with-slow-main-resource-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/404-resource-with-slow-main-resource-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/does-not-exist.txt could not be fetched.
 This 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.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
 This tests that download process was aborted after checking event.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
 This tests that download process was aborted after checking event and before update failed.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
 This tests that download process was aborted after checking event and before update failed.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
 This tests that download process was aborted after downloading event.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
 This tests that download process was not aborted after downloading event since manifest was not found.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 13: Application Cache download process was aborted.
 This tests that download process was aborted after downloading event although resource was not found.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/abort-cache-onprogress-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/abort-cache-onprogress-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/abort-cache-onprogress-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 15: Application Cache download process was aborted.
 This tests that download process was aborted after progress event.
 loading resource: 0 / 4 loading resource: 1 / 4 loading resource: 2 / 4 loading resource: 3 / 4 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/access-via-redirect-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/access-via-redirect-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/access-via-redirect-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that the start of redirect chain doesn't get into an application cache if the end of the chain has a manifest.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/auth-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/auth-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/auth-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that appcache works with authentication. Should say SUCCESS:
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/crash-when-navigating-away-then-back-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/crash-when-navigating-away-then-back-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/crash-when-navigating-away-then-back-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that loading a page with a manifest, navigating away from the page, and then back does not cause a crash.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/credential-url-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/credential-url-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/credential-url-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that application cache doesn't block loading resources from the same origin with credential.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/cyrillic-uri-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/cyrillic-uri-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/cyrillic-uri-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,7 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that non-ASCII URIs work correctly in cache manifests.
 
 Should be a series of PASS messages, followed with DONE.

Modified: trunk/LayoutTests/http/tests/appcache/decide-navigation-policy-after-delay-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/decide-navigation-policy-after-delay-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/decide-navigation-policy-after-delay-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1 +1,3 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 

Modified: trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,4 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
 Test the destruction of an iframe while deferred events are being raised does not crash the system.
 

Modified: trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,4 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
 Test the destruction of an iframe while deferred events are being raised does not crash the system.
 

Modified: trunk/LayoutTests/http/tests/appcache/deferred-events-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/deferred-events-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/deferred-events-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,3 @@
-CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that AppicationCache events are deferred until after onload has been fired.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/different-https-origin-resource-main-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/different-https-origin-resource-main-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/different-https-origin-resource-main-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a resource from a different https origin is not cached.
 
 PASS

Modified: trunk/LayoutTests/http/tests/appcache/different-origin-manifest-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/different-origin-manifest-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/different-origin-manifest-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a different origin manifest is completely ignored.
 
 PASS

Modified: trunk/LayoutTests/http/tests/appcache/different-scheme-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/different-scheme-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/different-scheme-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that application cache doesn't block loading resources with different schemes.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/document-write-html-element-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/document-write-html-element-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/document-write-html-element-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 SUCCESS, no assertion failure
 applicationCache.status == 1

Modified: trunk/LayoutTests/http/tests/appcache/empty-manifest-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/empty-manifest-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/empty-manifest-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that the cached event gets sent even if the manifest is empty.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/fail-on-update-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/fail-on-update-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/fail-on-update-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,7 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 SUCCESS: No crash.

Modified: trunk/LayoutTests/http/tests/appcache/fail-on-update-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/fail-on-update-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/fail-on-update-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 SUCCESS: No crash.

Modified: trunk/LayoutTests/http/tests/appcache/fallback-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/fallback-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/fallback-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test application cache fallback entries.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 3: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Tests 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.
 
 Fallback namespace under the manifest path:

Modified: trunk/LayoutTests/http/tests/appcache/foreign-fallback-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/foreign-fallback-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/foreign-fallback-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test for bug 44406: Application Cache crash when a fallback document has a manifest URL.
 
 PASS

Modified: trunk/LayoutTests/http/tests/appcache/foreign-iframe-main-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/foreign-iframe-main-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/foreign-iframe-main-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test for <rdar://problem/6284708> AppCache crashes in ApplicationCacheResource::addType().
 
 checking

Modified: trunk/LayoutTests/http/tests/appcache/history-test-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/history-test-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/history-test-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test whether window.history.back() is supported in application cache.
 
 PASS: Returning to the original page.

Modified: trunk/LayoutTests/http/tests/appcache/idempotent-update-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/idempotent-update-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/idempotent-update-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test what applicationCache.update() does if update is already in progess.
 
 Should say DONE, with no failures:

Modified: trunk/LayoutTests/http/tests/appcache/identifier-test-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/identifier-test-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/identifier-test-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This page opens a test page in a new window, and that page should get app cached.
 This page then opens a different test page, that redirects to the first, which should then load from the app cache.
 If it doesn't crash, then that's success.

Modified: trunk/LayoutTests/http/tests/appcache/interrupted-update-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/interrupted-update-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/interrupted-update-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,4 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 37: Reloading...
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that an application cache update works again after interruption.
 
 Reloaded

Modified: trunk/LayoutTests/http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This 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.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/local-content-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/local-content-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/local-content-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 28: Not allowed to load local resource: stdio.h
 Test that documents loaded from application cache don't get access to local resources accidentally.
 

Modified: trunk/LayoutTests/http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1 +1,2 @@
+CONSOLE MESSAGE: line 3: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/main-resource-hash-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/main-resource-hash-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/main-resource-hash-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that offline applications' main resources are not affected by URL hashes.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/main-resource-redirect-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/main-resource-redirect-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/main-resource-redirect-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that application cache is consulted again after a redirect response.
 
 PASS

Modified: trunk/LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that a manifest can contain itself as a resource.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/manifest-parsing-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/manifest-parsing-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/manifest-parsing-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test application cache manifest parsing.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/manifest-redirect-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/manifest-redirect-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/manifest-redirect-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a redirect makes resource caching fail.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/manifest-redirect-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/manifest-redirect-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/manifest-redirect-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because a redirection was attempted.
 Test that a redirect makes resource caching fail.
 

Modified: trunk/LayoutTests/http/tests/appcache/manifest-with-empty-file-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/manifest-with-empty-file-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/manifest-with-empty-file-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that a manifest that contains an empty file will not crash the browser.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/max-size-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/max-size-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/max-size-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Cache 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.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/multi-fallback-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/multi-fallback-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/multi-fallback-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test application cache fallback entries with multiple candidates.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that navigating away while a cache is loading does not crash.
 SUCCESS - did not crash

Modified: trunk/LayoutTests/http/tests/appcache/non-html-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/non-html-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/non-html-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that non-HTML main resources work with application cache correctly.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/offline-access-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/offline-access-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/offline-access-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that offline applications work when there is no network access (simulated).
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/online-fallback-layering-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/online-fallback-layering-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/online-fallback-layering-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a network namespace trumps a fallback namespace where they overlap.
 
 Sanity check the presence of the fallback namespace, should get the fallback resource.

Modified: trunk/LayoutTests/http/tests/appcache/online-whitelist-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/online-whitelist-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/online-whitelist-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test online whitelist functionality. Should say PASS:
 
 PASS

Modified: trunk/LayoutTests/http/tests/appcache/origin-delete-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origin-delete-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origin-delete-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This test checks that application cache groups correctly become obsolete after application cache is deletion for a specific origin.
 
 PASS - cached iframe-1

Modified: trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~10000
 This test checks that per-origin application cache quota don't require a refresh to complete successfully.
 

Modified: trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~30000
 This test checks that per-origin application cache quota works correctly with multiple manifests/caches per-origin.
 

Modified: trunk/LayoutTests/http/tests/appcache/origin-quota-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origin-quota-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origin-quota-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,5 +1,8 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~30000
 CONSOLE MESSAGE: Application Cache update failed, because size quota was exceeded.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This test checks that per-origin application cache quotas are enforced.
 
 This test sets the quota for the origin to 20kb, and attempts to fill it up with 2 iframes that are 13kb each. The application cache download process should fail on the 2nd iframe and the UI Delegate should be informed of the exceeded quota. Increasing the size to 40kb. A 3rd iframe is added, which should succeed.

Modified: trunk/LayoutTests/http/tests/appcache/origin-usage-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origin-usage-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origin-usage-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This test checks that per-origin usage is reported correctly by loading two iframes which use ~15K each and querying origin usage.
 
 Cleared application cache

Modified: trunk/LayoutTests/http/tests/appcache/origins-with-appcache-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/origins-with-appcache-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/origins-with-appcache-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This 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.
 
 Origins with application cache after deletion: 

Modified: trunk/LayoutTests/http/tests/appcache/progress-counter-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/progress-counter-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/progress-counter-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that the lengthComputable / loaded / total properties of the progress event are set correctly.
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/reload-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/reload-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/reload-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that the manifest is picked correctly when reloading.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,5 +1,10 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a 404 response for manifest results in cache removal.
 
 Frame 1: Manifest is still available, so a new master resource is added to the cache.

Modified: trunk/LayoutTests/http/tests/appcache/resource-redirect-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/resource-redirect-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/resource-redirect-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/resource-redirect-2.php could not be fetched.
 Test that a redirect makes resource caching fail.
 

Modified: trunk/LayoutTests/http/tests/appcache/resource-redirect-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/resource-redirect-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/resource-redirect-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/appcache/resources/resource-redirect.php was redirected.
 Test that a redirect makes resource caching fail.
 

Modified: trunk/LayoutTests/http/tests/appcache/simple-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/simple-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/simple-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This 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
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/simple-video-async-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/simple-video-async-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/simple-video-async-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that the application cache works for video retrieved by async XMLHttpRequest
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/simple-video-sync-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/simple-video-sync-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/simple-video-sync-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that the application cache works for video retrieved by sync XMLHttpRequest
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/top-frame-1-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/top-frame-1-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/top-frame-1-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a subframe without manifest doesn't pick an application cache from parent frame (as long as no relevant cache contains its resource).
 
 Techically, the check is that iframe subresources that are not in top frame cache are loaded anyway, so it can also pass if the UA fails to reject loads for cache misses.

Modified: trunk/LayoutTests/http/tests/appcache/top-frame-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/top-frame-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/top-frame-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a subframe without manifest gets picked by a relevant application cache that contains its resource.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/top-frame-3-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/top-frame-3-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/top-frame-3-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a subframe with manifest that matches top frame manifest works correctly.
 
 In this case, the subframe resource is NOT listed in manifest explicitly.

Modified: trunk/LayoutTests/http/tests/appcache/top-frame-4-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/top-frame-4-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/top-frame-4-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,6 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a subframe with manifest that matches top frame manifest works correctly.
 
 In this case, the subframe resource is listed in manifest explicitly.

Modified: trunk/LayoutTests/http/tests/appcache/update-cache-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/update-cache-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/update-cache-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test a simple offline application self-update process. Should print a series of messages followed with DONE:
 
 Updating cache group...

Modified: trunk/LayoutTests/http/tests/appcache/video-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/video-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/video-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 Test that <video> can be loaded from the application cache.
 

Modified: trunk/LayoutTests/http/tests/appcache/whitelist-wildcard-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/whitelist-wildcard-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/whitelist-wildcard-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that online whitelist wildcard flag is implemented.
 
 SUCCESS

Modified: trunk/LayoutTests/http/tests/appcache/wrong-content-type-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/wrong-content-type-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/wrong-content-type-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a manifest served with an arbitrary content-type is OK.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/appcache/wrong-signature-2-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/wrong-signature-2-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/wrong-signature-2-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?
 Test that a manifest served with a wrong signature isn't treated as such.
 

Modified: trunk/LayoutTests/http/tests/appcache/wrong-signature-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/wrong-signature-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/wrong-signature-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?
 Test that a manifest served with a wrong signature isn't treated as such.
 

Modified: trunk/LayoutTests/http/tests/appcache/x-frame-options-prevents-framing-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/x-frame-options-prevents-framing-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/x-frame-options-prevents-framing-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE 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'.
 The following iframe is a document that was cached in the application cache.
 It also had "x-frame-options: deny" set, so it should not actually show up in the iframe

Modified: trunk/LayoutTests/http/tests/appcache/xhr-foreign-resource-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/appcache/xhr-foreign-resource-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/appcache/xhr-foreign-resource-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,7 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a resource marked as foreign can still be loaded via XHR.
 
 Should say SUCCESS:

Modified: trunk/LayoutTests/http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This is a regression test for webkit.org/b/147651. The test passes if it does not crash.
 
 

Modified: trunk/LayoutTests/http/tests/security/appcache-switching-private-browsing-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/security/appcache-switching-private-browsing-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/security/appcache-switching-private-browsing-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,4 +1,5 @@
 CONSOLE MESSAGE: line 8: Test started
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 18: PASS
 This test passes if the application cache does not load while in private browsing
 

Modified: trunk/LayoutTests/http/tests/security/cross-origin-appcache-allowed-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/security/cross-origin-appcache-allowed-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/security/cross-origin-appcache-allowed-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This iframe should have a cache:
 
 

Modified: trunk/LayoutTests/http/tests/security/cross-origin-appcache-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/security/cross-origin-appcache-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/security/cross-origin-appcache-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This iframe should not have a cache:
 
 

Modified: trunk/LayoutTests/http/tests/security/same-origin-appcache-blocked-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/security/same-origin-appcache-blocked-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/security/same-origin-appcache-blocked-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This iframe should not have a cache:
 
 

Modified: trunk/LayoutTests/http/tests/ssl/upgrade-origin-usage-expected.txt (227224 => 227225)


--- trunk/LayoutTests/http/tests/ssl/upgrade-origin-usage-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/http/tests/ssl/upgrade-origin-usage-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This 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.
 
 Cleared application cache

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,18 @@
+2018-01-19  Joseph Pecoraro  <[email protected]>
+
+        AppCache: Log a Deprecation warning to the Console when AppCache is used
+        https://bugs.webkit.org/show_bug.cgi?id=181778
+
+        Reviewed by Alex Christensen.
+
+        * 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:
+
 2018-01-17  Ali Juma  <[email protected]>
 
         Update web platform tests for Visual Viewport API

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS Dedicated worker of the cached script 
 PASS Dedicated worker of the fallbacked script 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS cached event test 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS checking event test 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS noupdate event test 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS progress event test 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 2: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 PASS url check test 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt (227224 => 227225)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 
 FAIL serviceworkers take priority over appcaches assert_unreached: unexpected rejection: assert_false: but serviceworkers should take priority expected false got true Reached unreachable code
 

Modified: trunk/Source/WebCore/ChangeLog (227224 => 227225)


--- trunk/Source/WebCore/ChangeLog	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/Source/WebCore/ChangeLog	2018-01-19 19:54:03 UTC (rev 227225)
@@ -1,3 +1,13 @@
+2018-01-19  Joseph Pecoraro  <[email protected]>
+
+        AppCache: Log a Deprecation warning to the Console when AppCache is used
+        https://bugs.webkit.org/show_bug.cgi?id=181778
+
+        Reviewed by Alex Christensen.
+
+        * html/HTMLHtmlElement.cpp:
+        (WebCore::HTMLHtmlElement::insertedByParser):
+
 2018-01-19  Chris Dumez  <[email protected]>
 
         ASSERT(registration || isTerminating()) hit in SWServerWorker::skipWaiting()

Modified: trunk/Source/WebCore/html/HTMLHtmlElement.cpp (227224 => 227225)


--- trunk/Source/WebCore/html/HTMLHtmlElement.cpp	2018-01-19 19:47:04 UTC (rev 227224)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.cpp	2018-01-19 19:54:03 UTC (rev 227225)
@@ -73,8 +73,10 @@
     auto& manifest = attributeWithoutSynchronization(manifestAttr);
     if (manifest.isEmpty())
         documentLoader->applicationCacheHost().selectCacheWithoutManifest();
-    else
+    else {
+        document().addConsoleMessage(MessageSource::AppCache, MessageLevel::Warning, ASCIILiteral("ApplicationCache is deprecated. Please use ServiceWorkers instead."));
         documentLoader->applicationCacheHost().selectCacheWithManifest(document().completeURL(manifest));
+    }
 }
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to