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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 243473002: Make window.showModalDialog configurable at runtime (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index decf0a1c79281adf204f0eacade3e89615397dd2..d2dce20b1b4270cd89632c979074c06e2a7fade3 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -660,7 +660,7 @@ String UseCounter::deprecationMessage(Feature feature)
return "FileError is deprecated. Please use the 'name' or 'message' attributes of DOMError rather than 'code'.";
case ShowModalDialog:
- return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead.";
+ return "showModalDialog is deprecated. Please use window.open and postMessage instead.";
case CSSStyleSheetInsertRuleOptionalArg:
return "Calling CSSStyleSheet.insertRule() with one argument is deprecated. Please pass the index argument as well: insertRule(x, 0).";
« no previous file with comments | « LayoutTests/platform/mac/fast/dom/Window/open-window-min-size-expected.txt ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698