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

Side by Side Diff: LayoutTests/editing/pasteboard/copy-in-password-field.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 function test() { 5 function test() {
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpEditingCallbacks(); 7 testRunner.dumpEditingCallbacks();
8 8
9 // Overwrite the old pasteboard with default results 9 // Overwrite the old pasteboard with default results
10 document.getElementById("text").focus(); 10 document.getElementById("text").focus();
11 document.execCommand("Copy"); 11 document.execCommand("Copy");
12 12
13 // Try to copy a password 13 // Try to copy a password
(...skipping 12 matching lines...) Expand all
26 <p>This test verifies that copying is disabled for password fields by at tempting to 26 <p>This test verifies that copying is disabled for password fields by at tempting to
27 copy from a password field and paste into a textfield. If the test 27 copy from a password field and paste into a textfield. If the test
28 passes, you'll see a of 'PASS' message below, and the textfield will rem ain unmodified.</p> 28 passes, you'll see a of 'PASS' message below, and the textfield will rem ain unmodified.</p>
29 <p>(The test is only meaningful in debug builds, since paste is disabled in release builds.)</p> 29 <p>(The test is only meaningful in debug builds, since paste is disabled in release builds.)</p>
30 <input type="password" id="password" value="Password Input"> 30 <input type="password" id="password" value="Password Input">
31 <input type="text" id="text" value="[not modified]"> 31 <input type="text" id="text" value="[not modified]">
32 <hr> 32 <hr>
33 <p id="console"></p> 33 <p id="console"></p>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698