Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / webdriver / patch.diff
blobe3198f961fefd7719603ba38d8476b5c7f348a9f
1 diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js
2 index bed494b..d6c3be1 100644
3 --- a/javascript/atoms/mouse.js
4 +++ b/javascript/atoms/mouse.js
5 @@ -141,7 +141,7 @@ bot.Mouse.NO_BUTTON_VALUE_INDEX_ = 3;
6 * click/ mouseup/ mouseout/ mousemove contextmenu
7 * dblclick mousedown mouseover
8 * IE_DOC_PRE9 0 0 0 X 1 4 2 X 0 0 0 0 1 4 2 0 X X 0 X
9 - * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 0 0 1 2 0 X X 2 X
10 + * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 4 0 1 2 4 X X 2 X
11 * GECKO/OPERA 0 1 2 X 0 1 2 X 0 0 0 0 0 0 0 0 X X 2 X
12 * </pre>
13 * @private {!Object.<bot.events.EventType, !Array.<?number>>}
14 @@ -161,8 +161,8 @@ bot.Mouse.MOUSE_BUTTON_VALUE_MAP_ = (function() {
15 buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null];
16 buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null];
17 buttonValueMap[bot.events.EventType.MOUSEUP] = [0, 1, 2, null];
18 - buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 0];
19 - buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 0];
20 + buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 4];
21 + buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 4];
22 } else {
23 buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null];
24 buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null];