Commit Graph

32833 Commits

Author SHA1 Message Date
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
Nick Alexander
b266bd6df2 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)

--HG--
extra : commitid : FNz3fg58MOy
extra : amend_source : e24ac7d8fd3911a7e12ca71d8bb7e618aa1e78ac
2016-02-03 23:15:00 -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
Mark Finkle
68ee1f4957 Bug 1227662 - Video background is white instead of textured gray r=margaret 2016-02-04 02:44:57 -05:00
Nick Alexander
609e5edb32 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : 572d1ff35a02505f452fee67130b48c8df4499b5
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08: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
Jared Wein
b8eccb9ebf Bug 1245175 - Remove bottom padding on about:addons. r=ntim
--HG--
extra : commitid : KGImt0qsKJM
2016-02-02 10:16:00 +01: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
Tim Nguyen
3bbd5d5b80 Bug 1242073 - Tweaks to about:networking. r=jaws
--HG--
extra : commitid : 5Mg53bdIi9i
2016-02-01 19:55:07 +01: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
Dave Townsend
6ec3a34a03 Bug 1243935 - "Restartless add-ons that get into the pending disable state never disable". r=aswan
--HG--
extra : rebase_source : a932007d5b4bdad83fdf21c50776f55a928174c2
2016-01-28 16:01:00 +01:00
Phil Ringnalda
efb0e5df11 Merge m-i to m-c, a=merge 2016-01-31 17:53:22 -08:00
Phil Ringnalda
d29ad54afa Merge f-t to m-c, a=merge 2016-01-31 17:52:17 -08: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
Phil Ringnalda
9f2e22e0ac Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02: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
Jean-Yves Avenard
c9e51133e2 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
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
Wes Kocher
aaf89c475e Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)

--HG--
rename : testing/mochitest/start_b2g.js => testing/mochitest/b2g_start_script.js
extra : commitid : DLurSs6PJ1G
2016-02-03 17:38:12 -08:00
Mike Hommey
9ec0d0969f Bug 1245055 - Remove toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in. r=mshal
The remains in this file come from bug 633436. I'm not sure what the
toolchain was back then (5 years ago), but it doesn't appear what it
was trying to work around happens nowadays, so just get rid of the
workaround.
2016-02-03 08:41:26 +09:00
Mike Hommey
3b5a683483 Bug 1244997 - Remove TOOLKIT_EM_VERSION from toolkit/xre/Makefile.in. r=mshal
Bug 383167 made it obsolete 8.5 years ago, and while bug 543150 kind of
backed it out, it used GRE_MILESTONE instead of TOOLKIT_EM_VERSION.
2016-02-03 08:41:13 +09:00
Felipe Gomes
3ca7b9f357 Bug 1243882 - Block e10s for locales based on Firefox's locale, not the OS. r=ehsan 2016-02-02 21:13:26 -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
Blake Kaplan
31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 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
88ce1ce184 Bug 1204202 - Remove packaging for now obsolete appcrt140.dll/desktopcrt140.dll on VS2015. r=ehsan 2016-02-02 17:42:04 +02: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
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
Gijs Kruitbosch
957e08a3bd Bug 1219215 - part 1: remove window-drag bindings and other callers of WindowDraggingUtils, replace with using window-dragging region everywhere, r=dao,felipe
--HG--
extra : commitid : 5eXAZOQmmPY
extra : rebase_source : ff9d7691e203697caddb3a9f2de6cb676a15a6b4
extra : histedit_source : 8c3f2681850b5dd6ee8f26e7b8d9e00f2e4122a8
2016-01-18 15:32:14 +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
Wes Kocher
4c1c8ea235 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)

--HG--
extra : commitid : C8ZtL47yMj1
2016-01-29 10:30:16 -08:00
Wes Kocher
e060c6dced Backed out changeset 24af6caa9bba (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
--HG--
extra : commitid : ETz5wi5nzdH
2016-01-29 10:15:30 -08:00
Wes Kocher
e5f4ab2287 Backed out changeset 8ee5a700e4a2 (bug 1242777) to hopefully fix the intermittent hazard failures
--HG--
extra : commitid : IZS783zslAZ
2016-01-29 10:14:44 -08:00
Nathan Froyd
b1bbf96de9 Backout 24dbe7da7370:a319694b46d5 (bug 1069556) for build bustage on various platforms on a CLOSED TREE
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-29 11:55:43 -05:00
Mike Conley
f0718773f5 Bug 1243643 - Deprecate unsafe CPOW usage in contentAreaUtils' saveImage. r=jld
--HG--
extra : commitid : 6cuCDa7OEaU
extra : rebase_source : 1628b0ef02ff2b9be46c6ef12e572f80a7f855aa
2016-01-28 16:23:30 -05:00
Shane Caraveo
88c2f7e147 Bug 1037483 replace microdata with microformats in share, r=dietrich 2016-01-29 10:58:45 -08:00
Shane Caraveo
5f98155cad Bug 1037483 adopt microformats-shiv for microformats v2 support, r=tantek 2016-01-29 10:58:45 -08:00
Georg Fritzsche
23fb0b9b97 Bug 1241111 - Allow overriding SOURCE_REV_URL, SOURCE_REPO, SOURCE_CHANGESET. r=ted 2016-01-29 18:42:51 +01:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Carsten "Tomcat" Book
f50e3a325f merge fx-team to mozilla-central a=merge 2016-01-29 11:47:23 +01:00
Andrew Swan
7fc2a0fc8f Bug 1172835 - Add warning icon to unsigned extensions warning button. r=Mossop 2016-01-28 11:16:28 -08:00
Jean-Yves Avenard
686f68bed4 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-29 15:45:42 +11:00
Anthony Zhang
2e1e076345 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

--HG--
extra : rebase_source : d323afc3de716e5c978f1120f43af77f193f0b8a
2016-01-28 13:52:07 -05:00
sajitk
aff6f586b9 Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in toolkit subdirectory. r=erahm
--HG--
extra : rebase_source : 71c02b7294a95ecba7876b0372a0dee0ea05b4ed
2016-01-28 10:37:00 -05: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
Ted Mielczarek
478ab040e0 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : HeAH4kH17B1
extra : rebase_source : c9942aaca1d4e9555ecd44a23d7020a8a7ba1d77
extra : source : 31c98f5e107b9271be88e7c8543c4dbb4a2b6526
2016-01-27 09:39:53 -05:00
Phil Ringnalda
24bee43b71 Merge m-c to m-i 2016-02-05 19:42:00 -08:00
Andrew Swan
47326c6b9a Bug 1245678 - [webext] Add downloads API schema and implementation boilerplate. r=rpl 2016-02-05 09:56:37 -08:00
Luca Greco
2528d1ad29 Bug 1242752 - Fix exception raised when a WebExtension iframe is destroyed. r=kmag
--HG--
extra : commitid : OWlweEhPgN
extra : histedit_source : 80a0cb88697493d72df763a4950c2efbd240f943
2016-01-26 13:30:17 +01:00
Stephen Horlander
da47b8d03f Bug 1181237 - Update the Field Clear icon for Hi-DPI r=dao
--HG--
extra : commitid : BelBIb5WZMJ
extra : histedit_source : ed7886866ac5670336cf9b7ab3657f0e455ef729
2016-01-28 11:08:31 -08:00
Carsten "Tomcat" Book
37fd43deaa Merge mozilla-central to fx-team 2016-01-28 12:37:17 +01:00
Carsten "Tomcat" Book
323b54c218 merge mozilla-inbound to mozilla-central a=merge 2016-01-28 12:13:37 +01:00
Alessio Placitelli
9e296bba83 Bug 1236580 - Fix the tests and update the documentation. r=gfritzsche 2016-01-27 07:09:00 +01:00
Alessio Placitelli
d448c0ad94 Bug 1236580 - Remove the IS_UNIFIED_TELEMETRY constant and the related preferences. r=gfritzsche 2016-01-27 01:03:00 +01:00
Kris Maglione
840051ba5c Bug 1210583: Part 2 - [webext] Support callbacks in tabs.executeScript/tabs.insertCSS. r=billm
--HG--
extra : commitid : K6slT54Lfwg
extra : rebase_source : d2e519e7932169e59c655ce0013ca7a488cef2d6
extra : histedit_source : b7b8a66f2fd4a0943a8c8c8ca20f8384b999d98e
2016-01-25 20:25:11 -08:00
Kris Maglione
3d50a9eb7e Bug 1210583: Part 1 - [webext] Add support for cross-process messaging with async responses. r=billm
--HG--
extra : commitid : 5deKex3Nhp
extra : rebase_source : 9c31f41230bb46127dead36ccad4449cd35ce1b0
extra : histedit_source : 2646ebbe46d96f8e50db75247a7672e81d57a74c
2016-01-27 12:57:21 -08:00
Michael Comella
25a2950fdc Bug 1241697 - Add docs for 'experiments' field in core ping. r=mfinkle
--HG--
extra : commitid : DiiaO20ETOM
extra : rebase_source : b0733dc65a7bf10ef6cc4a8577e91c2cd18b4a65
2016-01-27 14:52:27 -08:00
chaithanya
32ff5e90a0 Bug 1184458- TelemetryEnvironment needs to shut down properly r=gfritzsche 2016-01-27 09:57:00 +01:00
Michael Comella
0cfda570a4 Bug 1241599 - Add 'core' ping telemetry docs. r=gfritzsche
--HG--
extra : commitid : 10uJasUsIc6
extra : rebase_source : 1eda627109182295aebfbcbc09fe3237f9abd032
2016-01-21 16:55:54 -08:00
Chris Manchester
d6f59759cd Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Paul Kerr [:pkerr]
447a27169b Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking 2016-01-27 16:05:10 -08:00