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

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

Issue 2479703003: Stop preloading scripts that have invalid type/language attributes (Closed)
Patch Set: 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 "4511711998509056"); 437 "4511711998509056");
438 438
439 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: 439 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter:
440 return willBeRemoved("SVGSVGElement.currentView", M56, 440 return willBeRemoved("SVGSVGElement.currentView", M56,
441 "4511711998509056"); 441 "4511711998509056");
442 442
443 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: 443 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter:
444 return willBeRemoved("SVGViewElement.viewTarget", M56, 444 return willBeRemoved("SVGViewElement.viewTarget", M56,
445 "5665473114931200"); 445 "5665473114931200");
446 446
447 case UseCounter::ScriptInvalidTypeOrLanguage:
448 return willBeRemoved(
449 "Fetching scripts with an invalid type/language attributes", M56,
450 "5760718284521472");
451
452 case UseCounter::VRDeprecatedFieldOfView: 447 case UseCounter::VRDeprecatedFieldOfView:
453 return replacedBy("VREyeParameters.fieldOfView", 448 return replacedBy("VREyeParameters.fieldOfView",
454 "projection matrices provided by VRFrameData"); 449 "projection matrices provided by VRFrameData");
455 450
456 case UseCounter::VRDeprecatedGetPose: 451 case UseCounter::VRDeprecatedGetPose:
457 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 452 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
458 453
459 // Features that aren't deprecated don't have a deprecation message. 454 // Features that aren't deprecated don't have a deprecation message.
460 default: 455 default:
461 return String(); 456 return String();
462 } 457 }
463 } 458 }
464 459
465 } // namespace blink 460 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698