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

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

Issue 2852423002: Expose passwords to JavaScript in Credential Manager API (Closed)
Patch Set: WPT Tests and Readonly Password Created 3 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/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 return replacedBy("-webkit-gradient", 425 return replacedBy("-webkit-gradient",
426 "linear-gradient or radial-gradient"); 426 "linear-gradient or radial-gradient");
427 427
428 case UseCounter::kDeprecatedWebKitRadialGradient: 428 case UseCounter::kDeprecatedWebKitRadialGradient:
429 return replacedBy("-webkit-radial-gradient", "radial-gradient"); 429 return replacedBy("-webkit-radial-gradient", "radial-gradient");
430 430
431 case UseCounter::kDeprecatedWebKitRepeatingRadialGradient: 431 case UseCounter::kDeprecatedWebKitRepeatingRadialGradient:
432 return replacedBy("-webkit-repeating-radial-gradient", 432 return replacedBy("-webkit-repeating-radial-gradient",
433 "repeating-radial-gradient"); 433 "repeating-radial-gradient");
434 434
435 case UseCounter::kCredentialManagerIdName:
436 return willBeRemoved("PasswordCredential.idName", M62,
437 "5689327799500800");
438
439 case UseCounter::kCredentialManagerPasswordName:
440 return willBeRemoved("PasswordCredential.passwordName", M62,
441 "5689327799500800");
442
443 case UseCounter::kCredentialManagerAdditionalData:
444 return willBeRemoved("PasswordCredential.additionalData", M62,
445 "5689327799500800");
446
447 case UseCounter::kCredentialManagerCustomFetch:
448 return willBeRemoved("fetch.RequestInit.RequestCredentials.password", M62,
449 "5689327799500800");
450
435 // Features that aren't deprecated don't have a deprecation message. 451 // Features that aren't deprecated don't have a deprecation message.
436 default: 452 default:
437 return String(); 453 return String();
438 } 454 }
439 } 455 }
440 456
441 } // namespace blink 457 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698