Commit Graph

462074 Commits

Author SHA1 Message Date
Kris Maglione
f53c090725 Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
MozReview-Commit-ID: F2GoU1fzj4s

--HG--
extra : rebase_source : 10122f7aa1a207591cbd23ffe76609a3715ff014
extra : histedit_source : cb6b4bbbde239e9481e68f9c5fc64a872dad76ee
2016-02-11 14:32:58 -08:00
Kris Maglione
937b9251be Bug 1234086: [webext] Add support for tabs.onAttached/onDetached events. r=billm
MozReview-Commit-ID: 4Kk1mTdGflI

--HG--
extra : rebase_source : bf075da744ba920bfb94587d1376a48125ddb21f
extra : histedit_source : 134b55b5e5e2bc482b33cd40c1e50145e42773e2%2C78d2857bbf3f558d3a15a161f0d63e44c9411b36
2016-02-17 11:52:33 -08:00
Wes Kocher
fa5020c9fc ESLint fix for Bug 1201977
--HG--
extra : commitid : 8jrsVMcTydi
2016-02-17 11:18:32 -08:00
Wes Kocher
05ee57259f Merge m-c to fx-team, a=merge
--HG--
extra : commitid : AayLRRa83kZ
2016-02-17 11:15:02 -08:00
Wes Kocher
4c4e5f57b5 Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
--HG--
extra : commitid : LR9A2AvlKN6
2016-02-17 11:11:10 -08:00
Margaret Leibovic
0dbb78852f Bug 1234693 - Point Switchboard URLs to production mozilla-services endpoint. r=mfinkle
MozReview-Commit-ID: ArdTpolY7rQ

--HG--
extra : rebase_source : 309737ce8608ed4a45b46be4be6199f7bda66a80
2016-02-17 10:14:53 -05:00
Maxim Zhilyaev
947f0439da Bug 1201977 - Replace usage of nsINavHistoryQuery with a string query to nsPIPlacesDatabase.asyncStatement r=oyiptong
MozReview-Commit-ID: BBflt4haly3
2016-02-17 09:29:59 -08:00
Gabriel Luong
5192b095d2 Bug 1243598 - Make sure the inspector sidebar overflows correctly r=bgrins 2016-02-17 11:13:01 -05: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
Carsten "Tomcat" Book
3a87a933e7 Backed out changeset 53b0b5b29776 (bug 1243435)
--HG--
extra : rebase_source : faf90230fecdfe1f0150015c039800828723a576
2016-02-17 15:00:51 +01:00
Carsten "Tomcat" Book
436f1bf747 Backed out changeset bc3e37b63def (bug 1246918) for fix frequent android c1 test failures 2016-02-17 14:35:10 +01:00
Carsten "Tomcat" Book
8cbc76d2fd Backed out changeset 10e71da98b14 (bug 1246918) 2016-02-17 14:34:49 +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
Brian Grinstead
887548abab Bug 1247962 - Get rid of CPOW in browser_webconsole_live_filtering_on_search_strings.js;r=linclark
MozReview-Commit-ID: EyBMJ3dqZSW
2016-02-16 17:30:12 -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
Patrick Brosset
406297be5c Bug 1248360 - Set eslint version to 1.10.3 when setting it up via mach
MozReview-Commit-ID: LmKsvGzj3fo

--HG--
extra : rebase_source : ec5aaeef13fca603250d5e57b8425ff339136070
2016-02-16 10:01:11 +01:00
Lin Clark
06ca447288 Bug 1245667 - Use standard license boilerplate in framework js files. r=bgrins
MozReview-Commit-ID: 31xbv6rirPg

--HG--
extra : rebase_source : 1afbc68083aa0bdf6b7a674c39a0ac3e839756d6
2016-02-16 16:14:53 -08: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
Brian Grinstead
ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -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
Sebastian Kaspari
ac57938a24 Bug 1236431 - Use contentDescription to verify URL in tests. r=mcomella
MozReview-Commit-ID: IrcsLaNExEM

--HG--
extra : rebase_source : 5cf0a2dc496f67e000016a9f9a0094a7e1354122
2016-02-12 18:42:40 +01:00
Sebastian Kaspari
3e4f6499b8 Bug 1236431 - ToolbarDisplayLayout: Only show base domain. r=mcomella
MozReview-Commit-ID: GwH3XDVim4F

--HG--
extra : rebase_source : 2c315e1c84416e77fd534f54eb9e5aa4e50fb8da
2016-02-11 15:54:11 +01:00
Sebastian Kaspari
d74a299d2d Bug 1236431 - (Pre) ToolbarDisplayLayout: Address lint warnings and clean up code. r=mcomella
MozReview-Commit-ID: JkD7uqRMQhQ

--HG--
extra : rebase_source : 87e2044c27e7693b9c356e32f4f6d5e70de9d5ed
2016-02-12 09:42:41 +01:00
Carsten "Tomcat" Book
2b6503e6a2 Merge mozilla-central to fx-team 2016-02-17 14:38:01 +01:00
Eddy Bruel
e47fd356ef Bug 1247192 - Replace all usage of Services in TabSources with URL;r=fitzgen,jryans 2016-02-17 14:33:45 +01:00
J. Ryan Stinnett
f9a0284fd2 Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza
MozReview-Commit-ID: G0lCxW3JX6f
2016-02-17 07:00:09 -06:00
J. Ryan Stinnett
7db57df8eb Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Alexandre Poirot
6dbab57938 Bug 1245615 - Just clear hostVsStores map as some async code may still use them. r=mratcliffe 2016-02-17 04:28:05 -08:00
chaithanya
458420bbd7 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +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
Nick Fitzgerald
11ae76df3b Bug 1248829 - Fix number of characters reserved in memory table's cells; r=jsantell 2016-02-16 17:32:00 +01:00
Nick Fitzgerald
2d9d0a66d0 Bug 1248085 - Compute shortest paths in the HeapAnalysesWorker; r=jimb 2016-02-12 15:23:00 +01: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
Florian Quèze
97f271d8f7 Bug 1248329 - Requesting permissions in short succession can lead to the microphone icon displayed for an unrelated notification, r=Gijs.
--HG--
extra : rebase_source : bcaf19ce5704d92dc0356604f29da23d3c3f1fdc
2016-02-17 11:57:41 +01: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
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
Sebastian Kaspari
3d51f78db0 Bug 1247366 - AppMenuComponent.findAppMenuItemView(): Wait for views and not for text to appear. r=margaret
MozReview-Commit-ID: Hb5BHnu15nm

--HG--
extra : rebase_source : 5dcf140467ce98ee3ca9753dfe47d9c49d97e09f
extra : amend_source : 92e46fb927927642be8358ef46139b62ef0eefd2
2016-02-12 21:00:01 +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
d450ff9b15 Bug 1245916: Import more head files for xpcshell tests. r=pbrosset
xpcshell tests used to use head_*.js files so this adds those for global
discovery.

MozReview-Commit-ID: BOsoGIpwdgu

--HG--
extra : rebase_source : ef36531641cbd353625019f8deba333cfd352891
extra : source : 70eca07367f40a9b4fe8c6e23ec0aef73bf2a962
2016-02-05 13:23:40 -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
9d6c28bf7c Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T

--HG--
extra : rebase_source : 91a60ef0359ef53093fe197ed63dbc4e1a9f10a5
extra : source : 01675e4828b524c04a9057d68b41e9cc01ca1bb9
2016-02-05 12:13:34 -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
Chris Peterson
fb67cdc658 Bug 1233297 - Part 1: Consolidate MOZ_C*_SUPPORTS_WARNING configure checks in compiler-opts.m4. r=glandium 2016-02-02 00:04:26 -08:00
Xidorn Quan
f89b96de96 Bug 1218706 followup 2 - Mark some dir-isolation web-platform tests expected-fail on Win7.
MozReview-Commit-ID: 5pAMJPAYGNl

--HG--
extra : source : b571d38320bc9cde4adc59721519587871e3894d
2016-02-17 13:14:59 +08:00
Jean-Yves Avenard
4de572ea7a Revert "Bug 1248570: Allow WAV into media element. r=lchristie"
This reverts commit b3f7abd15a
2016-02-17 16:09:51 +11:00
Jean-Yves Avenard
9df5f82b77 Bug 1248570: Allow WAV into media element. r=lchristie
MozReview-Commit-ID: AKIQq9EyCC6
2016-02-17 15:47:43 +11:00