Commit Graph

6154 Commits

Author SHA1 Message Date
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
Shing Lyu
435db45b79 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
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Luke Chang
b7a44c655a Bug 1348751 - [Form Autofill] A utility library for handling full name and separated names, r=MattN
MozReview-Commit-ID: 3rcuxbFHKOq

--HG--
extra : rebase_source : 5afb16d5c73b379220fa249bcc706d22d21e38b9
2017-04-12 20:05:54 +08:00
Wes Kocher
fbf015c904 Backed out changeset 8d6b492ebb36 (bug 1348751) for browser_all_files_referenced.js failures a=backout
MozReview-Commit-ID: LOiWlRiZOwT
2017-04-26 17:20:08 -07:00
Luke Chang
38318a7f55 Bug 1348751 - [Form Autofill] A utility library for handling full name and separated names, r=MattN
MozReview-Commit-ID: 3rcuxbFHKOq

--HG--
extra : rebase_source : 3b99534f8539f2e5425bbc1d543ababb2a3ee6e1
2017-04-12 20:05:54 +08:00
Marco Castelluccio
1af44da4a3 Bug 1359458 - Increase assertion count range for test_bug437844.xul. r=jmaher
--HG--
extra : rebase_source : 9a9e8d93afc1f883454b4533a13c8239c2608c31
2017-04-25 17:33:58 +02:00
Michael Layzell
1a8d84c8ba Bug 1358516 - Don't try to display an unsymbolicated native stack in about:telemetry, r=gfritzsche
MozReview-Commit-ID: FHh0NScq8Jl
2017-04-25 11:20:54 -04:00
Gabor Krizsanits
b007d78f5d Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
Chris Peterson
7b85322694 Bug 1358949 - Lower eslint cyclomatic complexity threshold in some directories. r=standard8
We can lower the eslint cyclomatic complexity threshold in some directories without adding eslint suppression comments in any .js source files. We need to specify the complexity rule in accessible/.eslintrc because it doesn't inherit the mozilla/recommended rules. eslint's default complexity threshold is 20.

Also bump the eslint-plugin-mozilla version because we modified the mozilla/recommended rules.

MozReview-Commit-ID: 57T4gAjPH7z

--HG--
extra : rebase_source : 4565abfa722b9459cfb4e006e843da13ed7cffd4
extra : intermediate-source : 658588564c08c9fd5e60633d1457f24087de8570
extra : source : 7e0526e3b943419a80c0cd2fa462cabbf8925eb1
2017-04-23 19:23:18 -07:00
Florian Queze
8639183be7 Bug 1359111 - stop using BrowserUtils.makeFileURI, r=jaws. 2017-04-25 09:21:50 +02:00
Florian Queze
b6597dcb0c Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Jared Wein
9884d1f36d Bug 1359849 - Guard against exceptions thrown while cleaning up the video controls. r=gijs
MozReview-Commit-ID: 2cwIE7Xdp7O
2017-04-26 12:36:34 -04:00
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Wes Kocher
05a47acee9 Merge m-c to inbound a=merge
MozReview-Commit-ID: 3NCtyMc525N
2017-04-24 16:14:52 -07:00
Mats Palmgren
aebbcc3c3a Bug 1358840 - Make appearance:auto the default for all XUL pseudo elements too. r=bz
MozReview-Commit-ID: BYGdHe8CdMF
2017-04-24 22:04:47 +02:00
Wes Kocher
c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
David Anderson
7d5ed0b7fe Always show the compositor process PID in about:support. (bug 1358138, r=milan)
--HG--
extra : rebase_source : 10396aeb6b0c384bdf648b83974d6b05817879e5
2017-04-21 12:07:14 -07:00
Michael Ratcliffe
0a6c15a02a Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml

--HG--
extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
2017-04-10 18:04:25 +01:00
Mats Palmgren
c8ff2283ea Bug 1357655 part 1 - [css-ui] Make 'none' the initial value for 'appearance' for web and UA compatibility. Add 'appearance:auto' to UA sheets for form controls, XUL etc where needed. r=bz
MozReview-Commit-ID: 2h5ndqHresm
2017-04-21 02:24:19 +02:00
Wes Kocher
ca3a99fc7e Merge m-c to inbound, a=merge 2017-04-19 17:15:26 -07:00
Dimi Lee
647b77b7fc Bug 1348253 - about:url-classifier: Providers information and update button. r=francois
The about:url-classifier supports following functions:
1. Provider section
  - Show update status for each provider, update status include
    last update time, next update time and last update status
  - Update button to manually trigger an update for the provider.

2. Debug section
  - Set MOZ_LOG Modules
  - Set MOZ_LOG_FILE

MozReview-Commit-ID: AHiveKEHSNC

--HG--
extra : rebase_source : b56e918de7f4eb30ad8eebc6d24ffaf2e76f4f4e
2017-04-19 00:33:08 +08:00
Wes Kocher
9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matheus Longaray
89917b659f 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: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Marco Bonardo
59a75d039d Bug 1356285 - micro-optimization in richlistbox selectedIndex setter. r=enndeakin+6102
MozReview-Commit-ID: 6fnhubnDUZ1

--HG--
extra : rebase_source : 50c10995ca4b87e703272b204937c54521ba6487
2017-04-13 19:01:48 +02:00
Alastor Wu
dcf248107f Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: ErIBUobnxbg

--HG--
extra : rebase_source : bdc8070f2f2a81f847ebb8e0ec87f6efeb86eb80
2017-04-18 11:03:49 +08:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione
b8f0f730da Bug 1317697: Fix reference to undefined property warnings. r=mixedpuppy
MozReview-Commit-ID: vngYhAOgbV

--HG--
extra : rebase_source : c25f29d510549ff41b21f7fcf20f1f48ae0d794a
2017-04-13 15:10:23 -07:00
Florian Queze
457e21bc53 Bug 1356569 - Update the no-useless-parameters eslint rule to report trailing optional parameters for addObserver, appendElement and notifyObservers, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst
608dc9589d Backed out changeset c724e1485608 (bug 1356569) 2017-04-14 23:39:15 +02:00
Florian Queze
9b6b71947a Bug 1356569 - Update the no-useless-parameters eslint rule to report trailing optional parameters for addObserver, appendElement and notifyObservers, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Mark Banner
2fcb7c6663 Bug 1352387 - Add Raven.js license for Screenshots. r=gerv
MozReview-Commit-ID: 7XBjF2h9Srg

--HG--
extra : source : b651a6de3cede2ec942d9071fbf00c800d59326a
2017-03-31 14:00:02 +01:00
Florian Queze
c212ddcbfd Bug 1353563 - Avoid calling getBoundingClientRect from adjustSiteIconStart, r=mak. 2017-04-14 17:15:20 +02:00
Dan Banner
cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Jessica Jong
67e5ec0739 Bug 1320227 - [DateTimeInput] Localize placeholders for <input type=date>. r=mossop
MozReview-Commit-ID: Bn0xjuuVhgU

--HG--
extra : rebase_source : ab0f4c707a5247daf8fdf6a9666a5b753e71d457
2017-04-11 15:24:23 +08:00
Masayuki Nakano
dee0647d27 Bug 1349828 Smooth scroller of <scrollbox> should not try to scroll to outside of the range r=mstange
The scroll destination of the smooth scroller of <scrollbox> can be outside of the actual scrollable range.  Therefore, it doesn't make scroll slower even when the end appears.

This patch makes the destination always in the scrollable range.

MozReview-Commit-ID: CfEGzhG7Jh7

--HG--
extra : rebase_source : 87a07140a1ce58752ac264a1e8decb2a8af6d078
2017-04-10 19:56:40 +09:00
Drew Willcoxon
cc637153bc Bug 1295458 - Rework key and mouse handling for the one-off search buttons. r=florian
MozReview-Commit-ID: DKbU8r2BrA8

--HG--
extra : rebase_source : 9f0ff5241907455516ddec24f22e6c7f5e52105d
2017-04-11 08:40:11 -07:00
Jared Wein
169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Mark Striemer
bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Jared Wein
bd3dba7dd8 Bug 1355211 - Scroll events should be prevented in all cases except when allowunderflowscroll is true and the scrollbar is hidden. r=enndeakin+6102
MozReview-Commit-ID: GXhf9bM6ZIo

--HG--
extra : rebase_source : 6599f20293c793a1dc10c4fce5467386cda878c8
2017-04-10 16:45:33 -04:00
Kaku Kuo
a9ee9f11cc Bug 1354465 P2 - use mozvideoonlyseekbegin event to start throbber timer; r=jaws,jwwang
MozReview-Commit-ID: 4zwcoB8M3xI

--HG--
extra : rebase_source : 8bf50d1bc7e5532de0c7b70c0c20ff6f74fe8c19
2017-04-07 18:06:20 +08:00
Nico Grunbaum
9352ee95aa Bug 1344970 - rename mozRtt to roundTripTime r=jib,smaug
MozReview-Commit-ID: 3kES8JUPd3n

--HG--
extra : rebase_source : e49846845d7cbd43f96d13cb1881e0383517f197
2017-03-06 15:50:10 -08:00
Sebastian Hengst
37409bb05b merge mozilla-central to autoland. r=merge a=merge 2017-04-09 20:50:44 +02:00
Tim Nguyen
76d0710e86 Bug 1041895 - Add support for different flags with text filtering. r=rickychien
MozReview-Commit-ID: GvHXYIxwFrM

--HG--
extra : rebase_source : 91e217701e43cc78fd638c09f889ca16e81af35f
2017-04-09 17:42:00 +02:00
Joel Maher
bc070be3c8 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Sebastian Hengst
548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Wes Kocher
7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Marco Bonardo
9e2ecc36f9 Bug 1353708 - Avoid autocomplete call to richlistbox's ensureElementIsVisible when there can't be a scrollbar. r=florian
EnsureElementIsVisible can cause a Layout flush, so we should try to avoid it when possible.

MozReview-Commit-ID: Dr0D8vPl9rd

--HG--
extra : rebase_source : e1d6de9c1449f0b4d9780d374e5632fb40498902
2017-04-05 18:45:16 +02:00
Daniel Stenberg
e329f0e096 Bug 1348403 - Rename SPDY to HTTP/2 in about:networking. r=jaws
--HG--
extra : rebase_source : 4cca8e1c317b4a79ab7d74ccb86ca4e1be0427fe
2017-04-06 01:46:00 -04:00
Jared Wein
0117fd004b Bug 1348828 - Only prevent default behavior of scroll event if the tree is scrollable. r=enndeakin+6102
MozReview-Commit-ID: AGS103gy08O

--HG--
extra : rebase_source : f262d6df34d44ee5f4aa758c49d0f3795f1194ae
2017-04-03 21:51:11 -04:00
Carsten "Tomcat" Book
14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Paul Bignier
9103ac60ef Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN
MozReview-Commit-ID: IA42yQO5Sb8

--HG--
extra : rebase_source : b5426724c5b740639f71e5d058742b01868085e2
2017-04-03 15:26:11 -07:00
k88hudson
a5803e3997 Bug 1349288 - Update license to allow activity-stream to use React, Redux, Reselect, and ReactRedux r=gerv,standard8
MozReview-Commit-ID: FTZ626l2QG2

--HG--
extra : rebase_source : 3493dbb921a1c9eea130ac2fd743d7efa295e07a
2017-03-30 13:30:30 -04:00
Phil Ringnalda
7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato
cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Makoto Kato
cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Jessica Jong
4a5bdab7a2 Bug 1346085 - Part 3: RTL support for date/time input box. r=gandalf,mossop
Set the .dir property of the input box wrapper to `rtl` if this is a RTL
locale.

MozReview-Commit-ID: D2qJVjvzxNW

--HG--
extra : rebase_source : f0514ab18fe129600adfbd695f15594c6f4c8ca9
2017-04-05 15:02:37 +08:00
Jessica Jong
68680ac23a Bug 1346085 - Part 2: Set input element's focus state when inner fields are focused/blurred. r=smaug
Since the inner fields of date/time input are now <span> instead of <input>
text, we are adding an API for binding code to set the focus state of the
bound input element when inner fields are focused/blurred.

MozReview-Commit-ID: 9wvu57xT6HZ

--HG--
extra : rebase_source : c6c3832fe0aa0fe9429052dcb5b15a3497c33fa4
2017-04-05 15:02:30 +08:00
Jessica Jong
382e8c7690 Bug 1346085 - Part 1: Use <span> for editable fields in date/time input box. r=mossop
When adding support for RTL in date/time input box, we noticed that bidi text
was not displayed properly with mixed of inline and block elements. By
changing our editabled fields from <input> to <span>, we can rely on bidi
algorithm and markups to display the inner fields in the right order.

MozReview-Commit-ID: 7r8OVSJXJRU

--HG--
extra : rebase_source : b130a5424b533930a57695a65196454c72d7be10
2017-04-05 15:00:13 +08:00
Henri Sivonen
c514501f1a Bug 1295611 - Add mozilla::Span. r=froydnj,gerv.
MozReview-Commit-ID: HGNDClVctbE
2017-03-31 13:32:18 +03:00
Alastor Wu
dd5be9dee0 Bug 1346872 - part3 : add and modify test. r=Ehsan
Add new tests and move some share codes to head.js.

MozReview-Commit-ID: GcCio6JupZu

--HG--
extra : rebase_source : a9324aaebd89412d77bed19b0554e6cf2959b6e2
2017-03-30 14:27:45 +08:00
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Kaku Kuo
86a20bfd54 Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; r=jaws,jwwang
MozReview-Commit-ID: CV3LsfA6s1O

--HG--
extra : rebase_source : 8337aac3a3395b65a8ffca975c51b40666c12023
2017-03-27 18:22:55 +08:00
Ray Lin
5495fb2264 Bug 1350191 - Change keypress event propagation to capture to correctly preventDefault if control is focused. r=jaws
We could not avoid controls being focused after De-XUL, in order
to preventDefault before event propagate to focused control, we should
change the way of keypress event propagation in media controls.

MozReview-Commit-ID: 4KNPU4XlSDJ

--HG--
extra : rebase_source : 1146e18e3beebca8ae36a4de126c5c920aa5cdfd
2017-03-25 11:48:30 +08:00
Ray Lin
d1f8959c8b Bug 1348224 - Don't call _adjustAcItem() if result's type is different from existing item's type. r=adw
MozReview-Commit-ID: D0b4TPnD8KY

--HG--
extra : rebase_source : 761b852702bedb63414750f2838517939b1c80bc
2017-03-17 16:40:33 +08:00
Phil Ringnalda
e7905e8e6d Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Phil Ringnalda
fb622b0334 Bug 1348803 followup, take eslint's advice and remove an unused var 2017-03-27 20:17:16 -07:00
Alastor Wu
31d5fff67b Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV

--HG--
extra : rebase_source : fc26c98ed7b33552b4eba5b20168394b1b1a4390
2017-03-28 10:57:50 +08:00
Florian Queze
c12444e5f6 Bug 1357061 - remove potentially useless ensureElementIsVisible call (that currently causes a sync reflow) when an arrowscrollbox handles an underflow event, r=dao. 2017-04-19 23:09:34 +02:00
Jessica Jong
f005bb88d4 Bug 1301310 - Hide input date/time picker only when input element blurs. r=mossop
If we rely on XUL panel's default behavior, the picker is hidden and opened
again when we jump from one inner field to another with a mouse click, this is
because XUL pannel gets hidden when user clicks outside it with
noautohide=false. In order to avoid this, we should close it explicitly only
when input element blurs.

MozReview-Commit-ID: GxPxd0wPWgM

--HG--
extra : rebase_source : 3bac43a57da51a341d7ec4bb7b86807f55308f39
2017-04-20 15:04:10 +08:00
Ray Lin
c24dde2cc6 Bug 1350315 - Hide cursor when video controls fadeout for desktop. r=Gijs
We used to have this rule in shared stylesheet for both mobile and
desktop, but the namespace mismatched after visual refresh (De-XUL).
Now we should add this rule back to hide cursor while fading out.

MozReview-Commit-ID: HDZKn8CrQ5X

--HG--
extra : rebase_source : 7a63650b9f048dd5b0b0b79ce289bc762cc6a07b
2017-03-25 11:41:44 +08:00
Jessica Jong
2638fe61fa Bug 1344624 - [DateTimeInput] (l10n) Part 2: Display formatted numbers in <input type=date>. r=mossop
MozReview-Commit-ID: BOaNefKe2Pb

--HG--
extra : rebase_source : afc5439ddff6d05a08bf111aaf5371be4cd1c640
2017-03-24 11:13:26 +08:00
Jessica Jong
afdb7ecd5d Bug 1344624 - [DateTimeInput] (l10n) Part 1: Display formatted numbers in <input type=time>. r=mossop
Add a new attribute "rawValue" in each of the numeric fields. We store the
non-formatted number in this attribute, and display formatted number using
Intl.NumberFormat.

MozReview-Commit-ID: JkcBObFoYQ3

--HG--
extra : rebase_source : 05918ba57513f9c816273a758ab2aa7198722135
2017-03-24 11:13:20 +08:00
Jan Henning
c49f232ab2 Bug 1328868 - Part 3 - Make the effective text zoom retrievable from JS. r=tnikkel
We want to read this value during testing.

MozReview-Commit-ID: FVA7VdvSTEt

--HG--
extra : rebase_source : 7ae56480ad34a4b3b417b3593496619a55910ec6
2017-02-25 19:27:15 +01:00
Wes Kocher
6d0b00069c Merge inbound to central, a=merge
MozReview-Commit-ID: JGfQoBJy2jt
2017-03-24 17:17:27 -07:00
Carsten "Tomcat" Book
5f408d092d Merge mozilla-central to mozilla-inbound 2017-03-24 14:29:00 +01:00
Neil Deakin
3dcb70f17c Bug 1332839, make transition checking more robust in this test, r=felipe 2017-03-24 08:46:29 -04:00
Iris Hsiao
26a234de5d Backed out 6 changesets (bug 1347758) for eslint failure
Backed out changeset 9becd55242c1 (bug 1347758)
Backed out changeset 2abce19f5001 (bug 1347758)
Backed out changeset 80232d4c85d5 (bug 1347758)
Backed out changeset 1fd084ec34d4 (bug 1347758)
Backed out changeset cafb3c12027b (bug 1347758)
Backed out changeset 85846edfe957 (bug 1347758)
2017-03-24 16:58:08 +08:00
Alastor Wu
af6a16068b Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
The test cases should be ordered according to their alphabet order.

MozReview-Commit-ID: LmmyjcTf6Nd

--HG--
extra : rebase_source : 2a0d826cf06ae4ff16f2f8ed5fcb2012ba1dd0a6
2017-03-24 14:38:03 +08:00
Alastor Wu
9ba82fa281 Bug 1347758 - part5 : add tests. r=Ehsan
Add tests for non-in-tree media element, web-audio and plug-in.

MozReview-Commit-ID: 2BMzUHPjKWX

--HG--
extra : rebase_source : 1005cc83973fdbd33efb0146d9ff87d52659f090
2017-03-24 14:38:00 +08:00
Mats Palmgren
2feec4025d Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren
00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Mike Conley
411230f211 Bug 1339775 - Add role="checkbox" for specially styled in-content checkboxes. r=jaws
MozReview-Commit-ID: IZhRECggz4j

--HG--
extra : rebase_source : a95bafc0996c6021a4dff4f0cd7addb1a45a9f6e
2017-03-23 00:05:03 -04:00
Iris Hsiao
106889c6f6 Backed out 9 changesets (bug 1333482) for stylo test failures and this should be landed to autoland
Backed out changeset d8828e22dbaa (bug 1333482)
Backed out changeset a39aaecd10f7 (bug 1333482)
Backed out changeset c957d8c0281e (bug 1333482)
Backed out changeset d569fc566e43 (bug 1333482)
Backed out changeset 7e8c03090d34 (bug 1333482)
Backed out changeset c4511a175f2f (bug 1333482)
Backed out changeset 5483a82f7ce9 (bug 1333482)
Backed out changeset 4e7e5efb1bd8 (bug 1333482)
Backed out changeset 51d1accaeddb (bug 1333482)
2017-03-24 10:21:30 +08:00
Wes Kocher
1d9dc01136 Merge m-c to inbound, a=merge
MozReview-Commit-ID: HwfVdTF9Np5
2017-03-23 16:55:48 -07:00
Mats Palmgren
53c393f0ba Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 23:13:18 +01:00
Mats Palmgren
c0c0e154ea Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 23:13:18 +01:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Zibi Braniecki
3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Mark Banner
3dffe30808 Bug 1348954 - Html5-video controls do not hide when in fullscreen. r=ralin
Undo incorrect change from bug 1341029, and tell ESLint about how Utils is 'global' to some of the videocontrols.xml event listeners.

MozReview-Commit-ID: 9ItMIzwYhEj

--HG--
extra : rebase_source : 4ea996771c00e25e7e33063cfb56cf19c2cf059a
2017-03-21 17:17:49 +01:00
Jessica Jong
28c686a81c Bug 1347069 - [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale. r=mossop
MozReview-Commit-ID: 1QJig3ZTV7R

--HG--
extra : rebase_source : f5f0f90ceb2644573ac9733f1bbab86df534e4f0
2017-03-21 11:11:10 +08:00
Ray Lin
6658469733 Bug 1347673 - Visibility state of extra video control buttons should be recalculated each time the video controls are adjusted. r=jaws
MozReview-Commit-ID: Lj7kttJ9skU

--HG--
extra : rebase_source : 36c34c64c344b163f09290e656f24f0dd5cb75a0
2017-03-16 18:19:56 +08:00
Michael Layzell
838290fd27 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00
Nihanth Subramanya
d5ac420cfd Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH

--HG--
extra : rebase_source : cd0188b641c858a8a631b1112be593dc4085aa8c
2017-02-24 18:42:36 -08:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Wes Kocher
c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Scott Wu
45d09e0952 Bug 1343707 - Make datetimepopup.xml binding attach lazily. r=mconley
MozReview-Commit-ID: C7LnrxIbU3K

--HG--
extra : rebase_source : d821a141eb550541a49beaa2afd9b7caf6a054e2
2017-03-03 13:58:53 +08:00
Jared Wein
bb9354d1a2 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 9468cd5b1f67461e4338d4e0782761667f2f2184
2017-03-14 19:58:38 -04:00
Wes Kocher
06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
flyingrub
317e205f62 Bug 1346739 - Update aboutTelemetry.js to async fucntion & await r=Dexter
Replaced all Task occurence by an async function

MozReview-Commit-ID: 1HjHtPRTkl7

--HG--
extra : rebase_source : a08ac1030ef93e97ed4228c129f6f4905d99ba42
2017-03-13 12:37:09 +01:00
Dave Townsend
b07766c78c Bug 1308981: Display system add-ons in a separate section in about:support. r=rhelmer
MozReview-Commit-ID: 3KYFz4pOXPT

--HG--
extra : rebase_source : af8d11916a39e36fa341652491d70daee2b71ae3
extra : amend_source : 8b75e4df6f4a9c3d05151a1260778c95188e1d8f
2017-03-09 15:44:40 -08:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Michael Layzell
45e778c301 Bug 1179542 - Wait for the page to load before checking menu status, r=ehsan
MozReview-Commit-ID: 7wHbkAC8eCI
2017-03-13 18:56:57 -04:00
Dão Gottwald
40034ab5b7 Bug 1345432 - Clean up XUL checkbox styling, remove fallback styling and fix the focus indicator. r=karlt
MozReview-Commit-ID: CcqLKFVvLwC

--HG--
extra : rebase_source : 8665cf698dfc561a2bdc84de27a75bea00cd44f9
2017-03-13 13:12:37 +01:00
Kaku Kuo
0aeeafab7a Bug 1309494 part 2 - implement the show throbber mechanism; r=jaws
MozReview-Commit-ID: 1UKAYu0xy9u

--HG--
extra : rebase_source : 83ede58e14bd191b281caf6026dfe3ca4b24c3bb
extra : source : f598e9dc77bbb812f930faf0328b8f557299941c
2017-03-13 11:29:39 +08:00
Kaku Kuo
63fa03c5a7 Bug 1309494 part 1 - let video controler handle the "mozexitvideosuspend" event; r=jaws
MozReview-Commit-ID: 5DfzY8kDTP4

--HG--
extra : rebase_source : a502241298848f9b39d7e978e3a8fb7a1a87d1e7
extra : source : 778b6c2d384cad117fb914fdb0ba2d591ef60baa
2017-03-13 10:57:25 +08:00
Jessica Jong
a162417a23 Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
MozReview-Commit-ID: AswWoeGasXZ

--HG--
extra : rebase_source : 10591d31c76a4745a9953cd944533cb2fd6940b4
2017-03-15 11:39:02 +08:00
Jessica Jong
24b91bfb0b Bug 1301312 - Part 4: Order fields in <input type=date> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: 42WjAsLImc6

--HG--
extra : rebase_source : 4ef3b7ab6bb07c744c6f36aa8511f1f9af5e3f0c
2017-03-06 14:45:14 +08:00
Jessica Jong
f5d74d5f13 Bug 1301312 - Part 3: Order fields in <input type=time> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: ALgurGjv3d0

--HG--
extra : rebase_source : ee5c56b1aaba09e2d7c23359df9396f186efb147
2017-03-06 14:44:22 +08:00
Jessica Jong
0b66175c10 Bug 1301312 - Part 2: Localize placeholders for <input type=time>. r=mconley
Use entities declared in DTD files so that lozalizers can fill in appropiate
placeholders for each locale.

MozReview-Commit-ID: 9KODExaDnDe

--HG--
extra : rebase_source : e6a9f27c68907aded0483028aee3a17744491a56
2017-03-06 14:43:23 +08:00
Jessica Jong
b4fc37baaf Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
MozReview-Commit-ID: 2QycAbnHmHv

--HG--
extra : rebase_source : cbbd9ce4ccebcf611d5ccd908536c107424e3fb4
2017-03-06 14:43:12 +08:00
Carsten "Tomcat" Book
10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
47bca0c9c7 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : e0c8ebf58f73644ba17978afea72a3470df770d8
2017-03-14 19:58:38 -04:00
Jim Porter
5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Sebastian Hengst
4f039f9373 Backed out changeset 8bd3a85551ae (bug 1345375) for failing browser_urlBar_zoom.js. r=backout 2017-03-13 20:34:51 +01:00
Jared Wein
9794edea1a Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 8ee29ae20c5170b44a06368b46ebb43f2649497d
2017-03-10 15:33:07 -05:00
Sebastian Hengst
7f5e2d8428 Backed out changeset 446bc40870fe (bug 1346812) for eslint failure in aboutTelemetry.js. r=backout on a CLOSED TREE 2017-03-13 18:34:26 +01:00
flyingrub
893cd425c8 Bug 1346812 - Use standard pad functions in aboutTelemetry.js r=gfritzsche
MozReview-Commit-ID: 7S3tUVvoKsv

--HG--
extra : rebase_source : 9875555627726e55134a7ab65fe35487f7a25b02
2017-03-13 16:12:00 +01:00
Blake Kaplan
7afdcb473a Bug 1346286 - Remove CPOWs from browser_findbar.js. r=Felipe
MozReview-Commit-ID: ASJgY0cKnHq

--HG--
extra : rebase_source : bfa01fc4f88c96085b646f8ac624eb3a9d7c0623
2016-11-11 14:21:55 -08:00
flyingrub
7e81deb06e Bug 1346812 - Use standard pad functions in aboutTelemetry.js r=gfritzsche
MozReview-Commit-ID: 7S3tUVvoKsv

--HG--
extra : rebase_source : 2355fbfc767ee6cde61b79269105455301d96335
2017-03-13 16:12:00 +01:00
Andrea Marchesini
12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Wes Kocher
dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Jared Wein
d9a46cd279 Bug 1318830 - Listen for the FullZoomChange event on synthetic documents to trigger updating the zoom-control in the location bar. r=Gijs
MozReview-Commit-ID: CeZ8qsz97Yz

--HG--
extra : rebase_source : 4b817c80d963b975de91fc2767601306e1302c58
2017-03-07 14:24:17 -05:00
Florian Quèze
37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze
7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Scott Wu
998e9923de Bug 1320880 - Add RTL support to date picker r=mconley
MozReview-Commit-ID: LIrOuUCfz17

--HG--
extra : rebase_source : 61781745759e1efb7851e1478bc6d3a591cb16c7
2017-02-17 18:16:17 +08:00
Alastor Wu
83676d3368 Bug 1343465 - part3 : move support files to the default area. r=baku
MozReview-Commit-ID: CNFUwjxpTbm

--HG--
extra : rebase_source : 3a68e7d83f0ce229dac5843db6d2f108698fc98a
2017-03-04 16:56:49 +08:00
Alastor Wu
762c323d94 Bug 1343465 - part2 : add test. r=baku
MozReview-Commit-ID: HypzfD053xW

--HG--
extra : rebase_source : a3dcb77937d9cc7554c083e8961e835f6574cf7c
2017-03-04 16:52:21 +08:00
Wes Kocher
1b29a33fce Merge m-c to autoland, a=merge
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Carsten "Tomcat" Book
06813a3df9 Merge mozilla-central to mozilla-inbound 2017-03-03 13:06:37 +01:00
Carsten "Tomcat" Book
cf269a43bd merge mozilla-inbound to mozilla-central a=merge 2017-03-03 13:03:48 +01:00
Zibi Braniecki
3613954ec3 Bug 1339892 - Refactor mozIntl to have a nicer API and thin logic. r=smaug
MozReview-Commit-ID: J4QXXBy7JII

--HG--
rename : toolkit/components/mozintl/MozIntl.cpp => toolkit/components/mozintl/MozIntlHelper.cpp
rename : toolkit/components/mozintl/MozIntl.h => toolkit/components/mozintl/MozIntlHelper.h
rename : toolkit/components/mozintl/mozIMozIntl.idl => toolkit/components/mozintl/mozIMozIntlHelper.idl
extra : rebase_source : 9753dbeea2e11c7fde550df1a20b1c3d1b2063fe
2017-03-01 16:58:11 -08:00
Andrea Marchesini
4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Alastor Wu
56a2f70418 Bug 1338137 - part3 : add test. r=baku
MozReview-Commit-ID: 7lpvIp5IOqV

--HG--
extra : rebase_source : b919e2e77fe21fa50e2e84bc2f4a98b79babd6b7
2017-03-04 01:16:40 +08:00
Alastor Wu
c7fb5e7910 Bug 1341062 - part2 : remove duplicated codes. r=baku
MozReview-Commit-ID: C6N1itQAVcF

--HG--
extra : rebase_source : a0f1d679d3662736bbac12f19d13891ce2e5a6e5
2017-03-02 17:38:56 +08:00
Alastor Wu
22ff369556 Bug 1341062 - part1 : wait for audioplayback event to ensure the media element has been resumed. r=baku
Block-stop should be dispatched before audio-playback, so we can check block
event first. Also add "loop" attribute for video to avoid getting the wrong
pause state.

MozReview-Commit-ID: 3WHuJGsZCPn

--HG--
extra : rebase_source : 75147657a727bf34aacf9feb1674ccf29142a0eb
2017-03-02 17:38:53 +08:00
Mark Banner
09889d3184 Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
MozReview-Commit-ID: FTDV8BcMGeF

--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
extra : rebase_source : f0e89f2ce3cfdf343213f66a007f74a80a785c19
2017-03-01 21:29:52 +00:00
Jason Laster
a539a77119 Bug 1338567 - add licenses for new debugger dependencies;r=gerv
MozReview-Commit-ID: 7lb4Wcuh6sY

--HG--
extra : rebase_source : 0250dacfcf8366911f3a608f5ef479fd38e2fe33
2017-03-01 12:02:15 +01:00
Georg Fritzsche
4daa2da435 Bug 1313326 - Part 3 - Update about:telemetry to show child process events. r=dexter 2017-03-06 16:12:52 +01:00
Mike de Boer
15ef9bead3 Bug 1333270 - disable remote browser testing in test_bug263683.xul due to frequent intermittent failures. r=Gijs,jaws
MozReview-Commit-ID: GNkjXjhO1zh

--HG--
extra : rebase_source : 3a317f98569438c96fedbe7c95361c4385cef7fe
2017-03-01 13:50:13 +01:00
Ricky Chien
941b2b29b9 Bug 1340469 - Get licensing signoff on using JSZip r=gerv
MozReview-Commit-ID: 9raceTBrisO

--HG--
extra : rebase_source : 625c9afb2a3d688fd6b0dedb9190d26f77a5fd87
2017-02-22 15:41:41 +08:00
Masatoshi Kimura
adb41d884b Bug 1342144 - Fix ESLint errors in toolkit/. r=Yoric
MozReview-Commit-ID: 9sp2uMryv8U

--HG--
extra : rebase_source : 750a58b1d258a7112d3def04940ad3e610b19747
2017-02-24 22:02:11 +09:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Sebastian Hengst
c280c97f5a Bug 1342388 - Make all strings at about:webrtc localizable. r=jib
MozReview-Commit-ID: BIuJKlfVGfL

--HG--
extra : rebase_source : ce3c8f5e63526a271793486135d692958cd130bc
2017-02-24 13:34:14 +01:00
Sebastian Hengst
2fc1de554d Bug 1336920 - Display the presence/absence of a valid Google and Mozilla API key in about:support. r=florian,francois
MozReview-Commit-ID: CRW3Ttb5DZm

--HG--
extra : rebase_source : 4c32f0c4a90835471c40ef53b6a1ebe2ee7109e9
2017-02-16 13:01:21 +01:00
Carsten "Tomcat" Book
73835fd06d Merge mozilla-central to autoland 2017-02-24 11:54:01 +01:00
Carsten "Tomcat" Book
7256146318 merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01:00
Mark Banner
a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Jeff Gilbert
ec01b04c7e Bug 1341957 - Add webgl.getSupportedExtensions() to about:support. - r=daoshengmu
MozReview-Commit-ID: EQci0ZxlVyM
2017-02-23 14:42:05 -08:00
Alastor Wu
9e3e9f85fa Bug 1339230 - part3 : add test. r=baku
MozReview-Commit-ID: FzcEwErGad3

--HG--
extra : rebase_source : 6b1dac545b5ee9f68d0df68347ff21003c8dad5a
2017-02-24 17:17:09 +08:00
Ray Lin
cae0cc252f Bug 1341019 - Fix undef item variable in _onChanged(). r=standard8
MozReview-Commit-ID: 1WrioG5O0Np

--HG--
extra : rebase_source : 6a87486a2b09b18e05da3886a9f8cc0d17a373af
2017-02-20 21:55:37 +08:00
Ray Lin
a8d715ed6c Bug 1339269 - Enhance controls adjustment against delay layout reflow. r=jaws
MozReview-Commit-ID: KABc6RkCCS5

--HG--
extra : rebase_source : f4ab48e73a56d331c3045197704cb73f9dd8b82d
2017-02-10 17:08:44 +08:00
Alastor Wu
606eb319fa Bug 1192818 - part2 : only dispatch DOMAudioPlaybackStarted when there is audible sound. r=baku
The DOMAudioPlaybackStarted event would affect the tabbrowser's attribute,
"soundPlaying", and this attribute should indicate whether the tab is audible or not. However, in present codebase, even the tab has "soundplaying", it doens't mean
the tab has audible sound, you need to check extra attribute, "muted".

After applying this patch, tabbrowser can only own one of the attributes ("soundplaying"
or "mute"). These attributes won't exist at the same time, so we can easily know
whether the tab is audible by checking "soundPlaying".

Let's see an example,
step1. playing a playing audio
  - tab owns "soundPlaying"
step2. mute the tab
  - tab owns "muted"
step3. stop audio
  - tab owns "muted"
step4. replay the audio
  - tab owns "muted"
step5. unmute the tab
  - tab owns "soundPlaying"
step6. stop audio
  - tab owns ""

MozReview-Commit-ID: EEKEbAVzsVm

--HG--
extra : rebase_source : 823d501e9162ae8b611f2e97dd763c1eec16c2cf
2017-02-23 14:15:47 +08:00
Alastor Wu
c268fbdbaf Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 5RnyBRE73lQ

--HG--
extra : rebase_source : 40ad97cbf84da6f5d013d832cb12e3ed88473dfd
2017-02-23 14:15:45 +08:00
Alastor Wu
9f41f0ae0c Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
The test cases should be ordered according to their alphabet order.

MozReview-Commit-ID: LmmyjcTf6Nd

--HG--
extra : rebase_source : e93da9fd41f312c6ce2bc59698597286e6dfc088
2017-03-24 17:35:07 +08:00
Alastor Wu
ea2fce300c Bug 1347758 - part5 : add tests. r=Ehsan
Add tests for non-in-tree media element, web-audio and plug-in.

MozReview-Commit-ID: 2BMzUHPjKWX

--HG--
extra : rebase_source : 93c836edb04dbb5cb8cb487e1d5face6ddefdd42
2017-03-24 17:35:01 +08:00
Scott Wu
13bc7a75b4 Bug 1337319 - Order month and year spinners based on locale datetime format r=mconley
MozReview-Commit-ID: AmAVjybJZ6A

--HG--
extra : rebase_source : 009b64009817ae468c0d47b473d4cbdcf72246c0
2017-02-16 15:57:54 +08:00
Wes Kocher
13e1cccb3f Merge inbound to central, a=merge
MozReview-Commit-ID: EEMZdLCheAm
2017-02-21 17:35:01 -08:00
Sebastian Hengst
346d08ea1b Backed out changeset c32c74847eb6 (bug 1335539) 2017-02-21 17:53:45 +01:00
Andrea Marchesini
0963d18874 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 15:04:47 +01:00
Gabor Krizsanits
f9bc8c7133 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap r=felipc 2017-02-21 13:30:17 +01:00
Carsten "Tomcat" Book
70d5eceb33 Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure 2017-02-21 12:11:04 +01:00
Sebastian Hengst
2fc30f09d3 Backed out changeset 38fa2ec33fa4 (bug 1192818) for frequently failing test_noAudioNotificationOnVolume0Element.html on Android 4.3 debug. r=backout 2017-02-21 19:30:26 +01:00
Sebastian Hengst
6974fb160a Backed out changeset 042e5fbe7846 (bug 1192818) 2017-02-21 19:29:29 +01:00
Mark Banner
789a9ce84c Bug 1341031 - Fix releasing drag capture for popups. r=mconley
MozReview-Commit-ID: 5dxGEtuQPK2

--HG--
extra : rebase_source : bd56be868c3be647c8fae0d6af3cc7c623129636
2017-02-20 13:41:34 +00:00
Carsten "Tomcat" Book
1a3f1390bc Merge mozilla-central to autoland 2017-02-21 14:19:28 +01:00
Carsten "Tomcat" Book
2ccec565b5 Backed out changeset 952f0a7824ad (bug 1335539) 2017-02-21 10:30:06 +01:00
Alastor Wu
f2ea075d35 Bug 1192818 - part2 : only dispatch DOMAudioPlaybackStarted when there is audible sound. r=baku
The DOMAudioPlaybackStarted event would affect the tabbrowser's attribute,
"soundPlaying", and this attribute should indicate whether the tab is audible or not. However, in present codebase, even the tab has "soundplaying", it doens't mean
the tab has audible sound, you need to check extra attribute, "muted".

After applying this patch, tabbrowser can only own one of the attributes ("soundplaying"
or "mute"). These attributes won't exist at the same time, so we can easily know
whether the tab is audible by checking "soundPlaying".

Let's see an example,
step1. playing a playing audio
  - tab owns "soundPlaying"
step2. mute the tab
  - tab owns "muted"
step3. stop audio
  - tab owns "muted"
step4. replay the audio
  - tab owns "muted"
step5. unmute the tab
  - tab owns "soundPlaying"
step6. stop audio
  - tab owns ""

MozReview-Commit-ID: 50NorRbRIP

--HG--
extra : rebase_source : 8a06d1df7f4e3b974b18292944b19ada20eb655d
2017-02-21 18:41:13 +08:00
Alastor Wu
c5d7911229 Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 703JHj9dICT

--HG--
extra : rebase_source : ad2985bd14d6a9b91a73c0d4103aa51c4981124c
2017-02-21 18:41:09 +08:00
Timothy Guan-tin Chien
7e24fdda99 Bug 1338961 - A mozinputrangeignorepreventdefault hack for input[type=range], r=smaug, sr=smaug
This is a terrible hack, asking input[type=range] in our video control
xbl binding content continue to handle mouse/touch event, even if the
event is being defaultPrevented by the content.

MozReview-Commit-ID: G1huxbS7oeq

--HG--
extra : rebase_source : 27153ce36e6883d947894da69dd9aca47965e99b
2017-02-17 17:05:27 +08:00
Carsten "Tomcat" Book
9857d2af8e merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01:00
Ray Lin
7506c4daa4 Bug 1333008 - Don't toggle play or pause when button is focused. r=jaws
MozReview-Commit-ID: 2tyQUOOMQgH

--HG--
extra : rebase_source : 28057a03f67f6a0714b90215f142d2692185afa4
2017-02-16 14:19:32 +08:00
Jed Davis
6e97575e73 Bug 1286865 - Step 3: Expose rejected syscall log in about:support. r=adw r=gcp
MozReview-Commit-ID: 6YcwfRtPM2

--HG--
extra : rebase_source : c3c10f162d2fde842138a59bd120a4f021533ebd
2017-01-30 18:51:13 -07:00
Andrea Marchesini
d9d218c052 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 07:51:35 +01:00
Mark Banner
21ce8768db Bug 1322747 - Show https in autofill heuristic results. r=mak
MozReview-Commit-ID: GlOoeQBOMIi

--HG--
extra : rebase_source : abd71c481c6246c75d6c1c09861a7619ee2ce834
2017-01-26 15:13:19 +00:00
Gabor Krizsanits
a498797697 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap 2017-02-21 11:27:19 +01:00
Carsten "Tomcat" Book
2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Mike de Boer
5dd5d5c81d Bug 1333270 - wait until we find a word before we yield/ await the toggle highlight promise to avoid timing issues when switching to a remote browser element. r=jaws
MozReview-Commit-ID: F0kq7oYm8WS

--HG--
extra : rebase_source : b98c39c57180ccdaab5a6d1c519973fd34dab2be
2017-02-16 18:55:40 +01:00
Mark Banner
733f0b7c97 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Wes Kocher
b0b1d367ca Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3ZzrFonZOIV
2017-02-16 09:28:52 -08:00
Carsten "Tomcat" Book
f3b2544de0 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Phil Ringnalda
4ef229a0ed Backed out changeset b834e9088133 (bug 1330144) for timeouts in test_dialogfocus.xul 2017-02-16 07:33:53 -08:00
Ryan Hunt
456e464ab3 Bug 1338891 - Backout telemetry scroll tracking r=smaug
--HG--
extra : rebase_source : aa79a6beb132e054113c89e324e4ef00ed2b759a
2017-02-15 18:56:23 -05:00
Neil Deakin
af174032a4 Bug 1109868, panels should watch their anchors for position and visibility changes and update accordingly, r=tn 2017-02-16 08:53:59 -05:00
Neil Deakin
e553c554fc Bug 1330144, don't focus 'noinitialfocus' elements at all in dialogs, r=gijs 2017-02-16 08:53:58 -05:00
J. Ryan Stinnett
32d643c588 Bug 1335281 - Use frame loader for same process browsers. r=mrbkap
This changes the `relatedBrowser` property which held a <xul:browser> to the
more explicit `sameProcessAsFrameLoader` which takes an nsIFrameLoader.

This clarifies the purpose of the property and also (by switching to the frame
loader) makes it easier to set in some contexts.

MozReview-Commit-ID: LnEvSP8zkto

--HG--
extra : rebase_source : f9f4c07995ef39f1ccd5042e9ae3df37879423b6
2017-02-14 14:12:35 -06:00
Ray Lin
85b5669d7a Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : b56e03c157b295921319e17019fbda99f2793e99
2017-01-24 23:32:36 +08:00
Scott Wu
763d2e9aa1 Bug 1329927 - Use mozIntl.getDisplayNames for date picker UI r=mconley
MozReview-Commit-ID: LqKzK9jx1i6

--HG--
extra : rebase_source : 28c4c747e1bd176c804792bc9efb6f475725a57a
2017-02-14 13:07:22 +08:00
Sebastian Hengst
64660d1cc7 Backed out changeset 059c01d1a40f (bug 1326138) for leaks, e.g. in devtools/client/aboutdebugging/test/browser_service_workers_not_compatible.js. r=backout on a CLOSED TREE 2017-02-15 10:02:38 +01:00
Ray Lin
5900859fb2 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : bd6cb3133641b841304d23da541636d58a40c189
2017-01-24 23:32:36 +08:00
Carsten "Tomcat" Book
68be0676b8 merge mozilla-inbound to mozilla-central a=merge 2017-02-14 13:38:00 +01:00
Iris Hsiao
96255052b9 Backed out changeset 40d22c458595 (bug 1326138) 2017-02-14 17:54:00 +08:00
Bill McCloskey
4640ca8852 Bug 1334346 - Move print preview code in content script to separate runnable (r=smaug)
MozReview-Commit-ID: 3zvW0bwttzN
2017-02-13 17:02:41 -08:00
Ray Lin
fdac0321d0 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : 9d1efc92a18fdb00d82d1056a78aff2108cc0313
2017-01-24 23:32:36 +08:00
Matthew Noorenberghe
97743adb2b Bug 1333256 - Bring back the insecure field warning Learn More text in bold. r=johannh
MozReview-Commit-ID: CpPgkdmbb2O

--HG--
extra : rebase_source : da03efa9aaaa70a504fb158359f7897c1d4883e3
2017-02-14 02:19:20 +08:00
Julian Hector
94cad21ec7 Bug 1329216 - Pass default printer name to child. r=mconley 2017-02-13 13:07:44 +01:00
Florian Quèze
535b5bcde6 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Phil Ringnalda
215ca1024e Merge m-i to m-c, a=merge 2017-02-11 17:42:19 -08:00
Mike de Boer
04026a0202 Bug 1261233 - prevent test_bug331215.xul from intermittently timing out. r=Gijs
MozReview-Commit-ID: 4dvWUdNTBOx

--HG--
extra : rebase_source : 1a8c4aeecb8d64add18a50a13c2ba6bc082b2f10
2017-02-11 00:08:15 +01:00
Wes Kocher
9576aa1519 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HXFQTGJASw4
2017-02-08 16:21:53 -08:00
Wes Kocher
6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Neil Deakin
58847a19b0 Bug 1337458, fix event reference in autoscroll mousewheel handling, r=felipe 2017-02-08 11:16:12 -05:00
Mike de Boer
e0827c5685 Bug 1333270 - fix frequently failing test_bug263683.xul by reordering the sequence of events on a fresh document. r=jaws
MozReview-Commit-ID: 85CnDZ6ltSB

--HG--
extra : rebase_source : f01442f962957c0832742a9d7844f0bdec467710
2017-02-08 17:16:55 +01:00
Jared Wein
7d9b3b83c6 Bug 1336301 - Styles that are applied directly to the select element should be forwarded to the popup. r=mconley
MozReview-Commit-ID: 29DjcUUqEkx

--HG--
extra : rebase_source : 97970d2e8f1b6527caa2767b06ddf110a2478195
2017-02-04 00:33:13 -05:00
Tomer Cohen
3d19c8f732 Bug 1336393 - about:support on Android should not have a button to launch Firefox in Safe-Mode r=standard8
MozReview-Commit-ID: FBo4ejjiEh

--HG--
extra : rebase_source : 023192712d1884a629270d3ef5ae1013abe4732a
2017-02-06 17:24:15 +02:00
Sean Stangl
4e8843518e Bug 1332466 - Update VTune integration. r=sfink 2017-01-17 14:35:42 -08:00
Wes Kocher
d978bf2b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7py654uXbYD
2017-02-07 16:55:50 -08:00
Wes Kocher
3ee0c1fe69 Backed out changeset 959e338a566a (bug 1331818) for windows leaks a=backout
MozReview-Commit-ID: 2INU1gaQGGI
2017-02-07 14:12:17 -08:00
Kearwood Gilbert
7f9b3dc8cd Bug 1287545 - Rename "Valve BSD License" to "OpenVR License" in about:license,r=gerv
MozReview-Commit-ID: AGuS3TJRPy8

--HG--
extra : rebase_source : 417740bef33196656884f6048505439c1f60dee5
2017-02-07 11:44:58 -08:00
David Anderson
5c8e4bed65 Disabled "Terminate" button in about:support if no GPU process is running. (bug 1331818, r=gwright)
--HG--
extra : rebase_source : c8b78efb9ba542cad08ace044fa1124f284eb2e9
2017-02-07 00:48:59 -08:00
Byron Campen [:bwc]
bded8f581a Bug 1336507 - Part 1: Fix about:webrtc display of local relay transport. r=jib
MozReview-Commit-ID: D6FqhVK73Iz

--HG--
extra : rebase_source : 085e51ca56066e73b02c39bf893eaf43807cdccd
2017-02-03 12:25:26 -06:00
Iaroslav (yarik) Sheptykin
7457a35a4e Bug 1335655: Renamed locale ids to reflect content change. r=flod,gfritzsche
MozReview-Commit-ID: FInb4iBtRUt

--HG--
extra : rebase_source : 82b7a06f641628fd1afeab5f8db1d18889d38b1e
2017-02-03 14:14:31 +01:00
Alastor Wu
1ebae0840f Bug 1328058 - part4 : add tests. r=baku
MozReview-Commit-ID: 2Gjh0dBHroI

--HG--
extra : rebase_source : 8c2da93f52695a752f8c12cd6a79a14bb3964936
2017-02-04 15:05:34 +08:00
Alastor Wu
1694edb819 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : b5f8855b17664bb1cc2b485f1d85120c0939931f
2017-02-03 14:47:08 +08:00
Jared Wein
3ea4fdab77 Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 95377b0916cd160302bfdfdbc62c9b795bfbad8f
2017-01-31 15:58:27 -05:00
Wes Kocher
9886fc0a7a Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Jared Wein
3de08e5fac Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 38999f77e1c39ee465f8ddb783bae58138adfce2
2017-01-31 15:58:27 -05:00
Phil Ringnalda
abe2443efb Merge m-c to m-i 2017-02-02 21:26:26 -08:00
Ray Lin
33af36eb06 Bug 1332994 - highlight current enabled CC item when video first loaded. r=jaws
MozReview-Commit-ID: HEpp5Ztp5cB

--HG--
extra : rebase_source : 2ff5dbc9c6435aee411abb9be797e64e006bf7ae
2017-01-23 15:46:42 +08:00
Jeff Gilbert
195cc8411d Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Wes Kocher
46047818b0 Backed out changeset 54d759872a2c (bug 1332466) for build failures a=backout
MozReview-Commit-ID: DsRWkEJpMPL
2017-02-02 16:05:55 -08:00
Sean Stangl
596376890b Bug 1332466 - Update VTune integration. r=sfink
--HG--
extra : rebase_source : d21b2ad8983dfa882fea7b57e75b2a215c1f041d
2017-02-02 15:40:00 -05:00
Jonathan Kew
2e0c0497f2 Bug 1312049 - Switch nsChromeRegistry::GetDirectionForLocale to use uloc_isRightToLeft instead of a list of known-rtl locales, and replace the now-obsolete intl.uidirection.* prefs with a single override intl.uidirection for testing purposes. r=gandalf 2017-02-02 22:12:50 +00:00
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Mark Banner
74a3b5d2c6 Bug 1335813 - Enable eslint no-undef for toolkit, apart from components/ and content/, and fix various issues. r=jaws
MozReview-Commit-ID: LpXm7TbwvDb

--HG--
rename : toolkit/modules/tests/MockDocument.jsm => toolkit/modules/tests/modules/MockDocument.jsm
rename : toolkit/modules/tests/PromiseTestUtils.jsm => toolkit/modules/tests/modules/PromiseTestUtils.jsm
extra : rebase_source : 0013201da831f0d549aea2c9064481c1e1a3ffcc
2017-01-31 13:17:03 +00:00
Wes Kocher
3a2daab431 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4FysKITPKa4
2017-01-31 15:14:29 -08:00
David Anderson
2f88cef7b7 Enable the GPU process test-kill button on Aurora. (bug 1335194, r=gwright)
--HG--
extra : rebase_source : 4bf9c0622bbf1769cdf973684e3ec94a675ae413
2017-01-31 11:06:33 -08:00
Iaroslav (yarik) Sheptykin
23ded3b879 Bug 1299773: Added rendering of symbolicated stacks. r=gfritzsche
MozReview-Commit-ID: 5WCliZkuaY3

--HG--
extra : rebase_source : 9436e30ab54eeceb5057c3a4fd8cf16093357158
2017-01-30 18:49:04 +01:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Tomer Cohen
bca4be1ce5 Bug 1332625 - about:support on Android should not link to about:profiles (broken link) r=standard8
MozReview-Commit-ID: 4OEyNMJXg6m

--HG--
extra : rebase_source : 86e5231a4fb39c7fbf5dba706cddb45e55d5161e
2017-01-20 16:43:02 +02:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Geoff Brown
04be1b37fe Bug 1141245 - Skip test_tooltip.xul on windows, for frequent failures; r=me 2017-01-26 15:16:09 -07:00
George Wright
336c9d520c Bug 1314803 - Remove supportsHardwareH264 from about:support r=mattwoodrow 2017-01-26 16:19:29 -05:00
Neil Deakin
b4e25b502a Bug 1332708, open start dragging on a menuitem when dropdown is open, r=mconley 2017-01-26 05:43:30 -05:00
Phil Ringnalda
7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00