gecko-dev/browser
Gijs Kruitbosch 6b4a71b6fc Bug 1277750, fix intermittent bug734076.js test failure on linux64 e10s by forcing a size onto the <img> element loading an invalid URI, r=mikedeboer
In the failing case, the context menu is basically appearing over <body>
instead of the image. In that case we don't show the 'view image' option
and don't have a URL to use to open the image, which means we try and
do a security check for the load of '', which fails, and we don't get
a new load on which to run the rest of the test.

My guess is this is happening because if the image hasn't loaded yet
by the time we run the code, it takes up no space at all, and a mouse
event at its coordinates only 'hits' the body.

We can avoid that by givin the element width and height.

MozReview-Commit-ID: kU2IoYTqeE

--HG--
extra : rebase_source : f381a33b62bc910f3becf69b4971b56e57c33e5f
2016-10-06 16:11:02 +01:00
..
app Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
base Bug 1277750, fix intermittent bug734076.js test failure on linux64 e10s by forcing a size onto the <img> element loading an invalid URI, r=mikedeboer 2016-10-06 16:11:02 +01:00
branding Bug 1283909 - Replaces start menu tile images with larger versions to provide better resoultion on HiDPI screens. r=jaws 2016-08-16 10:04:53 -04:00
components Bug 1308351 - make about:rights web-linkable like about:license and friends, r=mikedeboer 2016-10-07 11:19:49 +01:00
config Bug 1299702 - Add win32 artifact configs r=chmanchester 2016-09-23 16:31:19 -04:00
docs Bug 1277810 - Part 1 - Restructure Telemetry client documentation. r=dexter, f=chutten 2016-08-09 13:52:27 +02:00
experiments Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, r=paul 2016-09-03 18:45:08 -04:00
extensions Merge f-t to m-c, a=merge 2016-09-30 23:25:36 -07:00
fonts Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
installer Backed out 3 changesets (bug 1279240) for leaks on Windows VM mochitests a=backout 2016-09-29 17:44:41 -07:00
locales Backed out changeset 24313c3c55da (bug 1263665) 2016-10-05 16:05:09 +02:00
modules merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
themes Merge mozilla-central to mozilla-inbound 2016-09-30 12:08:17 +02:00
tools/mozscreenshots Bug 1049001 - Refactor mozscreenshots Preferences configuration to fix a typo and reduce duplication. r=me 2016-09-13 14:27:26 -07:00
.eslintrc
app-rules.mk
app.mozbuild
build.mk Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
confvars.sh Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp 2016-08-31 19:28:29 -04:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium 2016-08-17 15:02:31 -07:00
moz.configure Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00