mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
6b4a71b6fc
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 |
||
---|---|---|
.. | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
experiments | ||
extensions | ||
fonts | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc | ||
app-rules.mk | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
LICENSE | ||
Makefile.in | ||
moz.build | ||
moz.configure |