Граф коммитов

639081 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei a5c0678ae4 Backed out changeset d158405da514 (bug 1528352) for perma failing test_udpsocket.js CLOSED TREE 2019-02-28 01:58:42 +02:00
Ciure Andrei b7e9c5588b Backed out changeset 2c0ca241bd4b (bug 1519621) for frame-reconstruction-scroll-clamping.html high frequency failures CLOSED TREE 2019-02-28 01:52:04 +02:00
Ciure Andrei 56434d5988 Backed out 2 changesets (bug 1509466) for rusttests build bustages CLOSED TREE
Backed out changeset 65c438efa01f (bug 1509466)
Backed out changeset e1cdaf345c39 (bug 1509466)
2019-02-28 01:29:15 +02:00
Dorel Luca b4b7dc9290 Bug 1487973 - Disabled dom/media/mediasource/test/test_FrameSelection_mp4.html on windows for frequently faling r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D21328

--HG--
extra : moz-landing-system : lando
2019-02-27 10:38:49 +00:00
Jean-Yves Avenard 2e80526126 Bug 1530977 - Initialize D3D devices immediately when e10s is not active. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D21352

--HG--
extra : moz-landing-system : lando
2019-02-27 19:42:42 +00:00
Jean-Yves Avenard 2acc7de1f6 Bug 1530234 - P2. Don't recalculate audio sample start time. r=bryce
The WMF audio decoder recalculated the timestamp of each audio sample according to the number of frames decoded so far.
This is incompatible with the trimming mechanism that rely on the timestamps of the audio to be matching what is found in the container.

All the other audio decoders do it that way already.

Depends on D20969

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

--HG--
extra : moz-landing-system : lando
2019-02-27 14:19:00 +00:00
Jean-Yves Avenard 0fe17b9323 Bug 1530234 - P1. Ignore init segment for audio only buffer if audio content didn't change. r=bryce
This prevents re-creating a new audio decoder which on Android can take an awful long time.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 14:34:15 +00:00
Jean-Yves Avenard 66ba3c52f7 Bug 1530918 - Use TimeUnit when seeking. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D21320

--HG--
extra : moz-landing-system : lando
2019-02-27 13:12:08 +00:00
Jeff Gilbert 19556f5ef5 Bug 1420745 - dlsym from lib before wsiGetProcAddress. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D21309

--HG--
extra : moz-landing-system : lando
2019-02-27 15:08:59 +00:00
Nika Layzell 8faa2cd588 Bug 1528383 - Allow getting 'wrappedJSObject' without the attribute being defined, r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D20016

--HG--
extra : moz-landing-system : lando
2019-02-26 21:19:11 +00:00
Nika Layzell b9e168fca3 Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D21134

--HG--
extra : moz-landing-system : lando
2019-02-27 22:46:41 +00:00
Nika Layzell 2a718d2775 Bug 1530467 - Add Array<T> support to xpcom rust bindings, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21046

--HG--
extra : moz-landing-system : lando
2019-02-26 20:51:19 +00:00
Gabriele Svelto 5bc9e5bb2b Bug 675539 - Unload tabs in low-memory scenarios r=mconley
This adds a mechanism that discards tabs when the browser detects a low-memory
scenario. Tabs are discarded in LRU order prioritizing regular tabs over
pinned ones, pinned ones over tabs playing audio and all of the previous over
pinned tabs playing audio.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 22:24:27 +00:00
Gabriele Svelto 0443979a06 Bug 675539 - Make tab discard functionality work on tab objects directly r=mconley
This removes the need to go through the browser-to-tab mapping when discarding
a tab and simplifies the relevant code. Besides being renamed discardBrowser()
was also split so that one can check if a tab can be discarded prior to trying
it.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 05:35:09 +00:00
Robert Strong f9ecc88a7e Bug 1530103 - Check for osint argument when checking for greomni and appomni arguments. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D21326

--HG--
extra : moz-landing-system : lando
2019-02-27 19:18:38 +00:00
Brian Birtles bcad38978b Bug 1509466 - Make cancelAnimationFrame cancel a pending request frame callback scheduled in the same frame; r=farre
As per the following change to the HTML spec:

  86b05f8a07

when running a requestAnimationFrame callback it should be possible to cancel
another requestAnimationFrame callback scheduled to run in the same frame by
using cancelAnimationFrame.

See issue:

  https://github.com/whatwg/html/issues/4359

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:18:48 +00:00
Brian Birtles c2a7b658ea Bug 1509466 - Pass frame request callbacks along with their handles to nsRefreshDriver; r=farre
In the next patch in this series we want to compare the handle of frame
callbacks we are about to run,  with a set of canceled handles stored on the
document. This patch makes us pass the handles along with the callbacks so we
can do that.

Incidentally doing this allows us to just swap array elements when building up
the refresh driver's set of callbacks to run. That is hopefully a little more
efficient than running the implicit conversion operator on each item and then
appending to an array.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:43:23 +00:00
Steve Fink bb9e8e48d6 Bug 1527777 - Apply change to Windows jobs too r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D21299

--HG--
extra : moz-landing-system : lando
2019-02-27 10:41:24 +00:00
Byron Campen [:bwc] 973021e793 Bug 1528352: Logging improvements in nsUDPSocket, and handle negative returns from PR_RecvFrom properly. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20565

--HG--
extra : moz-landing-system : lando
2019-02-27 15:39:57 +00:00
James Willcox 2ae8c31e33 Bug 1531097 - Skip notification tests on GeckoView r=gbrown
GeckoView doesn't currently support notifications at all.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 20:14:14 +00:00
Ciure Andrei 8d2894e70d Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE
Backed out changeset 009e7457b990 (bug 1525245)
Backed out changeset efb2e8fca464 (bug 1525245)
Backed out changeset 6a8401de3237 (bug 1525245)
Backed out changeset 38e802661b14 (bug 1525245)
Backed out changeset d02e3f436390 (bug 1525245)
Backed out changeset 10afd61b7582 (bug 1525245)
Backed out changeset 6b92fb3666d1 (bug 1525245)
Backed out changeset 476af2d7efe5 (bug 1525245)
Backed out changeset 43ad14e323a1 (bug 1525245)
Backed out changeset 94295e3fb027 (bug 1525245)
Backed out changeset d01ead2270e9 (bug 1525245)
Backed out changeset 6bdda622a04a (bug 1525245)
2019-02-28 00:55:39 +02:00
Nihanth Subramanya 64539979a9 Bug 1529001 - fxmonitor: properly package l10n in the build system. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D20366

--HG--
rename : browser/extensions/fxmonitor/locale/en-US/strings.properties => browser/extensions/fxmonitor/locales/en-US/fxmonitor.properties
extra : moz-landing-system : lando
2019-02-27 14:19:57 +00:00
Mike Conley 3081c2863c Bug 1529088 - Hold the HTML-based about:config to Nightly until we get Product sign-off. r=florian,paolo
Differential Revision: https://phabricator.services.mozilla.com/D20825

--HG--
extra : moz-landing-system : lando
2019-02-27 21:54:57 +00:00
Johann Hofmann 03ac7a3a7b Bug 1440079 - Don't allow repeated access keys in chrome documents. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D21355

--HG--
extra : moz-landing-system : lando
2019-02-27 13:53:09 +00:00
jcit 7058fdef9c Bug 1530787 - Replace waitForConditon in browser_914138 with TestUtils.waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21391

--HG--
extra : moz-landing-system : lando
2019-02-27 21:46:33 +00:00
Robert Strong 694c36fab7 Bug 1530960 - Add return value checks when removing files in updater.cpp. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D21396

--HG--
extra : moz-landing-system : lando
2019-02-27 21:42:54 +00:00
Sam Foster 482d9940bf Bug 1119063 - Don't autofill password fields with autocomplete=new-password. r=MattN
* Add form autofill outcome AUTOFILL_RESULT.PASSWORD_AUTOCOMPLETE_NEW_PASSWORD
* Autocomplete behavior is not changed

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

--HG--
extra : moz-landing-system : lando
2019-02-27 21:24:01 +00:00
John Lin 23e73b3f4c Bug 1510340 - p2: limit the concurrently created HLSDecoder instances. r=jya
Each instance has an instance of Java ExoPlayer that consumes memory in the
limited JVM heap. Too many concurrent players will cause OutOfMemoryError.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 01:22:02 +00:00
John Lin a5439ce1e3 Bug 1510340 - p1: reduce ExoPlayer default buffer size. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D20419

--HG--
extra : moz-landing-system : lando
2019-02-26 14:57:02 +00:00
Felipe Gomes 8fdc40f64b Bug 1530767 - Don't limit bug 1529380 improvements to the handoff-to-awesomebar flow. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21246

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:49 +00:00
Andrea Marchesini 26364d101d Bug 1487113 - AltDataOutputStreamChild must be nsIAsyncOutputStream, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21379

--HG--
extra : moz-landing-system : lando
2019-02-27 20:50:48 +00:00
Julian Descottes cdbf93e9a7 Bug 1528276 - Set DebuggerServer.keepAlive for RemoteDebugger and GeckoViewRemoteDebugger;r=ochameau
Depends on D20831

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:09:05 +00:00
Julian Descottes 4615ed9f9b Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:08:43 +00:00
Julian Descottes 235dde6c92 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 19:17:37 +00:00
Jed Davis af97210807 Bug 1506291 - Add Linux sandboxing for the RDD (media decoder) process. r=gcp,mjf,flod
The seccomp-bpf policy is currently just the "common" policy with no
additions (but with the fixes in bug 1511560 to enable shared memory
creation).  The file broker policy allows shared memory creation and
nothing else.  The namespace setup is the same as for GMP (i.e., as
restrictive as we currently can be).

The sandbox can be turned off for troubleshooting by setting the
environment variable MOZ_DISABLE_RDD_SANDBOX, similarly to the other
process types.

Tested against https://demo.bitmovin.com/public/firefox/av1/ with the
necessary prefs set.

Depends on D20895

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

--HG--
extra : moz-landing-system : lando
2019-02-27 20:14:54 +00:00
Jed Davis 5cc3212784 Bug 1506291 - Move the AV1 decoders to a sandbox-friendly CPU counting wrapper. r=gcp,mjf
Counting CPUs accesses the filesystem (sysfs or procfs), which we'd like
to disallow when sandboxed if possible, and fails silently if access
is denied.  Because the CPU count rarely changes, this patch handles
that problem for the RDD process by caching a copy before starting
sandboxing.

Tested with a local patch to have the sandbox file broker client crash
if accessing the sysfs node for the CPU count, to verify that it's not
accessed.

Depends on D14524

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

--HG--
extra : moz-landing-system : lando
2019-02-25 16:20:50 +00:00
Jed Davis 6fc87bff63 Bug 1511560 - Allow dup and ftruncate (when needed) in SandboxPolicyCommon. r=gcp
File descriptors are sometimes dup()ed in the process of communicating
them over IPC; some of this may be unnecessary (due to insufficient
use of move-only types), but dup() is relatively harmless.  It was
previously allowed for both content and GMP, so this doesn't change
anything.

The handling of ftruncate is a little complicated -- it's used for IPC
shared memory, but only when creating segments; so GMP doesn't allow
it and should continue not allowing it, but content needs it and RDD
will as well.  As a result, the subclass indicates if it will be needed.

Note that even when we have memfd_create support (bug 1440203),
ftruncate is still necessary even though brokering may not.

Depends on D14523

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

--HG--
extra : moz-landing-system : lando
2019-02-27 20:14:52 +00:00
Jed Davis bb4d6b8630 Bug 1511560 - Move the socketpair handling into SandboxPolicyCommon. r=gcp
The sandbox broker uses socketpair to construct the per-request channels
over which responses are sent; thus, if and only if the policy will be
using brokering, it will allow socketpair as safely as possible (i.e.,
denying datagram sockets if possible).

Depends on D14522

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

--HG--
extra : moz-landing-system : lando
2019-02-23 00:44:10 +00:00
Jed Davis 2dfa36102d Bug 1511560 - Move syscalls for adjusting memory mapping properties into SandboxPolicyCommon. r=gcp
madvise is used by our malloc (and probably others), and mprotect is
used with shared memory, including when created by another process, so
the common policy should include those rules.

Depends on D14521

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

--HG--
extra : moz-landing-system : lando
2019-02-23 00:44:08 +00:00
Jed Davis 6acf27b81f Bug 1511560 - Move the Linux sandbox broker hooks into SandboxPolicyCommon. r=gcp
This will allow other policies to use brokering if needed (e.g., RDD and
similar utility processes may need to access /dev/shm to create shared
memory).  The concrete policy class can deny filesystem access completely
(matching the current behavior of the GMP policy) by passing nullptr to
the superclass constructor instead.

Depends on D14520

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

--HG--
extra : moz-landing-system : lando
2019-02-23 00:44:06 +00:00
Jed Davis 86607a852d Bug 1500297 - Require a broker client in ContentSandboxPolicy at level > 1. r=gcp
ContentSandboxPolicy currently allows direct filesystem access if it
isn't given a broker client; this is a legacy design from the B2G era,
before the current idea of "sandbox level".  With this patch, it allows
filesystem access at level 1, and above that it requires brokering.

This is both to reduce the opportunities for accidentally having a
too-permissive sandbox and to prepare for refactoring the broker glue in
bug 1511560.

Depends on D14519

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

--HG--
extra : moz-landing-system : lando
2019-02-27 15:23:25 +00:00
Jed Davis 0901298ac2 Bug 1500297 - Fix Linux content sandbox level 1. r=gcp
Level 1 is meant to enable some seccomp-bpf filtering, but still allow
direct access to the filesystem, and level 2 is where brokering starts.
This was accidentally broken in 1365257 (making "level 1" act like level
2); this patch fixes that.

This feature obviously isn't used much given how long nobody noticed it was
broken, but it's useful to have around for troubleshooting, and it's
actually easier to fix it than edit it out of the documentation.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 15:23:25 +00:00
Dan Minor 7df80039d5 Bug 1530488 - Disable camera for aarch64 windows builds; r=pehrsons
This disables the camera for win64-aarch64 for Windows versions below
19H1. These versions have problems with the DirectShow implementation
which prevent the camera from working properly.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 19:50:04 +00:00
Botond Ballo 34d9171482 Bug 1519621 - Make sure ScrollToRestoredPosition() restores both the layout and visual scroll positions. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D18367

--HG--
extra : moz-landing-system : lando
2019-02-27 20:19:33 +00:00
Shane Caraveo 3fb3b1e418 Bug 1527127 update addon panel text for private windows r=flod,Gijs,mstriemer,rpl
Differential Revision: https://phabricator.services.mozilla.com/D19845

--HG--
extra : moz-landing-system : lando
2019-02-27 20:05:38 +00:00
Shane Caraveo e52a8bacf3 Bug 1527127 set permission for enabled extensions on initial upgrade r=aswan
When a user first upgrades to a version where incognito is enabled,
add the permission to all enabled extensions.  This preserves user workflow
and addresses other issues (e.g. proxy).  This will only happen once.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 16:59:55 +00:00
Andrea Marchesini 6dd0ecd7d0 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - new CookieSettings for SharedWorkers and ServiceWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21357

--HG--
extra : moz-landing-system : lando
2019-02-27 19:58:26 +00:00
Andrea Marchesini 477f2b65c3 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18960

--HG--
extra : moz-landing-system : lando
2019-02-27 19:58:07 +00:00
Andrea Marchesini eaa983a53f Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-02-27 19:57:47 +00:00
Andrea Marchesini 1b7b09b29f Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 9 - Tests for DOM Cache and cookie settings changing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18957

--HG--
extra : moz-landing-system : lando
2019-02-27 19:57:27 +00:00