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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2501893003: Deprecate case-insensitive matching for |usemap| attribute (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 "'navigator.webkitPersistentStorage'"); 201 "'navigator.webkitPersistentStorage'");
202 202
203 case UseCounter::ConsoleMarkTimeline: 203 case UseCounter::ConsoleMarkTimeline:
204 return replacedBy("'console.markTimeline'", "'console.timeStamp'"); 204 return replacedBy("'console.markTimeline'", "'console.timeStamp'");
205 205
206 case UseCounter::CSSStyleSheetInsertRuleOptionalArg: 206 case UseCounter::CSSStyleSheetInsertRuleOptionalArg:
207 return "Calling CSSStyleSheet.insertRule() with one argument is " 207 return "Calling CSSStyleSheet.insertRule() with one argument is "
208 "deprecated. Please pass the index argument as well: " 208 "deprecated. Please pass the index argument as well: "
209 "insertRule(x, 0)."; 209 "insertRule(x, 0).";
210 210
211 case UseCounter::MapNameMatchingASCIICaseless:
212 case UseCounter::MapNameMatchingUnicodeLower:
213 return willBeRemoved("Case-insensitive matching for usemap attribute",
214 M58, "5760965337415680");
215
211 case UseCounter::PrefixedVideoSupportsFullscreen: 216 case UseCounter::PrefixedVideoSupportsFullscreen:
212 return replacedBy("'HTMLVideoElement.webkitSupportsFullscreen'", 217 return replacedBy("'HTMLVideoElement.webkitSupportsFullscreen'",
213 "'Document.fullscreenEnabled'"); 218 "'Document.fullscreenEnabled'");
214 219
215 case UseCounter::PrefixedVideoDisplayingFullscreen: 220 case UseCounter::PrefixedVideoDisplayingFullscreen:
216 return replacedBy("'HTMLVideoElement.webkitDisplayingFullscreen'", 221 return replacedBy("'HTMLVideoElement.webkitDisplayingFullscreen'",
217 "'Document.fullscreenElement'"); 222 "'Document.fullscreenElement'");
218 223
219 case UseCounter::PrefixedVideoEnterFullscreen: 224 case UseCounter::PrefixedVideoEnterFullscreen:
220 return replacedBy("'HTMLVideoElement.webkitEnterFullscreen()'", 225 return replacedBy("'HTMLVideoElement.webkitEnterFullscreen()'",
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 case UseCounter::VRDeprecatedGetPose: 444 case UseCounter::VRDeprecatedGetPose:
440 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
441 446
442 // Features that aren't deprecated don't have a deprecation message. 447 // Features that aren't deprecated don't have a deprecation message.
443 default: 448 default:
444 return String(); 449 return String();
445 } 450 }
446 } 451 }
447 452
448 } // namespace blink 453 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698