Commit Graph

13651 Commits

Author SHA1 Message Date
Robert Helmer
e7953a18b8 Bug 1232222 - Provide telemetry environment data on which addons are system addons. r=gfritzsche
--HG--
extra : transplant_source : %99%14o%17%12%90%1E%E9%F5%A3%13%A0%94%F0%C8%5D%D4%3C%CCK
2016-01-25 14:19:52 -08:00
Robert Helmer
9845218d0f Bug 1232222 - Expose isSystem flag if add-on is a system add-on. r=Mossop
--HG--
extra : transplant_source : %11%BA%DA%AE%3D%0B%EE%BF%D2M%C6g%7F%86A%F2%BFh%03%22
2016-01-25 12:35:24 -08:00
Nick Fitzgerald
0d656a45b0 Bug 1221619 - Add telemetry to memory tool. r=jsantell, data-review=bsmedberg
--HG--
extra : rebase_source : 60ac72c8e18871226c60cbe984b15bed21042ad4
2016-02-03 15:17:00 +01:00
Dave Townsend
7a3b0231b9 Bug 1245649: Enable no-negated-in-lhs, no-native-reassign, no-func-assign and no-labels. r=MattN
--HG--
extra : commitid : KgoID6JTBTw
extra : rebase_source : e12b04768b497a335abfbc2be75aae5458cced43
2016-02-03 20:47:08 -08:00
Dave Townsend
c8e4d5fbbc Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN
--HG--
extra : commitid : oKFzhSyf1r
extra : rebase_source : 0d31d93961cdfb2e5e467e0c7f28edb4ab14a083
2016-02-03 18:21:30 -08:00
Dave Townsend
a9fc7f9380 Bug 1245649: Turn on no-irregular-whitespace and no-mixed-spaces-and-tabs. r=jaws
--HG--
extra : commitid : AHmjTpVmCOP
extra : rebase_source : 0034d884816464bff4677afbe96c52fa9dca9072
2016-02-03 18:09:49 -08:00
Dave Townsend
e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
33281c75f0 Bug 1245649: Turn on linebreak-style. r=Gijs
--HG--
extra : commitid : 7JJb4UFNKj9
extra : rebase_source : 5c30f388ad82d3b73ce7d14c71a48a1f0ed84db7
2016-02-03 17:04:56 -08:00
Dave Townsend
0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Wes Kocher
7328567952 Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE
--HG--
extra : commitid : KDIMv4ABWEs
2016-02-04 11:17:03 -08:00
Mike de Boer
a8f73b8d27 Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Carsten "Tomcat" Book
641304978c Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Alexandre Poirot
5a1faaaf7f Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
David Rajchenbach-Teller
6c74e5a50c Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric
--HG--
extra : transplant_source : %9DV%DD.%0D%BF%06%8A%10%0CSC%11sv%8Cs%9C%DA%D6
2016-02-03 18:41:12 +01:00
Tracy Walker
da45f722b7 Bug 1245225 - [e10s] Renabled working test cases. Simple case of removing relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_during_capture.js, browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-02 13:49:18 -06:00
David Rajchenbach-Teller
8402fc035a Bug 1142937 - AddonWatcher now communicates through nsIObserverService. r=felipe
The current API of AddonWatcher only supports a single callback. That's pretty unfriendly to testing, debugging, add-ons, etc.

This patch replaces the mechanism with a notification through the nsIObserverService.

--HG--
extra : transplant_source : %C2%88%B1%DF%B2%B2.%A7%C7Ti%C8%A8%C0%CA0%15f%8D%C5
2016-01-27 13:34:58 +01:00
Vladan Djeric
8d5951e924 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN
--HG--
extra : commitid : 9Duh1Mw8t9X
extra : rebase_source : f47ea8590484c8c81409da9ba550d0a5fad51b04
2016-02-03 15:25:53 -08:00
David Rajchenbach-Teller
17e41f6c46 Bug 1221761 - Probe.prototype.release() now swallows NS_ERROR_NOT_AVAILABLE. r=felipe
During shutdown, we may find ourselves attempting to release and shutdown a probe while the PerformanceStats service is already shutdown. In this case, since the probe is already shutdown, we can simply ignore the error.

--HG--
extra : transplant_source : %BBT%84%26.%AD%7B%23%1C%BC%3F%85%F9%18%A3%D8%84%EC%02%BE
2016-01-28 11:17:49 +01:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Carsten "Tomcat" Book
5461ec9a92 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Shane Caraveo
d80ff5a555 Bug 1244647 fix typeof check, r=mikedeboer 2016-02-02 14:05:34 -08:00
Margaret Leibovic
df13a4a2d4 Bug 1244727 - Remove expired histogram probes. r=mfinkle
--HG--
extra : commitid : IVuaUiMRPXr
extra : rebase_source : 1f3a69bcd396a86557f88fa8c263faf6b06dfae0
2016-02-01 10:02:53 -05:00
Margaret Leibovic
09e0b9d604 Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle
--HG--
extra : commitid : AvL2RSfcHkE
extra : rebase_source : 2854e6ef97bfa8b401e38caf150b4443210dc641
2016-02-01 09:58:03 -05:00
Margaret Leibovic
dbf6b4bd5e Backed out changeset 5a593c624332
--HG--
extra : commitid : FOAOc9FyJGj
extra : amend_source : f10e476950bdf9d47df0d76be5865abd279a75d9
2016-02-02 10:07:55 -05:00
Margaret Leibovic
b1e2e95999 Backed out changeset cd18c8af8b56
--HG--
extra : commitid : EgmuwwZ0Oa0
2016-02-02 10:06:52 -05:00
Margaret Leibovic
684573e2db Bug 1244727 - Remove expired histogram probes. r=mfinkle
--HG--
extra : commitid : 8iolL9VIGOC
extra : rebase_source : fc95e8cffe0d089d77a15bfbe6f6ab0fc2cca5bd
2016-02-01 10:02:53 -05:00
Margaret Leibovic
7cd5df0066 Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle
--HG--
extra : commitid : J8GTiJjVrg2
extra : rebase_source : 4d90c0602a55fe6c6686b98301d49236224e0930
2016-02-01 09:58:03 -05:00
Carsten "Tomcat" Book
33d012b91a Merge mozilla-central to fx-team 2016-02-02 11:54:43 +01:00
Carsten "Tomcat" Book
ddbbd78a0d merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Jean-Yves Avenard
846eb884b0 Bug 1244523: [mp4] P2. Have sniffer recognise ftyp qt subtype. r=cpearce 2016-02-02 16:27:47 +11:00
Anthony Zhang
0571a2708a Bug 1242777 - Expose child process hang stats to Javascript. r=chutten
What it does:

Adds a new function, TelemetrySession.getChildThreadHangs(), which returns a promise resolving to an array of threadHangStats [1], one per process.

Note that processes that spawn or die while the function's promise is created but not resolved may be excluded from the final result.

How we do this:

1. Parent sends a MESSAGE_TELEMETRY_GET_CHILD_PAYLOAD message to each child, promising the results of these messages.
2. Child processes respond to parent with a MESSAGE_TELEMETRY_THREAD_HANGS, which contains BHR stats in the payload.
3. Parent combines all the child responses together and resolves the promise.

Plus a bunch of synchronization stuff and handling of edge cases since the number of child processes can change at any time.

Also, there is a 200ms timeout since we can't handle all of these cases. Specifically, when a child dies without responding, after all other child processes have responded.

Why we do this:

* We can technically get thread hang stats by retrieving Telemetry pings (see requestChildPayloads() in TelemetrySession for details), but this is very slow and can only be done for one process at a time.
* TelemetrySession is responsible for various Telemetry IPC-related tasks, and so is a natural place to expose this function (i.e., the function blends in well with the rest of the API).
* Statuser [2] uses this for quickly obtaining child process BHR stats. This allows us to get realtime hang monitoring for child processes.

[1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/nsITelemetry.idl#146
[2]: https://github.com/chutten/statuser
2016-01-28 13:52:07 -05:00
Kris Maglione
c5b5341056 Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm
--HG--
extra : commitid : 1KrAIBW3HgQ
extra : rebase_source : c11b44c28a967d65e66eca9a5a8bb73e36f17ab3
extra : amend_source : af19f6d511e3fa1c8f143e08a7a99b60dc5c044c
2016-01-25 17:48:54 -08:00
Kris Maglione
751cbcb894 Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm
--HG--
extra : commitid : LmqVSqXGkKa
extra : rebase_source : 1e28a81fd74c920822bb5eed0aff8841bd628271
extra : histedit_source : 9acf96c0593f1271a753507c6630765394b88f3c%2Cf19e421dfed99dd65482ba935ac50fffa1208a6d
2016-02-01 19:20:13 -08:00
Kris Maglione
ec5c25ce52 Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm
--HG--
extra : commitid : L8FL3psdiCQ
extra : rebase_source : 24877d001fbbbaec21644d1ad05362df325c4b97
extra : histedit_source : 0245d9c4e903d60cafd0aa80caf1eac8dbd72968
2016-02-01 11:02:02 -08:00
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini
ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Blake Kaplan
a0179bfb51 Bug 1242208 followup, move this file where it should be r=mattn
--HG--
rename : toolkit/components/satchel/test_datalist_with_caching.html => toolkit/components/satchel/test/test_datalist_with_caching.html
2016-02-02 13:54:31 -08:00
Blake Kaplan
4da198b998 Bug 1242208 - Fix cached form history results with a datalist present. r=MattN 2016-02-02 13:44:11 -08:00
Francois Marier
e530b7de94 Bug 1237856 - Add prefs to honor/ignore Application Reputation verdicts. r=gcp 2016-02-02 15:07:06 -05:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Carsten "Tomcat" Book
04b84d256c Merge mozilla-central to mozilla-inbound 2016-02-02 11:53:58 +01:00
Christoph Kerschbaumer
332704f22e Bug 1244890 - Convert tests within toolkit/components/passwordmgr to use asyncOpen2(). r=sicking
--HG--
extra : rebase_source : ff015e3dc67a7aebad6e651c6d82976d0bbd42e0
2016-02-01 14:37:06 -08:00
Mark Goodwin
282a183d55 Bug 1241821 - Create a SecurityReporter component for TLS Error Reports r=mossop, keeler
This takes the TLS Error Reporting functionality used in the aboutNetError.xhtml
and aboutCertError.xhtml error pages and moves it to its own component. This
allows us to make use of this same error reporting functionality from elsewhere.
Notably, this allows us to send error reports for issues that occur when loading
subresources.
The xpcshell test included is in security/manager/ssl/tests because we need to
make use of tlsserver functionality from the PSM tests.
2016-01-30 08:07:38 +00:00
Phil Ringnalda
b2b5dc0439 Merge f-t and m-i to m-c, a=merge 2016-01-30 17:08:37 -08:00
Phil Ringnalda
a39d6e46e4 Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Phil Ringnalda
985ff5df04 Merge m-i to m-c, a=merge 2016-01-30 09:28:35 -08:00