gecko-dev/browser
Drew Willcoxon bcbe910b2f Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=mak
This does a few things that should help:

(1) Run the timeout only after resize events have stopped.

(2) Increase the timeout from 30ms to 100ms.  It doesn't need to be so fast.

(3) Add a parameter to formatValue that bypasses actually formatting the value and instead only ensures the host is visible.  There's no need in this case to keep removing the formatting and then adding it back.  Having a "formatValue" method take a parameter to skip formatting is kind of weird, though.  At first I tried factoring out the make-host-visible part, but that requires also factoring out all the logic that determines whether the value is a formattable URL, and that ended up being ugly.  I'm open to better ideas.

Based on an earlier patch by Marco Bonardo <mbonardo@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D4502

--HG--
extra : moz-landing-system : lando
2018-08-29 23:36:24 +00:00
..
actors Bug 1484246 - Part 1 - Add more explanation to certificate errors caused by Symantec distrust. r=Gijs,keeler 2018-08-21 15:04:02 +02:00
app Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
base Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=mak 2018-08-29 23:36:24 +00:00
branding Bug 1471657 - Update Nightly DMG background to high-res r=Dolske 2018-08-21 20:54:30 +00:00
components Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
config Bug 1486654 - Enable static analysis on all Linux CI builds. r=ted 2018-08-29 13:55:24 +09:00
docs Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
extensions Pocket: Tag auto complete appears behind send to mobile section (Bug 1487157). r=thecount 2018-08-29 19:28:57 +00:00
fonts
installer Bug 1484876 - Part 5: Merge the PrivateBrowsingTrackingProtectionWhitelist service with PrivateBrowsingUtils.jsm; r=johannh 2018-08-22 12:02:44 -04:00
locales Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
modules Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao 2018-08-29 18:27:36 +00:00
themes Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
tools/mozscreenshots Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
.eslintrc.js
app.mozbuild
build.mk Bug 1436662: Package translated uninstaller; r=pike,mshal 2018-04-16 12:49:53 -06:00
confvars.sh Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop 2018-08-14 13:13:38 -07:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe 2018-07-29 19:42:46 -07:00
moz.configure