Commit graph

302 commits

Author SHA1 Message Date
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Jeremy Lempereur
d8d9f7c8da Bug 1432871 - about:telemetry - Fix selected option comparison in the Histograms section r=chutten
Followup on the previous commit, the same pattern occured in the Histograms section.

MozReview-Commit-ID: 41SiI1nBLSm

--HG--
extra : rebase_source : 2e642658c5721cab41f25c4a6c81f38390badef7
2018-01-31 15:08:31 +01:00
Jeremy Lempereur
4956f5e043 Bug 1432871 - about:telemetry - showing the Keyed Histograms category. r=chutten
The "Keyed Histograms" category didn't alway have the "has-data" class although there were some data to display. "option" was compared to a string but it's a dom element, so its value should be compared instead.

MozReview-Commit-ID: 3eC0UPpJaNJ

--HG--
extra : rebase_source : 84e87676959008c4f884d171788682506ac11804
2018-01-29 21:52:54 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Jeremy Lempereur
9a632d7f40 Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten
Refactored a call to ChromeHangs.render() I forgot while fixing the "Show raw stack data" link (Bug 1427484).

MozReview-Commit-ID: 3Ul1wCRhdxG

--HG--
extra : rebase_source : a9cb33d4862947eed80832507a4a315a8ae81f99
2018-01-05 18:05:09 +01:00
Zibi Braniecki
1a111ee852 Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
MozReview-Commit-ID: 5jGk1jXKkay

--HG--
extra : rebase_source : fc5445104a6d14cbacd417ce9b9b4b0bd0ea8212
2018-01-04 13:01:43 -08:00
Jeremy Lempereur
54e159dbce Bug 1395091 - about:telemetry global search should have headings before section results. r=chutten
Put a table heading to each search section in the about:telemetry homepage.

MozReview-Commit-ID: 7DaFjy6lbcq

--HG--
extra : rebase_source : c8a735989fc120560dc65c2f86adea2594f93b66
2018-01-04 00:26:23 +01:00
Jeremy Lempereur
dec5949822 Bug 1427484 - Fix about:telemetry "Show raw stack data" button in Browser Hangs section. r=chutten
The "Show raw stack data" button in the Browser Hangs section produced nothing but removing the "Browser Hangs" section from the about:telemetry navigation menu. I looked at the way the Late Writes section works and patched the Chrome Hangs render calls accordingly.

MozReview-Commit-ID: Gq681oVrg90

--HG--
extra : rebase_source : 97ca47cd9d0997f69cff62b9201e514ab57d713d
2017-12-31 17:22:51 +01:00
Jeremy Lempereur
40665b978c Bug 1413448 - Fix about:telemetry "no data available" overlay in the Late Writes section. r=chutten
The search feature in the Late Writes section does not work, and a message claiming "Sorry there's no data available in "Late Writes" hindered the view of the data. I added the late-writes-section to the search blacklist.

MozReview-Commit-ID: 4Fqfh9zhzJZ

--HG--
extra : rebase_source : 35428e159c025b029dd2c7716d679ee1825d5b95
2017-12-31 21:20:59 +01:00
Jeremy Lempereur
85efbf25f2 Bug 1413448 - Fix about:telemetry "no data available" overlay in the Browser Hangs section. r=chutten
The search feature in the Browser Hangs section does not work, and a message claiming "Sorry there's no data available in "Browser Hangs" hindered the view of the data. I added the chrome-hangs-section to the search blacklist.

MozReview-Commit-ID: JJ4eb1fSOfg

--HG--
extra : rebase_source : 671fa5553516ce4b82ae2893e041839c1af27ae9
2017-12-31 21:18:29 +01:00
Mats Palmgren
e5a567ca54 Bug 1375114 - Disable selection entirely in the #categories navigation panel. r=chutten
MozReview-Commit-ID: 9mucWUigXSG
2017-11-01 19:20:00 -04:00
Aditya Bharti
db731a5843 Bug 1414688 - Fix about:telemetry page in RTL locales opens JSON viewer. r=chutten
In RTL locales, the about:telemetry page opened a JSON viewer window because hgram.buckets.reverse()
was being called in RTL mode. Since a refactor tracked in bug 1122480, histograms no longer have a 'buckets' field.
Removing the call to hgram.buckets fixed this bug.
2017-11-16 21:42:03 +05:30
Georg Fritzsche
8c122016c2 Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-24 04:47:00 -04:00
Sebastian Hengst
b0c2da4645 Backed out changeset 2a0a1c887047 (bug 1394196) for l10n issues. r=backout a=backout
MozReview-Commit-ID: KxdLWrhTs3W

--HG--
extra : amend_source : 5a4db212a037be8ea7a89272c13e248ffdc74ab9
2017-10-24 12:54:23 +02:00
Georg Fritzsche
d49e2b63bd Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-23 11:51:00 -04:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Sebastian Hengst
91627d1e70 Bug 1406787 - Click on currently active ping in start section should open ping picker. r=Dexter
MozReview-Commit-ID: 1riOrN2Oj1P

--HG--
extra : rebase_source : cec28d32b7bf4b9c9493b935aed1104b20fb835b
2017-10-08 21:41:00 +02:00
Ian Moody
4b3928036f Bug 1403585 - React to about:telemetry URL hash after data is present. r=chutten
Currently if a subsection (for the environment section) is included in the hash
on load the page breaks, because urlStateRestore ends up calling showSubSection
with no element, which then throws.  Move the urlStateRestore call after the
update.
Also guard against showSubSection receiving an empty argument.

MozReview-Commit-ID: 2bYrEQlHlqN

--HG--
extra : rebase_source : 478a4436f842cb9dc6979c0604b18289bbc5ea71
2017-09-29 18:46:58 +01:00
Vedant Chakravadhanula
ecc5186a64 Bug 1396855 - about:telemetry : Added search terms in the URL fragment. r=chutten
Implementation of the search terms in the url fragment was done as concisely as possible(considering the various conditions required, with the underscore when other hash terms are present). To implement search through hashes in URL, the function urlStateRestore() was changed. To make the changes more aesthetic, another function urlSectionRestore() performs the tasks earlier performed by urlStateRestore(), and urlStateRestore() now implements the search parsing and a call to urlSectionRestore().

MozReview-Commit-ID: 9vgjNUpJkQG

--HG--
extra : rebase_source : c2cdb79e74faffa50bfd6636f0877f541f4f6ddf
2017-09-30 09:07:50 +05:30
Francesco Lodolo (:flod)
2fef2536fe Bug 1399511 - Update message displayed when a section has no data in about:telemetry r=chutten
MozReview-Commit-ID: 2Hb4oKKlhG7

--HG--
extra : rebase_source : 7c4b93a4d49ef9b48546deb5f64a823b7860bbc1
2017-09-15 06:53:33 +02:00
Chris H-C
53f3caf373 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo

--HG--
extra : rebase_source : 03b79c5bb19ad690b4ccba27c96bcc6a9f7f17a7
2017-09-12 14:12:55 -04:00
Wes Kocher
f71fc83625 Backed out changeset b061a65e51d7 (bug 1399082) for failures in browser_misused_characters_in_strings.js a=backout
MozReview-Commit-ID: 3pIsd3pvXrq
2017-09-13 10:12:19 -07:00
Chris H-C
d6a171a85c bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo

--HG--
extra : rebase_source : 4a4e25137086f112eeae8152b4867553e372ce03
2017-09-12 14:12:55 -04:00
Chris H-C
6dc3a8d574 bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD

--HG--
extra : rebase_source : 0ce7a88f05a8919275e46f8d1c44df33fd83b135
2017-09-08 15:13:59 -04:00
Sebastian Hengst
01f066fc2d Backed out changeset c6ec5f35710a (bug 1396836) for eslint failures in aboutTelemetry.js. r=backout 2017-09-11 16:50:26 +02:00
Chris H-C
86379d4ddd bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD

--HG--
extra : rebase_source : 3d1b02d6c29096c42cdcce795689214b44b8cf00
2017-09-08 15:13:59 -04:00
Chris H-C
8b197ba438 bug 1396894 - Don't error out when rendering normally-structured pings r=Dexter
Acceptably-structured pings should render fine in about:telemetry and not
trigger the panic mode of "Just show them the JSON!" that happens when an
exception is thrown.

Two things caught here:
1: Environment section without addon subsection
2: subsection searches

MozReview-Commit-ID: 3Z0hud23XuD

--HG--
extra : rebase_source : 1ac8e8f0cc0c9fa77c9ad2adcd89e3ed31fc124c
2017-09-05 14:37:06 -04:00
Sebastian Hengst
9c8a09d458 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Cosm
917335fa1c Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Francesco Lodolo (:flod)
c74d83de8c Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD

--HG--
extra : rebase_source : 34eab3e454802f14ea55c1d3c40f22792315de80
2017-09-02 12:00:25 +02:00
Sebastian Hengst
37ab9d8a49 Backed out changeset 78cce071b69e (bug 1396211) for eslint failure in toolkit/content/aboutTelemetry.js: Strings must use doublequote. r=backout 2017-09-05 22:09:17 +02:00
Francesco Lodolo (:flod)
b92c2356cf Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD

--HG--
extra : rebase_source : ab6ba41e8887b6e87bafe6aaba62cbdd1f09dd05
2017-09-02 12:00:25 +02:00
flyingrub
42a9c3e932 Bug 1381831 - Improve about:telemetry start page r=chutten
Make about:telemetry start page a useful entry point into Telemetry

MozReview-Commit-ID: JIgU3acT1fS

--HG--
extra : rebase_source : 1a9e66fbb31db04b5b131bc7983f546ee5b4fd19
2017-08-21 13:29:07 +02:00
Ricky Chien
daac97d466 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 9adc8231c896f93f7f262a09482b44a2875bd5fd
2017-08-21 17:48:18 +08:00
Sebastian Hengst
51133fbff6 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout
--HG--
rename : browser/components/preferences/in-content/findInPage.js => browser/components/preferences/in-content-new/findInPage.js
rename : browser/components/preferences/in-content/searchResults.xul => browser/components/preferences/in-content-new/searchResults.xul
rename : browser/components/preferences/in-content/tests/browser_checkspelling.js => browser/components/preferences/in-content-new/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content/tests/browser_engines.js => browser/components/preferences/in-content-new/tests/browser_engines.js
rename : browser/components/preferences/in-content/tests/browser_layersacceleration.js => browser/components/preferences/in-content-new/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content/tests/browser_masterpassword.js => browser/components/preferences/in-content-new/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content/tests/browser_permissions_dialog.js => browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content/tests/browser_security-1.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content/tests/browser_security-2.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
2017-08-31 16:58:32 +02:00
Ricky Chien
3ff2ff68ed Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 6f59261adcb6cd3098b3596c01c9165ad6bfc03c
2017-08-21 17:48:18 +08:00
flyingrub
cd24023cb4 Bug 1393478 - Fix subsection search in about:telemetry r=chutten
Allow to search for the section's name and fix useless margin in search.

MozReview-Commit-ID: HwCXq0tUct5

--HG--
extra : rebase_source : 09b0bf51bcc2aca875539834f2893d78bd51e564
2017-08-29 16:20:36 +02:00
flyingrub
bc717f755d Bug 1393478 - Display when no results are available in about:telemetry r=chutten
Also keep the search state when changing ping.

MozReview-Commit-ID: 9M2hz7ttl8e

--HG--
extra : rebase_source : b1807a91390e248b696543f1541520bc23f9a392
2017-08-29 11:32:26 +02:00
flyingrub
d82f3cb000 Bug 1393478 - Clear the search filter when switching section r=chutten
MozReview-Commit-ID: 3Rtr8eLsc77

--HG--
extra : rebase_source : 00220ac6283db92eef1e65f5c4304ead7313f044
2017-08-25 16:48:58 +02:00
flyingrub
70004a17c0 Bug 1392230 - Fix placeholder text in about:telemetry r=chutten
Fix the placeholder text for the search on the home.

MozReview-Commit-ID: 9YSrB3FdFCL

--HG--
extra : rebase_source : 34a04957521ee9d6445801ee1e76d88300ab1347
2017-08-24 14:18:28 +02:00
flyingrub
5c033aa087 Bug 1392230 - Fix sql statements in about:telemetry r=chutten
Display only one line at the bottom of table.

MozReview-Commit-ID: CV7ldZs6obl

--HG--
extra : rebase_source : e87d2b38278bc2243046c1a7765705e7568d2352
2017-08-22 12:08:27 +02:00
flyingrub
d46e09d64b Bug 1392230 - Small design fixes in about:telemetry r=chutten
Fix font size according to photon specs.

MozReview-Commit-ID: 8qRWgbNIgYr

--HG--
extra : rebase_source : 559f557b5936ef919efc3996cceeca34e7f6e623
2017-08-21 14:12:21 +02:00
flyingrub
53ab897777 Bug 1392407 - Fix about:telemetry issue with btoa r=chutten
MozReview-Commit-ID: K2kvFTQKLwT

--HG--
extra : rebase_source : ccb7d5b1ba25ec5098a4624bb4dee676168f1e0d
2017-08-24 13:41:28 +02:00
Sebastian Hengst
308bd88cac Backed out changeset cadbabe9cb86 (bug 1392407) for eslint failure at toolkit/content/aboutTelemetry.js:2065: Multiple spaces found before '{'. r=backout 2017-08-25 19:31:18 +02:00
flyingrub
e64a35b5a0 Bug 1392407 - Fix about:telemetry issue with btoa r=chutten
MozReview-Commit-ID: K2kvFTQKLwT

--HG--
extra : rebase_source : e282500863e60810015e0203a33081510cf7e4b9
2017-08-24 13:41:28 +02:00
flyingrub
216e775829 Bug 1392403 - Ease the dismiss of the popup in about:telemetry r=chutten
Fix ping selector popup is sometimes hard to dismiss.

MozReview-Commit-ID: KEFcmq6cvRA

--HG--
extra : rebase_source : e2a6b13bd7f355aa88e47c50347d03aee5f0fa57
2017-08-23 16:40:12 +02:00
flyingrub
f383997c7c Bug 1391647 - Fix header title in about:telemetry r=chutten
Clicking on a subsection then clicking on a section now change the
title.

MozReview-Commit-ID: AmdO0DTRstr

--HG--
extra : rebase_source : f0d2b53643add4612de9233142e9144d583f70c6
2017-08-21 11:42:04 +02:00
flyingrub
90b985d60e Bug 1385351 - Emphasize the ping selector button in about:telemetry r=gfritzsche
Add a triangle next to the ping selection button that emphasize the
to the current ping selection popup state.

MozReview-Commit-ID: GOzv01S0i9h

--HG--
rename : browser/themes/shared/icons/arrow-dropdown-12.svg => toolkit/themes/shared/icons/arrow-dropdown-12.svg
rename : browser/themes/shared/icons/arrow-dropdown-16.svg => toolkit/themes/shared/icons/arrow-dropdown-16.svg
extra : rebase_source : 738649d1ab12e7e65df2530864bd833545b57fe5
2017-08-09 00:58:55 +02:00
flyingrub
4c37dd0d2c Bug 1385350 - Add a Search on the home of about:telemetry r=chutten
This allow to search in any section for data.

MozReview-Commit-ID: D0aWj427Mhf

--HG--
extra : rebase_source : c95a571a277f06e56d8b35d7cb644502039bd007
2017-08-09 17:53:23 +02:00
Sebastian Hengst
dbf6832edc Backed out changeset b23df13c1e57 (bug 1385350) for eslint failure in toolkit/content/aboutTelemetry.js (strings must use doublequotes). r=backout 2017-08-17 23:05:06 +02:00
flyingrub
f7c42ef82c Bug 1385350 - Add a Search on the home of about:telemetry r=chutten
This allow to search in any section for data.

MozReview-Commit-ID: D0aWj427Mhf

--HG--
extra : rebase_source : b8da0fb7e0ffa302c7838264027d2b55d696f7ea
2017-08-09 17:53:23 +02:00
Carsten "Tomcat" Book
eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Wes Kocher
be24aec8e9 Merge m-c to inbound a=merge
MozReview-Commit-ID: JqsSD85rE4W
2017-08-15 19:15:22 -07:00
Michael Layzell
00ec67d30d Bug 1380081 - Part 2: Remove ThreadHangStats from about:telemetry, r=chutten
MozReview-Commit-ID: KTOSKobhNAJ
2017-08-15 16:34:20 -04:00
flyingrub
dad19047d2 Bug 1389030 - Go to home when section has no data in about:telemetry r=chutten
When switching to a ping that hasn't data for the current section go to
home section.

MozReview-Commit-ID: 2zTZUiyHe0M

--HG--
extra : rebase_source : 2abe235c99cf2b0b6579c9fbac940b5bc8a0a532
2017-08-10 18:45:19 +02:00
flyingrub
77d3df62c2 Bug 1389165 - Cleanup html markup of about:telemetry r=chutten
Prepare the code for the search on the home page. This will allow to
display only the div with the "data" class and not have cluttered
results.

MozReview-Commit-ID: 5CtMPrLGJT7

--HG--
extra : rebase_source : a00acb809df8eb6e52eec69417a4bfd2face8fb6
2017-08-11 15:06:52 +02:00
flyingrub
d214289d65 Bug 1389165 - Hide caption when no data for table in about:telemetry r=chutten
MozReview-Commit-ID: 7wO2VisFyzI

--HG--
extra : rebase_source : 40780d9ef929e8e13bbda0827666a36bb7a68904
2017-08-11 11:27:12 +02:00
flyingrub
78866a5995 Bug 1389165 - Fix the search for thread hangs in about:telemetry r=chutten
MozReview-Commit-ID: 8nYRcwEEBvD

--HG--
extra : rebase_source : 3dea7d1831bb3a004a1ae710d60b5baa6609dbfa
2017-08-10 22:10:11 +02:00
flyingrub
6eb67ca50c Bug 1385270 - Fix about:telemetry subsection display r=gfritzsche
Show all subsection after comming back from another section.

MozReview-Commit-ID: I02cR2IaBrm

--HG--
extra : rebase_source : 37ec844a62e862aa918e5e8d2d8687337cacf816
2017-08-09 01:16:02 +02:00
Wes Kocher
ddfa0b981f Backed out 2 changesets (bug 1385351) for failures in browser_startup_images.js a=backout
Backed out changeset 84e7b3d7c7cf (bug 1385351)
Backed out changeset c89766a47689 (bug 1385351)

MozReview-Commit-ID: BowKOdYQAHh

--HG--
rename : toolkit/themes/shared/icons/arrow-dropdown-12.svg => browser/themes/shared/icons/arrow-dropdown-12.svg
rename : toolkit/themes/shared/icons/arrow-dropdown-16.svg => browser/themes/shared/icons/arrow-dropdown-16.svg
2017-08-14 15:21:42 -07:00
flyingrub
4da5b387ff Bug 1385351 - Emphasize the ping selector button in about:telemetry r=gfritzsche
Add a triangle next to the ping selection button that emphasize the
to the current ping selection popup state.

MozReview-Commit-ID: GOzv01S0i9h

--HG--
rename : browser/themes/shared/icons/arrow-dropdown-12.svg => toolkit/themes/shared/icons/arrow-dropdown-12.svg
rename : browser/themes/shared/icons/arrow-dropdown-16.svg => toolkit/themes/shared/icons/arrow-dropdown-16.svg
extra : rebase_source : d94fe7aa872cd6912263179cac1004b335c0973a
2017-08-09 00:58:55 +02:00
flyingrub
24b68f94f4 Bug 1388695 - Show the payload for non main ping in about:telemetry r=gfritzsche
Add a raw payload section when looking at a non main ping.

MozReview-Commit-ID: 2dU8apRfzLP

--HG--
extra : rebase_source : 473ef7167c98a93a121d003d1c3a3e0404621cb6
2017-08-09 13:29:56 +02:00
flyingrub
fff6a1a336 Bug 1389151 - Show the home section for non main ping in about:telemetry r=gfritzsche
MozReview-Commit-ID: J9oFy0YDI5z

--HG--
extra : rebase_source : 72db8db4aacaae9b1f58f2da7d890c751623e80f
2017-08-10 18:52:17 +02:00
flyingrub
0ffe1c4d10 Bug 1388691 - Use the firefox json viewer in about:telemetry r=gfritzsche
Allow to open the full ping data in the firefox json viewer.

MozReview-Commit-ID: C8rqxmY3qtT

--HG--
extra : rebase_source : 8cf91dfd51961c196facda5405a4c4884baaa529
2017-08-09 13:04:28 +02:00
flyingrub
795597a654 Bug 1388456 - Make the ping selection in about:telemetry clearer r=gfritzsche
Show the ping selector popup next to its toggle button in
about:telemetry.
Underline the fact that no archived pings are available.

MozReview-Commit-ID: CwSLOvuhXFn

--HG--
extra : rebase_source : 200b81af3abfea98beffa2c8c0460027a9c58f73
2017-08-09 01:31:28 +02:00
dagasatvik
d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Georg Fritzsche
3061f38a31 Bug 1302681 - Part 2: Fix about:telemetry for displaying dynamic events. r=chutten
Fixes that about:telemetry only shows events if there are any present in processes.parent.

For some reason switching the processes in the events section also triggers HistogramSection.render(), which breaks when there are no histograms recorded in the selected process.
This patch fixes it to make things work.

--HG--
extra : rebase_source : e7a4cd1d823571a060a4d6293800b0900a68ddd4
2017-08-03 02:33:00 -04:00
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst
804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
flyingrub
f876dbdec3 Bug 1384511 - Display the correct histograms in about:telemetry r=chutten
Fix "has-data" for all section that uses the process select.
Display no histograms when the current process hasn't any data and not
the parent ones.

MozReview-Commit-ID: 4tY1C2aNR6J

--HG--
extra : rebase_source : cc45b01084f0e2f53f9a313c2f67ef3bc167e825
2017-07-28 15:42:19 +02:00
flyingrub
f4d6a4d9dc Bug 1383837 - Remove unused classes in about:telemetry r=chutten
Also :
* fix the blacklist of section of the search
* Cleanup the html code so that it takes less lines

MozReview-Commit-ID: DITHGIqj6LE

--HG--
extra : rebase_source : 87f76d9b027f263970a0e5cb6f687290d5cbf004
2017-07-27 19:57:47 +02:00
flyingrub
f5b33fd0f0 Bug 1383837 - Save the state after a reload in about:telemetry r=chutten
Use window.location.hash to save the current section displayed
Filter the elements displayed after reload or a section change
Also save the state when switching between process

MozReview-Commit-ID: GYQEtS0As0k

--HG--
extra : rebase_source : f3bce2bb41dc92da2ef3cfef42d68beac12650a1
2017-07-24 23:22:55 +02:00
flyingrub
102ee6097e Bug 1383837 - Remove unused code in about:telemetry r=chutten
Remove the code related to expanding sections since it's not relevant
anymore.

MozReview-Commit-ID: 3Uav9S2Kj2U

--HG--
extra : rebase_source : b39971a675d3e04b0ccc8c1623f71cb8f1f465d7
2017-07-24 22:28:01 +02:00
flyingrub
d79201cb94 Bug 1383837 - Remove old statebox r=chutten
We don't need the statebox that were designed for the old
about:telemetry anymore.

MozReview-Commit-ID: LL6nzjKalE1

--HG--
extra : rebase_source : 5a78bf293d8986cc8c8ecfd6adae263fe0c6a1f1
2017-07-24 20:16:29 +02:00
flyingrub
d55ba2551d Bug 1382193 - Avoid l10n issue in about:telemetry r=chutten,flod
Provide a translation of "current".
Prevent issue with the order of the word by adding another string when
we display the current ping.

MozReview-Commit-ID: AOHXGrlm2Dt

--HG--
extra : rebase_source : a2a6822b9fb562670ffdf00bbf20659123cff622
2017-07-20 12:35:57 +02:00
flyingrub
9d3ae2a753 Bug 1382193 - Fix hardcoded quote in about:telemetry r=flod
Remove the quote form the js file and add it to the string file.

MozReview-Commit-ID: JGgywPJ755J

--HG--
extra : rebase_source : df683a5be4be6d3f0d0494960bbc28cdd6620060
2017-07-20 12:24:25 +02:00
flyingrub
06cd0845e3 Bug 1382193 - Fix Strings issue in about:telemetry r=flod
Add its own strings to the value of extendedTelemetryEnabled so that it
is independent of of telemetryEnabled.

MozReview-Commit-ID: 8p35LuWbiDw

--HG--
extra : rebase_source : 13b2df492cb4490c59da25cf7c8698e79aefcd91
2017-07-20 12:16:26 +02:00
flyingrub
f38ffa3ea7 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng

--HG--
extra : rebase_source : e090b4c5ae787b51c2b1b054e6f7b99d00bc2311
2017-07-19 21:28:07 +02:00
Sebastian Hengst
d2e9d3aa42 Backed out changeset bd140659a6b7 (bug 1382331) for eslint failure at aboutTelemetry.js:1353: Strings must use doublequote. r=backout 2017-07-24 19:17:16 +02:00
flyingrub
5b91f9c5c0 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng

--HG--
extra : rebase_source : 59374f2bd4a6c95744409c6278f7e5efcb50ea02
2017-07-19 21:28:07 +02:00
flyingrub
1eed2191e9 Bug 1382340 - Fix search in about:telemetry r=chutten
Introducing a destructuring assignement in the Bug 1378759 caused the
search throw an exception. The code was tested only in certain
circumstances where the bug wasn't triggered.

MozReview-Commit-ID: EWkKJhxMIuy

--HG--
extra : rebase_source : 6b892d1362e4c5956a0f888d93611a89c64d4e0c
2017-07-19 21:32:48 +02:00
flyingrub
56f07a5544 Bug 1381089 - Fix about:telemetry raw JSON display r=chutten
Display the entire ping instead of just the payload

MozReview-Commit-ID: JnNk2AjvTvC

--HG--
extra : rebase_source : f5f5eb329f4eafb5762fa12fa9a1724d9a730790
2017-07-17 22:11:03 +02:00
flyingrub
ad06bdbe98 Bug 1380626 - Fix about:telemetry child payload selection r=chutten
Prevent a bug on child payload selection.

MozReview-Commit-ID: L0JEOUGEONI

--HG--
extra : rebase_source : c4fcc57436464135b51526dccbe7f321aa1fd830
2017-07-13 15:31:29 +02:00
flyingrub
6c2670d543 Bug 1378759 - Add a search input to each section r=chutten
Also better integrate the process selector to the new design.

MozReview-Commit-ID: 8YV6dYPFZvA

--HG--
extra : rebase_source : 4a25bda87a9b2ad5f4fc7054070b1f7f101a47bd
2017-07-08 19:46:36 +02:00
flyingrub
9002a8e377 Bug 1374298 - Revisit the ping selection in about:telemetry r=chutten
Use a select with 3 optgroup (Today, Yesterday, Older) to sort ping.

MozReview-Commit-ID: 4Imw0cI3zxk

--HG--
extra : rebase_source : b4a877cf757491283d7f5f5dbe1202a6ab4f96b0
2017-06-29 16:44:03 +02:00
flyingrub
04cead80ab Bug 1374298 - Convert the ping-picker to a popup in about:telemetry r=chutten
MozReview-Commit-ID: GVK9EcVp9ji

--HG--
extra : rebase_source : d73b059dc737fbb43730d8776864ad818eae29e6
2017-06-29 14:13:44 +02:00
flyingrub
4327baa144 Bug 1374298 - Filter ping by type in about:telemetry r=chutten
Allow to select ping by their type.

MozReview-Commit-ID: K7ukYocsAbt

--HG--
extra : rebase_source : dd9e140ca8a411e02fc85123694e88b4c70eb3a3
2017-06-26 15:17:06 +02:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
flyingrub
b7e57205ea Bug 1355882 - Remove Addon Histograms from about:telemetry r=chutten
Removed all code related to Addon Histograms

MozReview-Commit-ID: 878X06QizFX

--HG--
extra : rebase_source : f067371a6bf44685f4dad0671641189749fac04a
2017-06-26 14:39:32 +02:00
flyingrub
5de6be9bbb Bug 1370513 - Fix Subsection displayed in the sidebar r=chutten
Allow to display subsection in the sidebar. The user can now select only
one subsection to be displayed.
Also remove unused strings.

MozReview-Commit-ID: HGFyssfZhfE

--HG--
extra : rebase_source : 53dd23d0af51eb8b4dc9b6c07ae4b778a4472b33
2017-06-16 14:04:50 +02:00
flyingrub
58e8e2f103 Bug 1370513 - Add an explanation text on about:telemetry homepage r=chutten
MozReview-Commit-ID: Bu0durfGC5R

--HG--
extra : rebase_source : cfbce41263c9fa02170d82c431cd39a62007f350
2017-06-12 18:52:17 +02:00
flyingrub
2222883e97 Bug 1370513 - Add a sidebar and use Common.css style in about:telemetry r=chutten
Allow about:telemetry design to be consistent with others about:* pages.


MozReview-Commit-ID: FG7tAmWcg9

--HG--
extra : rebase_source : 75aa02a9960f8d0153f20b075eabfbc12d01fc49
2017-06-06 15:25:15 +02:00
Carsten "Tomcat" Book
0100675f7f Backed out changeset 7aa109946f67 (bug 1370513) for test failures in browser_misused_characters_in_strings.js 2017-06-22 17:11:02 +02:00
Carsten "Tomcat" Book
b7e399beba Backed out changeset 811f94aea5ae (bug 1370513) 2017-06-22 17:10:47 +02:00
Carsten "Tomcat" Book
72b2d7f1c0 Backed out changeset cde5fccb8538 (bug 1370513) 2017-06-22 17:10:45 +02:00