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

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

Issue 2005093002: Remove non-standard 'results' attribute of INPUT element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 350
351 case UseCounter::SVGZoomEvent: 351 case UseCounter::SVGZoomEvent:
352 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 352 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
353 353
354 case UseCounter::WebAnimationHyphenatedProperty: 354 case UseCounter::WebAnimationHyphenatedProperty:
355 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead."; 355 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead.";
356 356
357 case UseCounter::HTMLKeygenElement: 357 case UseCounter::HTMLKeygenElement:
358 return willBeRemoved("The <keygen> element", 54, "5716060992962560"); 358 return willBeRemoved("The <keygen> element", 54, "5716060992962560");
359 359
360 case UseCounter::ResultsAttribute:
361 return willBeRemoved("'results' attribute", 53, "5738199536107520");
362
363 case UseCounter::WebAnimationsEasingAsFunctionLinear: 360 case UseCounter::WebAnimationsEasingAsFunctionLinear:
364 return String::format("Specifying animation easing as a function is depr ecated and all support will be removed in %s, at which point this will throw a T ypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details.", milestoneString(54)); 361 return String::format("Specifying animation easing as a function is depr ecated and all support will be removed in %s, at which point this will throw a T ypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details.", milestoneString(54));
365 362
366 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: 363 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument:
367 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528"); 364 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528");
368 365
369 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 366 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
370 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(54)); 367 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(54));
371 368
372 case UseCounter::V8KeyboardEvent_KeyIdentifier_AttributeGetter: 369 case UseCounter::V8KeyboardEvent_KeyIdentifier_AttributeGetter:
(...skipping 20 matching lines...) Expand all
393 case UseCounter::UntrustedEventDefaultHandled: 390 case UseCounter::UntrustedEventDefaultHandled:
394 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53)); 391 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53));
395 392
396 // Features that aren't deprecated don't have a deprecation message. 393 // Features that aren't deprecated don't have a deprecation message.
397 default: 394 default:
398 return String(); 395 return String();
399 } 396 }
400 } 397 }
401 398
402 } // namespace blink 399 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/html.css ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698