[sql] Prevent nChildren overrun decoding interior pages in recover.c.
[chromium-blink-merge.git] / third_party / webdriver / patch.diff
blobe13623cd90faf0e56d078a1c582ccc2b415b3314
1 diff --git a/javascript/atoms/device.js b/javascript/atoms/device.js
2 index e2693f8..3731db3 100644
3 --- a/javascript/atoms/device.js
4 +++ b/javascript/atoms/device.js
5 @@ -627,6 +627,7 @@ bot.Device.prototype.maybeToggleOption = function() {
6 // Only WebKit fires the change event itself and only for multi-selects,
7 // except for Android versions >= 4.0.
8 if (!(goog.userAgent.WEBKIT && select.multiple) ||
9 + (goog.userAgent.product.CHROME && bot.userAgent.isProductVersion(28)) ||
10 (goog.userAgent.product.ANDROID && bot.userAgent.isProductVersion(4))) {
11 bot.events.fire(select, bot.events.EventType.CHANGE);
13 diff --git a/javascript/chrome-driver/build.desc b/javascript/chrome-driver/build.desc
14 index 423c450..1889095 100644
15 --- a/javascript/chrome-driver/build.desc
16 +++ b/javascript/chrome-driver/build.desc
17 @@ -24,6 +24,11 @@ js_fragment(name = "get_page_zoom",
18 function = "webdriver.chrome.getPageZoom",
19 deps = [ ":deps" ])
21 +js_fragment(name = "touch_single_tap",
22 + module = "bot.action",
23 + function = "bot.action.tap",
24 + deps = [ "//javascript/atoms:deps" ])
26 js_test(name = "test",
27 srcs = [ "test/*_test.html" ],
28 deps = [
29 @@ -39,6 +44,7 @@ js_fragment_cpp(name = "atoms",
30 "//javascript/chrome-driver:get_location_in_view:chrome",
31 "//javascript/chrome-driver:get_page_zoom:chrome",
32 "//javascript/chrome-driver:is_element_clickable:chrome",
33 + "//javascript/chrome-driver:touch_single_tap:chrome",
34 "//javascript/webdriver/atoms:clear:chrome",
35 "//javascript/webdriver/atoms:clear_local_storage:chrome",
36 "//javascript/webdriver/atoms:clear_session_storage:chrome",