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

Unified Diff: chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html

Issue 9269020: Handle paths and ports in verified domains in inline install. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright header.x Created 8 years, 11 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: chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html
diff --git a/chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html b/chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html
index 8f74754dc10e9714e911944a807a61996eabce16..fdc3bece882708ce232e9ea5d5324a7f15cc9110 100644
--- a/chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html
+++ b/chrome/test/data/extensions/api_test/webstore_inline_install/install_non_verified_domain.html
@@ -55,6 +55,17 @@
tryInlineInstall();
}
+
+ function runTest3(galleryUrl) {
+ console.log('In runTest3');
+
+ // Now try an extension that has a port in the verified domain (we're on
+ // the same domain, but on a different port, so installation shoudl fail)
+ document.getElementsByTagName('link')[0].href =
+ galleryUrl + '/detail/dddddddddddddddddddddddddddddddd';
+
+ tryInlineInstall();
+ }
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698