Change key from "Ctrl" to "Shift" in actionsWithKeyPressed.html

In this test, we want to test that testdriver Action API supports key
and mouse action interactions. Clicking with "Ctrl" key pressed on Mac
causes a context menu open, which fails itself and prevents a
subsequent test from running. We can use other keys such as "Shift"
or "Alt", which do not open any context menu.

Change-Id: Id9b48440306eeddbd97114bc1ac0f4c9c3c012fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845994
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703792}
diff --git a/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini b/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini
index 4fc91a1..b9465c0 100644
--- a/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini
+++ b/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini
@@ -1,7 +1,3 @@
 [actionsWithKeyPressed.html]
   expected:
     if product == "safari" or product == "epiphany" or product == "webkit": ERROR
-
-  [TestDriver actions: actions with key pressed]
-    expected:
-      if product == "firefox" and os == "mac": FAIL
diff --git a/infrastructure/testdriver/actions/actionsWithKeyPressed.html b/infrastructure/testdriver/actions/actionsWithKeyPressed.html
index 74e939f..b977f0c 100644
--- a/infrastructure/testdriver/actions/actionsWithKeyPressed.html
+++ b/infrastructure/testdriver/actions/actionsWithKeyPressed.html
@@ -40,12 +40,12 @@
   let test1 = document.getElementById("test1");
   let test2 = document.getElementById("test2");
   document.getElementById("test1").addEventListener("click",
-    e => {keys.push(e.getModifierState("Control"))});
+    e => {keys.push(e.getModifierState("Shift"))});
   document.getElementById("test2").addEventListener("click",
-    e => {keys.push(e.getModifierState("Control"))});
+    e => {keys.push(e.getModifierState("Shift"))});
 
   let actions = new test_driver.Actions()
-    .keyDown("\uE009")
+    .keyDown("\uE008")
     .addTick()
     .pointerMove(0, 0, {origin: test1})
     .pointerDown()
@@ -54,7 +54,7 @@
     .pointerDown()
     .pointerUp()
     .addTick()
-    .keyUp("\uE009")
+    .keyUp("\uE008")
     .addTick()
     .pointerMove(0, 0, {origin: test1})
     .pointerDown()