Commit Graph

617241 Commits

Author SHA1 Message Date
Mike Hommey
460d9b3318 Bug 1495641 - Make clang-tidy toolchains use a clang-tidy/ directory instead of clang/. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D7582
2018-10-05 07:41:27 +09:00
Anshul Malik
860b350abd Bug 1495300 - Add a reload and record button. r=lsmyth
Tags: #secure-revision

Differential Revision: https://phabricator.services.mozilla.com/D7789
2018-10-04 18:36:22 -04:00
Csoregi Natalia
926d3dddfa Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-10-05 01:32:36 +03:00
Csoregi Natalia
9d55d83f31 Merge inbound to mozilla-central. a=merge 2018-10-05 01:29:38 +03:00
Csoregi Natalia
add33e25e6 Merge autoland to mozilla-central. a=merge 2018-10-05 01:28:23 +03:00
Jason Laster
29b5674c5a Revert "Backed out changeset 8566206da1bf (bug 1496401) for devtools failures at test/mochitest/browser_jsterm_await.js"
This reverts commit c639cc0b0a613949bd3e9c275c35e6adf5a8c38f.
2018-10-04 16:35:45 -04:00
Kartikaya Gupta
fea196e2e1 Bug 1496416 - Add a reftest for async-scrolling content with 2D rotation transforms. r=mstange 2018-10-04 16:12:16 -04:00
Gabriel Luong
4c24383a69 Bug 1494162 - Part 43: Lazy load createPortal to avoid creating the children of the MenuButton. r=birtles 2018-10-04 15:46:23 -04:00
Chris Manchester
4810e2e906 Bug 1494387 - Update windows builders to rustc 1.30 beta. r=froydnj
This updates our windows builders to use a version of rustc that includes
https://github.com/rust-lang/rust/pull/52847 We're not commiting to letting
this change ride the trains at this time.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 19:32:33 +00:00
Andrew McCreight
045d2cf847 Bug 1493226, part 2 - Statically prevent trivial calls to do_QueryInterface that returns an nsresult r=froydnj
This is the same as the other patch, except that it is applied to the
case where the QI returns an nsresult.

In addition, I marked the WithError helper class as being stack-only.

Depends on D7553

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

--HG--
extra : moz-landing-system : lando
2018-10-04 19:16:30 +00:00
Andrew McCreight
8ed5b13669 Bug 1493226, part 1 - Statically prevent trivial calls to do_QueryInterface r=froydnj
This patch adds a static assert to enforce that do_QueryInterface is
not used to go from a class to a base class, because that can be done
more efficiently via a static_cast. This is done by putting the type
of the source into the nsQueryInterface type. Once that is done, it is
easy to check the source and destination type. This has to be done
carefully so that in non-DEBUG builds, where NSCAP_FEATURE_USE_BASE is
defined, we don't generate any additional code.

The first step is to rename nsQueryInterface to
nsQueryInterfaceISupports. In DEBUG builds, I then add a new subtype
nsQueryInterface<T>, where T is the type of the object we are going to
QI. This class is a thin wrapper around nsQueryInterfaceISupports that
only forwards operations to the base class.

The main bit of trickery here is PointedToType<T>, which is needed to
get the type parameter for nsQueryInterface. This dereferences the
type, gets the address of it, then does RemovePointer. This is needed
because a wide variety of pointer types are passed in to
do_QueryInterface, including RefPtr<>, nsCOMPtr<>, raw pointers, and
OwningNonNull<>. PointedToType<RefPtr<T>> is equal to T,
PointedToType<T*> is equal to T, and so on.

In NSCAP_FEATURE_USE_BASE builds (opt), we only use
nsQueryInterfaceISupports, but in debug builds we use
nsQueryInterface<> where possible. The latter is also used for the
nsCOMPtr<nsISupports> overload, because we can always QI to
nsISupports, because that is sometimes used for canonicalization.

Another gross bit is that Assert_NoQueryNeeded can no longer use
nsCOMPtr<>, because it works by QIing T to T, which is banned by the
static analysis. Instead I had to reimplement it by hand.

Depends on D7527

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

--HG--
extra : moz-landing-system : lando
2018-10-04 19:16:28 +00:00
Jared Wein
7fe44d3527 Bug 1496309 - Fix arguments to populateSendTabToDevicesMenu and add automated test for coverage. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7684

--HG--
extra : moz-landing-system : lando
2018-10-04 18:37:50 +00:00
J.C. Jones
dad8ff2db4 Bug 1496467 - Enable Symantec Distrust in Firefox 64 r=keeler
The symantec distrust should now ride-the-trains in Firefox 64 Beta and Release.
Set security.pki.distrust_ca_policy to 2.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 17:48:53 +00:00
Julian Descottes
4848175bf8 Bug 1494615 - Stop update Devices.jsm from adb-addon module;r=ladybenko
Depends on D7405. The adb-addon module fires events whenever the
addon state changes, so Devices.jsm should be able to simply reuse this
module to update its internal state, rather than having adb-addon set
something on Devices.jsm directly.

On a sidenote, we really should not propagate the adb status via Devices.jsm
but since WebIDE relies on this, I decided to keep the code as is for now.
We will remove it from Devices.jsm when WebIDE is removed.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 18:45:22 +00:00
Julian Descottes
419fc776a0 Bug 1494615 - Accept source parameter in adb-addon install();r=ladybenko
Depends on D7404. The install method should not hardcode "webide"
for the addon manager telemetry info

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

--HG--
extra : moz-landing-system : lando
2018-10-04 18:43:29 +00:00
Julian Descottes
c1b5abb562 Bug 1494615 - Update adb-addon module to expose a singleton;r=ladybenko
Depends on D7403
The getADBAddon/forgetADBAddon is not removing listeners or doing
anything useful since the next call to getADBADdon will just recreate an
instance of ADBAddon. We can expose a singleton and use lazy requires to
achieve the same effect

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

--HG--
extra : moz-landing-system : lando
2018-10-04 18:40:38 +00:00
Nathan Froyd
44bc509b72 Bug 1397263 - touch CLOBBER as suggested by mshal; r=me a=CLOBBER
--HG--
extra : source : 4b136b18becf633340644ea30a16100849c63719
2018-10-04 10:24:37 -04:00
Narcis Beleuzu
b9b1c8ff17 Merge inbound to mozilla-central. a=merge 2018-10-04 18:48:04 +03:00
Narcis Beleuzu
4784b53689 Backed out 3 changesets (bug 1494170) for causing merge conflicts.
Backed out changeset 149ed1ed1f73 (bug 1494170)
Backed out changeset 567f15a5455a (bug 1494170)
Backed out changeset b1c901b2d661 (bug 1494170)
2018-10-04 18:47:37 +03:00
Narcis Beleuzu
46421aa410 Backed out changeset 650ac3a6c73d (bug 1488507) for causing merge conflicts. 2018-10-04 18:47:04 +03:00
Emilio Cobos Álvarez
fb252d3a24 No bug - update cssparser. r=me
This just makes an struct repr(C) which will help me to remove most of
nsCSSValue.
2018-10-04 13:53:53 +02:00
Jon Coppeard
6c612a4a15 Backed out changeset ba122021b8b5 (bug 1481196) 2018-10-04 11:50:55 +01:00
Jon Coppeard
20fb3bd245 Backed out changeset da82ea6820ee (bug 1482153) 2018-10-04 11:50:55 +01:00
Jon Coppeard
73b050f119 Backed out changeset 71791e10b6e9 (bug 1485031) 2018-10-04 11:50:55 +01:00
Honza Bambas
aba7b477ef Bug 1494376 - Log ~HttpChannelParentListener, r=nwgh 2018-10-04 04:48:00 +03:00
J.C. Jones
0e1d7b0f31 Bug 1488622 - land NSS dc4500650617 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 9872909728a147458f9abc4da053eb934e6b9fc2
2018-10-04 08:39:38 -07:00
Geoff Brown
c1296ff654 Bug 1448698 - Use alternate path for stackfixer import in android mochitests; r=me,a=test-only
Android mochitests typically use the xre-path instead of the utility-path. The
stack fixer module should be available in the host-utils, pointed to by xre-path.
2018-10-04 13:07:04 -06:00
Gurzau Raul
8221a997c1 Backed out changeset 8566206da1bf (bug 1496401) for devtools failures at test/mochitest/browser_jsterm_await.js 2018-10-04 21:44:05 +03:00
Brian Hackett
e2e05d3088 Bug 1495268 - Watch for checkpoint activity whenever a thread blocks on the helper thread state lock, r=jandem.
--HG--
extra : rebase_source : a68baf044035e5936b0234927bdb040bcf872576
2018-10-03 15:05:10 -10:00
Brian Hackett
d905141ac5 Bug 1495272 Part 2 - Use DeferredFinalize in SweepTearOffs when recording/replaying, r=smaug.
--HG--
extra : rebase_source : 829a3dea58f123893c591c05795fd6b4f4bba0e9
2018-10-03 15:03:37 -10:00
Brian Hackett
faaf9d447d Bug 1495272 Part 1 - Don't register deferred finalizer in BindingJSObjectCreator until initialization succeeds, r=bz.
--HG--
extra : rebase_source : 9824eee43c6c4b1949c2e2ad2168262bc4342b45
2018-10-03 15:03:02 -10:00
Brian Hackett
650e2cdf63 Bug 1489192 - Use the right API when terminating hanged child processes, r=mccr8.
--HG--
extra : rebase_source : 025207952ea9bf10dae044e25726048a2a54ab73
2018-10-03 14:59:04 -10:00
Brian Hackett
d01350bb2a Bug 1496162 - Relax checks when inspecting memory regions after each thread's stack, r=froydnj. 2018-10-04 06:40:24 -10:00
Kartikaya Gupta
a91d1a5df9 Back out bug 1415272 for introducing bug 1496416. r=me
The WR change was backed out upstream in WR PR 3165, but I'm landing it
here out-of-band so we don't have to wait for a regular WR update.
2018-10-04 12:13:13 -04:00
Narcis Beleuzu
40e5bfd27a Merge mozilla-central to inbound. CLOSED TREE 2018-10-04 19:02:02 +03:00
Tom Tung
c31875b7c3 Bug 1389380 - Add a test for storage pressure event; r=janv
A storage pressure event should be fired when the current usage is greater than
the global limit. Currently, the QuotaManger checks the usage and the limit in
two different cases, and this test verfiies both cases do fire a storage
pressure event with a correct value of usage. The first one is that a quota
client is asking for writting a new storage into the disk, but it will
make the currnet usage become greater than the global limit. The other one is
that the calculating limit is less than the current usage while initilaizing the
temporary storage.

--HG--
extra : rebase_source : 0ce65ee177175462ac8928f70972699c428a1135
2018-10-04 10:32:41 +02:00
Jason Laster
367d991905 Bug 1496401 - Update Debugger Frontend v93. r=dwalsh 2018-10-04 05:47:00 +03:00
Michal Novotny
cc92ea3e92 Bug 1493278 - ChildDNSService::GetDNSRecordHashKey is doing unnecessary work. r=valentin
This fixes bug introduced by patch from bug 1337893. Serialized origin attributes suffix should be appended instead of rewriting the string.

--HG--
extra : rebase_source : a8ab785102e6e080f3038c1bd94f2b8b82404a55
2018-10-04 03:16:00 +03:00
Andrew Creskey
00474fc9c9 Bug 1495431 Expose baseline and ion JIT warm up threshold options to preferences, about:config r=nbp
JIT warmup options were exposed to preferences to facilitate experimentation/optimization.

The baseline and ion warm up thresholds had already been exposed through JSAPI, just needed to read from Preferences.

The ion JitOption, frequentBailoutThreshold, was also exposed to JSAPI and Preferences.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 19:23:54 +00:00
Brindusan Cristian
070df1d4c1 Backed out 6 changesets (bug 1495025) for mochitest-webgl2 failures in test_2_conformance2__textures__misc__npot-video-sizing.html. CLOSED TREE
Backed out changeset 263d4f722174 (bug 1495025)
Backed out changeset 528dbc463c22 (bug 1495025)
Backed out changeset 25895d283d47 (bug 1495025)
Backed out changeset c3b43ee1092e (bug 1495025)
Backed out changeset c548d816019d (bug 1495025)
Backed out changeset 208624601a18 (bug 1495025)
2018-10-04 15:16:07 +03:00
Masayuki Nakano
b75228c776 Bug 1496284 - Drop Etherpad instances from "dom.keyboardevent.keypress.hack.dispatch_non_printable_keys" r=smaug
Etherpad fixed the bug with new Gecko behavior and has already released
it in this August.  So, even if some instances still use older versions,
we can request them to update the version.

This patch removes all Etherpad instances we know from the blacklist
of strict keypress dispatching.  So, Nightly testers can find old
instances easier.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:19:49 +00:00
Narcis Beleuzu
8f9c481c6c Backed out changeset cb8b8676ee77 (bug 1494605) as per Yulia`s request. 2018-10-04 14:12:32 +03:00
Andrew McCreight
afe914f664 Bug 1495814 - Remove pointless do_QueryInterface() functions from nsBaseChannel.h r=mayhemer
The first QI is never used. The second one is the same as the one in
nsCOMPtr.h, so we should be able to call that instead, which can be
done simply by deleting the method. The motivation is that I'm
changing how do_QueryInterface works, and I'd like to avoid changing
this place given that it isn't actually needed.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 10:53:21 +00:00
Tom Schuster
9a738c29b8 Bug 396370 - Gtk (XDnd) Image/File drag and drop support r=karlt
Based on a patch from Marco Pesenti Gritti (11 years ago)

Depends on D7407

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

--HG--
extra : moz-landing-system : lando
2018-10-04 10:31:45 +00:00
Tom Schuster
04d0f910fd Bug 396370 - Set RequestingPrincipal and ContentPolicy in BaseDragService. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D7407

--HG--
extra : moz-landing-system : lando
2018-10-04 10:31:32 +00:00
Jean-Yves Avenard
27e67380d0 Bug 1322234 - P5. Pass the disallow HW decoder flag to remote video decoder. r=mattwoodrow
We'll need to handle EnumSet in ipdl at some stage.

Depends on D7648

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:45:26 +00:00
Jean-Yves Avenard
519689d5ee Bug 1322234 - P4. Don't attempt to use Windows VP9 decoder for profile 1 and 3. r=bryce
The Windows VP9 hardware decoder currently do not support anything else than profile 0 and 2 (YUV420) and return garbage when decoding.

We error on those streams allowing to fall back on the ffvp9 software decoder.

Depends on D7647

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:52:37 +00:00
Jean-Yves Avenard
c0ac48ee0c Bug 1322234 - P3. Add method to read a VP9 profile from a VP9 bitstream r=TD-Linux
Depends on D7616

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:43:57 +00:00
Jean-Yves Avenard
6c63270a37 Bug 1322234 - P2. When first frame decoding failed with hardware decoder, fall back to software decoding r=bryce
Continuing on the infrastructure provided by bug 1363668 we will now forcibly disable hardware decoding if the first frame failed to decode with a hardware accelerated decoder.

Depends on D7615

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:43:24 +00:00
Jean-Yves Avenard
84c750dbe6 Bug 1322234 - P1. Add option to disable hardware decoding. r=bryce
For know will only be used with Windows WMF decoders.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:42:56 +00:00