Bug 1199023. Fix expectations of widget/tests/test_native_key_bindings_mac.html when a scrollbar is added to the iframe it is run in. r=jryans
authorTimothy Nikkel <tnikkel@gmail.com>
Mon, 11 Apr 2016 22:19:45 -0500
changeset 292706 80051b8b7bf49e9750a9dc2ba1c8883632100c68
parent 292705 b71d47c19e79cb7375a388b2c26391de878a4503
child 292707 9ff4ef78ee4fccb7129a14b0853d58fc690522b1
push id74957
push usertnikkel@gmail.com
push dateTue, 12 Apr 2016 03:19:57 +0000
treeherdermozilla-inbound@80051b8b7bf4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1199023
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1199023. Fix expectations of widget/tests/test_native_key_bindings_mac.html when a scrollbar is added to the iframe it is run in. r=jryans The scrollbar changes when the test wraps, and so an operation that deletes text until the end of line deletes a different amount of text, and thus affects where the end of line is after the delete.
widget/tests/test_native_key_bindings_mac.html
--- a/widget/tests/test_native_key_bindings_mac.html
+++ b/widget/tests/test_native_key_bindings_mac.html
@@ -260,17 +260,17 @@
         textarea: [93, 94],
         input:    [16, 17]
       });
 
       // Move to end of paragraph (line for now)
       synthesizedKeys.push([KEYBOARD_LAYOUT_EN_US, MAC_VK_ANSI_E,
                             {ctrlKey: true}, "\u0005", "e"]);
       expectations.push({
-        editable: [144, 144],
+        editable: [139, 139],
         textarea: [94, 94],
         input:    [17, 17]
       });
 
       // Move up
       synthesizedKeys.push([KEYBOARD_LAYOUT_EN_US, MAC_VK_ANSI_P,
                             {ctrlKey: true}, "\u0010", "p"]);
       expectations.push({