AppCache: Log a Deprecation warning to the Console when AppCache is used
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jan 2018 19:54:03 +0000 (19:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jan 2018 19:54:03 +0000 (19:54 +0000)
commitf08a4095e90c5269ae9840064c3eacd858bf40c8
treed52b95e67af4d27a27c29c5b46bfad364a692eb3
parent90ff50f7dffe6ed141696f7c3d7728c5133112db
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 <pecoraro@apple.com> 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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
94 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/appcache/404-manifest-expected.txt
LayoutTests/http/tests/appcache/404-resource-expected.txt
LayoutTests/http/tests/appcache/404-resource-with-slow-main-resource-expected.txt
LayoutTests/http/tests/appcache/abort-cache-onchecking-expected.txt
LayoutTests/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt
LayoutTests/http/tests/appcache/abort-cache-onchecking-resource-404-expected.txt
LayoutTests/http/tests/appcache/abort-cache-ondownloading-expected.txt
LayoutTests/http/tests/appcache/abort-cache-ondownloading-manifest-404-expected.txt
LayoutTests/http/tests/appcache/abort-cache-ondownloading-resource-404-expected.txt
LayoutTests/http/tests/appcache/abort-cache-onprogress-expected.txt
LayoutTests/http/tests/appcache/access-via-redirect-expected.txt
LayoutTests/http/tests/appcache/auth-expected.txt
LayoutTests/http/tests/appcache/crash-when-navigating-away-then-back-expected.txt
LayoutTests/http/tests/appcache/credential-url-expected.txt
LayoutTests/http/tests/appcache/cyrillic-uri-expected.txt
LayoutTests/http/tests/appcache/decide-navigation-policy-after-delay-expected.txt
LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-expected.txt
LayoutTests/http/tests/appcache/deferred-events-delete-while-raising-timer-expected.txt
LayoutTests/http/tests/appcache/deferred-events-expected.txt
LayoutTests/http/tests/appcache/different-https-origin-resource-main-expected.txt
LayoutTests/http/tests/appcache/different-origin-manifest-expected.txt
LayoutTests/http/tests/appcache/different-scheme-expected.txt
LayoutTests/http/tests/appcache/document-write-html-element-2-expected.txt
LayoutTests/http/tests/appcache/empty-manifest-expected.txt
LayoutTests/http/tests/appcache/fail-on-update-2-expected.txt
LayoutTests/http/tests/appcache/fail-on-update-expected.txt
LayoutTests/http/tests/appcache/fallback-expected.txt
LayoutTests/http/tests/appcache/fallback-namespace-outside-manifest-path-expected.txt
LayoutTests/http/tests/appcache/foreign-fallback-expected.txt
LayoutTests/http/tests/appcache/foreign-iframe-main-expected.txt
LayoutTests/http/tests/appcache/history-test-expected.txt
LayoutTests/http/tests/appcache/idempotent-update-expected.txt
LayoutTests/http/tests/appcache/identifier-test-expected.txt
LayoutTests/http/tests/appcache/interrupted-update-expected.txt
LayoutTests/http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt
LayoutTests/http/tests/appcache/local-content-expected.txt
LayoutTests/http/tests/appcache/main-resource-fallback-for-network-error-crash-expected.txt
LayoutTests/http/tests/appcache/main-resource-hash-expected.txt
LayoutTests/http/tests/appcache/main-resource-redirect-expected.txt
LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt
LayoutTests/http/tests/appcache/manifest-parsing-expected.txt
LayoutTests/http/tests/appcache/manifest-redirect-2-expected.txt
LayoutTests/http/tests/appcache/manifest-redirect-expected.txt
LayoutTests/http/tests/appcache/manifest-with-empty-file-expected.txt
LayoutTests/http/tests/appcache/max-size-expected.txt
LayoutTests/http/tests/appcache/multi-fallback-expected.txt
LayoutTests/http/tests/appcache/navigating-away-while-cache-attempt-in-progress-expected.txt
LayoutTests/http/tests/appcache/non-html-expected.txt
LayoutTests/http/tests/appcache/offline-access-expected.txt
LayoutTests/http/tests/appcache/online-fallback-layering-expected.txt
LayoutTests/http/tests/appcache/online-whitelist-expected.txt
LayoutTests/http/tests/appcache/origin-delete-expected.txt
LayoutTests/http/tests/appcache/origin-quota-continued-download-expected.txt
LayoutTests/http/tests/appcache/origin-quota-continued-download-multiple-manifests-expected.txt
LayoutTests/http/tests/appcache/origin-quota-expected.txt
LayoutTests/http/tests/appcache/origin-usage-expected.txt
LayoutTests/http/tests/appcache/origins-with-appcache-expected.txt
LayoutTests/http/tests/appcache/progress-counter-expected.txt
LayoutTests/http/tests/appcache/reload-expected.txt
LayoutTests/http/tests/appcache/remove-cache-expected.txt
LayoutTests/http/tests/appcache/resource-redirect-2-expected.txt
LayoutTests/http/tests/appcache/resource-redirect-expected.txt
LayoutTests/http/tests/appcache/simple-expected.txt
LayoutTests/http/tests/appcache/simple-video-async-expected.txt
LayoutTests/http/tests/appcache/simple-video-sync-expected.txt
LayoutTests/http/tests/appcache/top-frame-1-expected.txt
LayoutTests/http/tests/appcache/top-frame-2-expected.txt
LayoutTests/http/tests/appcache/top-frame-3-expected.txt
LayoutTests/http/tests/appcache/top-frame-4-expected.txt
LayoutTests/http/tests/appcache/update-cache-expected.txt
LayoutTests/http/tests/appcache/video-expected.txt
LayoutTests/http/tests/appcache/whitelist-wildcard-expected.txt
LayoutTests/http/tests/appcache/wrong-content-type-expected.txt
LayoutTests/http/tests/appcache/wrong-signature-2-expected.txt
LayoutTests/http/tests/appcache/wrong-signature-expected.txt
LayoutTests/http/tests/appcache/x-frame-options-prevents-framing-expected.txt
LayoutTests/http/tests/appcache/xhr-foreign-resource-expected.txt
LayoutTests/http/tests/contentfiltering/load-substitute-data-from-appcache-expected.txt
LayoutTests/http/tests/security/appcache-switching-private-browsing-expected.txt
LayoutTests/http/tests/security/cross-origin-appcache-allowed-expected.txt
LayoutTests/http/tests/security/cross-origin-appcache-expected.txt
LayoutTests/http/tests/security/same-origin-appcache-blocked-expected.txt
LayoutTests/http/tests/ssl/upgrade-origin-usage-expected.txt
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLHtmlElement.cpp