18162 Commits

Author SHA1 Message Date
Sebastian Hengst
473a1509ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Wes Kocher
c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Wes Kocher
d973551173 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Mason Chang
29d29e1c54 Bug 1353521. Fix telemetry entry for display item counts to expire sooner. r=bsmedberg data-r=bsmedberg 2017-04-21 18:05:13 -07:00
Wes Kocher
4a05296446 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Kris Maglione
f5b580e5e9 Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
MozReview-Commit-ID: DnFSbDfOskT

--HG--
extra : rebase_source : e6829657b250fa8ec893b3e73b7d9956dfe34424
extra : amend_source : f20cfab374b29b7d3475579a0fe5e11ab2e6dcb4
2017-04-21 13:22:34 -07:00
Florian Queze
dddd24505a Bug 1356593 - reimplement the search service's ParamSubstitution function to avoid doing unnecessary work, r=adw. 2017-04-22 02:08:54 +02:00
Kearwood Gilbert
eba3a06d5f Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
MozReview-Commit-ID: 2g9sFP6QQCU

--HG--
rename : toolkit/crashreporter/jsoncpp/AUTHORS => toolkit/components/jsoncpp/AUTHORS
rename : toolkit/crashreporter/jsoncpp/GIT-INFO => toolkit/components/jsoncpp/GIT-INFO
rename : toolkit/crashreporter/jsoncpp/LICENSE => toolkit/components/jsoncpp/LICENSE
rename : toolkit/crashreporter/jsoncpp/NEWS.txt => toolkit/components/jsoncpp/NEWS.txt
rename : toolkit/crashreporter/jsoncpp/README.md => toolkit/components/jsoncpp/README.md
rename : toolkit/crashreporter/jsoncpp/include/json/allocator.h => toolkit/components/jsoncpp/include/json/allocator.h
rename : toolkit/crashreporter/jsoncpp/include/json/assertions.h => toolkit/components/jsoncpp/include/json/assertions.h
rename : toolkit/crashreporter/jsoncpp/include/json/autolink.h => toolkit/components/jsoncpp/include/json/autolink.h
rename : toolkit/crashreporter/jsoncpp/include/json/config.h => toolkit/components/jsoncpp/include/json/config.h
rename : toolkit/crashreporter/jsoncpp/include/json/features.h => toolkit/components/jsoncpp/include/json/features.h
rename : toolkit/crashreporter/jsoncpp/include/json/forwards.h => toolkit/components/jsoncpp/include/json/forwards.h
rename : toolkit/crashreporter/jsoncpp/include/json/json.h => toolkit/components/jsoncpp/include/json/json.h
rename : toolkit/crashreporter/jsoncpp/include/json/reader.h => toolkit/components/jsoncpp/include/json/reader.h
rename : toolkit/crashreporter/jsoncpp/include/json/value.h => toolkit/components/jsoncpp/include/json/value.h
rename : toolkit/crashreporter/jsoncpp/include/json/version.h => toolkit/components/jsoncpp/include/json/version.h
rename : toolkit/crashreporter/jsoncpp/include/json/writer.h => toolkit/components/jsoncpp/include/json/writer.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_reader.cpp => toolkit/components/jsoncpp/src/lib_json/json_reader.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_tool.h => toolkit/components/jsoncpp/src/lib_json/json_tool.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_value.cpp => toolkit/components/jsoncpp/src/lib_json/json_value.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_valueiterator.inl => toolkit/components/jsoncpp/src/lib_json/json_valueiterator.inl
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_writer.cpp => toolkit/components/jsoncpp/src/lib_json/json_writer.cpp
extra : rebase_source : 6996fe5fd4a8e704a138b568d636c1d5238f15b2
2017-04-19 14:41:03 -07:00
Sebastian Hengst
e35a5d0b79 Backed out changeset f39e67694994 (bug 1302470) for failing mochitest test_bug263683.xul on opt-based builds on Linux and on debug on OSX, at least. r=backout 2017-04-21 19:09:12 +02:00
Sebastian Hengst
0565ac832f Backed out changeset 572662b36c77 (bug 1302470) 2017-04-21 19:09:12 +02:00
Sebastian Hengst
3e0e5a51d2 Backed out changeset a5a77d4a3cf3 (bug 1302470) 2017-04-21 19:09:11 +02:00
Aaron Klotz
a518dd2017 Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; r=gfritzsche
MozReview-Commit-ID: DKTxo8EHNfY

--HG--
extra : rebase_source : 40d7b789c8fe297b719ad1d8ab3f1f618ad14084
2017-04-20 16:08:07 -06:00
John Dorlus
19c2af1fce Bug 1354639 - Change variable name in test to avoid debugger conflict; r=chutten
--HG--
extra : rebase_source : b84243547dbc4769c36f8cc68ef58ed4491cab19
2017-04-20 18:21:39 -04:00
Ehsan Akhgari
c303c8121a Bug 1358004 - Remove the REMOTE_JAR_PROTOCOL_USED telemetry; r=jduell
In bug 1353123 it was decided to not extend this telemetry, so it will
expire in this release.  Given that, and the fact that bug 1329336 has
disabled the feature already, it's time to remove the probe.
2017-04-21 02:44:03 -04:00
Cervantes Yu
cc5836fbae Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
NS_SetCurrentThreadName() is added as an alternative to PR_SetCurrentThreadName()
inside libxul. The thread names are collected in the form of crash annotation to
be processed on socorro.

MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Wes Kocher
5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Pauline
ffc58c984a Bug 1355266 - removed duplicate import of osfile.jsm. r=Dexter
--HG--
extra : rebase_source : 13ab300457cf226e6d4241f5baf2b2db5f51b921
2017-04-19 21:25:57 +01:00
James Willcox
bbde9021e6 Bug 1358155 - Bump core ping version and docs r=frank
MozReview-Commit-ID: 1h417verpc2

--HG--
extra : rebase_source : 293cbbf4c01c5535579ab5d3862a01ef4de50234
2017-04-20 09:43:51 -05:00
Carsten "Tomcat" Book
54c9498baf Merge mozilla-central to mozilla-inbound 2017-04-20 13:03:06 +02:00
Chris Peterson
f6bbb6a455 Bug 1356843 - Fix -Wcomma warnings in toolkit/. r=mossop
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements or calling a function for side effects within an expression. Check NS_SUCCEEDED() to use HasMoreElement() in an expression and confirm that it actually returned a legitimate out parameter.

toolkit/components/startup/nsAppStartup.cpp:436:58 [-Wcomma] possible misuse of comma operator here
toolkit/components/statusfilter/nsBrowserStatusFilter.cpp:165:66 [-Wcomma] possible misuse of comma operator here
toolkit/xre/CreateAppData.cpp:60:51 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: HuZRoOjQTGj

--HG--
extra : rebase_source : c159e26d619b960163fda11069e722010a21d2f8
extra : source : c405a2ab8ec4b6b96373fe3812a6d30bb0641d6f
2017-04-05 01:23:45 -07:00
Robert Strong
d760090512 Bug 1336979 - Remove unnecessary logging of the update.status contents in the maintenance service. r=mhowell 2017-04-19 22:59:30 -07:00
Wes Kocher
cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Tushar Saini (:shatur)
163e27b705 Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 4Bi6LdNUxMo

--HG--
extra : rebase_source : 52baba39e08bc9d250ace3f4b46a591d7f641d47
2017-04-18 22:07:38 +05:30
Ehsan Akhgari
7fcfe6b47e Bug 1350765 - Avoid recomputing the histogram ID when it's available in the caller; r=chutten 2017-04-19 12:02:30 -04:00
Wei-Cheng Pan
150bc3a607 Bug 1344893 - Part 2: Add time to first byte metric. r=smaug, data-review=bsmedberg
MozReview-Commit-ID: 6a30Xofr6p1
2017-04-19 02:00:00 -04:00
Wei-Cheng Pan
1978d62be4 Bug 1344893 - Part 1: Report Navigation Timing into Telemetry. r=smaug, data-review=bsmedberg
We only need metric from top level content document, but we dont have
any information about it in nsDOMNavigationTiming, so I add a weak
reference which points to nsDocShell.

MozReview-Commit-ID: GiJigRLYHNV
2017-04-19 02:00:00 -04:00
Wes Kocher
2aa3f2f2e2 Merge m-c to autoland, a=merge 2017-04-19 17:17:20 -07:00
Michael Ratcliffe
5f606637f1 Bug 1352115 - Add scalars for toolbareyedropper, copyuniquecssselector and copyfullcssselector r=bsmedberg,pbro
MozReview-Commit-ID: CeqtJ22GM6M

--HG--
extra : rebase_source : d80264c6bb990b754ce96dbcb7010b8de6096701
2017-04-19 13:04:12 +01:00
Marco Bonardo
7ebdf5f8b2 Bug 1357664 - Don't delete all relations to expired icons when updating icons for a specific page. r=adw
MozReview-Commit-ID: JYHeuyvrJYp

--HG--
extra : rebase_source : d1ba003454b12a3fd688545a995c8f0c56bc95c7
2017-04-19 10:19:48 +02:00
Marco Bonardo
f3f1cd175f Bug 1357555 - Properly handle an expiration value of 0 when fetching an icon. r=adw
Favicons migrated from the old store have expiration set to 0.
The code is not expecting that, since expiration has always been positive, thus
those icons are always considered valid and never replaced. They should instead be
considered expired.

MozReview-Commit-ID: Cz0JB4IbURA

--HG--
extra : rebase_source : aae2a477fe52198647a820ceb1db249316c4d72f
2017-04-18 23:51:05 +02:00
Iris Hsiao
9a405f8405 Backed out changeset 3507329c5999 (bug 1357555o) for eslint failure in test_expire_migrated_icons.js 2017-04-20 16:23:59 +08:00
Marco Bonardo
752d7c7482 Bug 1357555 - Properly handle an expiration value of 0 when fetching an icon. r=adw
Favicons migrated from the old store have expiration set to 0.
The code is not expecting that, since expiration has always been positive, thus
those icons are always considered valid and never replaced. They should instead be
considered expired.

MozReview-Commit-ID: Cz0JB4IbURA

--HG--
extra : rebase_source : c9676529bd73581f3325c8a267c8863ff09767a3
2017-04-18 23:51:05 +02:00
Henri Sivonen
4414bd44eb Bug 1356181 - Gather telemetry about isindex usage in hope of justifying removal. r=Ehsan,francois
MozReview-Commit-ID: 9dDVvgxxZml

--HG--
extra : rebase_source : c78e97a5b1bcd1d322ba1381657ed9bd3e814f11
2017-04-13 14:08:35 +03:00
Matthew Wein
09d1616dc7 Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H

--HG--
extra : rebase_source : 0774a850694d8ea52d7c39872e5ac02f4acec4c5
2017-04-10 16:15:54 -04:00
Jim Porter
3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Alessio Placitelli
897ef11912 Bug 1357745 - Disable the shutdown ping sender. r=gfritzsche
MozReview-Commit-ID: 8HhOYNrxOkn

--HG--
extra : rebase_source : 928166c0362d511fc134f132d85ee1ea12a26300
2017-04-19 16:11:49 +02:00
John Dorlus
2dcc310854 Bug 1352269 - Added tab scalar test and manifest file r=chutten
Added test_main_ping_addon_install_tab_window_scalars.py. This test opens and closes tabs and checks
that the scalars for max number of concurrent tabs, tab open events, and number of windows open are correct.
It uses the addon install method to generate the ping.


Testrail test case: https://testrail.stage.mozaws.net/index.php?/cases/view/4963

MozReview-Commit-ID: IC1Ad2HSrUQ

--HG--
extra : rebase_source : 7ab3fabb74f0f17de7c7068ed17e735350cdfa78
2017-04-19 13:37:24 -04:00
Alessio Placitelli
873e462e34 Bug 1356673 - Fix a crash in RunPingSender at shutdown. r=gfritzsche
This patch makes sure to wait on the pingsender process to spawn
before shutting down Firefox.

MozReview-Commit-ID: CYYcGAy5H2s

--HG--
extra : rebase_source : a7157cbedbb94f0dbc6d1c319f7b4a54d1df035f
2017-04-19 17:00:21 +02:00
Thom Chiovoloni
0bb64306d4 Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh
MozReview-Commit-ID: DG43B9zEHaO

--HG--
extra : rebase_source : 9b16fe1dff50574036fb2e10224d8056fe415ecd
2017-04-04 13:51:16 -04:00
Dão Gottwald
018f2a4a4e Bug 1356210 - Clean up TelemetryStopwatch.start calls for FX_TAB_CLOSE_TIME_ANIM_MS and FX_TAB_CLOSE_TIME_NO_ANIM_MS probes. r=Dexter,mconley
MozReview-Commit-ID: IvOerEtYY6T

--HG--
extra : rebase_source : 33650428b3e416c9fd78ccbcfca6f9e82d2824ef
2017-04-19 17:25:34 +02:00
Tanay PrabhuDesai
55974edf67 Bug 1354517 - De-duplicate already ESLint recommended rules in toolkit/components/extensions/.eslintrc.js r=standard8
MozReview-Commit-ID: XYWoR8bOKe

--HG--
extra : rebase_source : 136d0db8674ce4c00bc89fe4e8411dfd5a2bdff5
2017-04-19 08:37:06 +05:30
Dão Gottwald
63a5af42e4 Bug 1345315 - Remove obsolete tab animation telemetry. r=mconley
MozReview-Commit-ID: 2BopUnpHF8J

--HG--
extra : rebase_source : d01a488d3b89bd4b0194eaa219cceeffb2477fa9
2017-04-19 11:56:24 +02:00
Dimi Lee
647b77b7fc Bug 1348253 - about:url-classifier: Providers information and update button. r=francois
The about:url-classifier supports following functions:
1. Provider section
  - Show update status for each provider, update status include
    last update time, next update time and last update status
  - Update button to manually trigger an update for the provider.

2. Debug section
  - Set MOZ_LOG Modules
  - Set MOZ_LOG_FILE

MozReview-Commit-ID: AHiveKEHSNC

--HG--
extra : rebase_source : b56e918de7f4eb30ad8eebc6d24ffaf2e76f4f4e
2017-04-19 00:33:08 +08:00
Shane Caraveo
f6660740ac Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2

--HG--
extra : rebase_source : 0324030e5f7f534256ff0c469bb486dc52e282c2
2017-04-18 15:50:53 -07:00
Blake Kaplan
bacf7c88e0 Bug 1349363 - Track both .processCount and .web to get a complete view of the user's content processes. r=Felipe
MozReview-Commit-ID: B9tVLbxnKFd

--HG--
extra : rebase_source : 15202ad5ec2c85633690170e4a6eebb0315d2f50
2017-04-18 11:11:06 -07:00
Wes Kocher
9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
DimiL
c18e9c758a Bug 1357207 - Caching duration recorded to telemetry should be milli-second . r=francois
In Bug 1311935, We change positive/negative cache duration from milli-second to second.
But the value doesn't covert back to milli-second when store to telemetry(telemetry use
milli-second).

MozReview-Commit-ID: KR6xn9pwhUd

--HG--
extra : rebase_source : 378149dc29d61cbca31b8aa913df946ceff556f3
2017-04-18 12:01:09 +08:00
Matheus Longaray
89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Francois Marier
6321486d37 Bug 1354713 - Make use of the application reputation allow list on OSX and Linux. r=gcp
Since the allow list contains both hostnames and certificate hashes, it makes sense
to use it on all platforms.

MozReview-Commit-ID: 1icRFYhhnAY

--HG--
extra : rebase_source : bcb6113090546cdca2b4f2dd120db98ffb511b0d
2017-04-07 16:07:41 -07:00
Ray Lin
f50d5b5b45 Bug 1340483 - Part 3. Enable preview function only when input is marked as autofill field. r=heycam
MozReview-Commit-ID: FFqYJ3icRd7

--HG--
extra : rebase_source : 2ba1caff6676a3af769e8aac58a19e9d9de81254
2017-03-22 16:55:56 +08:00