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

Unified Diff: chrome/browser/ui/webui/downloads_ui_browsertest.js

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 2 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/browser/ui/webui/downloads_ui_browsertest.js
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest.js b/chrome/browser/ui/webui/downloads_ui_browsertest.js
index 4329f4f930d9a636010835aa85124a590df6f4a3..dfa5e89f82e6b51d1a417d791ebe69278d1b4b7f 100644
--- a/chrome/browser/ui/webui/downloads_ui_browsertest.js
+++ b/chrome/browser/ui/webui/downloads_ui_browsertest.js
@@ -13,14 +13,6 @@ TEST_F('BaseDownloadsWebUITest', 'DeleteAllowed', function() {
testDone();
});
-// Test that clicking <a href=#> doesn't actually go to #.
-TEST_F('BaseDownloadsWebUITest', 'PoundLinkClicksDontChangeUrl', function() {
- assertEquals(this.browsePreload, document.location.href);
- document.querySelector('.clear-all-link').click();
- assertEquals(this.browsePreload, document.location.href);
- testDone();
-});
-
/**
* Fixture for Downloads WebUI testing when deletions are prohibited.
* @extends {BaseDownloadsWebUITest}
« no previous file with comments | « chrome/browser/resources/user_manager/user_manager_tutorial.html ('k') | chrome/test/data/webui/history_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698