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

706159 Коммитов

Автор SHA1 Сообщение Дата
Chris H-C 497e7d20ac Bug 1636130 - Tracelog the activating experiment r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D74246
2020-05-07 15:08:17 +00:00
Dorel Luca a6ee570e1a Reverting changes in 43625f3bc860260d31f6332b2f0b30d32de8629b services/settings/dumps/blocklists/addons-bloomfilters.json for casuing xpcshell failures. CLOSED TREE 2020-05-07 18:14:12 +03:00
Vlad Filippov ce5c94b04c Bug 1635937 - Enable 'identity.sync.useOAuthForSyncToken' pref for Nightly users r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D74145
2020-05-07 14:36:46 +00:00
Ricky Stewart 1395fb03f0 Bug 1634737 - GeneratedFile() template should yell at you if you try to set py2=True r=glandium
As of bug 1621451 this argument was ignored, but it just silently runs your code with `python3` if you pass it anyway. Ensure this doesn't happen any more, and protect against any other unexpected arguments as well.

Differential Revision: https://phabricator.services.mozilla.com/D73485
2020-05-05 15:53:37 +00:00
Ricky Stewart 933b3522b8 Bug 1633156 - Don't emit cached table files from ply r=glandium
`ply`, [by design](https://github.com/dabeaz/ply/issues/79), does not produce reproducible table files; hence bug 1633156. (Note that this was *always* true, but only became a problem once we switched to Python 3, which has more unpredictable dict iteration order than Python 2.7, at least prior to [3.7](https://docs.python.org/3/whatsnew/3.7.html#summary-release-highlights).)

In any other circumstance I would consider submitting a patch to `ply` to fix this, but as of the [in-progress version 4.0 of the library](https://github.com/dabeaz/ply/blob/master/CHANGES), it doesn't even emit this cached data any more, and indeed the [latest version of the code](1fac9fed64/ply) doesn't even call `open()` at all except to do logging or to read the text data to be parsed from `stdin`. So if we were going to pin our future on `ply` and upgrade to later versions of the library in the future, we would have to live in a world where `ply` doesn't generate cached table files for us anyway.

Emitting the cached table files so later build steps can consume them is an "optimization", but it's not clear exactly how much actual value that optimization provides overall. Quoth the `CHANGES` file from that repository:

```
PLY no longer writes cached table files.  Honestly, the use of
the cached files made more sense when I was developing PLY on
my 200Mhz PC in 2001. It's not as much as an issue now. For small
to medium sized grammars, PLY should be almost instantaneous.
```

In practice, I have found this to be true; namely, `./mach build pre-export export` takes just about as long on my machine after this patch as it did before, and in a try push I performed, there's no noticeable performance regression from applying this patch. In local testing I also found that generating the LALR tables in calls to `yacc()` takes about 0.01s on my machine generally, and we generate these tables a couple dozen times total over the course of the `export` tier now. This isn't *nothing*, but in my opinion it's also not nearly long enough where it would be a concern given how long `export` already takes.

That `CHANGES` file also stresses that if caching this data is important, we have the option of doing so via `pickle`. If and when we decide that re-enabling this optimization is valuable for us, we should take control of this process and perform the generation in such a way that we can guarantee reproducibility.

Differential Revision: https://phabricator.services.mozilla.com/D73484
2020-05-07 00:39:28 +00:00
Ricky Stewart ab55fb68d1 Bug 1634535 - Move ply to third_party/python r=glandium
The license used to be LGPL so the code lived in other-licenses, but it was changed to BSD eleven years ago. Let's move it over to third_party/python/ply where it belongs.

    ./mach vendor python ply==3.10

`diff -r` between the original `ply` directory and the new one only comes up with the new file `third_party/python/ply/CHANGES` which isn't relevant to the functionality of the code, so this should be a no-op all told.

Differential Revision: https://phabricator.services.mozilla.com/D73341
2020-05-05 16:02:02 +00:00
Mirko Brodesser 6092b43712 Bug 1635709: part 3) Add unit to `Selection::StartAutoScrollTimer`'s delay argument. r=hsivonen
Depends on D74052

Differential Revision: https://phabricator.services.mozilla.com/D74053
2020-05-06 15:24:59 +00:00
Mirko Brodesser 99d8db5e8a Bug 1635709: part 2) Add unit to `nsITimer`'s `init` methods. r=froydnj
`Selection`'s `nsAutoScrollTimer` uses it and it's clearer when the unit
is known.

Depends on D74051

Differential Revision: https://phabricator.services.mozilla.com/D74052
2020-05-06 15:23:22 +00:00
Mirko Brodesser 193ee7189e Bug 1635709: part 1) Rename `nsFrameSelection::SetCaretBidiLevel` to `SetCaretBidiLevelAndMaybeSchedulePaint`. r=hsivonen
The old name was misleading.

Differential Revision: https://phabricator.services.mozilla.com/D74051
2020-05-06 15:26:07 +00:00
Kershaw Chang 2531104710 Bug 1623380 - Send ODA directly to content process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67609
2020-05-07 14:39:21 +00:00
Chris H-C 6487e9a4c0 Bug 1632535 - Support asking Marionette for a os-supplied port number r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D73897
2020-05-07 14:38:08 +00:00
Tom Prince dc655024c6 Bug 1635732: Use a worker alias for `t-linux-metal` workers; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74188
2020-05-07 14:06:15 +00:00
ffxbld bed945fee6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D74235
2020-05-07 14:10:06 +00:00
Emilio Cobos Álvarez b2ac522be5 Bug 1636004 - Flush frames in nsFrameLoader::TryRemoteBrowser. r=mattwoodrow
With LazyFC in the parent process enabled, we can get here more easily
without frames for the <browser> element.

This causes some assertion failures because we start parenting the
remote browsers to the wrong layer manager when inside a popup.

If we get to nsFrameLoader::TryRemoteBrowser without a frame,
GetLayerManager (which uses GetWidgetForContent) will just fall back to
GetWidgetForDocument. Badness ensues if the widget should actually not
be that one.

Make sure to flush frames when we load an event, so that we can
initialize stuff properly.

We could try to only flush if inside a popup or something, but this code
is a bit tricky so if possible I'd prefer not to diverge.

Differential Revision: https://phabricator.services.mozilla.com/D74177
2020-05-07 13:46:16 +00:00
Ted Campbell 84ba5e4513 Bug 1618636 - Replace FunctionCreationData with ScriptStencilBase. r=mgaudet
We only use the gcThings array, but this is a stepping stone to Stencil.

Differential Revision: https://phabricator.services.mozilla.com/D74158
2020-05-07 12:51:40 +00:00
Ted Campbell 53919a4aa0 Bug 1618636 - Move FunctionCreationData::createLazyScript. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D74157
2020-05-07 12:51:38 +00:00
Ted Campbell eb3a9b8bc7 Bug 1618636 - Remove the Maybe in FunctionCreationData. r=mgaudet
Add a FunctionBox::emitLazy flag to identify boxes which should allocate a
lazy script. This also is used to avoid allocating JSFunctions for funboxes
that are the result of a failed syntax parse.

Differential Revision: https://phabricator.services.mozilla.com/D74156
2020-05-07 12:51:31 +00:00
Ted Campbell 9f6fa7b674 Bug 1618636 - Add non-virtual ScriptStencilBase. r=mgaudet
Add a plain base class to hold the ScriptStencil data members. This
non-virtual type will later be used to replace FunctionCreationData. In the
long run we will remove the virtual methods entirely.

Differential Revision: https://phabricator.services.mozilla.com/D74155
2020-05-07 12:51:28 +00:00
Dorel Luca e86e893430 Backed out changeset 6a71491c39a4 (bug 1631816) as requested by dev. CLOSED TREE 2020-05-07 16:52:56 +03:00
Dorel Luca 42e5873ad1 Backed out changeset 8bfa7127e064 (bug 1629457) for WPT and Mochitest failures. CLOSED TREE 2020-05-07 16:52:12 +03:00
James Graham 3e91ad7f5b Bug 1636070 - Disable geolocation prompt in wpt tests, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D74227
2020-05-07 12:31:44 +00:00
Zhao Jiazhong 37fb267302 Bug 1635684 - [MIPS] Change bailoutTest32's second parameter to generic type. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D74013
2020-05-07 13:01:53 +00:00
Kristján Oddsson 644cf28f09 Bug 1631816 - Don't enable `network.preload` in wpt tests. r=jgraham
`network.preload` is off by default and there for not representative of a user of Firefox. By removing that user preference we are more in line

Differential Revision: https://phabricator.services.mozilla.com/D71774
2020-05-07 13:14:58 +00:00
Alex Chronopoulos e72615c01c Bug 1629984 - Stop enumerating suspended cameras. r=padenot
Suspended cameras are not able to capture data thus they are removed from the list of enumerated devices.

Differential Revision: https://phabricator.services.mozilla.com/D74210
2020-05-07 12:57:08 +00:00
Kartikaya Gupta 55681e438e Bug 1626734 - Fix edge case that can cause TimeStamps to go backwards by fractional milliseconds. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D72954
2020-05-07 12:56:09 +00:00
Kartikaya Gupta 2c6ee4a761 Bug 1626734 - Add gtests for SystemTimeConverter that exercise wrapping timestamps. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D73741
2020-05-07 12:58:32 +00:00
Kartikaya Gupta 8a0418c60f Bug 1626734 - Add some gtests for SystemTimeConverter. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D73740
2020-05-06 15:42:21 +00:00
Kershaw Chang f007ea73b1 Bug 1629457 - Get rid off nsWeakPtr in nsDNSPrefetch r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D73273
2020-05-07 12:55:57 +00:00
Dorel Luca 44ff2c403c Backed out changeset 76c9b2477a52 (bug 1619339) for Gecko Decision task failure. CLOSED TREE 2020-05-07 15:48:52 +03:00
Nathan Froyd 28bfcacda0 Bug 1619339 - explicitly set the soft ulimit for open files from mach; r=glandium
We do this to avoid unnecessarily penalizing subprocess invocations from
within mach (and all child processes) on some Linux setups.

Differential Revision: https://phabricator.services.mozilla.com/D66786
2020-05-07 00:41:18 +00:00
Matthew Gaudet baa3642409 Bug 1635898 - Remove remains of removed approach to initializers r=anba
Differential Revision: https://phabricator.services.mozilla.com/D74127
2020-05-07 07:18:40 +00:00
Dorel Luca ed73e1d6d4 Backed out changeset 2b9fc84a789b (bug 1623380) for Mochitest failures in dist/include/mozilla/RefPtr.h. CLOSED TREE 2020-05-07 15:17:30 +03:00
Jan de Mooij b99f610955 Bug 1636030 part 2 - Transpile StoreDenseElement. r=evilpie
Depends on D74201

Differential Revision: https://phabricator.services.mozilla.com/D74202
2020-05-07 10:07:41 +00:00
Jan de Mooij 0b83b3126b Bug 1636030 part 1 - Transpile string concat and some int32 unary/binary ops. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D74201
2020-05-07 10:05:25 +00:00
Simon Giesecke 8ef5cb428c Bug 1633446 - Fix handling of wrapped ArrayBuffer objects. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D72884
2020-05-07 11:26:19 +00:00
Kartikaya Gupta 23c0fd760e Bug 1636006 - Restore py2 compatibility in xpidl.py. r=froydnj
This file is used by the searchfox indexer using python2, so maintaining
py2-compatibility is desirable if not unduly burdensome.

Differential Revision: https://phabricator.services.mozilla.com/D74224
2020-05-07 11:21:41 +00:00
Kershaw Chang 467f6725fc Bug 1623380 - Send ODA directly to content process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67609
2020-05-07 11:12:46 +00:00
James Graham 92d967bf64 Bug 1636078 - Add components for webrtc-* directories, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D74223
2020-05-07 10:51:23 +00:00
Mark Banner 8c1bb4181c Bug 1636023 - Disable undesired outline on the searchbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74198
2020-05-07 11:01:33 +00:00
Dorel Luca d9c6949cf6 Backed out changeset b77388326b1b (bug 1630982) for causing leaks on mochitest jobs. CLOSED TREE 2020-05-07 13:49:20 +03:00
Ryan Kelly c6f0e24878 Bug 1636053 - correctly include deviceID in the sync ping. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D74217
2020-05-07 10:47:24 +00:00
Nicolas Silva c17a60327f Bug 1635472 - Move the displayport by 512 increments with WebRender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D73914
2020-05-07 10:29:23 +00:00
Christoph Kerschbaumer 43baaddaab Bug 1632160: Remove GetAllowMixedContentAndConnectionData from nsIDocShell and expose similar functionality on BrowsingContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72901
2020-05-07 07:22:17 +00:00
Dmitry Bezhetskov 646accd995 Bug 1599722 - Changed baseline addressing mode for incoming stack argument from SP based to FP based r=wingo,lth
Make the WebAssembly baseline compiler address incoming stack arguments from the frame pointer instead of from the stack pointer.

We have a plan to allow interstitial trampoline frames to be inserted between callers and callees, but only for cross-instance calls. This will mean offset to incoming stack arguments from SP is no longer a constant. The design has us instead address stack arguments from the frame pointer, as adding an interstitial trampoline frame won't modify the frame pointer.

The followup patch will do the same for the Ion compiler.

Differential Revision: https://phabricator.services.mozilla.com/D72298
2020-05-07 09:49:07 +00:00
Dorel Luca 1bdc12f332 Bug 1626570 - FIX-toolchain-bustage. CLOSED TREE 2020-05-07 13:03:31 +03:00
Joel Maher f43adba2ec Bug 1465776 - run css/css-variables/variable-transitions* tests as backlog (tier-2). r=hiro
run css/css-variables/variable-transitions* tests as backlog (tier-2)

Differential Revision: https://phabricator.services.mozilla.com/D74212
2020-05-07 09:44:02 +00:00
Simon Giesecke daf66e3fc8 Bug 1626570 - Improve handling of copying arrays in dom/cache/. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D73643
2020-05-07 08:49:15 +00:00
Simon Giesecke dbf542e979 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D73639
2020-05-07 08:49:18 +00:00
Simon Giesecke 61ad805d68 Bug 1626570 - Use CopyableTArray in ipdlc as member type for now. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D73685
2020-05-07 08:11:08 +00:00
Simon Giesecke c4fb12bd56 Bug 1626570 - Improve handling of copying arrays in dom/messagechannel/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D73653
2020-05-07 08:10:14 +00:00