Index: chrome/test/data/webui/options_page_advanced.js |
diff --git a/chrome/test/data/webui/options_page_advanced.js b/chrome/test/data/webui/options_page_advanced.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d955b1b606c162dda20331315f145d6fa94559f4 |
--- /dev/null |
+++ b/chrome/test/data/webui/options_page_advanced.js |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * TestFixture for AdvancedOptionsPage WebUI testing. |
+ * @extends {testing.Test} |
+ * @constructor |
+ **/ |
+function AdvancedOptionsWebUITest() {} |
+ |
+AdvancedOptionsWebUITest.prototype = { |
+ __proto__: testing.Test.prototype, |
+ |
+ /** |
+ * Browse to the advanced options page & call our PreLoad(). |
+ **/ |
+ browsePreload: 'chrome://settings/advanced', |
+}; |
+ |
+// Test opening the advanced page has correct location, instance, and title. |
+TEST_F('AdvancedOptionsWebUITest', 'testOpenAdvancedPage', function() { |
+ assertEquals(this.browsePreload, document.location.href); |
+}); |