Commit graph

15309 commits

Author SHA1 Message Date
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
Dão Gottwald
f6623be0e7 Bug 1348264 - Expose keyboard shortcuts in tooltips for Stop, Reload and Reset Zoom buttons. r=mikedeboer
MozReview-Commit-ID: kTUc5pRdVw

--HG--
extra : rebase_source : 283bde91a2f23fcb11cd4a36b1e4e8ffb1231867
2017-03-22 11:16:48 +01:00
Mike Conley
04de2908f0 Bug 1342849 - Don't do any notifications for newly added background tabs when restoring session. r=mikedeboer
MozReview-Commit-ID: K8YuBMrl9cX

--HG--
extra : rebase_source : f0c85dfe44e669ec550b24a4d70f6cc7553c2639
2017-03-22 01:17:11 -04:00
Dão Gottwald
91b4bdb576 Bug 1349887 - Remove obsolete comment about non-existent _closedDuringPermitUnload flag. r=Gijs
MozReview-Commit-ID: ATYav9S2FGG

--HG--
extra : rebase_source : 59b6dcc66a376d3efafbf38ac102294a5d6759ef
2017-03-23 11:12:13 +01:00
Carsten "Tomcat" Book
9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Wes Kocher
b31e9e6a39 Merge inbound to central, a=merge
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Ganesh Chaitanya Kale
4aa4377a32 Bug 1349502 - Make tabbrowser.xml use AppConstants from the global scope. r=dao 2017-03-22 20:46:24 +05:30
Carsten "Tomcat" Book
534f3aebc6 Merge mozilla-central to mozilla-inbound 2017-03-22 16:13:03 +01:00
Carsten "Tomcat" Book
62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Dão Gottwald
d9a31ef1f2 Bug 1349501 - Let _beginRemoveTab skip the whole permitUnload block for tabs that don't have content attached. r=kevinhowjones 2017-03-22 13:28:58 +01:00
Jan Varga
2232d1fd5c Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng 2017-03-22 12:13:38 +01: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
Kilik Kuo
fddf20e522 Bug 1348601 - Carry IsHandlingUserInput information to media listeners in content.js. r=mrbkap
HTMLMediaElement relies on user's interaction to allow playback when media.autoplay.enabled set to false.

MozReview-Commit-ID: IPZdAAKlrjM

--HG--
extra : rebase_source : c1654b47fc7b14b1a5b5309c38e60d246edafc54
2017-03-22 14:12:41 +08:00
Christoph Kerschbaumer
60bd2c482f Bug 1348801: Teach TriggeringPrincipal about OA when opening link in private window. r=gijs 2017-03-22 07:22:36 +01:00
Mike Conley
f3b33faab4 Bug 1256472 - Account for the possibility that the selectedTab has not yet presented when initting async tab switcher. r=billm
MozReview-Commit-ID: 1mXffrdUBOE

--HG--
extra : rebase_source : 60eb2a789c6c1f881a4f1027a29688c3aaebeb2f
2017-03-17 18:58:57 -04:00
Mike Conley
e7ee65a066 Bug 1256472 - Make sure checkEmptyPageOrigin checks the browser documentURI for about:blank along with the currentURI. r=Gijs
checkEmptyPageOrigin was only checking the currentURI on the passed browser for about:blank, but
sometimes the currentURI isn't the whole picture. For example, SessionStore, after restoring a
window, can cause a number of blank tabs to start to load, be cancelled, and have their history
replaced. This results in a bunch of unrestored background tabs that appear to have currentURI
set to the URI that the tab will be sent to once restored, but a null content principal, since
the original about:blank load was stopped before it could complete.

We side-step this issue by checking both the currentURI and the documentURI for about:blank
when comparing against the null principal for checkEmptyPageOrigin.

MozReview-Commit-ID: Kzm0MthLqVM

--HG--
extra : rebase_source : e6a83368dd99d458333789f9d986e4706cd4d2bf
2017-03-14 16:24:53 -04:00
Gijs Kruitbosch
5da7cd6312 Bug 1348918 - add stupid comments to browser/base/content/test/general/browser.ini to dissuade people from adding tests, r=mossop
MozReview-Commit-ID: 9pP9Vvi1hn

--HG--
extra : rebase_source : bf277577fd9e486c23a819f2e916a2d4755daa9c
2017-03-20 18:06:40 +00:00
Federico Padua
6d421894ad Bug 1145735 - Remove CRH_DIALOG_TREE_VIEW; r=standard8
This patch removes code marked with #ifdef CRH_DIALOG_TREE_VIEW
since it's not used anymore as described in the bug description.

MozReview-Commit-ID: 6VnJIIGtGVl

--HG--
extra : rebase_source : 3c181a33d90ebf4621fee61fe4e667cc11410167
2017-03-21 11:49:14 +01:00
Andreas Pehrson
59edf19913 Bug 1334421 - Re-enable test. r=florian
MozReview-Commit-ID: BgliJ7BtDh5

--HG--
extra : rebase_source : 0b965cfe6d83428313b1a582e7048b97279526c1
2017-03-21 10:09:24 +01:00
Jared Wein
2905dc199f Bug 1348617 - Use the alpha channel of custom styled select backgrounds by applying the requested color on top of the system's background. r=mossop
This matches parity with Google Chrome Canary Version 59.0.3046.0 (Official Build) canary (64-bit).

MozReview-Commit-ID: 3rkhiFv8ezX

--HG--
extra : rebase_source : 3cb05e6c1e048bab4c7573bd050ea7477fc128fb
2017-03-21 10:51:40 -04:00
Carsten "Tomcat" Book
ba50caf91b Merge mozilla-central to autoland 2017-03-21 12:08:43 +01:00
Dão Gottwald
fefc17425c Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5

--HG--
rename : browser/modules/URLBarZoom.jsm => browser/modules/FullZoomUI.jsm
extra : rebase_source : 90a4f8f0b4a3804c3306a4f5bc70d566b288979f
2017-03-21 09:23:24 +01:00
Florian Queze
9ce8e31e44 Bug 1316187 - follow-up to fix failures on Linux x64 asan builds that have the crash reporter disabled, r=bustage-fix. 2017-03-21 02:42:27 +01:00
Wes Kocher
58b733ee2b Bug 1316187 - Followup to fix incoming merge bustage before it happens a=bustage 2017-03-20 18:29:29 -07:00
Wes Kocher
5d7c0bee97 Merge m-c to inbound a=merge
MozReview-Commit-ID: 860fBgcgHiy
2017-03-20 18:28:24 -07:00
Wes Kocher
4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Federico Padua
26d8b036b5 Bug 1346188 - Remove redundant AppConstants.jsm import from browser.js; r=dao
This patch removes the redundant lazy import of AppConstants.jsm from
browser/base/content/browser.js since it gets loaded previously as described
in the bug description.

MozReview-Commit-ID: EoSfSgedgNc

--HG--
extra : rebase_source : 8db27f79b9b43559ed4f94457592b092c5f75942
2017-03-19 16:12:48 +01:00
Florian Quèze
91e394a62b Bug 1316187 - verify that all the chrome files we ship are actually referenced, r=Gijs. 2017-03-18 01:13:28 +01:00
Florian Queze
25f26ab751 Bug 1348570 - Make chrome://weave/locale/ point to the correct folder, r=markh. 2017-03-21 01:31:21 +01:00
Blake Kaplan
c6610ae7fd Bug 1333472 - Try to fix intermittent failures in browser_windowactivation.js. r=Felipe
MozReview-Commit-ID: E1jG1vLznvk

--HG--
extra : rebase_source : 31417c4ab76f822462e4e7367ae37bbfe7a4d411
2017-03-15 14:53:12 -07:00
Thomas Nguyen
405f2f52de Bug 1345569 - Get blocked info from content when clicking report false deceiptive site from xul browser. r=francois
MozReview-Commit-ID: GXkbjfOrnHX

--HG--
extra : rebase_source : 7130d656b0dfd2f0cbc64227657347efdce54036
2017-03-20 14:43:08 +08:00
Wes Kocher
19c596cba2 Bug 1341191 - ESlint followup a=bustage
MozReview-Commit-ID: 4lDdvZoklM

--HG--
extra : rebase_source : 33a02db3d33f853f0680083a07fdeec55ce794a0
2017-03-20 13:11:45 -07:00
Timothy Guan-tin Chien
4e61315b53 Bug 1273537. r=gijs 2017-03-20 15:57:45 -04:00
Jonathan Kingston
49113725c4 Bug 1341191 - Fix messaging priv escalation of feed reader, simplify messaging from parent to child. Reduce race conditions on page. r=Gijs 2017-03-19 06:29:17 +00:00
Joel Maher
8d71596a02 Bug 1332646 - Intermittent browser/base/content/test/popupNotifications/browser_popupNotification_5.js. disable for now. r=gbrown
MozReview-Commit-ID: JJmkqsGzCzL
2017-03-20 11:48:52 -04:00
Mike Conley
c025960099 Bug 1340842 - Add FX_TAB_CLOSE_PERMIT_UNLOAD_TIME_MS probe to measure how long it takes to run permitUnload on a tab when asked to close. r=liuche,mossop, data-review=liuche
MozReview-Commit-ID: 1qvhY6g2p9w

--HG--
extra : rebase_source : ba7c043ac4720dadfcbee7d1e7957fa4dc13753f
2017-03-16 15:46:15 -04:00
Mike Conley
fa29583b8b Bug 1340842 - Add tests for FX_TAB_CLOSE_TIME_ANIM_MS and FX_TAB_CLOSE_TIME_NO_ANIM_MS probes. r=mossop
MozReview-Commit-ID: B9tLzrvBg04

--HG--
extra : rebase_source : 009f32f1a8d242c66fd1a66bf07eb47d8242f9b4
2017-03-17 09:50:00 -04:00
Mike Conley
a792e520a7 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -04:00
Mike Conley
f2e31c6833 Bug 1340842 - Add FX_TAB_CLOSE_TIME_ probes to measure how long it takes for tabs to close. r=liuche,mossop, data-review=liuche
We're adding histograms for both animated tab closing and non-animated tab closing to
avoid a needlessly bi-modal histogram.

MozReview-Commit-ID: J4MzsiwaLcT

--HG--
extra : rebase_source : 82433a160ec8b0e3810758146113f7d0b770857b
2017-03-16 15:40:25 -04: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
Carsten "Tomcat" Book
244eda4665 Backed out changeset a983c5ce4bc3 (bug 1340842) 2017-03-22 16:40:06 +01:00
Carsten "Tomcat" Book
c35121e343 Backed out changeset b3abd0e89699 (bug 1340842) 2017-03-22 16:40:02 +01:00
Carsten "Tomcat" Book
29fc854fd4 Backed out changeset 57ae2dd78f79 (bug 1340842) 2017-03-22 16:39:59 +01:00
Carsten "Tomcat" Book
73d1f94d1b Backed out changeset d24bb78a585c (bug 1340842) 2017-03-22 16:39:55 +01:00
Carsten "Tomcat" Book
4fc85d9151 Merge mozilla-central to autoland 2017-03-22 16:11:34 +01:00
Mark Banner
c4b57bd0a9 Bug 1345991 - SVG Image Elements aren't displayed in the Page Info view media list. r=florian
MozReview-Commit-ID: LlHwl2Kn1Vk

--HG--
extra : rebase_source : 3857ae00d7fb5a5747e3a687dcbb26c5714187f6
2017-03-20 23:40:44 +01:00
Sebastian Hengst
942fb2ec3d Backed out changeset fd87a4b1a4b5 (bug 1345991) for bustage. r=backout 2017-03-22 15:37:27 +01:00