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

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

Issue 2502763004: INPUT element: Deprecate case-insensitive matching for radio button group names. (Closed)
Patch Set: a 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
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 case UseCounter::PrefixedCancelRequestAnimationFrame: 270 case UseCounter::PrefixedCancelRequestAnimationFrame:
271 return replacedWillBeRemoved("webkitCancelRequestAnimationFrame", 271 return replacedWillBeRemoved("webkitCancelRequestAnimationFrame",
272 "cancelAnimationFrame", M57, 272 "cancelAnimationFrame", M57,
273 "5588435494502400"); 273 "5588435494502400");
274 274
275 case UseCounter::PictureSourceSrc: 275 case UseCounter::PictureSourceSrc:
276 return "<source src> with a <picture> parent is invalid and therefore " 276 return "<source src> with a <picture> parent is invalid and therefore "
277 "ignored. Please use <source srcset> instead."; 277 "ignored. Please use <source srcset> instead.";
278 278
279 case UseCounter::RadioNameMatchingASCIICaseless:
280 case UseCounter::RadioNameMatchingCaseFolding:
281 return willBeRemoved(
282 "Case-insensitive matching for <input type=radio name=...>", M57,
283 "6165799291060224");
284
279 case UseCounter::ConsoleTimeline: 285 case UseCounter::ConsoleTimeline:
280 return replacedBy("'console.timeline'", "'console.time'"); 286 return replacedBy("'console.timeline'", "'console.time'");
281 287
282 case UseCounter::ConsoleTimelineEnd: 288 case UseCounter::ConsoleTimelineEnd:
283 return replacedBy("'console.timelineEnd'", "'console.timeEnd'"); 289 return replacedBy("'console.timelineEnd'", "'console.timeEnd'");
284 290
285 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: 291 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
286 return "Synchronous XMLHttpRequest on the main thread is deprecated " 292 return "Synchronous XMLHttpRequest on the main thread is deprecated "
287 "because of its detrimental effects to the end user's experience. " 293 "because of its detrimental effects to the end user's experience. "
288 "For more help, check https://xhr.spec.whatwg.org/."; 294 "For more help, check https://xhr.spec.whatwg.org/.";
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 case UseCounter::VRDeprecatedGetPose: 430 case UseCounter::VRDeprecatedGetPose:
425 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 431 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
426 432
427 // Features that aren't deprecated don't have a deprecation message. 433 // Features that aren't deprecated don't have a deprecation message.
428 default: 434 default:
429 return String(); 435 return String();
430 } 436 }
431 } 437 }
432 438
433 } // namespace blink 439 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698