Commit Graph
5906 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 6be2d718f0 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 ca52a53101 Backed out changeset 37d295d7eec9 (bug 1347791) 2017-05-17 08:11:07 +02:00
Alastor Wu e20ed47b06 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
2017-05-17 11:56:06 +08:00
Alastor Wu 82279da901 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
2017-05-17 11:55:54 +08:00
Mike Hommey 9f74f4441c 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.
2017-04-14 20:44:35 +09:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Mike Hommey 8bfbefc1a9 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
Nick Alexander c34f63668b 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
2017-05-15 14:37:54 -07:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Thomas Nguyen a5d40a7281 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 87d39302cd 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 15feaa278a 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 b2499a4c57 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 ff53eb9a63 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 4ff7b0abff Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Ed Lee 087f6c2cf8 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2
2017-05-09 10:42:22 -07:00
Jim Porter 7569fdee4f 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
2017-05-03 15:16:12 -05:00
Sebastian Hengst 4ec0730f7c 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 53788d62d2 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2
2017-05-09 10:42:22 -07:00
Sebastian Hengst 508d89a160 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 177bc60dd5 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2
2017-05-09 10:42:22 -07:00
Mark Banner 44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst c8bd0b3620 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 dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Valentin Gosu ed25303edc Bug 1363700 - Add RCWN stats to about:networking r=bz,michal
MozReview-Commit-ID: GVt1omCfL6t
2017-05-10 19:23:54 +02:00
Wes Kocher 01722415ae Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC
2017-05-10 10:45:18 -07:00
Fischer.json fb54da55cf Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Scott Wu 2b18275fd4 Bug 1361676 - Show selection highlight on date picker. r=mconley
MozReview-Commit-ID: GBE5zwWxQiu
2017-05-03 18:05:36 +08:00
Andrew McCreight 5e5e5b9abb 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
2017-05-08 14:07:34 -07:00
Wes Kocher 04034100b2 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Scott Wu 073483855c Bug 1320647 - Implement min and max for date picker. r=mconley
MozReview-Commit-ID: Hps2CbziJqy
2017-05-02 18:37:36 +08:00
Zack Herrick 641523ce98 Bug 1340643 - Make some labels and all buttons highlightable. r=mconley
MozReview-Commit-ID: 15o83lTMxUW
2017-05-02 18:09:22 +08:00
Kaku Kuo a3ce93266a Bug 1359815 - show throbber sooner; r=ralin
MozReview-Commit-ID: L3MX5AzwIY2
2017-05-08 17:42:31 +08:00
dimi f2f94674a1 Bug 1362112 - Add missing string in aboutUrlClassifier.properties. r=francois
MozReview-Commit-ID: HXptt8ElxSX
2017-05-05 12:42:31 +08:00
Neil Deakin 77c6e243b5 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 aacb5da48c 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
2017-05-03 10:07:48 +01:00
Kershaw Chang 62bbf7e471 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 32114a338a Bug 1361417 - Update moz.build crash reporter bug components r=bsmedberg
MozReview-Commit-ID: IJgNTLI4K5w
2017-05-02 09:44:42 -07:00
Jessica Jong 6d6919a6e7 Bug 1318339 - [DateTimeInput] Prevent reset button from getting focus. r=mossop
Reset button should not be tabbable or focusable.

MozReview-Commit-ID: IboMKl3n0LY
2017-04-21 17:35:43 +08:00
Matheus Longaray 4ec53dad9d 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 0babf8240b 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 5c26de6c11 Bug 1356641 - Ctrl+click location item loads wrong URL. r=mak
With ideas and code from Oriol <[email protected]>.

MozReview-Commit-ID: CjuCAkYaort
2017-04-21 14:16:31 -07:00
Mike Conley aeb5fabcb5 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
2017-04-13 19:13:34 -04:00
Matheus Longaray eb9806754f 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-04-20 14:04:03 +02:00
Botond Ballo ed62163fa6 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
2017-04-24 17:12:21 -04:00
Shing Lyu 688a98f536 Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu e6b1b20ff7 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Carsten "Tomcat" Book eb1595e913 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Luke Chang bccf824235 Bug 1348751 - [Form Autofill] A utility library for handling full name and separated names, r=MattN
MozReview-Commit-ID: 3rcuxbFHKOq
2017-04-12 20:05:54 +08:00