Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 492213004: Deprecate XHR progress event properties 'position' and 'totalSize'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update expected outputs Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 5b074135fc1ddad58114048fe8739e5407794e9b..f41b562253bfe83f2787b0d2266a08055708b66d 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -788,6 +788,12 @@ String UseCounter::deprecationMessage(Feature feature)
case PictureSourceSrc:
return "<source src> with a <picture> parent is invalid and therefore ignored. Please use <source srcset> instead.";
+ case XHRProgressEventPosition:
+ return "The XMLHttpRequest progress event property 'position' is deprecated. Please use 'loaded' instead.";
+
+ case XHRProgressEventTotalSize:
+ return "The XMLHttpRequest progress event property 'totalSize' is deprecated. Please use 'total' instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698