Commit Graph

32989 Commits

Author SHA1 Message Date
Phil Ringnalda
11999f3ffc Bug 1238433 followup, we should be high as an int, not as a string, a=bustage
CLOSED TREE
2016-02-20 17:44:00 -08:00
Phil Ringnalda
1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Eric Hu
5e925e97c3 Bug 1245910 - Enforce correct types in Histograms.json. r=gfritzsche
- Convert string values to integer and boolean values for Histograms
- Add compile time type checks on Histograms.json
- Remove string to int/bool coercion for the Histogram keys:
  - n_buckets
  - n_values
  - low
  - high
  - keyed
- Remove check_numeric (redundant with check_expression_types)
2016-02-17 21:14:31 +07:00
Rail Aliiev
88be272faf Bug 1248883 - missing ${platform}_info.txt files r=mshal 2016-02-19 13:24:50 -08:00
Olli Pettay
e80ba3add6 Bug 1249439 - xul:browser adds itself as a strong observer to observer service, r=gijs
--HG--
extra : rebase_source : a2b0012e57d9998504986f8b2b6072f199701fef
2016-02-19 20:18:39 +02:00
Gijs Kruitbosch
6170f3f6b8 Bug 1229626 - fix pinning to taskbar to reflect user preference, r=mhowell
MozReview-Commit-ID: DIHzv32bwkN

--HG--
extra : rebase_source : 4112543d785ffac568065de61bfed9a1fd245d58
2016-02-02 23:44:49 +00:00
Carsten "Tomcat" Book
8de5d65e8c Merge mozilla-central to fx-team 2016-02-19 12:08:37 +01:00
Carsten "Tomcat" Book
fd2c2d9b1a merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
bsilverberg
04f5066ce6 Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
Implement chrome.i18n.getUILanguage including tests

Add API to content scripts

MozReview-Commit-ID: IcDlLj8Et73

--HG--
extra : rebase_source : 9996c7da79d3a132bce73b167dfea7031083ad3a
2016-02-18 07:50:17 -05:00
Matthew Noorenberghe
ba5d55f24d Bug 1228671 - Make some notification telemetry opt-out. r=bsmedberg
MozReview-Commit-ID: 2ZeiJnZaebA
2016-02-18 10:43:28 -08:00
Matthew Wein
e82011511c Bug 1246031 - Utility for obtaining platform information. r=kmag 2016-02-17 15:14:28 -05:00
Margaret Leibovic
ead971820b Bug 1245497 - (Part 1) Update FENNEC_GECKOAPP_STARTUP_ACTION to measure homescreen shortcut launches. r=mcomella
MozReview-Commit-ID: CkvS3eP5wTy

--HG--
extra : rebase_source : 6a03986c6e2bbd53238bc6beb6083023d83bd124
2016-02-03 12:08:15 -05:00
Carsten "Tomcat" Book
5a7bf7c7b3 Merge mozilla-central to fx-team 2016-02-18 14:04:37 +01:00
Carsten "Tomcat" Book
ed38b61598 merge mozilla-inbound to mozilla-central a=merge 2016-02-18 12:01:24 +01:00
David Rajchenbach-Teller
4c829da9f9 Bug 1246277 - Don't forget to register nsPerformanceStatsService on non-Nightly;r=me
MozReview-Commit-ID: EsaLZ8oB9r5

--HG--
extra : rebase_source : 2aa8108ca27cb084e0c49472022c02fee965f605
2016-02-17 23:47:36 +01:00
Mark Banner
6d679c357f Bug 1245666 - Add license for Loop's slideshow code. r=gerv
--HG--
extra : commitid : LLvlgh1UroT
2016-02-18 10:13:34 +00:00
Alessio Placitelli
67bd8bcbe2 Bug 1243893 - Force values to true/false if the expected type is boolean in the environment. r=gfritzsche 2016-02-16 09:48:00 +01:00
Alessio Placitelli
0d91cd510a Bug 1243893 - Telemetry in-tree docs conflict with actual pings. r=gfritzsche 2016-02-16 07:36:00 +01:00
Phil Ringnalda
f8f784399f Bug 1248796 followup, remove trailing comma on a CLOSED TREE 2016-02-17 19:18:47 -08:00
Felipe Gomes
2a82ecf425 Bug 1248796 - Store on Telemetry whether the e10s blocking code successfully ran. r=gftrizsche data-r=bsmedberg 2016-02-18 00:53:48 -02:00
Julien Wajsberg
50121de1be Bug 1248523 - Remove duplicate rules in .eslintrc r=kmag
MozReview-Commit-ID: ICAnRlR1ILI
2016-02-17 12:03:05 -08:00
Carsten "Tomcat" Book
3c3670f784 Backed out changeset 593676d0f08f (bug 1243602) for m5 test failures
--HG--
extra : rebase_source : 0dbee8d0aab8e1e47a18df92b33bbbdcf48fe192
2016-02-17 15:01:22 +01:00
Matthew Wein
441bc62a0b Bug 1243602 - don't expose browser.* properties that lack required permissions. r=kmag 2016-02-15 17:59:07 -05:00
Andy McKay
c123766e69 Bug 1238312 - implement tabs.duplicate. r=kmag
MozReview-Commit-ID: Fzd6BuAEgSl

--HG--
extra : transplant_source : %F3%1C%C6%13Hn%DF%051%2B%7D%AB%D1%AE%F17Y%05oF
2016-02-12 15:38:55 -08:00
AJ Kerrigan
e23e94e333 Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Carsten "Tomcat" Book
9d45ef9d96 Merge mozilla-central to fx-team 2016-02-17 12:20:16 +01:00
Carsten "Tomcat" Book
c2a42c6ad4 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Kris Maglione
ba2e5f60f4 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Drew Willcoxon
2f0e845aa8 Bug 1247641 - When loading a background thumbnail, load about:blank asynchronously when a load fails to avoid endless redirects. r=markh 2016-02-16 16:34:25 -08:00
Andrew Krawchyk
3080ab6847 Bug 1220654 - Replace removeVisitsTimeframe with History.removeVisitsByFilter and deprecate it. r=mak
***
yield on removeVisitsByFilter in tests

MozReview-Commit-ID: JGDaJGEmtoD
***
update bookmarked place tests, inline object declarations

MozReview-Commit-ID: Cxec22UHui0
***
updates for code review

MozReview-Commit-ID: AIRqrJ0B6GQ

--HG--
rename : toolkit/components/places/tests/unit/test_removeVisitsByTimeframe.js => toolkit/components/places/tests/history/test_removeVisits.js
extra : amend_source : dbe2442dceefae9bf79a77f09a9a889f18d4a65b
2016-02-16 14:52:59 -05:00
Kit Cambridge
68e3a5952d Back out changeset 4357fe5a9d22 (bug 1206560) for M-e10s(bc4) failures.
MozReview-Commit-ID: 1J0li7PNBWN

--HG--
extra : rebase_source : 448ee6888b68f1ebd2d0926b84f946a84b8b5788
2016-02-16 16:13:38 -08:00
Kit Cambridge
702f0beb99 Bug 1224785, Part 3 - Don't include ShowWith{Icon}Backend on Android. r=me 2016-02-16 15:52:15 -08:00
Marco Bonardo
77808a4218 Bug 1244650 - Failure to clear Forms and Search Data on exit. r=yoric
The problem is due to sanitization happening too late in the shutdown cycle.
The Sanitizer depends on Places shutdown, that recently moved to async shutdown.
That change caused shutdown to happen completely at profile-before-change, unfortunately
during that phase it's impossible to predict which services are already shutdown.
The patch restores the previous Places shutdown procedure, thus clients are notified
earlier, during profile-change-teardown.

Additional meaningful changes:
* Fixes FX_SANITIZE_TOTAL telemetry to properly count total time taken by sanitize.
* Makes each cleanup operation isolated from other errors to try cleaning up as most as possible.
* In case of multiple sanitization sub steps, each step is isolated by a try/catch, the last seen exception is reported upstream.
* Makes FX_SANITIZE_HISTORY actually measure history, not other random stuff.
* Removes TOPIC_SIMULATE_PLACES_MUST_CLOSE_1 since we can now just use profile-change-teardown for shutdown phase 1.

MozReview-Commit-ID: HroLvbi25IC

--HG--
extra : rebase_source : 5cd01a803fbc1f72dc5174dd0c5a5b5aea473fc2
2016-02-04 13:51:34 +01:00
Dave Townsend
424899c3cd Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx

--HG--
extra : rebase_source : 5c19b92e4242088b6fc7a268f255fe9a795928f6
extra : source : 3e5b6df276a9a20fe7b3655656e62a09bc46aaa9
2016-02-03 22:48:48 -08:00
Dave Townsend
0a913f73ee Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : a88116d149af76aa35ee0757b3b51b6f97646ebe
extra : source : 04c1740aa49904a56bd662ee0c8aed69e6f99f8b
2016-02-05 12:12:30 -08:00
Dave Townsend
688e1344df Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG

--HG--
extra : rebase_source : 94daff602b51d7ad57a24872d9eba9b304cf2da9
extra : source : b554c7ce41c42f16c2279ae88fd9567da7509bff
2016-02-05 12:16:39 -08:00
Dave Townsend
56d83fc4bd Bug 1245916: Unify eslint global discovery rules. r=pbrosset
While working on turning on no-undef I discovered that the various rules we
have for defining globals are a little inconsistent in whether the files they
load recurse through import-globals-from directives and none of them imported
eslint globals directives.

I think we're better off putting all this global parsing code in a single place
rather than spread across multiple rules. Have one rule to turn it on for
parsed files and one function to load globals from other files and make them
share most of the code so we won't get inconsistent. If we find us needing to
turn on/off individual features we can figure out a way to do that in the
future.

This patch does that, the globals.js file does all global parsing with a shared
object that receives events from the AST, either through from an ESlint rule
or from a simple AST walker using estraverse.

MozReview-Commit-ID: 9KQZwsNNOUl

--HG--
extra : rebase_source : 0f1cceca29ac398be97a55bbcd09fe58a8be1435
extra : source : 878db4caf845282f06542793bc4b5c24fa658c14
2016-02-05 11:37:50 -08:00
Birunthan Mohanathas
a22220e378 Bug 1236343 - Cherry-pick upstream Breakpad commit "Try loading msdiaNNN.dll if CoCreateInstance(CLSID_DiaSource) fails". r=ted
1e24e66fbb

DONTBUILD because we don't build pdb_source_line_writer.cc yet.
2016-02-17 11:36:19 -05:00
Michael Comella
661e9433e3 Bug 1244295 - Add regression warning to ClientID.jsm getClientID method. r=gfritzsche
MozReview-Commit-ID: Eci1sG9HPem

--HG--
extra : rebase_source : ef4201e381f5f268d02f73854bd78d86c26aeb59
2016-02-17 15:31:26 -08:00
Xidorn Quan
18be918951 Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug
--HG--
extra : source : da91d7fdadd82fcb7201c237d79c8708d532e371
2016-02-17 08:47:11 +08:00
Xidorn Quan
0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Mike Shal
dfe61e6f93 Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Botond Ballo
ef68053e5c Bug 1238137 - Telemetry pings for main thread autoscrolling. r=mconley
--HG--
extra : commitid : DbDCoiFw70B
extra : rebase_source : 4c1ffe4eca68b4da86da32d0467890b10a386f3c
extra : histedit_source : 0d8990d8229788a691ff14298529787c5de6a253
2016-02-05 18:01:27 -05:00
Botond Ballo
2b0b5361e2 Bug 1238137 - Define a telemetry histogram for tracking the input methods used to trigger scrolling. r=kats
--HG--
extra : commitid : LEya95Nrulp
extra : rebase_source : da21eb4edc7e8221642a95d15d9b1a217c66866b
extra : amend_source : fc6a994f5feae7f7b023ba6d79a27f8523f49864
extra : histedit_source : c22f451cdb416f8c9a6e13a4c982a9fbd3199b76%2Cd3c11a44b707d410b78360b29bae294332506b4f
2016-02-16 14:17:35 -05:00
James Willcox
67da777b83 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
4a644027c8 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
David Anderson
e8462418d4 Add instrumentation for when content processes fail to acquire D3D11 devices. (bug 1247539, r=milan)
--HG--
extra : rebase_source : 9d13831f25867d993cccc9b2717e14cc0a4893a0
2016-02-15 23:59:24 -08:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
David Rajchenbach-Teller
665d890187 Bug 1243706 - Release PerformanceStats/PerformanceWatcher;r=Felipe
MozReview-Commit-ID: 4XT21bfBSa9

--HG--
extra : rebase_source : 4d35245170930e18bbfaf9ebba8e9d24fa52a87e
2016-01-28 13:41:14 +01:00
Carsten "Tomcat" Book
45cd495352 Merge mozilla-central to mozilla-inbound 2016-02-15 12:30:39 +01:00