673949 Commits

Author SHA1 Message Date
Geoff Lankow
68b84bf193 Bug 1585828 - Replace is_firefox_or_android condition with has_build condition on mach run/mach install r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47992

--HG--
extra : moz-landing-system : lando
2019-10-04 13:20:07 +00:00
Dão Gottwald
2322d61c8b Bug 1586232 - Animate the megabar with transforms only r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48164

--HG--
extra : moz-landing-system : lando
2019-10-05 02:35:17 +00:00
Adrian Wielgosik
c763074930 Bug 1583953 - avoid assert-heavy iterators in Span comparisons. r=jwalden
This lets us avoid pointlessly checking release assertions in a safe comparison loop.
In particular, for Span<char>, this lets the compiler use memcmp, speeding up comparisons by over an order of magnitude.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 02:08:11 +00:00
Mark Hammond
b261c7e440 Bug 1585507 - restore the 'connect another device' label in sync preferences. r=eoger,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48142

--HG--
extra : moz-landing-system : lando
2019-10-04 12:53:15 +00:00
Gabriel Luong
e579ee608d Bug 1583945 - Import the RDM browser stylesheet along with the devtools-browser stylesheet. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D47132

--HG--
extra : moz-landing-system : lando
2019-10-04 22:29:47 +00:00
Mike Shal
58eee388c8 Bug 1586357 - Only force re-linking on 1-tier PGO builds; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48206

--HG--
extra : moz-landing-system : lando
2019-10-04 20:53:42 +00:00
Daniel Varga
1a37376531 Backed out 6 changesets (bug 1456995) for devtools failure at browser/browser_aboutdebugging_serviceworker_timeout.js. On a CLOSED TREE
Backed out changeset 2237ceb903a4 (bug 1456995)
Backed out changeset 5ce169fa82fb (bug 1456995)
Backed out changeset e64553b959f9 (bug 1456995)
Backed out changeset 7c53d7ca5ef7 (bug 1456995)
Backed out changeset 67e23c511201 (bug 1456995)
Backed out changeset e127b732bab0 (bug 1456995)
2019-10-05 01:58:08 +03:00
Greg Tatum
3d718557fc Bug 1580469 - Create end to end profile capture tests; r=julienw
This patch creates the first full mochitest that exercises the profiler
popup's mechanisms of capturing profiles. The test tries to use user-focused
mechanisms–clicking buttons to fully capture a profile.

In addition, it fixes two leaks that were uncovered by the leaktest check.
The first has to do with the iframe src creating an about:blank page when
set to an empty string. The next was the Services.obs.addObserver call
in the perfFrontInterface not being removed when the page was unloaded.

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

--HG--
extra : source : f44e632769d75b428d0a84a3274bdf45095b91fc
2019-10-04 18:23:48 +00:00
Greg Tatum
4128a5f6ec Bug 1581975 - Factor out the getSymbolsTable browser code from client code; r=julienw
The popup's shortcuts use a different codepath than the popup's buttons.
When using the buttons, the profile was not being captured as a gzipped
profile, and it was using the DevTools' mechanism for getting the symbol
tables. This patch makes the getSymbolTables mechanism configuring in the
recording panel's client.

In addition, browser code made its way into the client. This patch moves
the browser code to all be in browser.js to match the original code
organization for the panel, which was trying to keep browser APIs
out of the React components and Redux store.

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

--HG--
extra : source : 5a3661caf52faaf67b10fcef9e3121d639a17cc3
2019-10-04 18:17:43 +00:00
Daniel Varga
038d80fc3b Backed out 2 changesets (bug 1580469, bug 1581975) for devtools failure at browser/browser_aboutdebugging_serviceworker_timeout.js
Backed out changeset f44e632769d7 (bug 1580469)
Backed out changeset 5a3661caf52f (bug 1581975)

--HG--
extra : rebase_source : 4ab13ee495ce0709daaaed4e3cec53d11bd3042a
2019-10-05 01:17:45 +03:00
Kris Maglione
1be547aab5 Bug 1586119: Part 3 - Enable some tests which appear to work under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48222

--HG--
extra : moz-landing-system : lando
2019-10-04 21:50:32 +00:00
Kris Maglione
147f1b5141 Bug 1586119: Part 2 - Fix some more tests to almost work under Fission. r=mccr8
These still fail or timeout because of missing platform features, but at least
the tests will pass once those platform features are fixed after this.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 21:50:34 +00:00
Kris Maglione
b8a4406b8e Bug 1586119: Part 1 - Fix a couple of tests to work under Fission. r=mccr8
The key change here is to use SpecialPowers.spawn to access `location.href`
and `location.reload()` for remote windows in the correct proceses. The
remaining changes are refactorings to make it easier to encorporate async
operations like `SpecialPowers.spawn` in the test logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 21:55:07 +00:00
Sam Foster
f1faf0cb04 Bug 1585398 - Dont clear the generated password cache when merging the autosaved login. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48144

--HG--
extra : moz-landing-system : lando
2019-10-04 21:28:15 +00:00
Csoregi Natalia
ce06821ff1 Merge mozilla-central to autoland. CLOSED TREE 2019-10-05 00:41:24 +03:00
Csoregi Natalia
489a461af5 Merge autoland to mozilla-central. a=merge 2019-10-05 00:36:39 +03:00
Gurzau Raul
46534bb2e6 Backed out changeset 8cdc2f617b0d (bug 1586232) fpr faiures at browser_searchbar_openpopup.js on a CLOSED TREE. 2019-10-05 00:25:59 +03:00
Gurzau Raul
157349c230 Backed out changeset 20828684a87d (bug 1585727) for mochitest failures at browser_preferences_usage.js on a CLOSED TREE. 2019-10-05 00:24:48 +03:00
Csoregi Natalia
8768a4f5e3 Backed out 7 changesets (bug 1576714) for fission permafailures on test_bug590812.html. a=backout
Backed out changeset d0c49f00eb91 (bug 1576714)
Backed out changeset faecc9f35b49 (bug 1576714)
Backed out changeset 2e156655c31e (bug 1576714)
Backed out changeset eece722082c7 (bug 1576714)
Backed out changeset ebda40f96884 (bug 1576714)
Backed out changeset 7dce423417d8 (bug 1576714)
Backed out changeset 9a5072019168 (bug 1576714)
2019-10-05 00:08:33 +03:00
Matt Howell
4040844711 Bug 1586228 - Don't always disable file downloads when parental controls are on in Windows 10. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D48202

--HG--
extra : moz-landing-system : lando
2019-10-04 21:03:26 +00:00
Nick Alexander
c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Nick Alexander
116ce05f35 Bug 1580356 - Pre: Don't collect package metrics. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D47696

--HG--
extra : moz-landing-system : lando
2019-10-04 20:56:27 +00:00
Nick Alexander
6905ecebb7 Bug 1580356 - Pre: Allow no download information in informulate.py. r=mshal
GeckoView builds produce artifact for download by Mozilla's regular
consumer audience.  It's not clear what, if anything, depends on this
download information, but this is a reasonable way to find out!

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:56:29 +00:00
Iain Ireland
b3d6817f4b Bug 1585874: Clear GC pointers in ScriptSource when canonical ScriptSourceObject is finalized r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D48219

--HG--
extra : moz-landing-system : lando
2019-10-04 20:04:34 +00:00
Doug Thayer
c93f700860 Bug 1550108 - Reduce stack size on StartupCache threads r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46225

--HG--
extra : moz-landing-system : lando
2019-10-04 20:45:41 +00:00
Doug Thayer
e64355e5cd Bug 1550108 - Prefetch StartupCache off main thread r=froydnj
Does what it says on the tin. Once we have a central scheduling
system this should likely just consume that.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:45:32 +00:00
Doug Thayer
87f736bc12 Bug 1550108 - Compact the StartupCache if it is bloated r=froydnj
The first run loads more things into the StartupCache than are
used on the second and subsequent runs. This just ensures that if
the StartupCache diverges too far from its actual use that we will
rebuild it.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:45:18 +00:00
Doug Thayer
5a64723655 Bug 1550108 - Eliminate large buffer copies from StartupCache r=froydnj
The signatures were updated in the previous patch to hand us the raw,
uncopied buffers. This just adjusts the callsites to match.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:45:09 +00:00
Doug Thayer
a74957c6e6 Bug 1550108 - Change StartupCache format from zip to custom r=froydnj
I am not aware of anything that depends on StartupCache being a
zip file, and since I want to use lz4 compression because inflate
is showing up quite a lot in profiles, it's simplest to just use
a custom format. This loosely mimicks the ScriptPreloader code,
with a few diversions:

- Obviously the contents of the cache are compressed. I used lz4
  for this as I hit the same file size as deflate at a compression
  level of 1, which is what the StartupCache was using previously,
  while decompressing an order of magnitude faster. Seemed like
  the most conservative change to make. I think it's worth
  investigating what the impact of slower algs with higher ratios
  would be, but for right now I settled on this. We'd probably
  want to look at zstd next.
- I use streaming compression for this via lz4frame. This is not
  strictly necessary, but has the benefit of not requiring as
  much memory for large buffers, as well as giving us a built-in
  checksum, rather than relying on the much slower CRC that we
  were doing with the zip-based approach.
- I coded the serialization of the headers inline, since I had to
  jump back to add the offset and compressed size, which would
  make the nice Code(...) method for the ScriptPreloader stuff
  rather more complex. Open to cleaner solutions, but moving it
  out just felt like extra hoops for the reader to jump through
  to understand without the benefit of being more concise.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:59 +00:00
Doug Thayer
1678c5e378 Bug 1550108 - Add mapErr method to Result r=froydnj
Adds an explicit error mapping function to Result, to simplify
using MOZ_TRY... macros.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:50 +00:00
Doug Thayer
6bd29eb0c3 Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj
This just splits out the InputBuffer and OutputBuffer helper classes
to make it cleaner for the StartupCache to include them.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:41 +00:00
Doug Thayer
47ada02be2 Bug 1550108 - Avoid decompressing entries just to check if they exist r=kmag
This will not behave exactly the same if we had previously written bad
data for the entry that would fail to decompress. I imagine this is rare
enough, and the consequences are not severe enough, that this should be
fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:32 +00:00
Doug Thayer
05e64f1f70 Bug 1550108 - Don't read from app/gre caches in StartupCache r=kmag
I thought I had already written out the patch to remove these, but
apparently not. Per discussion in the startup cache telemetry bug,
there should be no reason for doing this.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:18 +00:00
Doug Thayer
534ac9e360 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

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

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-10-04 20:44:08 +00:00
Brindusan Cristian
20508b932b Merge autoland to mozilla-central. a=merge 2019-10-04 19:06:58 +03:00
Geoff Brown
f3c3cef387 Bug 1584692 - Increase max-run-time for win7 xpcshell opt; r=bc
Avoid intermittent task timeouts.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:39:48 +00:00
Haik Aftandilian
c0f7925547 Bug 1578907 - MacOS 10.15 Beta - Flash File Picker broken r=spohl
Allow access to extra services needed to open file pickers from the Flash process on 10.15.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:38:07 +00:00
Narcis Beleuzu
dd05f33268 Backed out changeset 0acda2d61aac (bug 1586093) for bc failures on browser_onboarding_rtamo.js. CLOSED TREE 2019-10-04 18:57:50 +03:00
Narcis Beleuzu
63d8758e03 Bug 1586246 - Fix linting on bug_1586246_migration.py. CLOSED TREE
--HG--
extra : histedit_source : 8d45d1950e08022b38c859581ae67992cfbfd364
2019-10-04 18:20:22 +03:00
Jan de Mooij
5f5d318489 Bug 1398738 - Discard ScriptCounts after discarding JitScript. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D48165

--HG--
extra : moz-landing-system : lando
2019-10-04 15:03:57 +00:00
Zibi Braniecki
b1310453e8 Bug 1586246 - Migrate autohide-context to Fluent using convert script. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D48171

--HG--
extra : moz-landing-system : lando
2019-10-04 14:56:30 +00:00
Jan de Mooij
2b758fc73b Bug 1586272 - Make dom/base/test/test_shared_compartment2.html work with Fission. r=mccr8
Use test1.mochi.test:8888 instead of example.org so that the innermost iframe is
still same-compartment with the top-level page.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 14:43:21 +00:00
Lee Salzman
24fe539478 Bug 1585845 - silence UBSan warning about tt_segment_t in Cairo. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D48095

--HG--
extra : moz-landing-system : lando
2019-10-04 10:30:05 +00:00
shindli
4dca96e526 Backed out changeset 341a1c31fb15 (bug 1546074) for causing spidermonkey bustages CLOSED TREE 2019-10-04 17:30:23 +03:00
Ksenia Berezina
f7866258a3 Bug 1586188 - Import WebCompat GoFaster 6.2.0 sources; r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D48152

--HG--
extra : moz-landing-system : lando
2019-10-04 14:25:21 +00:00
Christoph Kerschbaumer
93067a6541 Bug 1439390: Add test to ensure 'edit and resend' requests are not blocked by the CSP of the page. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48067

--HG--
extra : moz-landing-system : lando
2019-10-04 11:49:15 +00:00
shindli
6148906e03 Backed out changeset 718ef1098af5 (bug 1571487) for causing perma wpt merges in /mathml/relations/html5-tree/tabindex-002.html CLOSED TREE 2019-10-04 17:16:38 +03:00
Nicolas Chevobbe
75c76c68e4 Bug 1585529 - Fix invoke getter button for properties with quotes. r=Honza.
Bug 1584244 fixed some of the issue for getters,
but not all of them.
Instead of trying to unescape the node name, we
put the actual property name into the node, so
we can reuse it later.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 13:40:33 +00:00
Edouard Oger
179b1148ec Bug 1584293 - Refactor the FxA disconnect dialog. r=markh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D48098

--HG--
extra : moz-landing-system : lando
2019-10-04 14:06:35 +00:00
Lars T Hansen
149c32195f Bug 1546074 - Remove support for 'passive' syntax for segments. r=rhunt
This removes support for 'passive' and makes our element and data segment
syntax follow standard syntax much more closely.

Element segments now require either 'func' or 'funcref' in the right
position, and require a table index for active segments that don't use
the designated MVP shorthand.

Data segments require an offset when there's a memory index present.

Also add support for the noise syntax (offset x) for the
initialization offset in active segments.

I did not add support for the variant of in-line elements in the table
definition that allows the starting offset to be specified; this is
followup work.

Also tidy up some naming and comments in an attempt to clarify the
flow in the encoder.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 13:51:59 +00:00