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

Unified Diff: dart/tests/try/firefox.applescript

Issue 345553008: Fix issues that broke editing on browsers without Shadow DOM support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Johnni's changes, and fix bugs found during testing. Created 6 years, 5 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: dart/tests/try/firefox.applescript
diff --git a/dart/tests/try/firefox.applescript b/dart/tests/try/firefox.applescript
new file mode 100644
index 0000000000000000000000000000000000000000..a7f674c4197b967c9d6e1d9c601ded98a2a3865f
--- /dev/null
+++ b/dart/tests/try/firefox.applescript
@@ -0,0 +1,57 @@
+-- Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+-- for details. All rights reserved. Use of this source code is governed by a
+-- BSD-style license that can be found in the LICENSE file.
+
+tell application "Firefox 29" to activate
+
+delay 3.0
+
+tell application "System Events"
+ keystroke "n" using command down
+
+ delay 1.0
+
+ keystroke "l" using command down
+
+ keystroke "http://localhost:8080/"
+ -- Simulate Enter key.
+ key code 36
+
+ delay 10.0
+
+ keystroke "l" using command down
+ -- Simulate Tab key.
+ key code 48
+ key code 48
+ key code 48
+ key code 48
+
+ -- Simulate End key.
+ key code 119
+
+ -- Simulate Home key.
+ key code 115
+
+ -- Simulate Tab key.
+ key code 48
+
+ -- Simulate Cmd-Up.
+ key code 126 using command down
+
+ -- Simulate Down.
+ key code 125
+ key code 125
+ key code 125
+ key code 125
+ key code 125
+
+ -- Simulate Cmd-Right.
+ key code 124 using command down
+
+ -- Simulate Delete
+ key code 51
+
+ -- Simulate Cmd-Down.
+ -- key code 125 using command down
+
+end tell

Powered by Google App Engine
This is Rietveld 408576698