Re: Where to put timeout test?

2019-03-06 Thread violet . bugreport
On Tuesday, March 5, 2019 at 10:12:48 PM UTC-8, Cameron McCormack wrote:

> You can use a crashtest for this under layout/svg/crashtests/.  crashtests 
> are like reftests that don't actually check against a reference, but will 
> just fail if the test crashes, or causes some assertions, or times out.

Thanks, it works!
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: MOZ_ALLOW_DOWNGRADE environment variable

2019-03-06 Thread Onno Ekker
Op 6-3-2019 om 18:26 schreef smaug:
> Hi all,
> 
> 
> looks like I didn't send email about, IMO, rather useful environment
> variable [1]:
> MOZ_ALLOW_DOWNGRADE does the same thing as --allow-downgrade passed to
> firefox,
> bypasses the profile downgrade protection.
> (At least I need to bypass that all the time when testing various local
> and/or nightly builds.)
> 
> 
> 
> -Olli
> 
> 
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1528502


___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


MOZ_ALLOW_DOWNGRADE environment variable

2019-03-06 Thread smaug

Hi all,


looks like I didn't send email about, IMO, rather useful environment variable 
[1]:
MOZ_ALLOW_DOWNGRADE does the same thing as --allow-downgrade passed to firefox,
bypasses the profile downgrade protection.
(At least I need to bypass that all the time when testing various local and/or 
nightly builds.)



-Olli


[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1528502
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Disabling document.createEvent("TouchEvent"), document.createTouch* and ontouch* event handlers on desktop

2019-03-06 Thread smaug

Hi all,


I'm trying to disable document.createEvent("TouchEvent"), document.createTouch* 
and ontouch* event handlers on desktop in
order to follow what has been done in other browsers.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1412485
The issue is that some web pages use those features to detect whether touch is 
enabled, and if so, don't
expect mouse events.
https://github.com/w3c/touch-events/issues/64 has also some background.

The behavior will be behind dom.w3c_touch_events.legacy_apis.enabled pref, set 
to false by default on desktop.
(Touch API itself is enabled if touchscreen is detected)



-Olli
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform