Commit Graph

1493 Commits

Author SHA1 Message Date
Wes Kocher
f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Mike de Boer
6e5d62a6f2 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c

--HG--
extra : rebase_source : 204e77aaef3cd55886daeb2e0fdef84da1159c68
2017-01-13 17:27:18 +01:00
Brian Grinstead
0dfcf308e1 Bug 1314091 - Expose 'compact' themes instead of the Dev Edition theme;r=Gijs
This commit does the following:
* Install two lightweight themes instead of one
* Introduce a build config to install the themes instead of relying on channel: INSTALL_COMPACT_THEMES
* Change browser-compacttheme to use the new themes instead of the old one
* Remove inferBrightness since the lwt colors are part of the compact theme definision, as opposed
  to the devedition theme which could be light or
* Update CSS to use :-moz-lwtheme-darktext and :-moz-lwtheme-brighttext instead of [devtoolstheme]

MozReview-Commit-ID: 4gKU68drlE2

--HG--
rename : browser/base/content/defaultthemes/devedition.header.png => browser/base/content/defaultthemes/compact.header.png
2017-01-13 11:53:58 -08:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Eric Rahm
87cfbc1b65 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : dfaf13fb4c2185985f4f074c338ccf1fef8f3c94
2016-12-20 15:11:36 -08:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Phil Ringnalda
1c2d0d367f Backed out 3 changesets (bug 1322735) for ASan leaks and xpcshell/selftest.py failures
CLOSED TREE

Backed out changeset 01cfc71ce542 (bug 1322735)
Backed out changeset 84c729c41230 (bug 1322735)
Backed out changeset b419aaefae95 (bug 1322735)
2017-01-10 20:17:34 -08:00
Eric Rahm
2e195de610 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : 5fe27cdeeb464d81fbedc8c02ac187658bd759e7
2016-12-20 15:11:36 -08:00
Wes Kocher
269e3163e5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6wWFiDQ0QJ8
2017-01-10 18:35:54 -08:00
Gijs Kruitbosch
a8ec647c33 Bug 1329457, r=bz,dao
MozReview-Commit-ID: 9WNuDkQnyM0

--HG--
extra : rebase_source : 2e82c422eee1b70e6833be41b41378a3a71e70db
extra : amend_source : c8557f4955ea7a5548842cb9bd31935159f7106e
2017-01-09 16:07:57 +00:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze
34e970eb9b Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
ba08da0b5d Bug 1329012 - Enable the no-useless-call rule for eslint and fix the nine errors that it caught. r=mossop
MozReview-Commit-ID: 57vvfJlyvfW

--HG--
extra : rebase_source : 793106837614bc6756409712d8683a64f2096522
2017-01-05 12:56:53 -05:00
Jared Wein
f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -05:00
Mike de Boer
f4e5c815e1 Bug 1324143 - part 3 - disable CPU intensive tasks when the page is too big to bother. r=jaws
MozReview-Commit-ID: CIEc2bYnxOq

--HG--
extra : rebase_source : f23d768de4ac35a4c61e44b9bb3b2f44669f5e74
2017-01-06 13:13:28 +01:00
Mike de Boer
15f7ccaaf7 Bug 1324143 - part 2 - stop doing expensive operations when we don't have to. r=jaws
MozReview-Commit-ID: 8v602Hiam4w

--HG--
extra : rebase_source : 38b29cec7dde482a1277b252ef369368a0e548d6
2017-01-06 13:11:31 +01:00
Mike de Boer
1a8c598c70 Bug 1324143 - part 1 - remove the deprecated '_getRangeContentArray' utility method and its uses, the unused '_maybeHighlightAll' findbar method and cleanup range outline highlighting code. r=jaws
MozReview-Commit-ID: gLKKEd3CoA

--HG--
extra : rebase_source : d9a7d19ac8787b0292a82387df886b8635d9fe43
2017-01-06 13:11:26 +01:00
Johann Hofmann
f15cf6b7a8 Bug 1320314 - Move popup notification layout overrides for arrow panels into a shared file. r=dao
MozReview-Commit-ID: ELIY3j2jzPm

--HG--
extra : rebase_source : 883a2f71e658e6dfbf26993da44f3cefc0286d57
2016-11-25 19:31:27 +00:00
Jared Wein
60b5555bc2 Bug 1328802 - Enable the no-unsafe-finally rule for eslint and fix the four errors that are triggered by it by moving the control flow statement outside of the finally block. r=mossop
MozReview-Commit-ID: 7UFBBpvptdd

--HG--
extra : rebase_source : b31f86341571ec6928caea130597e6c918a34636
2017-01-05 00:38:24 -05:00
Johann Hofmann
dde83f87bb Bug 1320719 - The Esc key should deny permission requests for persistent prompts. r=florian
MozReview-Commit-ID: 3qj0pub48q9

--HG--
extra : rebase_source : dd673fe21a890cfbb48447ecedfccefe1f54c09f
2016-12-09 15:04:01 -10:00
Mark Banner
46ee297329 Bug 1328565 - Prevent cases of Cu.import importing into variables and global scope at the same time. r=mossop
MozReview-Commit-ID: CXly2RhNpRP

--HG--
extra : rebase_source : 9b9a8542bbd437aa0160c122b1b826e08de03009
2017-01-04 19:37:43 +00:00
Mark Banner
39df62d9dc Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC

--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Aman Dwivedi
76edc7645b Bug 1320663 - Stop using timers in PrivateBrowsingUtils.jsm, r=mikedeboer 2017-01-03 15:44:41 +05:30
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Kris Maglione
9822075cb5 Bug 1325158: Part 3 - Don't create a reference cycle via HTTP channel property bag. r=mixedpuppy
MozReview-Commit-ID: 40Ox7BDlgwy

--HG--
extra : rebase_source : 1ad1f43b7da1bb0be3b04814347396fc29fbb4f6
2016-12-24 18:26:03 -08:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
malayaleecoder
80b5f709a6 Bug 1325099 - reset imported.Debugging.fake value and catch TypeError. r=jmaher
MozReview-Commit-ID: ElEGCLoSAeC
2016-12-24 02:44:56 +05:30
Robert Helmer
505a86593c Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop
MozReview-Commit-ID: 5937m90Q948

--HG--
extra : rebase_source : a5c107e486ef1dc646c8d730e658e9693a535883
2016-12-22 15:56:37 -08:00
Wes Kocher
65f15b63ea Backed out 3 changesets (bug 1325501) for xpcshell failures a=backout
Backed out changeset b6e50911ef79 (bug 1325501)
Backed out changeset c0493757d21e (bug 1325501)
Backed out changeset 880decff07b3 (bug 1325501)
2016-12-24 00:38:09 -08:00
Robert Helmer
afe2c03ab1 Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop
MozReview-Commit-ID: 5937m90Q948

--HG--
extra : rebase_source : a5c107e486ef1dc646c8d730e658e9693a535883
2016-12-22 15:56:37 -08:00
Kit Cambridge
a509364284 Bug 1319175 - Add a data setter and beforeSave hook to JSONFile. r=MattN
* The `data` setter sets the backing data object to a new value, and
  flips `dataReady` so that `ensureDataReady` and `load` don't read
  stale data from disk. This can be used to clear existing data.
* The `beforeSave` hook is called from `_save`, as part of the deferred
  task. This can be used to create intermediate directories containing
  the file, or run other pre-save tasks that shouldn't be interrupted
  by shutdown.

MozReview-Commit-ID: AzOx7u2Rali

--HG--
extra : rebase_source : 42c0235774ca34e097e858b6ef796c4d1bd4f122
2016-12-19 08:32:29 -08:00
Luca Greco
c0703cc9df Bug 1322782 - Fixed coding style in MatchPattern tests. r=kmag
MozReview-Commit-ID: JsF5J5vyeLQ

--HG--
extra : rebase_source : 66e0eef2676474a7b0388a2542017b973c31b095
2016-12-20 23:22:57 -05:00
Luca Greco
11b9ff4fc5 Bug 1322782 - ContentScripts MatchPattern should ignore the URL fragment. r=kmag
MozReview-Commit-ID: 6dCXpV27V7j

--HG--
extra : rebase_source : 157a7bff9429c7658c64b0ad28d74e73eb1376e0
2016-12-19 16:50:27 -05:00
Jarda Snajdr
75e3b4d7cc Bug 1323729 - Add profile/profileEnd methods to Console.jsm r=ochameau
MozReview-Commit-ID: DjortApNWbp

--HG--
extra : rebase_source : c4a8c4f8551732742a4129957b02a5c8adf7ba3c
2016-12-15 15:03:13 +01:00
Paolo Amadini
8131ab6c9d Bug 1300755 - Notification anchors are not hidden when the user types in the location bar. r=past
MozReview-Commit-ID: 5xY87Jnekv7

--HG--
extra : rebase_source : 0aacb6a4afcd11bf731220df694dc7c12d73dc38
2016-12-15 14:39:30 +01:00
Wes Kocher
1b3fc382aa Backed out 5 changesets (bug 1302470) for causing bug 1323200 a=backout
Backed out changeset 005adbf78cd2 (bug 1302470)
Backed out changeset 113f7b13475c (bug 1302470)
Backed out changeset 3d2569996ebc (bug 1302470)
Backed out changeset b92b78271941 (bug 1302470)
Backed out changeset 5b92678afff8 (bug 1302470)


MozReview-Commit-ID: FgeA5OQV8WP

--HG--
extra : histedit_source : 4513cf8271a0bf4d2ca373b5b87aac2c5beeddf9%2C489053b6db62d02f62b4f240fcd9a40fee09dbfb
2016-12-16 16:45:09 -08:00
Joel Maher
783b8ae596 Bug 1322705 - add support for MOZ_UPDATER in manifests. r=rstrong,ted.
MozReview-Commit-ID: HTnh9OOe01F
2016-12-16 11:55:13 -05:00
Carsten "Tomcat" Book
a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Ryan Kelly
3afd5ad0f3 Bug 1321687 - Improve documentation of security checks in WebChannel code. r=ehsan
--HG--
extra : amend_source : 6ea449ee935a4be6d9d69df66d065daf2ca84f6e
2016-12-01 18:46:00 -05:00
Scott Wu
d9cd33f405 Bug 1323109 - Fixed date time pickers popup position; r=mconley
MozReview-Commit-ID: DuY4ZVyszBE

--HG--
extra : rebase_source : 68e42287c3526bffd5785c20ffd3c12ab3a7fe0b
2016-12-01 16:45:16 +08:00
Joel Maher
9f60f5a226 backout aba885aafee0210b1f063a423b1c0b3ce28d15f7 for intermittent bug 1272834
MozReview-Commit-ID: BTJ13wWojaI
2016-12-14 10:59:43 -05:00
Shane Caraveo
30bb933346 Bug 1316256 - WebRequestContent part: return nsIContentPolicy.ACCEPT in shouldLoad for request principal system. r=kmag
--HG--
extra : rebase_source : 89fecde1729079e79cc2dd991fcb60875502a21d
2016-12-15 13:18:00 +01:00
Mark Banner
4f94e4bd68 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D

--HG--
extra : rebase_source : 1b98e88673625a52ef82c1fad5d56aec3e2e8e80
2016-11-09 22:06:32 +00:00
Kit Cambridge
8558928fe7 Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ

--HG--
extra : rebase_source : 376b83af517442cc05bc46ff7ca36e6ac46b06e2
2016-12-12 13:50:10 -08:00
Phil Ringnalda
0111ff534b Merge m-i to m-c, a=merge
MozReview-Commit-ID: BnSh8kutBaR
2016-12-10 08:27:52 -08:00
Shih-Chiang Chien
7ed7acac25 Bug 1322602 - remove Fennec-to-FxOSTV video casting. r=rbarker
MozReview-Commit-ID: KjEJUPkgRLo

--HG--
extra : rebase_source : 41ecdfec4caebc18934766120501a95ae2125e2f
2016-12-08 16:02:13 -10:00
Mark Hammond
1ac8cbde15 Bug 1320249 - Preferences.jsm now throws error objects instead of strings. r=Gijs
MozReview-Commit-ID: 6eJCmQBC482

--HG--
extra : rebase_source : c5cf6fda38082ed0fc722907b3f307cea757b77f
2016-11-24 15:58:58 +11:00