Commit Graph

56555 Commits

Author SHA1 Message Date
Geoff Brown
2eb3a8f2d4 Bug 1557417 - Avoid cross-directory support file error in android mochitest; r=bc
Do not include the problematic manifest on Android. We never run Android
mochitest-browser-chrome anyway. Bug 1435429 used a similar approach.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 21:47:04 +00:00
Chris Manchester
b17e1484eb Bug 1552120 - Add a flag to the packager to ignore broken symlinks and pass it for developer builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D33893

--HG--
extra : moz-landing-system : lando
2019-06-06 23:22:42 +00:00
Csoregi Natalia
df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Csoregi Natalia
0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Bogdan Tara
debfbdfbb2 Backed out changeset 5bd1cdb39b33 (bug 1557319) for bugzilla linting failure CLOSED TREE 2019-06-07 00:49:52 +03:00
Bogdan Tara
2f77f4ae9b Backed out changeset 584e6d9246ac (bug 1557252) for browser/components/preferences/in-content/tests* failures CLOSED TREE 2019-06-06 20:15:59 +03:00
Rob Wu
b43139b7b6 Bug 1557369 - Disable extension recommendations in discopane tests r=mstriemer,zombie,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D33979

--HG--
extra : moz-landing-system : lando
2019-06-06 16:45:16 +00:00
Zibi Braniecki
70e5a4ee3a Bug 1552714 - Fix two tests which were caught not waiting for l10n but checking for l10n values. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33741

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:18 +00:00
Zibi Braniecki
a49f5263f1 Bug 1552714 - Fix tests to compare the result of getAttributes against L10nKeys. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33740

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:09 +00:00
Alexander Surkov
73acada34c Bug 1557252 - add missing style for in-content dialogs, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33976

--HG--
extra : moz-landing-system : lando
2019-06-06 15:56:34 +00:00
Mark Banner
afed87d54e Bug 1557319 - Create a top-level toolkit index for the toolkit documentation. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33962

--HG--
extra : moz-landing-system : lando
2019-06-06 19:54:54 +00:00
Nicolas B. Pierron
93b3ec9605 Bug 1488858 - Rename NonNullObject to RequireObject. r=jorendorff 2019-06-06 14:25:44 +02:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Mike Hommey
6f6e8cbd72 Bug 1551639 - Always update buildid but avoid rebuilding libxul. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33772

--HG--
extra : moz-landing-system : lando
2019-06-06 04:35:02 +00:00
Robert Strong
08ed524d2d Bug 1557452 - Change about:support to open the update history by using the chrome uri instead of using nsIUpdatePrompt. r=bytesized
This is in preparation of removing nsIUpdatePrompt

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:05:03 +00:00
Valentin Gosu
40d01075ce Bug 1556259 - Make sure CaptiveDetect.jsm interprets any redirect as a locked captive portal r=mayhemer
The problem with CaptiveDetect was that it uses an XMLHttpRequest, and
apparently xhr.status is 0 for failed requests, which here includes cert
errors, redirect loops, etc.
Getting the XHR to not follow redirects was tricky, so a hacky fix was to
set nsIHttpChannel.redirectionLimit = 0;
For any redirect the XHR would now fail with NS_ERROR_REDIRECT_LOOP, which
we need to handle separately.

I also included tests for:
  * redirect to https with invalid cert
  * redirect to same URL causing redirect loop
  * redirect to different URL with different content
  * redirect to different URL with canonical content
All of these cases should be detected as locked captive portals.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 12:08:35 +00:00
Robert Strong
b38a2a4d97 Bug 1557478 (xpcshell test only) - Remove overrideUpdatePrompt and related code in xpcshellUtilsAUS.js. r=bytesized
This test helper code is no longer used

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:26:01 +00:00
Bogdan Tara
bde97b25f5 Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Christoph Kerschbaumer
a9912a9803 Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33499

--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Robert Strong
0e618c5315 Bug 1515484 - Remove the wizard based app update UI and related code. r=bytesized
Adds a simple UI with tests for the elevation UI that mimics the wizard based elevation UI and uses the existing strings
Removes all methods from nsIUpdatePrompt except showUpdateHistory which will be removed later
Does not remove the UPDATE_WIZ_LAST_PAGE_CODE telemetry histogram since that will remove it from the data sources

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:44:57 +00:00
Robert Strong
c73a31e74c Bug 1555913 - Remove app update mochitest-chrome tests. r=bytesized
The UI they test is no longer in use and the UI will be removed soon.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 09:29:55 +00:00
Masatoshi Kimura
04d84e7e43 Bug 1501277 - Don't remove non-placeholder if placeholder is expected. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D33162

--HG--
extra : moz-landing-system : lando
2019-06-06 14:04:58 +00:00
Narcis Beleuzu
76af096241 Backed out changeset ef75e158b232 (bug 1556000) for bc failures on browser_startup_syncIPC.js 2019-06-06 16:40:05 +03:00
Noemi Erli
31c85bd5fe Backed out 13 changesets (bug 1492121) for valgrind bustage
Backed out changeset e707f1890820 (bug 1492121)
Backed out changeset 90aeaad4a4de (bug 1492121)
Backed out changeset 2ffb6ccca437 (bug 1492121)
Backed out changeset 4215fefb6ef3 (bug 1492121)
Backed out changeset b54b813c4c6c (bug 1492121)
Backed out changeset 46f57504c087 (bug 1492121)
Backed out changeset a3fe26927b31 (bug 1492121)
Backed out changeset 39c486afacec (bug 1492121)
Backed out changeset bf1731627e07 (bug 1492121)
Backed out changeset 77e7b13c6237 (bug 1492121)
Backed out changeset 1f10b50f758f (bug 1492121)
Backed out changeset db1506f94d0d (bug 1492121)
Backed out changeset 72c4026e9455 (bug 1492121)
2019-06-06 04:01:24 +03:00
Gerald Squelart
ad5d0acdd9 Bug 1492121 - Use BaseProfiler in XRE_Init{Parent,Child}Process() - r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31934

--HG--
extra : moz-landing-system : lando
2019-06-05 23:43:01 +00:00
Gerald Squelart
5cc6e9331f Bug 1492121 - Use BaseProfiler in nsBrowserApp.cpp's main() - r=njn
Start using BaseProfiler in Firefox main(), before&after XPCOM runs.

Also added a BaseProfiler label around Gecko Profiler init/shutdown (so that
samples may be ignored if user is only interested in non-XPCOM profiling).

Main process name changed to "Main Thread (Base Profiler)", so as not to confuse
the front-end, and show where this thread comes from.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 23:42:59 +00:00
Mike Conley
10327fb0ac Bug 1553185 - Bump the expiry of some Telemetry probes for tab switch performance. data-review=mmccorquodale,r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D33218

--HG--
extra : moz-landing-system : lando
2019-06-05 21:56:45 +00:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Andreea Pavel
516073f4fd Backed out changeset 2dacf7539a2f (bug 1543812) for multiple failures e.g bc at browser_autoplay_blocked.js on a CLOSED TREE 2019-06-05 19:29:20 +03:00
Dave Townsend
589f2b4289 Bug 1556612: Hardcode considering this an upgrade if the last build to run was run in safe mode. r=froydnj
When safe mode runs it writes out "Safe Mode" as the compatibility version (bug
1556831). Due to bug 1556832 and bug 1556829 this makes us think that the next
run is a downgrade.

This is the simplest possible fix that should be totally safe to upload to
release.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 16:17:16 +00:00
Alessio Placitelli
77991a7553 Bug 1547331 - Don't initialize legacy telemetry in GeckoView. r=chutten,kmag
This changes the registration code so that categories are
still registered in the manifest (and thus not registered
in GeckoView), but the component is still always shipped.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 11:03:57 +00:00
mandy cheang
8fe6331bd1 Bug 1541226 - Cache GetUserDataDirectory to improve IO performance r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D32825

--HG--
extra : moz-landing-system : lando
2019-06-05 15:36:44 +00:00
Dale Harvey
87fa55e513 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-05 01:03:14 +00:00
Sean Feng
eb4060b4c7 Bug 1549519 - Add two histograms as page reload performance telemetry r=bdekoz,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31480

--HG--
extra : moz-landing-system : lando
2019-06-05 13:56:52 +00:00
Mihai Alexandru Michis
c70fbfe90e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 18:56:22 +03:00
Jon Coppeard
ac265a3fa6 Bug 1556467 - Add telemetry for number of GC slices on the main thread r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33668
2019-06-04 18:08:41 +01:00
Jon Coppeard
f593c0d14b Bug 1556467 - Add telemetry for time between GC slices on the main thread r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33667
2019-06-04 17:28:58 +01:00
Jon Coppeard
99af123862 Bug 1556467 - Add telemetry for time since last GC on the main thread r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33666
2019-06-04 17:28:33 +01:00
Jon Coppeard
22baa62d36 Bug 1556345 - Slate GC_NURSERY_BYTES telementry for expiry r=chutten
GC_NURSERY_BYTES_2 was introduce a while ago and should replace the original histogram. Set the expiry for three versions time. Also ensures the dev-telemetry-gc-alerts email is attached to all GC telememtry.

Differential Revision: https://phabricator.services.mozilla.com/D33664
2019-06-04 17:09:57 +01:00
Mihai Alexandru Michis
d07d090c31 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 12:59:10 +03:00
Boris Zbarsky
9b956f652d Bug 1556922. Stop using [array] in nsIEditorSpellCheck. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D33742

--HG--
extra : moz-landing-system : lando
2019-06-05 04:07:28 +00:00
sotaro
3d0c73c202 Bug 1537586 - Address build failure with --disable-printing r=bobowen,froydnj
Make nsIWebBrowserPrint included unconditionally for addressing nsIDocShell.rs build failure.

Remove direct_call of PPrinting and PRemotePrintJob. Their ipdl are built unconditionally, but their derived classes are not built with --disable-printing.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 01:25:36 +00:00
Daniel Varga
3bc762bcf1 Backed out changeset d64cb52ebf88 (bug 1543812) for xpcshell failure at parser/xml/test/unit/test_sanitizer.js. On a CLOSED TREE 2019-06-05 03:50:16 +03:00
Lina Cambridge
ede2c0b68a Bug 1552621 - Include optional steps in Sync engine telemetry. r=tcsc,tdsmith
Before this commit, we used event telemetry to record timing and counts
for the different steps of a bookmark merge (fetching the local tree,
new local contents, remote tree, and new remote contents; merging;
applying; fetching outgoing records; and notifying observers).

This has several limitations. We need to store all numbers as strings,
include a "flow ID" to tag events from the same merge, and collect
failure reasons twice. We also can't correlate these events to the
existing engine telemetry, meaning we can't see other stats for that
engine, or for the entire sync. Finally, we need to run separate
queries on these events for analysis, instead of extending our
existing engine dashboards.

This approach also feels like an abuse of event telemetry, so this
commit adds a "steps" field for each engine in the Sync ping. Each step
has a name, time taken, and additional named counts, like the number of
items in the tree, or merged structure stats.

Currently, only the `buffered-bookmarks` engine records these steps.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:08:07 +00:00
Lina Cambridge
0c9500bf00 Bug 1552621 - Record shutdown blocker progress in the bookmarks mirror. r=markh,tcsc
This commit introduces a `mozISyncedBookmarksMirrorProgressListener`
interface for capturing telemetry and updating shutdown blocker state
after each step of the merge, instead of waiting until the end. This
also means we can also record events for interrupted and failed merges,
and pass validation data through to the Sync ping.

Shutdown hang crash reports now have a `steps` field, indicating the
sequence of completed steps and when they were recorded. If the last
step in the hang report is `fetchLocalTree`, we know the merger is
blocked on `fetchNewLocalContents`. If the last step is
`fetchNewLocalContents`, the merger is stuck at `fetchRemoteTree`,
since that's the next step after `fetchNewLocalContents`.

This commit also implements `Driver::record_telemetry_event` to
dispatch progress callback runnables to the main thread.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 23:04:37 +00:00
Nicholas Nethercote
48fb92c3c5 Bug 1556268 - Remove aboutCompartments.xhtml. r=mccr8
about:compartments hasn't resolved for a long time.

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

--HG--
extra : moz-landing-system : lando
2019-06-02 23:05:01 +00:00
Dale Harvey
6066384ce3 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-04 17:33:06 +00:00
Haik Aftandilian
af7fd7c0e8 Bug 1551990 - Firefox hangs on wake up from OS X Power Nap r=spohl
Disable App Nap in Firefox to avoid macOS App Nap'ing the parent process while child processes continue to run normally.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:04:24 +00:00
Alexander Surkov
61cc7103cf Bug 1544916 - migrate dialog binding to Custom Element r=bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D30289

--HG--
rename : toolkit/content/widgets/dialog.xml => toolkit/content/widgets/dialog.js
extra : moz-landing-system : lando
2019-06-04 17:28:16 +00:00
Dorel Luca
58da2cbd6a Backed out changeset c8a19f92ba0d (bug 1549519) for Eslint failure. CLOSED TREE 2019-06-04 22:57:34 +03:00