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

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

Issue 2025903002: Drop deprecation message for xhr.withCredentials for sync requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 case UseCounter::PrefixedRequestAnimationFrame: 231 case UseCounter::PrefixedRequestAnimationFrame:
232 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead."; 232 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.";
233 233
234 case UseCounter::PrefixedCancelAnimationFrame: 234 case UseCounter::PrefixedCancelAnimationFrame:
235 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead."; 235 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.";
236 236
237 case UseCounter::PrefixedCancelRequestAnimationFrame: 237 case UseCounter::PrefixedCancelRequestAnimationFrame:
238 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead."; 238 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead.";
239 239
240 case UseCounter::SyncXHRWithCredentials:
241 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated.";
242
243 case UseCounter::PictureSourceSrc: 240 case UseCounter::PictureSourceSrc:
244 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead."; 241 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead.";
245 242
246 case UseCounter::ConsoleTimeline: 243 case UseCounter::ConsoleTimeline:
247 return replacedBy("'console.timeline'", "'console.time'"); 244 return replacedBy("'console.timeline'", "'console.time'");
248 245
249 case UseCounter::ConsoleTimelineEnd: 246 case UseCounter::ConsoleTimelineEnd:
250 return replacedBy("'console.timelineEnd'", "'console.timeEnd'"); 247 return replacedBy("'console.timelineEnd'", "'console.timeEnd'");
251 248
252 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: 249 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 399 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
403 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904"); 400 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904");
404 401
405 // Features that aren't deprecated don't have a deprecation message. 402 // Features that aren't deprecated don't have a deprecation message.
406 default: 403 default:
407 return String(); 404 return String();
408 } 405 }
409 } 406 }
410 407
411 } // namespace blink 408 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698