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

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

Issue 2753943002: Disable FileReaderSync in service workers. (Closed)
Patch Set: rebase Created 3 years, 9 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 return String::format( 387 return String::format(
388 "The service worker responded to the navigation request with a " 388 "The service worker responded to the navigation request with a "
389 "redirected response. This will result in an error in %s.", 389 "redirected response. This will result in an error in %s.",
390 milestoneString(M59)); 390 milestoneString(M59));
391 391
392 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: 392 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton:
393 return willBeRemoved( 393 return willBeRemoved(
394 "-internal-media-controls-overlay-cast-button selector", M59, 394 "-internal-media-controls-overlay-cast-button selector", M59,
395 "5714245488476160"); 395 "5714245488476160");
396 396
397 case UseCounter::FileReaderSyncInServiceWorker:
398 return willBeRemoved("FileReaderSync in service workers", M59,
399 "5739144722513920");
400
401 case UseCounter::CSSZoomReset: 397 case UseCounter::CSSZoomReset:
402 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); 398 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560");
403 399
404 case UseCounter::CSSZoomDocument: 400 case UseCounter::CSSZoomDocument:
405 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); 401 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560");
406 402
407 case UseCounter::SelectionAddRangeIntersect: 403 case UseCounter::SelectionAddRangeIntersect:
408 return "The behavior that Selection.addRange() merges existing Range and " 404 return "The behavior that Selection.addRange() merges existing Range and "
409 "the specified Range was removed. See " 405 "the specified Range was removed. See "
410 "https://www.chromestatus.com/features/6680566019653632 for more " 406 "https://www.chromestatus.com/features/6680566019653632 for more "
(...skipping 18 matching lines...) Expand all
429 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, 425 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60,
430 "5725741740195840"); 426 "5725741740195840");
431 427
432 // Features that aren't deprecated don't have a deprecation message. 428 // Features that aren't deprecated don't have a deprecation message.
433 default: 429 default:
434 return String(); 430 return String();
435 } 431 }
436 } 432 }
437 433
438 } // namespace blink 434 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698