Commit Graph

5909 Commits

Author SHA1 Message Date
Mats Palmgren
033085b9d7 Bug 1365614 part 1 - Backout bug 1358840. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-18 11:08:00 +08:00
Mike Conley
64393b1c24 Bug 1352620 - Don't have a hardcoded limit of 20 items in AutoCompletePopups. r=MattN
MozReview-Commit-ID: 6rZRi7kq3R7

--HG--
extra : rebase_source : a0112ab40ec9d5b28b3b0f0cbcfbd619ae52d019
2017-05-16 15:07:45 -04:00
Bill McCloskey
068699332f Bug 1363877 - Label nsBrowserStatusFilter::TimeoutHandler as SystemGroup (r=felipe)
MozReview-Commit-ID: 5qD7vnU5GZC
2017-05-17 11:47:40 -07:00
Carsten "Tomcat" Book
4603014981 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Carsten "Tomcat" Book
771b1095ef Backed out changeset 37d295d7eec9 (bug 1347791) 2017-05-17 08:11:07 +02:00
Alastor Wu
7efc57090f Bug 1347791 - part3 : move block/resume logic from back-end to front-end. r=baku,mikedeboer
Previous design allows us calling resume/block from both front-end and back-end,
it's not easy to know who called these operations.

So move all these logic to frond-end side, it's more clear than before.

One important thing is that we should block tab before loading the content.
If we block the tab after loading, the media might not be blocked because it had
already started (that is one situation I observed from test).

The value of block state would be stored in the outer window, before media want
to start, it would check this value to know whether it can start playing or not.

---

In addition, introduce new attribute "media-blocked".

The "media-blocked" attribute indicates that whether the tab is allowed to play autoplay media.
The "activemedia-blocked" attribute indicates whether the tab has blocked the autoplay media.

MozReview-Commit-ID: FnNh3zmItxo

--HG--
extra : rebase_source : cdc890c0c47a4a03ea8dbbdfee24c66b52945c60
2017-05-17 11:56:06 +08:00
Alastor Wu
ce9ddc4dab Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: EAmq6OuBYjq

--HG--
extra : rebase_source : e8e9321854b80736f0959fbfecbc8bf9a83b0712
2017-05-17 11:55:54 +08:00
Mike Hommey
a8b3b97bc4 Bug 780562 - Stop relying on the "platform" chrome flag for global-platform. r=bsmedberg
The "platform" chrome flag requires an irrelevant "content" chrome
manifest entry, while it's only used for locales. It only has exactly
one use, which can actually be replaced by uses of the "os" flag.

Note, we're doing something similar with the "os" flag for skins in
e.g. browser/extensions/pocket/jar.mn.

Unfortunately, for determinism reasons, the chrome manifest entries from
jar.mn are sorted (per bug 982075), so keeping global-platform/unix
would leave it appearing after /mac, and would override it on mac
because of the lack of "os" flag on the /unix entry (we can't put "os"
flags on that entry because we can't do something like os!=Darwin &&
os!=WINNT). So we move it to /gtk such that it always comes before /mac.

--HG--
extra : rebase_source : aaace8147ea54f74aef8a7b2314ad022e9f9be23
2017-04-14 20:44:35 +09:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Mike Hommey
782725e19a Bug 1363992 - Remove jemalloc 4. r=njn
--HG--
extra : rebase_source : 9794320e96279cbb8b7b66db6720c959eaa6a95b
2017-05-11 13:23:07 +09:00
Nick Alexander
14dd745141 Bug 1365060 - Move MOZ_{NATIVE_DEVICES, INSTALL_TRACKING} to moz.configure. r=chmanchester
This intentionally allows to set MOZ_INSTALL_TRACKING without
reference to the milestone being release or beta.  That is, we
separate the default value (which depends on release or beta) from the
value specified, making life easier for developers.

MozReview-Commit-ID: 3vPF7KO7fEX

--HG--
extra : rebase_source : 8d5764104b5322a32e4a048bfd3222f62fed73bb
2017-05-15 14:37:54 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Thomas Nguyen
112dcab8dc Bug 1356763 - Avoid ensureElementIsVisible if there's no popup open and correct reset maxRows. r=mak
MozReview-Commit-ID: 8SelC4HZl0m
2017-05-12 00:17:00 -04:00
Shashwat Jolly
1a483c3f10 Bug 1361693 - Changed about:license page title from "about:license" to "Licenses". r=dao
MozReview-Commit-ID: 1BKc2HVTzJs
2017-05-12 22:40:12 +02:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Ed Lee
e4d334a9c1 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : d554c18932bdedbfc009d768563fbb89d1aa33b3
2017-05-09 10:42:22 -07:00
Jim Porter
6d31f8adbf Bug 1355927 - Notification bars should use the photon animation curve when appearing/disappearing r=dao,jaws
This patch uses the new Photon animation curve for notification bars as well
as supporting `toolkit.cosmeticAnimations.enabled` to disable the animations
on notification bars entirely.

MozReview-Commit-ID: AHSQR32g6hf

--HG--
extra : rebase_source : 9b643a758db07791dbda12f7e6383f193f3fa698
2017-05-03 15:16:12 -05:00
Sebastian Hengst
6310de3f1f Backed out changeset 97c2f9bdb59f (bug 1363085) for failing eslint, e.g. at browser/extensions/activity-stream/test/unit/content-src/components/ContextMenu.test.jsx:13. r=backout 2017-05-11 20:28:54 +02:00
Ed Lee
0877049e58 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : d554c18932bdedbfc009d768563fbb89d1aa33b3
2017-05-09 10:42:22 -07:00
Sebastian Hengst
5b9d111495 Backed out changeset 08bb7fc6af84 (bug 1363085) for eslint failures, e.g. browser/extensions/activity-stream/test/unit/content-src/components/ContextMenu.test.js:13. r=backout 2017-05-11 19:10:21 +02:00
Ed Lee
69d3ffde9b Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : 5e05c6ebe2182b5e945e6ea9fd29d90010eb647a
2017-05-09 10:42:22 -07:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Valentin Gosu
4ccb51bae2 Bug 1363700 - Add RCWN stats to about:networking r=bz,michal
MozReview-Commit-ID: GVt1omCfL6t

--HG--
extra : rebase_source : fdb321360f21f0f54692bc6b715abb4c155171b7
2017-05-10 19:23:54 +02:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Scott Wu
f1037b986f Bug 1361676 - Show selection highlight on date picker. r=mconley
MozReview-Commit-ID: GBE5zwWxQiu

--HG--
extra : rebase_source : f7c381481d22c9220be071d56c6abcfd46561028
2017-05-03 18:05:36 +08:00
Andrew McCreight
e3a114f978 Bug 1363215 - Replace calls to __define{Getter,Setter}__ on top-level this with Object.defineProperty. r=Gijs
__define{Getter,Setter}__ are deprecated, and are not defined on
NonSyntacticVariablesObjects, so these calls get in the way of sharing
globals between different .jsms. Probably only the DownloadUtils.jsm
change is really needed for that.

configurable and enumerable are both set to true to match the existing
behavior. If enumerable is set to false, then tests fail, because some
of the getters overwrite the getter with a regular property.

MozReview-Commit-ID: 1OZF45fIAQ

--HG--
extra : source : 96dd2e2d8d1677fb04c98bb3a063df32478fbc00
2017-05-08 14:07:34 -07:00
Wes Kocher
e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Scott Wu
82c29b3dff Bug 1320647 - Implement min and max for date picker. r=mconley
MozReview-Commit-ID: Hps2CbziJqy

--HG--
extra : rebase_source : 134056095b8d0531fe28e51f8157bacd1c54fe73
2017-05-02 18:37:36 +08:00
Zack Herrick
69acf9044e Bug 1340643 - Make some labels and all buttons highlightable. r=mconley
MozReview-Commit-ID: 15o83lTMxUW

--HG--
extra : rebase_source : 6a768ea4c5e74dc52bb9b5153980f697d2926bfa
extra : amend_source : 149db4ad1374aeeba5fbf8ee22374154d2ce02ba
2017-05-02 18:09:22 +08:00
Kaku Kuo
566e4381c9 Bug 1359815 - show throbber sooner; r=ralin
MozReview-Commit-ID: L3MX5AzwIY2

--HG--
extra : rebase_source : b2f57e6af9811d442c1315cc3f7f36487c33bf50
2017-05-08 17:42:31 +08:00
dimi
09aa558f00 Bug 1362112 - Add missing string in aboutUrlClassifier.properties. r=francois
MozReview-Commit-ID: HXptt8ElxSX

--HG--
extra : rebase_source : 7e114b77be4de632273da79080d8e658ea60d7b4
2017-05-05 12:42:31 +08:00
Neil Deakin
38846a0f8f Bug 1358713, when a popup's anchor does not have a frame originally, don't have the popup update its position to follow it, r=tn 2017-05-05 11:13:56 -04:00
Gijs Kruitbosch
9ada04fe34 Bug 1361650 - drop beforeunload timeout down to 1 second to make tab closing faster when the content process is slow, r=billm
MozReview-Commit-ID: x33js5D5Yh

--HG--
extra : rebase_source : 5f2045fbf91c006c82fbc9398ef136409459492c
2017-05-03 10:07:48 +01:00
Kershaw Chang
e8df9986bf Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Wes Kocher
9a6937d9cb Bug 1361417 - Update moz.build crash reporter bug components r=bsmedberg
MozReview-Commit-ID: IJgNTLI4K5w

--HG--
extra : rebase_source : c93a49e6e8ca9284f0084c86f0a551c0a076ee6f
2017-05-02 09:44:42 -07:00
Jessica Jong
0845e7ab45 Bug 1318339 - [DateTimeInput] Prevent reset button from getting focus. r=mossop
Reset button should not be tabbable or focusable.

MozReview-Commit-ID: IboMKl3n0LY

--HG--
extra : rebase_source : 7bec15cfb601cd15a99d26e39b39446ef3ca5601
2017-04-21 17:35:43 +08:00
Matheus Longaray
1cec8e74d5 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Sebastian Hengst
8961c1494e Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Drew Willcoxon
c03f04221e Bug 1356641 - Ctrl+click location item loads wrong URL. r=mak
With ideas and code from Oriol <oriol-bugzilla@hotmail.com>.

MozReview-Commit-ID: CjuCAkYaort

--HG--
extra : rebase_source : dd53d1a665a5aba8ef094ee82dffe9c6c010d3d6
2017-04-21 14:16:31 -07:00
Mike Conley
3456896ce9 Bug 1336763 - Don't ask content process for permission to unload a window if it never set an onbeforeunload event handler. r=dao
MozReview-Commit-ID: JfNz5SdKRTN

--HG--
extra : rebase_source : 8bdc4ae2a0fb6e3739c7cdad9b5b09ee94da3429
2017-04-13 19:13:34 -04:00
Matheus Longaray
e723d98949 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk

--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Botond Ballo
66ed3e9795 Bug 1359211 - Handle touch-scrolling of XUL <listbox> in JS. r=bz,dao,kats
The APZ scrolling codepath doesn't do the right thing for <listbox>
without special handling, so have it scroll in JS instead, like we
did in bug 1302736 for <tree>.

MozReview-Commit-ID: LWJCBfhZ3Hc

--HG--
extra : rebase_source : bb8b2f7e713d35822a956e08f4e0eed0557b07b3
2017-04-24 17:12:21 -04:00
Shing Lyu
c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00