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

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: Console Message 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 case UseCounter::kV8SVGPathElement_GetPathSegAtLength_Method: 406 case UseCounter::kV8SVGPathElement_GetPathSegAtLength_Method:
407 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, 407 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62,
408 "5638783282184192"); 408 "5638783282184192");
409 409
410 case UseCounter::kCredentialManagerCredentialRequestOptionsUnmediated: 410 case UseCounter::kCredentialManagerCredentialRequestOptionsUnmediated:
411 return replacedWillBeRemoved( 411 return replacedWillBeRemoved(
412 "The boolean flag CredentialRequestOptions.unmediated", 412 "The boolean flag CredentialRequestOptions.unmediated",
413 "the CredentialRequestOptions.mediation enum", M62, 413 "the CredentialRequestOptions.mediation enum", M62,
414 "6076479909658624"); 414 "6076479909658624");
415 415
416 case UseCounter::kCredentialManagerIdName:
417 case UseCounter::kCredentialManagerPasswordName:
418 case UseCounter::kCredentialManagerAdditionalData:
419 case UseCounter::kCredentialManagerCustomFetch:
jdoerrie 2017/05/22 11:35:31 Should we just collapse this into one enum value t
420 return String::Format(
421 "Passing 'PasswordCredential' objects into 'fetch(..., { "
422 "credentials: ... })' is deprecated, and will be removed in %s. See "
423 "https://www.chromestatus.com/features/5689327799500800 for more "
424 "details and https://www.chromium.org/developers/"
425 "recent-changes-credential-management-api for migration suggestions.",
426 milestoneString(M62));
427
416 // Features that aren't deprecated don't have a deprecation message. 428 // Features that aren't deprecated don't have a deprecation message.
417 default: 429 default:
418 return String(); 430 return String();
419 } 431 }
420 } 432 }
421 433
422 } // namespace blink 434 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698