Commit Graph

672058 Commits

Author SHA1 Message Date
Mirko Brodesser
404c0dae7b Bug 1581523: part 1) Remove hack for Thunderbird which parses nsPlainTextSerializer::mWrapColumn from <body>'s style. r=hsivonen,jorgk
`TextEditor::SetWrapWidth` already sets `nsIDocumentEncoder`'s wrap
column which is propagated to `nsPlainTextSerializer`. So this should be
a safe change.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 11:43:53 +00:00
Johann Hofmann
3ba04bcead Bug 1581415 - Add missing wrap attributes to toolbarbuttons in the protections panel. r=nhnt11
See bug 1564077 on why this is necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:48 +00:00
Johann Hofmann
1489dc82e4 Bug 1578265 - Remove security.ui.identitypopup event telemetry. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D46752

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:03 +00:00
Francesco Lodolo (:flod)
0fe378d851 Bug 1583171 - Add new locales (ca-valencia, tl, trs) to shipped-locales r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D46771

--HG--
extra : moz-landing-system : lando
2019-09-23 11:50:13 +00:00
Andi-Bogdan Postelnicu
aacf84276a Bug 1527818 - Add Coverity analysis for full build on try. r=marco,bastien
Differential Revision: https://phabricator.services.mozilla.com/D46477

--HG--
extra : moz-landing-system : lando
2019-09-23 11:10:23 +00:00
ffxbld
a6a0336577 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D46759

--HG--
extra : moz-landing-system : lando
2019-09-23 10:26:45 +00:00
Emilio Cobos Álvarez
2e05768081 Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 10:16:44 +00:00
Bogdan Tara
8675cadd18 Backed out changeset d984fd004e7e (bug 1578379) for ES lint failure on browser_tab_replace_while_loading.js CLOSED TREE 2019-09-23 13:00:56 +03:00
Emilio Cobos Álvarez
10fa3b178f Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:36:59 +00:00
Glenn Watson
4f409d7a31 Bug 1581879 - Artifacts when zooming text on webrender on android. r=jnicol,nical
Fix scissor rect being incorrect during pinch zoom due to floating
point inaccuracies.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 08:13:57 +00:00
Glenn Watson
88fc5481a2 Bug 1582038 - Update osx expectations for bugs/605138-1.html. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D46737

--HG--
extra : moz-landing-system : lando
2019-09-23 08:06:40 +00:00
Bogdan Tara
d4e6644dba Backed out changeset b281b340b9f7 (bug 1582053) for test_ext_proxy_socks.js failures CLOSED TREE 2019-09-23 10:36:55 +03:00
Makoto Kato
e0eb251ca2 Bug 1552041 - Part 2. Don't open virtual keyboard via chrome script. r=geckoview-reviewers,snorp
Even if `element.focus` is called from chrome, we always open virtual keyboard.
But I would like to change this behaviour that virtual keyboard isn't opened
via `element.focus` that is chrome script.

Depends on D44104

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

--HG--
extra : moz-landing-system : lando
2019-09-09 14:15:50 +00:00
Makoto Kato
c4b9c2fa0e Bug 1552041 - Part 1. Set CAUSE_UNKNOWN_CHROME if caller is chrome script or native. r=masayuki
Actually, CAUSE_UNKNOWN_CHROME is set when caller is chrome process. I would
like to change that this value is called from chrome or native.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 07:22:03 +00:00
Ehsan Akhgari
4d540ac396 Bug 1582053 - Disable the remote settings database creation instead of the server in web extension xpcshell tests; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46664

--HG--
extra : moz-landing-system : lando
2019-09-21 18:08:10 +00:00
Daniel Varga
153feabebc Bug 1544147 - disable test_process_error.xul for frequent failures on linux64-qr. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D46599

--HG--
extra : moz-landing-system : lando
2019-09-20 17:06:40 +00:00
Brian Birtles
6bd2528448 Bug 1576866 - Make various border-image-* properties interpolable; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D46724

--HG--
extra : moz-landing-system : lando
2019-09-23 02:07:56 +00:00
Brian Birtles
9108e5f393 Bug 1576866 - Parse '0' as a number for border-image-width; r=emilio
As per CSS Values & Units:

"However, if a 0 could be parsed as either a <number> or a <length> in a
property (such as line-height), it must parse as a <number>."

(https://drafts.csswg.org/css-values-4/#lengths)

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:07:16 +00:00
Brian Birtles
7cbc08a41e Bug 1576866 - Fix border-image-outset-interpolation.html to use correct initial value; r=emilio
This test assumes that the initial value of `border-image-outset` is '0px' but it is '0'.
'0' does not interpolate with '2px' in a <number> | <length> context since it is treated
as a <number> per spec.

This issue arose because Blink treats the initial value of `border-image-outset` as '0px'.
This is a known bug: https://crbug.com/898203

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:06:51 +00:00
Paul Bone
a9bab69fa2 Bug 1573266 - Use OOM simulation for thread creation r=jonco
This is the patch that tests and fixes this bug.  If we execute the error
case because the OS refused to create a thread we would create a nested
AutoLockHelperThreadsState and violate mutex orderings.  We fix this by
reducing the AutoLockHelperThreadsState scope in ensureInitalized().

Also:
 + Use OOM testing to fail thread creation.
 + Remove the unsafe-OOM region from Thread::init(), it isn't needed anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:05:49 +00:00
Paul Bone
ec3ccceb8a Bug 1573266 - Test OOM simulation for helper thread state r=jonco
Also make DestroyHelperThreadsState() idempotent so we can call it from the
test regardless of what state the helper thread state is in.

Other changes to HelperThreads.cpp make this code safer when allocations
fail.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:05:34 +00:00
Paul Bone
fbb5c0dc8c Bug 1573266 - Improve the NewContext OOM test r=jonco
We should end the test once the OOM simulation has found the last allocation
it can instrument, not when the context is created. This exercises 3 extra
allocations (they may be in the DestroyContext).

Also:
 * Print a + or a . to standard output to show if a context was
   successfully created or not for each iteration.

 * Rename this so all the OOM tests have OOM in their name.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:05:25 +00:00
Paul Bone
dadbb4ed50 Bug 1573266 - Make some corrections in js/src/jsapi-tests/README r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46560

--HG--
extra : moz-landing-system : lando
2019-09-23 02:05:11 +00:00
Alex Rosenfeld
c4d4e66e7d Bug 1579994 - Handle null source value in prettyPrint r=davidwalsh
use the source id to create a url when pretty printing if the url is null.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 01:12:05 +00:00
Cameron McCormack
4ff6c875f8 Bug 1482778 - Include captions within table outlines. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D45802

--HG--
extra : moz-landing-system : lando
2019-09-22 23:42:04 +00:00
Ting-Yu Lin
88413c82e6 Bug 1575016 - Update a comment that describes minimum 1px block-size for column-content blocks. r=dbaron
Fragmentation spec already has a paragraph describing this behavior.

DONTBUILD because this is a comment only change.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 08:38:54 +00:00
Edgar Chen
1e6c6bcf5f Bug 1578671 - Wrap DestroyElementMaps call in a script blocker; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46588

--HG--
extra : moz-landing-system : lando
2019-09-22 22:41:50 +00:00
Dale Harvey
6e9c77002f Bug 1577452 - Run search tests with modernConfig enabled r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45192

--HG--
rename : toolkit/components/search/tests/xpcshell/xpcshell.ini => toolkit/components/search/tests/xpcshell/xpcshell-legacyconfig.ini
extra : moz-landing-system : lando
2019-09-22 20:21:32 +00:00
Lee Salzman
60a7bb036d Bug 1582749 - query FreeType glyph advance and bounds at the same time. r=jfkthame
Cairo would normally query both the advance and other metrics at the same time,
then store them in a glyph cache sitting on each cairo_scaled_font_t any time
any of the extents were queried. Each cached scaled glyph metrics would require
about 150 bytes of space and could thus use a horribly large amount of memory
when a lot of glyphs were being used within a scaled font.

This tries to duplicate the behavior of querying and storing both advance and
bounds at the same time to effectively cut the number of glyph loads in half
for most cases. This should only add another 8 bytes per hash entry to store
the cached bounds, thus putting us way ahead on memory usage compared to what
Cairo did under the hood.

Further, Cairo would keep around cairo_scaled_font_t's in a holdover cache
even after there are no existing references to them and the owning gfxFonts
have long since died. This gives an artificial boost in successive runs of the
benchmark, while not aiding in the performance of the first run. I don't
believe the extra memory use would be justified to reproduce that particular
behavior, especially since our expectations are that the glyph cache for
a gfxFont dies when the gfxFont itself dies from the gfxFontCache.

In any case, this should at least significantly boost our glyph metrics
performance on a cold start, with the caveat about the warm start case.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 19:56:00 +00:00
Nathan Froyd
65e0042e18 Bug 1578535 - base arm64-related build images off debian10; r=glandium
Our build toolchains don't contain libstdc++ headers for aarch64, so our
aarch64 builds rely on whatever libstdc++ headers the system has
installed.  To bring in newer headers on our aarch64 builds, then, we
need to update the system images for those builds, which this patch does.

Depends on D45861

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:58:56 +00:00
Nathan Froyd
c4084e67c3 Bug 1578535 - explicitly install libstdc++-$VERSION-dev packages; r=glandium
On older Debian versions, `libstdc++-$VERSION-dev` is implicitly brought
in by other development packages.  On newer versions, this dependency
has been removed.  Let's go ahead and explicitly declare which version
we want to install for each Debian version.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 19:42:28 +00:00
Daniel Varga
c8913746b5 Backed out 1 changesets (bug 1582749) for build bustage at /builds/worker/workspace/build/src/gfx/thebes/gfxFT2FontBase
Backed out changeset db3d77b313a0 (bug 1582749)
2019-09-22 21:01:58 +03:00
Lee Salzman
95c42fceb9 Bug 1582749 - query FreeType glyph advance and bounds at the same time. r=jfkthame
Cairo would normally query both the advance and other metrics at the same time,
then store them in a glyph cache sitting on each cairo_scaled_font_t any time
any of the extents were queried. Each cached scaled glyph metrics would require
about 150 bytes of space and could thus use a horribly large amount of memory
when a lot of glyphs were being used within a scaled font.

This tries to duplicate the behavior of querying and storing both advance and
bounds at the same time to effectively cut the number of glyph loads in half
for most cases. This should only add another 8 bytes per hash entry to store
the cached bounds, thus putting us way ahead on memory usage compared to what
Cairo did under the hood.

Further, Cairo would keep around cairo_scaled_font_t's in a holdover cache
even after there are no existing references to them and the owning gfxFonts
have long since died. This gives an artificial boost in successive runs of the
benchmark, while not aiding in the performance of the first run. I don't
believe the extra memory use would be justified to reproduce that particular
behavior, especially since our expectations are that the glyph cache for
a gfxFont dies when the gfxFont itself dies from the gfxFontCache.

In any case, this should at least significantly boost our glyph metrics
performance on a cold start, with the caveat about the warm start case.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 16:52:52 +00:00
Jonathan Kew
10f2427082 Bug 1583005 - Ensure the fontconfig configuration is initialized in all processes (by calling FcConfigGetCurrent) before potential gtk access. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D46732

--HG--
extra : moz-landing-system : lando
2019-09-22 16:21:06 +00:00
Brian Hackett
5f354b55b0 Bug 1582901 - Improve stepping between frames, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46690

--HG--
extra : moz-landing-system : lando
2019-09-22 03:25:03 +00:00
Matthew Noorenberghe
9e2406cc05 Bug 1550631 - Include the entryPoint for navigations from about:protections to about:logins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46630

--HG--
extra : moz-landing-system : lando
2019-09-22 15:15:52 +00:00
Matthew Noorenberghe
0b4eb51041 Bug 1550631 - Record telemetry for direct navigation to about:logins. r=jaws
Also remove empty `filter` query params.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 15:15:29 +00:00
Matthew Noorenberghe
280f3dd879 Bug 1581969 - Don’t activate the newSavedLogin trigger on accounts.firefox.com. r=jaws
The user may be in the process of setting up Sync so prompting to setup login Sync from a CFR would be untimely.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 09:58:47 +00:00
Jan de Mooij
980c58176d Bug 1582772 - Use branchSub32 to micro-optimize some loops in generated code. r=iain
This is a bit more efficient. Bug 1582772 comment 0 has more data.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 05:34:32 +00:00
Jean-Yves Avenard
e3fc8f8970 Bug 1575744 - P8. Remove no longer necessary interface. r=mayhemer
Thanks to the promisifying of SendCrossProcessRedirect we no longer needs callback to DocumentChannelParent from nsHttpChannelParent. So we can remove the interface that allowed to do so.

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

--HG--
rename : netwerk/base/nsICrossProcessSwitchChannel.idl => netwerk/base/nsIProcessSwitchRequestor.idl
extra : moz-landing-system : lando
2019-09-20 04:09:48 +00:00
Jean-Yves Avenard
7cdc8e0a68 Bug 1575744 - P7. Promisify SendCrossProcessRedirect to avoid needing PHttpChannel to get a response. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D46163

--HG--
extra : moz-landing-system : lando
2019-09-21 11:14:49 +00:00
Jean-Yves Avenard
9d8eadbabe Bug 1575744 - P6. Remove unused nsIProcessSwitchRequestor implementation. r=mayhemer
nsViewSourceChannel will never trigger a change of process. So we can remove this interface from nsViewSourceChannel.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:47 +00:00
Jean-Yves Avenard
abec029eac Bug 1575744 - P5. Implement process switch from DocumentChannelParent. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D46020

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:47 +00:00
Jean-Yves Avenard
912b0df630 Bug 1575744 - P4. Add MozPromise::FromDomPromise. r=bholley
Similar to MozPromise::FromGeckoResult.

Allows to create a MozPromise that will be resolved/rejected when the JS promise does the same.
It would be nice to be able to chain the two promise types, but it would be an additional effort.
MozPromise::FromDomPromise is limited to primitive types only and the reject value type must be nsresult.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
Jean-Yves Avenard
89412cad70 Bug 1575744 - P3. Make ContentProcessIdPromise exclusive. r=mayhemer
There's only one consumer of these promises. It doesn't need to be non-exclusive.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
Jean-Yves Avenard
4986f63ec2 Bug 1575744 - P2. Add nsIProcessSwitchRequestor interface. r=mayhemer,nika
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
Jean-Yves Avenard
f985ff154a Bug 1575744 - P1. Only perform process switch once we have completed all redirects. r=mayhemer
This is a stepped transition ; as SessionStore currently only knows how to deal with nsHttpChannel we have to go through the redirect only if the current channel is a nsHttpChannel.
In a followup change we will allow SessionStore to directly deal with the DocumentParentProcess.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
shindli
d362073fc6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-22 00:56:23 +03:00
shindli
921b45df78 Merge autoland to mozilla-central. a=merge 2019-09-22 00:46:56 +03:00
Brindusan Cristian
125c934a04 Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout
Backed out changeset 6fcb417f7ff4 (bug 1542830)
Backed out changeset 1aa253e6604a (bug 1542830)
Backed out changeset 73ec288886cd (bug 1542830)
Backed out changeset 84b903e60dc9 (bug 1542830)
Backed out changeset 8e2da9ff5f5a (bug 1542830)
Backed out changeset c4e547a6a039 (bug 1542830)
Backed out changeset 919f1af7c135 (bug 1542830)
Backed out changeset da7e775c4051 (bug 1542830)

--HG--
rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
2019-09-22 00:01:01 +03:00