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

Unified Diff: chrome/browser/extensions/window_open_apitest.cc

Issue 7042021: Check for integer overflow when validating API function arguments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/resources/json_schema.js » ('j') | chrome/renderer/resources/json_schema.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/window_open_apitest.cc
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
index edd13b8c14f47924b619129367b2377ad0d22bb0..3cd160844d67efec784f5cc2832cf9081cb395e4 100644
--- a/chrome/browser/extensions/window_open_apitest.cc
+++ b/chrome/browser/extensions/window_open_apitest.cc
@@ -100,6 +100,10 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WindowOpenFocus) {
}
#endif
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WindowArgumentsOverflow) {
+ ASSERT_TRUE(RunExtensionTest("window_open/argument_overflow")) << message_;
asargent_no_longer_on_chrome 2011/05/19 18:36:48 nit: is this test at all related to the other test
Ben Olmstead 2011/05/19 20:34:18 It's debatable. The bug explicitly calls out wind
+}
+
class WindowOpenPanelTest : public ExtensionApiTest {
virtual void SetUpCommandLine(CommandLine* command_line) {
ExtensionApiTest::SetUpCommandLine(command_line);
« no previous file with comments | « no previous file | chrome/renderer/resources/json_schema.js » ('j') | chrome/renderer/resources/json_schema.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698