Commit Graph

13634 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +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
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Marco Bonardo
cda0974c56 Bug 1158511 - Add 'most recent expired visit' telemetry. r=adw
--HG--
extra : commitid : 2dy00Q2kdxS
extra : rebase_source : a2afc1e3b6be66d125b2f8793e79d03a9d336d28
2016-01-29 17:06:04 +01:00
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Kris Maglione
e391b5ccaf Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm
--HG--
extra : commitid : KyImBk4vvCu
extra : rebase_source : f05432e862480ca7e4c81c9fd663822bba63c7af
extra : histedit_source : 6cec5cd0c0c4986f0b22e4338b2e6da3cb851ef7
2016-01-29 18:38:08 -08:00
Kris Maglione
b859ec65ef Bug 1190680: Part 1 - [webext] Factor common extension context logic into a shared base class. r=billm
--HG--
extra : commitid : 2aeACGXC84s
extra : rebase_source : 2f8f5dab0b51b7524c8df047587b52da33e69199
extra : histedit_source : 87ab18bfdef7944d3dc43142f4f090905c1f8b29
2016-01-29 18:39:29 -08:00
Kris Maglione
18ffdfa335 Bug 1225715: Part 6 - Remove redundant manifest type checking from XPIProvider. r=Mossop
--HG--
extra : commitid : Co3LqKFdyq6
extra : rebase_source : fe07d829cd3dd9bf0bee582e0367a9b1d49036de
2016-01-21 23:36:53 -08:00
Kris Maglione
278a332b02 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.

--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Kris Maglione
7223a1a63e Bug 1225715: Part 4 - Improve reporting of schema errors. r=billm
--HG--
extra : commitid : 8hxwF0y1kXL
extra : rebase_source : 6659b05b2835d9e9feecb45223b4ab2519eea4c5
2016-01-29 20:11:07 -08:00
Kris Maglione
4e6099bea2 Bug 1225715: Part 3 - Allow extending existing schema types. r=billm
This one's a bit weird. I was trying to avoid it for a while, but when we
start to support different sets of APIs on different apps, it's going make it
complicated to maintain a single, centralized manifest schema without some way
for them to directly extend it.

--HG--
extra : commitid : 69hnLm2cHLt
extra : rebase_source : 8895c53c36c3790c287c0105fa95b0f3f8f49c33
2016-01-20 22:46:37 -08:00
Kris Maglione
cd5a8640d9 Bug 1225715: Part 2 - Add string format support to schemas. r=billm
--HG--
extra : commitid : ArSuR3hloWW
extra : rebase_source : 64f075729beee1a0b3e411c7f3c7084839e793df
2016-01-29 19:48:57 -08:00
Kris Maglione
f9a63c1481 Bug 1225715: Part 1 - Add support for patterned strings and properties in schemas. r=billm
--HG--
extra : commitid : DXiMnqrHsn0
extra : rebase_source : e8457775d1c9510e20e3f987eb8deccbcfbb50fb
2016-01-29 19:45:16 -08:00
Kit Cambridge
165b9138a5 Bug 1241278 - Record telemetry for notification permission callback usage. r=vladan
--HG--
extra : commitid : DyfF5zD7oBq
extra : rebase_source : 041591969af8c79c7da6b4e8c2f63941396b761f
2016-01-21 09:37:53 -08:00
Wes Kocher
543c164cdc Backed out 2 changesets (bug 1241821) for android build bustage CLOSED TREE
Backed out changeset ae7246d654c8 (bug 1241821)
Backed out changeset bdecb787f1a2 (bug 1241821)

--HG--
extra : commitid : HdwYW6HntXi
2016-01-29 14:57:27 -08:00
Christoph Kerschbaumer
83099fe604 Bug 1243936 - Convert remaining callsites within devtools/ and toolkit/ to use channel.open2() 2016-01-29 09:16:13 -08:00
Mark Goodwin
e7ee60296d 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-29 13:45:17 +00:00
Drew Willcoxon
85ec17cdc2 Bug 1233672 - Properly encode/decode moz-action URIs. r=mak 2016-01-29 14:02:15 -08:00
Wes Kocher
86864105dc Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 7MLK0J5XhL0
2016-01-29 13:44:12 -08:00