Title: [291322] trunk/Source/WebCore
- Revision
- 291322
- Author
- [email protected]
- Date
- 2022-03-15 16:40:34 -0700 (Tue, 15 Mar 2022)
Log Message
Add RELEASE_LOG_FAULT to ApplicationCache entry function
https://bugs.webkit.org/show_bug.cgi?id=237866
Reviewed by Alex Christensen.
To help learn remaining ApplicationCache usage.
* html/HTMLHtmlElement.cpp:
(WebCore::HTMLHtmlElement::insertedByParser):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (291321 => 291322)
--- trunk/Source/WebCore/ChangeLog 2022-03-15 23:23:54 UTC (rev 291321)
+++ trunk/Source/WebCore/ChangeLog 2022-03-15 23:40:34 UTC (rev 291322)
@@ -1,3 +1,15 @@
+2022-03-15 Sihui Liu <[email protected]>
+
+ Add RELEASE_LOG_FAULT to ApplicationCache entry function
+ https://bugs.webkit.org/show_bug.cgi?id=237866
+
+ Reviewed by Alex Christensen.
+
+ To help learn remaining ApplicationCache usage.
+
+ * html/HTMLHtmlElement.cpp:
+ (WebCore::HTMLHtmlElement::insertedByParser):
+
2022-03-15 Chris Dumez <[email protected]>
Make it clearer in the loading logging when it is for the main frame or not
Modified: trunk/Source/WebCore/html/HTMLHtmlElement.cpp (291321 => 291322)
--- trunk/Source/WebCore/html/HTMLHtmlElement.cpp 2022-03-15 23:23:54 UTC (rev 291321)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.cpp 2022-03-15 23:40:34 UTC (rev 291322)
@@ -32,6 +32,7 @@
#include "Frame.h"
#include "FrameLoader.h"
#include "HTMLNames.h"
+#include "Logging.h"
#include <wtf/IsoMallocInlines.h>
namespace WebCore {
@@ -78,6 +79,7 @@
if (manifest.isEmpty())
documentLoader->applicationCacheHost().selectCacheWithoutManifest();
else {
+ RELEASE_LOG_FAULT(Storage, "HTMLHtmlElement::insertedByParser: ApplicationCache is deprecated.");
document().addConsoleMessage(MessageSource::AppCache, MessageLevel::Warning, "ApplicationCache is deprecated. Please use ServiceWorkers instead."_s);
documentLoader->applicationCacheHost().selectCacheWithManifest(document().completeURL(manifest));
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes