Commit Graph

32709 Commits

Author SHA1 Message Date
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
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
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
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
David Keeler
32b5d6c545 bug 1241317 - gather telemetry on prevalence of FIPS r=jcj r=vladan 2016-01-21 11:22:12 -08:00
Jeff Walden
1e1850242d Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz
--HG--
rename : dom/media/webaudio/test/audioBufferSourceNodeNeutered_worker.js => dom/media/webaudio/test/audioBufferSourceNodeDetached_worker.js
rename : dom/media/webaudio/test/test_audioBufferSourceNodeNeutered.html => dom/media/webaudio/test/test_audioBufferSourceNodeDetached.html
extra : rebase_source : acc6f8336a3ffb084a0e95865710748edd9354d9
2016-01-25 18:10:22 -08:00
Carsten "Tomcat" Book
b9e929e1a7 merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Dave Townsend
5537b5c159 Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer
Previously we just checked every newly sideloaded add-on to decide whether to
offer it to the user for opt-in. This adds a new "seen" property (naming could
be better if you have other suggestions) which tracks whether we've ever shown
the opt-in UI for the add-on. It defaults to true for all add-ons and is only
set to false for sideloaded add-ons that default to being disabled on install.
The seen flag can be set to true through the API but cannot be reset to false
as that would allow add-ons to forcibly re-present themselves to the user when
disabled.

The opt-in UI sets the seen flag to true only when it has focus which fixes a
long-standing bug where if you accept the first add-on you see and restart the
other tabs might not show up.

The one slight downside of this approach is that it now requires loading the
full add-ons database on every startup in order to check the seen flag for all
installed add-ons. There are hacky ways we might get around this but they all
involve overloading prefs with even more object data. The good thing is that
we do the load and check asynchronously after most of startup is complete and
the UI is fully loaded so there shouldn't be any percieved impact to startup
time. I've run multiple talos runs to verify that none of the numbers appear to
regress.

--HG--
extra : commitid : AG6pELCYJDa
extra : rebase_source : b824c1626d0c5a77416fa4349ed3dd4d0e96418b
2016-01-26 14:31:33 -08:00
Bill McCloskey
c95da3e673 Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap
--HG--
extra : commitid : AkRt0J9Cpgt
extra : rebase_source : 39bf3c27ce593c95e4aecb5f7bb55a8ffc05382c
2016-01-05 19:28:27 -05:00
Mike Conley
ba17921111 Bug 1233497 - Temporarily allow unsafe CPOWs in Promise-backend.js and Task.jsm. r=billm
--HG--
extra : commitid : Jzchcq5SSGv
extra : rebase_source : a8f2cbfe5a77fc5d80eb04dd806841355479a953
2016-01-18 12:44:37 -05:00
Mike Conley
c41732b8a2 Bug 1233497 - Disable tests that use fillInPageTooltip for e10s. r=Enn
--HG--
extra : commitid : HgypbNMmqWJ
extra : rebase_source : 79c6c34a0d35f34b959bc7a0890cf587dd8cde0c
2016-01-05 13:52:38 -05:00
Mike Conley
bc564553b4 Bug 1233497 - Do not resolve a Promise with a CPOW in browser_addonPerformanceAlerts.js r=Yoric
--HG--
extra : commitid : J0Wsk2huvoZ
extra : rebase_source : f4521791b2e7953955909de91e6085d9158d7ee7
2016-01-04 17:15:24 -05:00
Wes Kocher
5db3056dd4 Backed out 2 changesets (bug 1037483) for many ESLint failures
Backed out changeset de364648e24c (bug 1037483)
Backed out changeset c697940b6f5c (bug 1037483)

--HG--
extra : commitid : Dze5NbyixG6
2016-01-26 11:26:23 -08:00
Shane Caraveo
ff4fb121c8 Bug 1037483 replace microdata with microformats in share, r=dietrich 2016-01-26 10:53:00 -08:00
Shane Caraveo
71d96c6ddf Bug 1037483 adopt microformats-shiv for microformats v2 support, r=tantek 2016-01-26 10:52:59 -08:00
Marco Bonardo
43b99cedf6 Bug 1240013 - Crash in nsNavBookmarks::OnVisit by setting long location.hash. r=Yoric
--HG--
extra : commitid : 22HsGbBqJ8f
extra : rebase_source : 9b7794cc6d81f8de6c43b303779835f06eca7271
2016-01-26 18:43:53 +01:00
Carsten "Tomcat" Book
2899251f1a Merge mozilla-central to fx-team 2016-01-26 12:46:28 +01:00
Carsten "Tomcat" Book
41d8030f77 merge mozilla-inbound to mozilla-central a=merge 2016-01-26 11:53:21 +01:00
Dave Townsend
4bc6562ad3 Backing out bug 1237820 due to test failures.
--HG--
extra : commitid : 3AZ12ILpIwM
2016-01-25 16:44:19 -08:00
Wes Kocher
9d24ca2703 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : KSEbGPeZZae
2016-01-25 14:07:49 -08:00