Bug 2070171 - Clear last fallback properly when don't fit after fitting. r=#layout #362 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Branches position-try-loop -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/emilio/firefox.git)
Author emilio
State closed
Commit Title

Bug 2070171 - Clear last fallback properly when don't fit after fitting. r=#layout

Commit Body

If a fallback used to fit, but after fallback none of the positions fit, we end up in the base position, but we didn't clear the last index properly, so the fallback reflow kept triggering. Move the clear to after the loop, and add a test that repros with or without overlay scrollbars. Add also the test as a crashtest.

Landings

Successfully landed

Landing requested on , by ealvarez@mozilla.com.

Landing Job: 89406

Last update:

Result: c70773c3342a4e27f57a4ce8c05f49eecc9b8bf1 on firefox-autoland@autoland (git)

Links: Treeherder