Commit Graph

28216 Commits

Author SHA1 Message Date
Margaret Leibovic
770a94c393 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
60ff557e83 Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Margaret Leibovic
50c45752af Backed out changeset 5a593c624332 2016-02-02 10:07:55 -05:00
Margaret Leibovic
4e4079ce84 Backed out changeset cd18c8af8b56 2016-02-02 10:06:52 -05:00
Margaret Leibovic
b841a69d27 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
d3d5545a8f Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Carsten "Tomcat" Book
42bc85234d Merge mozilla-central to fx-team 2016-02-02 11:54:43 +01:00
Carsten "Tomcat" Book
9468a26fac merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Jean-Yves Avenard
91b04a5c80 Bug 1244523: [mp4] P2. Have sniffer recognise ftyp qt subtype. r=cpearce 2016-02-02 16:27:47 +11:00
Anthony Zhang
7ebea8ea7b 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
ed43865c55 Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm 2016-01-25 17:48:54 -08:00
Kris Maglione
592ffd1f56 Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm 2016-02-01 19:20:13 -08:00
Kris Maglione
fd9073aacd Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm 2016-02-01 11:02:02 -08:00
Tim Nguyen
f2a42ce90e Bug 1242073 - Tweaks to about:networking. r=jaws 2016-02-01 19:55:07 +01:00
Wes Kocher
b914b5fb73 Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage 2016-02-01 08:25:19 -08:00
Paolo Amadini
40cb6baf8e Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-30 18:53:56 +00:00
Dave Townsend
e8afce7583 Bug 1243935 - "Restartless add-ons that get into the pending disable state never disable". r=aswan 2016-01-28 16:01:00 +01:00
Phil Ringnalda
a77765513e Merge m-i to m-c, a=merge 2016-01-31 17:53:22 -08:00
Phil Ringnalda
7051fe25a5 Merge f-t to m-c, a=merge 2016-01-31 17:52:17 -08:00
Phil Ringnalda
863943dfb7 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
Phil Ringnalda
6342273139 Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Birunthan Mohanathas
f94b4ff6a2 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Phil Ringnalda
cf5e6f9eb3 Merge f-t and m-i to m-c, a=merge 2016-01-30 17:08:37 -08:00
Phil Ringnalda
c6000dca8a Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Phil Ringnalda
accaa766dd Merge m-i to m-c, a=merge 2016-01-30 09:28:35 -08:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Marco Bonardo
181fbb7e2b Bug 1158511 - Add 'most recent expired visit' telemetry. r=adw 2016-01-29 17:06:04 +01:00
Phil Ringnalda
129d6694f3 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Kris Maglione
3b26461dc0 Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm 2016-01-29 18:38:08 -08:00
Kris Maglione
724b49e80c Bug 1190680: Part 1 - [webext] Factor common extension context logic into a shared base class. r=billm 2016-01-29 18:39:29 -08:00
Jean-Yves Avenard
b002ceac11 Bug 1212323: P3. Use promise with supportsHardwareH264Decoding. r=felipe
Detecting if hardware decoding is available is an asynchronous operation/
The use of Promise allows the value displayed to be accurate on all platforms and not just windows.
2016-01-30 12:52:36 +11:00
Kris Maglione
ca6d4f166d Bug 1225715: Part 6 - Remove redundant manifest type checking from XPIProvider. r=Mossop 2016-01-21 23:36:53 -08:00
Kris Maglione
b03f09db5f 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.
2016-01-30 10:27:02 -08:00
Kris Maglione
166e216be0 Bug 1225715: Part 4 - Improve reporting of schema errors. r=billm 2016-01-29 20:11:07 -08:00
Kris Maglione
43884ade07 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.
2016-01-20 22:46:37 -08:00
Kris Maglione
bbc17cc145 Bug 1225715: Part 2 - Add string format support to schemas. r=billm 2016-01-29 19:48:57 -08:00
Kris Maglione
2d2ffb9404 Bug 1225715: Part 1 - Add support for patterned strings and properties in schemas. r=billm 2016-01-29 19:45:16 -08:00
Kit Cambridge
d873e15617 Bug 1241278 - Record telemetry for notification permission callback usage. r=vladan 2016-01-21 09:37:53 -08:00
Wes Kocher
0d8c068131 Backed out 2 changesets (bug 1241821) for android build bustage CLOSED TREE
Backed out changeset ae7246d654c8 (bug 1241821)
Backed out changeset bdecb787f1a2 (bug 1241821)
2016-01-29 14:57:27 -08:00
Christoph Kerschbaumer
12a3f8477f Bug 1243936 - Convert remaining callsites within devtools/ and toolkit/ to use channel.open2() 2016-01-29 09:16:13 -08:00
Mark Goodwin
8bbe983427 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
Gijs Kruitbosch
897e0c501a Bug 1219215 - part 1: remove window-drag bindings and other callers of WindowDraggingUtils, replace with using window-dragging region everywhere, r=dao,felipe 2016-01-18 15:32:14 +00:00
Drew Willcoxon
bc40bcd466 Bug 1233672 - Properly encode/decode moz-action URIs. r=mak 2016-01-29 14:02:15 -08:00
Wes Kocher
033e95c521 Merge m-c to fx-team, a=merge 2016-01-29 13:44:12 -08:00
Wes Kocher
3dbb3a4bfa Backed out 3 changesets (bug 1212323) for WinXP debug crashes CLOSED TREE
Backed out changeset 7215ed1cfcef (bug 1212323)
Backed out changeset bd7599dcee0d (bug 1212323)
Backed out changeset 228267494daa (bug 1212323)
2016-01-29 10:30:16 -08:00
Wes Kocher
ee1d30307e Backed out changeset 24af6caa9bba (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE 2016-01-29 10:15:30 -08:00
Wes Kocher
a9321933a4 Backed out changeset 8ee5a700e4a2 (bug 1242777) to hopefully fix the intermittent hazard failures 2016-01-29 10:14:44 -08:00
Nathan Froyd
96a1bfa079 Backout 24dbe7da7370:a319694b46d5 (bug 1069556) for build bustage on various platforms on a CLOSED TREE 2016-01-29 11:55:43 -05:00
Mike Conley
753347759a Bug 1243643 - Deprecate unsafe CPOW usage in contentAreaUtils' saveImage. r=jld 2016-01-28 16:23:30 -05:00
Shane Caraveo
7cc680d82c Bug 1037483 replace microdata with microformats in share, r=dietrich 2016-01-29 10:58:45 -08:00