Index: LayoutTests/editing/pasteboard/copy-in-password-field.html |
diff --git a/LayoutTests/editing/pasteboard/copy-in-password-field.html b/LayoutTests/editing/pasteboard/copy-in-password-field.html |
index f9e1ccd77fc0a6a428c0bc9fb7a82c7b92c5c000..c2ab61b9ea3eeb3ebf5e596a694cd08c18161453 100644 |
--- a/LayoutTests/editing/pasteboard/copy-in-password-field.html |
+++ b/LayoutTests/editing/pasteboard/copy-in-password-field.html |
@@ -8,14 +8,17 @@ |
// Overwrite the old pasteboard with default results |
document.getElementById("text").focus(); |
+ document.getElementById("text").select(); |
document.execCommand("Copy"); |
// Try to copy a password |
document.getElementById("password").focus(); |
+ document.getElementById("password").select(); |
document.execCommand("Copy"); |
// Paste |
document.getElementById("text").focus(); |
+ document.getElementById("text").select(); |
document.execCommand("Paste"); |
shouldBe('document.getElementById("text").value', '"[not modified]"'); |