Commit Graph

6982 Commits

Author SHA1 Message Date
Timothy Guan-tin Chien
6b50756b5d Bug 1449532 - Part III, Polyfill Web Animation API features r=Gijs
The Animation and KeyframeEffect constructors and the finshed promise are not
enabled on release channel currently. The polyfill is added to make sure
we don't break on release.

When the feature ships, removing the polyfill should be as easy as
reverting this changeset.

MozReview-Commit-ID: 2EWN7hBN5tj

--HG--
extra : rebase_source : 19290268e281fc631458eb64745bea000994c3e7
2018-03-31 11:31:36 +08:00
Timothy Guan-tin Chien
2bda996769 Bug 1449532 - Part II, Use Web Animation API to animate video control transition r=Gijs
Web Animation API should give us deterministic timing when the transition ends or aborts.

Additional clean-ups:

- Make sure hidden status is always set/get from the hidden property,
  instead of the hidden attribute.
- Remove the unused isControlBarHidden property.
- controlsSpacer no longer has a background color (removed in bug 1374007),
  therefore it no longer needs a transition and there is no need to test
  its state with the test added in bug 1319301.
- Fix a logic error at hideByAdjustment property, revealed by the changed
  transition timing, in which adjustControlSize() would show the controlBar
  set hidden by the transition.

MozReview-Commit-ID: DB2cgQcUEXi

--HG--
extra : rebase_source : 2a715038197aa29d3eaf837fad85797ec1e98b15
2018-03-30 00:21:03 +08:00
Timothy Guan-tin Chien
e4fc6df0d3 Bug 1449532 - Part I, Backed out changeset 99fc41ec7ce9 (Bug 1444489 Part VIII) r=Gijs
MozReview-Commit-ID: LQhZq0RlOvi

--HG--
extra : rebase_source : 7d8083da7205cdd5abfd2669871b405b9e52718f
2018-03-28 19:22:03 +08:00
Emilio Cobos Álvarez
a17a42449f Bug 1450619: Remove useless extends= from the browser bindings. r=dao
MozReview-Commit-ID: 9amwVpbneQl

--HG--
extra : rebase_source : 24aacfd640d283b202332ee40814344c1f8af442
2018-04-02 05:59:51 +02:00
Emilio Cobos Álvarez
052e573e8b Bug 1450653: Remove useless extends= in menubar bindings. r=dao
This is only applied to menubars already, and this binding is not extended, so
should be an idempotent change.

MozReview-Commit-ID: 8DiDTC8KBjR

--HG--
extra : rebase_source : c80abf06eca30bdd478083693342ce2c277d5e22
2018-04-02 13:14:08 +02:00
Brad Werth
04fabeafd1 Bug 1451115 Part 2: Update ZoomManager.getZoomForBrowser() to survive being passed a browser without a zoom level set. r=mossop
MozReview-Commit-ID: LbpiKUm3um

--HG--
extra : rebase_source : 9532a137ae9ae086c8a39befd105f4b7ec453bda
2018-04-03 13:47:51 -07:00
Timothy Guan-tin Chien
16ed0344b6 Bug 1450013 - Remove throbber/spinner from mobile video controls. r=Gijs
MozReview-Commit-ID: SgPgfjt4LJ

--HG--
extra : rebase_source : 1871c299280eaf43ff484bee1e5991e4be54a1c3
2018-04-02 14:45:52 +08:00
Peter Van der Beken
5e6f3328ec Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz.
--HG--
extra : rebase_source : 2938f6e1cb9078a6d45a8d58db0f6bf70e461b9c
2018-02-16 15:28:31 +01:00
Paolo Amadini
bd53878f66 Bug 1434860 - Part 2 - Remove support for menu-button toolbar buttons. r=enn
MozReview-Commit-ID: MTLaIPzg7a

--HG--
extra : rebase_source : edcefa844e36f8e1ff4199580502d516d26b0f8f
extra : amend_source : ca4896a89bb7b45aef8d782d31e47d4ed3be5351
extra : source : 54f36172186d7345c6aeb92fd3c1254717156767
2018-04-03 16:26:03 +01:00
smswessem
3814c98b00 Bug 1358240 - Replace EmojiOne with Twemoji, r=jfkthame, timdream
--HG--
extra : rebase_source : cb1d370dc4fbff33f6022acf393126e0965089de
2018-03-08 18:23:19 -06:00
UK992
fa9dc40ccb Bug 1373921 - Remove duplicated css code from about:support/profiles/url-classifier. r=dao 2017-10-25 22:50:01 +02:00
Brindusan Cristian
1f01a16a9b Backed out changeset cbf007a7027f (bug 1371523) for browser chrome failures on toolkit/content/tests/browser/browser_findbar.js CLOSED TREE 2018-03-31 01:16:09 +03:00
Gijs Kruitbosch
1037d799f9 Bug 1371523 - remove find bar sync ipc message, r=mikedeboer
MozReview-Commit-ID: C0VO0U3UJ76

--HG--
extra : rebase_source : 01e33223409023b03bd2ac83652953cc586be1ae
2018-03-21 17:10:40 +00:00
Olli Pettay
1325716efc Bug 1443958 - Synthesizing a click() on input type=date should not show the date picker UI , r=mconley 2018-03-30 02:51:17 +03:00
Gurzau Raul
8d268c6ce7 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Gurzau Raul
d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
David Major
633025855c Bug 1439988: Use a full progress meter to avoid flakiness from animation. r=enndeakin 2018-03-28 12:32:10 -04:00
ui.manish
ca709a63db Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Tom Ritter
449237fc51 Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.

MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Xidorn Quan
2b0ae4061a Bug 1448760 - Don't try to center window after load when the size mode is not normal. r=bz
MozReview-Commit-ID: Ainh34XuvFg

--HG--
extra : rebase_source : 034caa4085d7fd3836d3f3bf5fb3c7390dc785a7
2018-03-27 23:38:00 +11:00
Coroiu Cristina
f7507f7dd5 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Xidorn Quan
c8c4816b4f Bug 1446264 part 5 - Add test for this bug. r=bz
MozReview-Commit-ID: DS2ucDd0Met

--HG--
extra : rebase_source : 6a4b9d8dfd7b96f83412ec7f711ffa1e71c0c86a
2018-03-19 14:35:19 +11:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Jean-Yves Avenard
87fa7068d5 Bug 1432779 - P4. Remove the concept of preferred layout. r=padenot,r=kamidphish
Channel layout is derived by the content being played. The concept of preferred layout is meaningless. Either we have a layout defined, or we don't. There's no in-between.

So we remove it.

MozReview-Commit-ID: CSCAInNmzMS
2018-03-24 10:57:59 +01:00
Csoregi Natalia
0fc607c372 Backed out 2 changesets (bug 1447056) for devtools failures on browser_toolbox_hosts_size.js. CLOSED TREE
Backed out changeset fc2c96c7b470 (bug 1447056)
Backed out changeset 52b1ebf43592 (bug 1447056)
2018-03-24 06:58:41 +02:00
Xidorn Quan
475e40f1d4 Bug 1447056 part 2 - Invoke Resize in SetSizeConstraints with the current size to apply the new constraints. r=bz
MozReview-Commit-ID: 9kRcDHTPCqt

--HG--
extra : source : 1c6a0b0aae636f658555d4e2261eb3731df71f65
2018-03-23 12:51:15 +11:00
Olli Pettay
cad5fadca7 Bug 1445207, populate input type=date's .value when changing the value in the UI, r=mconley
--HG--
extra : rebase_source : 76e1cac71d1e432099e3e18f4e48270cbdc1dca2
2018-03-23 20:06:01 +02:00
Narcis Beleuzu
cd3a1211e2 Merge inbound to mozilla-central. a=merge 2018-03-23 11:51:38 +02:00
Emilio Cobos Álvarez
d02390ae72 Bug 1448173: Remove stylo about:support stuff. r=xidorn
Summary: I missed them while removing --enable-stylo.

Reviewers: xidorn

Bug #: 1448173

Differential Revision: https://phabricator.services.mozilla.com/D793

MozReview-Commit-ID: s8WwyT2aql
2018-03-23 00:09:17 +01:00
Timothy Guan-tin Chien
8bc65dd64e Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig

--HG--
extra : rebase_source : 7b6b24330d072d5126851c63614ba91f4315ddc9
2018-03-20 17:21:19 +08:00
Andreea Pavel
62b7a93603 Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 2491f8caeffa (bug 1446157)
Backed out changeset be65061c2d72 (bug 1446157)
Backed out changeset de560a993de1 (bug 1446157)
2018-03-22 18:49:31 +02:00
Timothy Guan-tin Chien
aa45f889db Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig

--HG--
extra : rebase_source : 382083ebb3fd2d1b10c70df314bd67ce5ded1f08
2018-03-20 17:21:19 +08:00
Timothy Guan-tin Chien
e470a057a1 Bug 1444489 - Part VIII, Transition the visibility property instead of using transitionend event r=Gijs
Fades out all the UIs by applying CSS transition on opacity and visibility.
Stop relying on transitionend event to set the hidden state.

This removes a source of intermittent failure and while making sure UIs are
hidden.

MozReview-Commit-ID: FR7JQn4eO3X

--HG--
extra : rebase_source : d62faf9eb8c1cab72e9a0e445974be67e7ff5c85
2018-03-16 06:55:58 +08:00
Timothy Guan-tin Chien
7bb6d96e15 Bug 1444489 - Part VII, nit: Improve naming consistency in videocontrols.xml r=Gijs
Convert all is* methods to getter or rename them if they take arguments.

MozReview-Commit-ID: GOJzz0JYGnq

--HG--
extra : rebase_source : 86539c3e5d85b2d6cbe1455e2b36f8e831773b2e
2018-03-14 13:41:20 +08:00
Timothy Guan-tin Chien
164b1df8be Bug 1444489 - Part VI, Enlarge the size of controls on mobile r=e7358d9c+590837,Gijs
Enlarge controls by around 1.3x, which is the size of the original touch controls.

MozReview-Commit-ID: kpgFFIW2hh

--HG--
extra : rebase_source : 66636a0cb15a17ef15c2a2307a2f9100c1852480
extra : source : ae615321dc9b3e6276d8e79285d0e9d65b6d6bc2
2018-03-09 17:00:51 -08:00
Timothy Guan-tin Chien
1543c98d18 Bug 1444489 - Part IV, Implement Casting UI on videoControls r=Gijs
Optimize and re-commit the casting buttons SVG removed from the previous commit.

MozReview-Commit-ID: GICxaRZXTiJ

--HG--
rename : mobile/android/themes/geckoview/images/videocontrols-cast-active.svg => toolkit/themes/shared/media/castingButton-active.svg
rename : mobile/android/themes/geckoview/images/videocontrols-cast-ready.svg => toolkit/themes/shared/media/castingButton-ready.svg
extra : rebase_source : 099416d0d03e5ab85ec5387f00911889db97d3e2
extra : source : 79a159f175227eae35648ffbeddcc58e77ef19cf
2018-03-09 17:39:44 -08:00
Timothy Guan-tin Chien
4f09c97784 Bug 1444489 - Part III, Workaround bug 718107 r=Gijs
The videocontrols binding will be destroyed and reattached when the video
enters/leaves fullscreen. This change accounts for that so that screen
orientation is correctly set on mobile.

MozReview-Commit-ID: 7D1gkiuXZtX

--HG--
extra : rebase_source : 61612a04af72e8297f6c54cfe66c097b97a76634
2018-03-21 15:19:00 +08:00
Timothy Guan-tin Chien
64808cfafc Bug 1444489 - Part II, Replace touchControls with videoControls and remove touchControls r=Gijs
Also migrates TouchUtils to videoControls in order to keep some interactions.

Removed the casting button from TouchUtils (to be add back to Utils in the next
commit; not removing the SVG images for hg annotation)

MozReview-Commit-ID: DzhmjykCLzu

--HG--
extra : rebase_source : d77dfe3e2d9de2087d21dc2fb9b1773e710177d7
2018-03-21 15:10:20 +08:00
Timothy Guan-tin Chien
de835f3700 Bug 1444489 - Part I, Convert noControls binding to HTML content r=Gijs
The noControls binding is bound to <video> without controls on mobile
(see geckoview/content.css), and is only visible when the video is
blocked because of background autoplay.

MozReview-Commit-ID: KZqlQedCjd5

--HG--
extra : rebase_source : c5f619b0849ee56f957e9017ab2627d592a3285e
2018-03-12 22:30:03 +08:00
Coroiu Cristina
8196de4a04 Backed out 7 changesets (bug 1446264) for wpt failures at html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html
Backed out changeset 7b9a6f304c95 (bug 1446264)
Backed out changeset af69031d49a0 (bug 1446264)
Backed out changeset 27efbd3b9218 (bug 1446264)
Backed out changeset 2280d7116066 (bug 1446264)
Backed out changeset 8e3dd0825df9 (bug 1446264)
Backed out changeset f9f4a91b3edb (bug 1446264)
Backed out changeset 38995f6de9df (bug 1446264)
2018-03-22 01:55:12 +02:00
Xidorn Quan
dfe0184bd4 Bug 1446264 part 7 - Add test for this bug. r=bz
MozReview-Commit-ID: DS2ucDd0Met

--HG--
extra : rebase_source : 1bd193bf2386dcd5ad93520997b0988695fe45ec
2018-03-19 14:35:19 +11:00
Timothy Guan-tin Chien
9f501047f2 Bug 1446009 - Remove groupbox-base binding by moving groupbox.css into components.css r=enndeakin+6102
MozReview-Commit-ID: 1XVuuXNX0Eq

--HG--
extra : rebase_source : 33baa65c0961659c203c11f422c6b639ad1c0ccc
2018-03-20 15:15:40 +08:00
Matt Claypotch
414fdbfb7b Bug 1446163 - Remove the splitter binding r=enn 2018-03-16 14:53:00 +02:00
shindli
7b0e5ad3eb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-20 12:16:52 +02:00
shindli
55e9f63bac Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00
Boris Zbarsky
89ea512161 Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:

MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h

MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Eliza Balazs
9521b7e647 Bug 1262679 - Edited the test case. r=jmaher 2018-03-15 01:16:00 +02:00
Emilio Cobos Álvarez
500ff7c746 Bug 1446342: Don't include forms in the scope chain for XBL datetime bindings. r=smaug
Reviewers: smaug

Bug #: 1446342

Differential Revision: https://phabricator.services.mozilla.com/D769

MozReview-Commit-ID: HK7nChYf0X6
2018-03-20 01:34:09 +01:00
arthur.iakab
877c99c523 Merging mozilla-inbound to mozilla central a=merge 2018-03-19 12:43:31 +02:00
Masayuki Nakano
1c1a60c08d Bug 1446253 - Make EventUtils.synthesizeComposition() dispatch keydown and keyup event in default r=smaug
We'll start to dispatch keydown event and keyup event even during composition.
So, for testing those events won't break our UI, we should make
EventUtils.synhtesizeComposition() and EventUtils.synthesizeCompositionChange()
dispatch keydown event and keyup event even if callers don't specify keyboard
event explicitly.

Typically, "keydown" event is marked as "processed by IME", i.e., keyCode
value is set to DOM_VK_PROCESSKEY and key is set to "Process", with our
widget which handles native IME and key input.  On the other hand, "keyup"
is NOT marked as so.

Therefore, this patch makes TextInputProcessor emulates this behavior without
any new special flags.  And for making possible to emulate special cases,
this patch adds two flags to nsITextInputProcessor.  One is
KEY_DONT_MARK_KEYDOWN_AS_PROCESSED.  The other is KEY_MARK_KEYUP_AS_PROCESSED.
Unfortunately, those flags have opposite meaning but this must be better than
making necessary to one flag for emulating usual keydown/keyup events.

Finally, this makes some tests specify better keyboard information to
synthesizeComposition() and synthesizeCompositionChange() to emulate
actual keyboard events during composition.

MozReview-Commit-ID: ItYaXILkNQE

--HG--
extra : rebase_source : e50cc77c1efbc12686d7ea334d41926c7392b30d
2018-03-16 22:35:07 +09:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Gurzau Raul
3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Sebastian Hengst
d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Dão Gottwald
487924b63b Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Tiberius Oros
a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Yuki Hiroshi
6f6e95b2d4 Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Brindusan Cristian
ed15f7d5a4 Backed out changeset 83dffebb1536 (bug 1440573) for bc failures on browser_policy_disable_safemode.js CLOSED TREE 2018-03-16 05:15:39 +02:00
Yuki Hiroshi
22e8dbd8fb Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Tim Nguyen
f74cd699cc Bug 1445100 - Remove pageReport property from browser binding. r=Paolo 2018-03-15 17:56:48 +00:00
Dão Gottwald
114738a496 Bug 1443937 - Make the autoscroll popup explicitly consume outside clicks. r=enn 2018-03-15 13:14:50 +01:00
shindli
9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Kris Maglione
83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Matheus Longaray
53dc7c4c01 Bug 1440638 - Render error message for the Simplify Page document. r=mconley
This patch renders error message for the Simplify Page document when
Reader Mode fails to parse original document. This patch also adds a test
to reliably produce a readable document that returns a parsing error when
run through the readability library.

MozReview-Commit-ID: 686mBkU9eVM

--HG--
extra : rebase_source : 154e840c89e0c8ff380dc9551c8fde93711d510d
2018-03-07 10:35:56 -03:00
Shane Caraveo
a62b33d946 Bug 1445080 - fix handling of remote web progress for non-tab browsers, r=Gijs,mconley
Ensure remoteWebProgress is initialized for remote browsers.  Includes devtools fix from jryans.

MozReview-Commit-ID: Ce3TzwkNnyi

--HG--
extra : rebase_source : 0f2bcb96ef04f4eaee447180dc21400dca3bf410
2018-03-14 09:12:26 -05:00
Mantaroh Yoshinaga
265d370527 Bug 1419226 - Part 1.Change observing target window of MozAfterPaint. r=mconley
Previous code, print preview waits for content window's MozAfterPaint. However
gecko prevents send MozAfterPaint to content window[1]. So this code will not
work correctly. However, software timer of firing MozAfterPaint ran this code.[2]
This patch will
  * Change the observing content window to chrome window.
  * Add timer of MozAfterPaint event in order to ensure this event even if display
    list invalidation doesn't invalidate. Gecko create this timer in nsPresContext
    previously[2], but this bug will remove it

[1] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#2452
[2] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#3466-3472

MozReview-Commit-ID: GcuKPjn0qhc

--HG--
extra : rebase_source : 9881f20963aa0dd9aea063a2739128522be8f663
2018-03-14 10:14:50 +09:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Boris Zbarsky
20e0796330 Bug 1447472 part 3. Remove nsIDOMNSEvent. r=qdot
MozReview-Commit-ID: HT1gskFxEZL
2018-03-26 14:53:53 -04:00
Boris Zbarsky
9851f29e1d Bug 1448391. Remove pointless QI in tree's 'view' getter. r=gijs 2018-03-26 13:35:04 -04:00
Tim Nguyen
74e6b6b1e9 Bug 1445099 - Remove unused properties from browser binding. r=enndeakin 2018-03-26 16:32:37 +02:00
Tim Nguyen
635ae2f3e3 Backed out changeset 2ccae202b2c2 (bug 1445099) for landing the wrong patch 2018-03-26 16:30:12 +02:00
Tim Nguyen
0646b66ea2 Bug 1445099 - Remove unused properties from browser binding. r=enndeakin
--HG--
rename : toolkit/themes/linux/global/numberbox.css => toolkit/themes/shared/numberbox.inc.css
2018-03-26 16:28:06 +02:00
Zibi Braniecki
2a5bdb3ede Bug 1407240 - Add mozIntl.RelativeTimeFormat. r=jfkthame
MozReview-Commit-ID: FjqmqNTbbgk

--HG--
extra : rebase_source : 05c947e9f4dd9707005ea1ed68160ec4b30bad6c
2017-10-10 09:28:39 -07:00
manikishan
92de2db258 Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Marco Castelluccio
afb2edbbe3 Bug 1444591 - Reenable some tests in the Windows coverage build that started passing because of a Clang update. r=jmaher
--HG--
extra : rebase_source : 5acb0d074c244211590abd9cc83701adb93f5ef0
2018-03-10 20:35:25 +00:00
Tim Taubert
6ded2cf370 Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1430150

Differential Revision: https://phabricator.services.mozilla.com/D638

--HG--
rename : dom/webauthn/tests/cbor/cbor.js => dom/webauthn/tests/cbor.js
extra : amend_source : f137c2aebea5797cd07d4500cb71c2b9be4e4844
2018-03-11 18:47:14 +01:00
Kris Maglione
e4b6dffc2a Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley
MozReview-Commit-ID: AHwNsBB7OAQ

--HG--
extra : rebase_source : d25b9ce77529130b98b6199d9c9e06c3890a2f87
2018-03-07 18:10:24 -08:00
Emilio Cobos Álvarez
70a3b5a0c6 Bug 1444036: Remove trivial uses of getPropertyCSSValue. rs=johannh
getPropertyCSSValue("foo").cssText is the same as getPropertyValue("foo").

MozReview-Commit-ID: HxdSr4749hi
2018-03-08 12:39:36 +01:00
Prathiksha
b360ee3691 Bug 1435160 - Format notification popup description message in a helper function. r=johannh
MozReview-Commit-ID: Bwy2WrbXjUf

--HG--
extra : rebase_source : 7560c426f8e3fbfb102cfcba1ef7f15fc112ec38
2018-02-28 02:01:55 +05:30
shindli
568f98c908 Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
Andreea Pavel
2d590755fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-07 17:21:25 +02:00
Paolo Amadini
d8a9df9c85 Bug 1363061 - Rename toolkit/components/jsdownloads to toolkit/components/downloads. r=mak
MozReview-Commit-ID: GuWeax0ubv3

--HG--
rename : toolkit/components/jsdownloads/src/DownloadCore.jsm => toolkit/components/downloads/DownloadCore.jsm
rename : toolkit/components/jsdownloads/src/DownloadHistory.jsm => toolkit/components/downloads/DownloadHistory.jsm
rename : toolkit/components/jsdownloads/src/DownloadIntegration.jsm => toolkit/components/downloads/DownloadIntegration.jsm
rename : toolkit/components/jsdownloads/src/DownloadLegacy.js => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/jsdownloads/src/DownloadList.jsm => toolkit/components/downloads/DownloadList.jsm
rename : toolkit/components/jsdownloads/src/DownloadPaths.jsm => toolkit/components/downloads/DownloadPaths.jsm
rename : toolkit/components/jsdownloads/src/DownloadPlatform.cpp => toolkit/components/downloads/DownloadPlatform.cpp
rename : toolkit/components/jsdownloads/src/DownloadPlatform.h => toolkit/components/downloads/DownloadPlatform.h
rename : toolkit/components/jsdownloads/src/DownloadStore.jsm => toolkit/components/downloads/DownloadStore.jsm
rename : toolkit/components/jsdownloads/src/DownloadUIHelper.jsm => toolkit/components/downloads/DownloadUIHelper.jsm
rename : toolkit/components/jsdownloads/src/Downloads.jsm => toolkit/components/downloads/Downloads.jsm
rename : toolkit/components/jsdownloads/src/Downloads.manifest => toolkit/components/downloads/Downloads.manifest
rename : toolkit/components/jsdownloads/src/moz.build => toolkit/components/downloads/moz.build
rename : toolkit/components/jsdownloads/public/mozIDownloadPlatform.idl => toolkit/components/downloads/mozIDownloadPlatform.idl
rename : toolkit/components/jsdownloads/test/browser/.eslintrc.js => toolkit/components/downloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/browser.ini => toolkit/components/downloads/test/browser/browser.ini
rename : toolkit/components/jsdownloads/test/browser/browser_DownloadPDFSaver.js => toolkit/components/downloads/test/browser/browser_DownloadPDFSaver.js
rename : toolkit/components/jsdownloads/test/browser/head.js => toolkit/components/downloads/test/browser/head.js
rename : toolkit/components/jsdownloads/test/browser/testFile.html => toolkit/components/downloads/test/browser/testFile.html
rename : toolkit/components/jsdownloads/test/data/.eslintrc.js => toolkit/components/downloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/empty.txt => toolkit/components/downloads/test/data/empty.txt
rename : toolkit/components/jsdownloads/test/data/source.txt => toolkit/components/downloads/test/data/source.txt
rename : toolkit/components/jsdownloads/test/unit/.eslintrc.js => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/common_test_Download.js => toolkit/components/downloads/test/unit/common_test_Download.js
rename : toolkit/components/jsdownloads/test/unit/head.js => toolkit/components/downloads/test/unit/head.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadCore.js => toolkit/components/downloads/test/unit/test_DownloadCore.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadHistory.js => toolkit/components/downloads/test/unit/test_DownloadHistory.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js => toolkit/components/downloads/test/unit/test_DownloadIntegration.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js => toolkit/components/downloads/test/unit/test_DownloadLegacy.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadList.js => toolkit/components/downloads/test/unit/test_DownloadList.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js => toolkit/components/downloads/test/unit/test_DownloadPaths.js
rename : toolkit/components/jsdownloads/test/unit/test_DownloadStore.js => toolkit/components/downloads/test/unit/test_DownloadStore.js
rename : toolkit/components/jsdownloads/test/unit/test_Downloads.js => toolkit/components/downloads/test/unit/test_Downloads.js
rename : toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js => toolkit/components/downloads/test/unit/test_PrivateTemp.js
rename : toolkit/components/jsdownloads/test/unit/xpcshell.ini => toolkit/components/downloads/test/unit/xpcshell.ini
extra : rebase_source : 7062bc9278460abf0da3f1ae2ba02daa3c4f6abc
2018-03-06 17:40:59 +00:00
Xidorn Quan
dcd5c4908e Bug 1442521 - Make width/height attr on <window> mean the inner size in nsXULWindow. r=bz
It seems that the layout system assumes those attributes are for size of
the <window> element, i.e. inner window size, not outer window size.

See for example nsContainerFrame::SyncWindowProperties. It reads
{min,max}{width,height} attributes from the element via
nsIFrame::GetXUL{Min,Max}Size, and passes them into SetSizeConstraints.
The latter inflates the sizes with window decoration size before calling
into widget code. It can also be seen that various XUL size related
methods on nsBox and nsIFrame put the same assumption.

The test test_windowminmaxsize.xul apparently puts the same assumption
as the layout system on the meaning of those properties.

(Another test test_resize_move_windows.xul, which tests effectiveness of
features of window.open, also fails if we size the window earlier than
current in bug 1439875, and doesn't fail with this patch on top. It may
indicate that it makes use of the same assumption, but I can't really
figure out how it does so.)

MozReview-Commit-ID: IdMwDc59Ltg

--HG--
extra : rebase_source : ae46c23e450f556cc4608b512890c4e27cf8623e
2018-03-02 22:42:57 +11:00
Neil Deakin
2f736750c6 Bug 1440146, remove unused menubutton-item binding, r=bgrins 2018-03-06 10:10:34 -05:00
Dão Gottwald
63def97e4c Bug 1442961 - Remove the windowdragbox element and binding. r=jaws
MozReview-Commit-ID: JZVMty8qMCP

--HG--
extra : rebase_source : 0f065f0f82e94775fa1d74812e948d88d2516d24
2018-03-05 14:54:03 +01:00
Timothy Guan-tin Chien
e1b7b86b11 Bug 1442029 - Move XBL accessibility role="xul:colorpicker" and role="xul:colorpickertile" into XULMap.h r=enndeakin+6102,surkov
- Remove the colorpickertile binding as it's no longer useful.
- Remove nsAccessibilityService::CreateAccessibleByType() as it has nothing to do anymore.
- Remove nsCoreUtils::XBLBindingRole()

MozReview-Commit-ID: E21yljdsSLl

--HG--
extra : rebase_source : f0db5893107ee0c493291c7c0bafaaef1d4bcffa
2018-03-02 09:53:55 -08:00
Timothy Guan-tin Chien
bcee161778 Bug 1439773 - Move XBL accessibility role="xul:text" and role="xul:link" into XULMap.h r=enndeakin+6102
MozReview-Commit-ID: 4RY0ttkwbCB

--HG--
extra : rebase_source : 398c648110d84e34d55a64e1528a8b239d618670
2018-03-02 09:50:39 -08:00
Brendan Dahl
77ac1fd5c8 Bug 1441378 - Replace baseMenuOverlay.xul with inlining and preprocessing. r=Gijs
The overlay defined two elements (helpMenu, menu_ToolsPopup) for all
platforms and three others (windowMenu, baseMenuCommandSet, baseMenuKeyset)
that were MacOS only. The two all platform elements and windowMenu were only
used once and inlined into browser-menubar.inc. The rest of the MacOS only
elements were conditionally inlined into browser-sets.inc.

MozReview-Commit-ID: D2uyCrnepuH

--HG--
extra : rebase_source : a3f7ecaf70c55574ee87091027a651ce429c6876
2018-02-26 16:49:34 -08:00
Felipe Gomes
77637dd978 Bug 1426362 - Display status of policy engine in about:support. r=bytesized
This also changes the const values of nsIEnterprisePolicies to a more common numbering pattern.

MozReview-Commit-ID: CKs1TWGMqJN

--HG--
extra : rebase_source : 117a6587e56ffbe9a10818b93ed42bb8583a4826
2018-03-02 15:28:14 -03:00
Timothy Guan-tin Chien
5dbdc07e62 Bug 1439778 - Move XBL accessibility role="xul:panel" into XULMap.h r=surkov
MozReview-Commit-ID: LqdGEZqRTWA

--HG--
extra : rebase_source : 3c09fad59731eca97024bf52f68180c254c4e8ee
extra : source : adbe14b1537b1cb1ec3f390ed3703edbfeb799d8
2018-03-01 13:21:00 -08:00
Brian Grinstead
9b9297326d Bug 1442507 - Remove unused sborient attribute in scrollbar binding; r=enndeakin+6102
MozReview-Commit-ID: 5nsunzHMJVu

--HG--
extra : rebase_source : ff97269bcd52ad38ad8eb7f852170d10165ddd24
2018-03-01 20:18:28 -08:00
Tiberius Oros
61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
shorlander@mozilla.com
f5f4c8d3a1 Bug 1410498 - Fix autoscroll image. r=dao
--HG--
extra : rebase_source : cf0f0c0d4f7013794be2bf0b2dfe43c87934ce22
2018-02-27 12:46:00 +02:00
Florian Quèze
8922be9c58 Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8. 2018-02-28 18:51:35 +01:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brendan Dahl
f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Brian Grinstead
ae62dc9519 Bug 1431522 - Remove the 'thumb' binding;r=enndeakin+6102+6102
MozReview-Commit-ID: JioZr8WAuPw

--HG--
extra : rebase_source : ceb229c1c19713462a617127cd9a32924775b146
2018-01-19 08:08:49 -08:00
Valentin Gosu
84b854ce2c Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.

MozReview-Commit-ID: 3cK5HeyzjFE

--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Valentin Gosu
710c2e2fc9 Bug 1433958 - Change code that sets nsIURI.filePath to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GYHpakKPEbe

--HG--
extra : rebase_source : 521966b446284fbe215dfc8518acafc5de9ded5c
2018-02-26 20:43:45 +01:00
Narcis Beleuzu
3c7a86585c Bug 1441175 - Remove isDebugBuild - toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul fails on win10-debug. r=jmaher
--HG--
extra : rebase_source : 03662177cd5ad309ac833983b639f8762f84ba47
2018-02-26 18:26:51 +02:00
Narcis Beleuzu
7e03e89ed8 Backed out changeset 00b83d62b16b (bug 1441175) for reftest failures "SyntaxError: missing )". CLOSED TREE 2018-02-26 18:16:25 +02:00
Narcis Beleuzu
6b233bebe1 Bug 1441175 - Remove_isDebugBuild toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul fails on win10-debug. r=jmaher 2018-02-26 17:22:05 +02:00
Andrew Halberstadt
0ecd6cd8a4 Bug 1353461 - Mark toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul fails on Windows, r=jmaher
This test is already marked fails-if on Windows 8 and all OSX. With
run-by-manifest enabled it also starts failing on Windows 7 and 10. The fix
will be tracked in bug 1439988.

MozReview-Commit-ID: 14xidhwXCue

--HG--
extra : rebase_source : 391fbc0d0b3ee349cde9cb5d57ac9c3cb1d36bcc
2018-02-23 15:52:38 -05:00
Andreea Pavel
b469db5c90 Backed out changeset ba1524e32b04 (bug 1373055) for causing a frequency uptick of bug 1430466 2018-02-25 15:09:08 +02:00
Sebastian Hengst
e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Timothy Guan-tin Chien
e10deafe48 Bug 1439761 - Move XBL accessibility role="xul:textbox" and role="xul:combobox" into XULMap.h r=enndeakin+6102
MozReview-Commit-ID: uKaDb2QafK

--HG--
extra : rebase_source : 95785a8d4d36928c79c62f9bce3065bb3633ad62
2018-02-28 11:47:58 -08:00
Timothy Guan-tin Chien
0b070afeaf Bug 1437873 - Move XBL accessibility role="xul:toolbarbutton" and role="xul:button" into XULMap.h r=enndeakin+6102
This patch intentionally re-map the following controls from button to toolbarbutton

- browser/components/downloads/content/download.xml#download-subview-toolbarbutton
- toolkit/content/widgets/toolbarbutton.xml#menu-button

MozReview-Commit-ID: E806LA6NAvC

--HG--
extra : rebase_source : 8e7534dc34f95e1d0cc6d00370475cc796acc36e
2018-02-28 11:35:57 -08:00
Timothy Guan-tin Chien
26bfe8c245 Bug 1440392 - Move XBL accessibility role="xul:menupopup" into XULMap.h r=enndeakin+6102
MozReview-Commit-ID: IeR805H6qW8

--HG--
extra : rebase_source : 883ddd2f08b985000563646d48972caa28aee0bd
2018-02-28 11:26:51 -08:00
Timothy Guan-tin Chien
7f19212a77 Bug 1440393 - Move XBL accessibility role="xul:scale" and "xul:thumb" into XULMap.h r=enndeakin+6102
MozReview-Commit-ID: 2A264v5AdSV

--HG--
extra : rebase_source : 107413fb5370c0011a59727998f2a5abb77e1192
2018-02-22 10:24:25 -08:00
Timothy Guan-tin Chien
532ec53371 Bug 1440391 - Move XBL accessibility role="outerdoc" into XULMap.h r=enndeakin+6102
MozReview-Commit-ID: 6UgKJSzgyGi

--HG--
extra : rebase_source : 12a3f4c2eb81b4dd4d804858fe408227fbe2ca99
2018-02-22 09:47:30 -08:00
Arjun Krishna Babu
b0e59d6792 Bug 1373055 - Unload crashed background tabs instead of flipping their remoteness and sending them to about:blank; r=mconley
When background tabs crash, they were being replaced by about:blank tab
hosted in parent process.

Now that there is a mechanism for lazily creating browsers, discarding the
crashed background browser until they are selected is a cheaper operation
(compared to creating about:blank).

Certain test cases were also updated to take into account the new scenario.

--HG--
extra : rebase_source : ab2c6c7b2faf5710ebfc52259632fbcd6d67b5fa
extra : amend_source : 0e15fb0f4818273daa3438d4e297f42558c1fc55
2018-02-22 17:32:29 -05:00
Daniel Stenberg
9165893084 bug 1440234 - show TRR column in about:networking for DNS names r=baku,valentin
MozReview-Commit-ID: LtAHJj4BMqQ

--HG--
extra : rebase_source : 089544e53e652aa8d43f0927e6d140568f68e93f
2018-02-22 09:57:22 +01:00
Botond Ballo
72413786ab Bug 1434593 - Ensure that browser.xml does not send APZ back a notification after APZ notifies it of canceling autoscroll. r=kats
The second notification is needless and can cause deadlocks. The code
previously tried to ensure it wasn't sent, but didn't account for
the possibility of a call to hidePopup() causing the 'popuphidden'
event to be handled synchronously.

MozReview-Commit-ID: BiMOFMMudIH

--HG--
extra : rebase_source : 060319da29f313d30b380dcecd6fc73ff5a807e8
2018-02-21 15:01:46 -05:00
Brian Grinstead
1586c450c0 Bug 1411032 - Remove 'bulletinboard' alias for the stack element;r=enndeakin+6102
MozReview-Commit-ID: GSDH9rWqv0e

--HG--
extra : rebase_source : 60fe4fafb614d7c92ab97143c10cf749c3d47880
2018-02-21 09:28:47 -08:00
Dave Townsend
78df2ae267 Bug 1438620: Don't offer to delete profiles that are currently in use. r=florian
MozReview-Commit-ID: UKBCUeOdnZ

--HG--
extra : rebase_source : ce983345016c69e9e80d6c3552e975ad32349197
extra : source : 0e4ca536c7bc59511d480e362594e38f6c121c98
2017-11-30 14:39:34 -08:00
Marco Bonardo
4b5191dd1c Bug 1435711 - Remove controller support for tree autocomplete. r=Paolo
MozReview-Commit-ID: 5NJu2ILBP5h

--HG--
extra : rebase_source : ba89bd0750ae37c537ca72087e8528aca9f9a972
2018-02-17 18:11:13 +01:00
Masayuki Nakano
4e13e7028b Bug 1434837 - Make autocomplete and satchel listen to keypress event at the system event group r=mak
The autocomplete module listens to keypress event for both printable keys and
non-printable keys a lot.  However, we'll stop dispatching keypress event for
non-printable keys in the default event group of web content.  So, autocomplete
should listen to keypress events at the system event group.

Note that it's difficult to change keypress event listeners to keydown event
listeners because if we stop keypress events at preceding keydown event in
autocomplete or satchel module, some other modules fail to handle keydown or
keypress event before autocomplete and it's not easy to investigate which
module's which keypress event listener should be changed to keydown event
listener.  Therefore, this patch doesn't do it at least for now.

MozReview-Commit-ID: 7e3aklmKrXu

--HG--
extra : rebase_source : 1a1e71972e4f56f088c0372e12961ffb683c7b26
2018-02-08 22:42:29 +09:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Narcis Beleuzu
2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Margareta Eliza Balazs
55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
Noemi Erli
656ee92d98 Merge inbound to mozilla-central. a=merge 2018-02-15 21:29:11 +02:00
Paolo Amadini
2967d1be2f Bug 1434877 - Rework default styles for richlistbox autocomplete. r=mak
The default styles of richlistbox autocomplete were originally created to support the location bar popup, but now every autocomplete field uses the richlistbox version. This reworks the styles so that the number of overrides is minimized.

MozReview-Commit-ID: BwagKpMR5Dt

--HG--
extra : rebase_source : 52eda7f9d561dd23f279a3d15659e84f6c46eec6
2018-02-14 15:04:11 +00:00
Andreea Pavel
74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Dorel Luca
75f385b6d6 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Dorel Luca
4234703a53 Merge mozilla-inbound to mozilla-central a=merge 2018-02-15 00:23:02 +02:00
Christoph Kerschbaumer
72ce8edf3d Bug 1436808: Apply Meta CSP to content privileged about: pages. r=gijs,freddyb 2018-02-09 11:42:21 +01:00
Apoorv Goel
20b88ffe46 Bug 1436717 - Replace symbolapi.mozilla.org with symbols.mozilla.org. r=chutten 2018-02-10 01:51:18 +05:30
Tim Nguyen
4fd514d97b Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: Cbj7vZcrDrL

--HG--
extra : rebase_source : 9b844911072ab2cc526f4ad16838e83f44a230da
2018-02-09 21:54:42 +00:00
Tim Nguyen
79e5dc6167 Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov
* The number is no longer selected on number input focus

MozReview-Commit-ID: AmR5c6YKTCP

--HG--
extra : rebase_source : fdaab23fca57f361c9185191d9c30e047375cbe8
2018-02-09 21:54:36 +00:00
arthur.iakab
f58e902071 Backed out 2 changesets (bug 1429573) for failing reftest on reftest/tests/editor/reftests/xul/number-3.xul on a CLOSED TREE
Backed out changeset 75364898f5f6 (bug 1429573)
Backed out changeset fe69b415f45b (bug 1429573)
2018-02-09 23:27:59 +02:00
Andreea Pavel
2a7b1dfa56 Merge mozilla-central to autoland. on a CLOSED TREE 2018-02-15 12:34:12 +02:00
Timothy Guan-tin Chien
b073441b39 Bug 1422386 - Remove toolbardecoration, toolbar, and toolbar-base binding, r=Paolo
The only purpose of these bindings was to insert a stylesheet, which has been
moved to be included in toolkit/content/components.css.

MozReview-Commit-ID: 23jqkIrbVvi

--HG--
extra : rebase_source : 8d13f7a8afa730207d40e1457e36ec51331c4ea7
2018-02-13 22:12:18 +08:00
Dan Mosedale ext:(%3E)
7ced76c9e1 Bug 1426705 - update license.html to include React MIT license from React 16, r=gerv
MozReview-Commit-ID: 6VgxWNbS3Xl

--HG--
extra : rebase_source : 2d3d0155f5d25533f22b80b0a8d796cbe8e21472
2017-12-21 09:11:32 -08:00
Tim Nguyen
9235487cb3 Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: D7cMQyriekm

--HG--
extra : rebase_source : 189fe22d8b9619707753773b92f83bbdef3a247a
2018-02-09 19:24:11 +00:00
Tim Nguyen
d2bb22650d Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov
* The number is no longer selected on number input focus

MozReview-Commit-ID: EoXNqhXwK95

--HG--
extra : rebase_source : b5a522e11796ec42c87019f6c3955e6c40eb21d0
2018-02-09 19:23:56 +00:00
Gijs Kruitbosch
da3597c3bb Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B

--HG--
extra : rebase_source : e1dbae3f45b532e2f498c5e815a98531398143ea
2018-02-07 22:07:08 +00:00
Csoregi Natalia
2d4c080565 Backed out 2 changesets (bug 1429573) for reftest failures /tests/reftest/tests/editor/reftests/xul/number-3.xul. on a CLOSED TREE
Backed out changeset bd6892535d35 (bug 1429573)
Backed out changeset 1c398da94994 (bug 1429573)
2018-02-09 16:56:39 +02:00
Tim Nguyen
96e5c9837c Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: 6sb1zcGv4k9

--HG--
extra : rebase_source : 35636617336551fb3aadc8fb321c66b5e5993239
2018-02-09 13:53:49 +00:00
Tim Nguyen
5f077444bc Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov
* The number is no longer selected on number input focus

MozReview-Commit-ID: 6XQdnJP65m0

--HG--
extra : rebase_source : 96d16469e99fc52c15a0b5024bdf9c3b4211a171
2018-02-09 13:47:44 +00:00
Jorg K
923e88e3e3 Bug 1437222 - fix forceComplete after switching to autocomplete-richlistbox. r=mak
--HG--
extra : rebase_source : 76e2f39269d1f3dceab3187758f632e8ed7c2462
2018-02-13 13:55:00 +02:00
Dorel Luca
dabf7b41ee Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 021950f3661e3b1d96e768155c5754b7af039f84
2018-02-15 00:35:45 +02:00
Brian Grinstead
a9b38c85c2 Bug 1432950 - Remove the scrollbar-base binding to prevent XBL JS from running on scrollbars in content;r=dao,smaug
The events that get silenced here are already covered for native anonymous content
by IsEventStoppedFromAnonymousScrollbar.

In trees, where <xul:scrollbar> and <xul:scrollcorner> are part of the DOM, copy the
handlers over into attributes on each instance.

MozReview-Commit-ID: Huk5nFC7Qua

--HG--
extra : rebase_source : f5e596f04c6a2022b9d6019d49e61bf64422f912
2018-02-14 09:12:56 -08:00
Eric Rahm
c8cd2f8b6a Bug 1436614 - Report ghost windows in Memory.jsm. r=mconley
This adds a 'ghosts' field to the object returned by Memory.summary.

--HG--
extra : rebase_source : 9bef4f795615aad9a98b12be6277124bd88cbcd2
2018-02-07 15:46:57 -08:00
Brindusan Cristian
4b424f0368 Merge inbound to mozilla-central. a=merge 2018-02-08 21:02:00 +02:00
Marco Castelluccio
198b87d386 Bug 1436425 - Stop importing resetProfile.js when it is unneeded. r=MattN
--HG--
extra : rebase_source : 5e72bed65128fa3529fc3e3b67672454e8020ab3
2018-02-07 13:08:55 +01:00
Paolo Amadini
d6977c62c9 Bug 1428930 - Move some XBL accessibility roles into XULMap.h. r=bgrins,surkov
MozReview-Commit-ID: Iye8XoQ7neq

--HG--
extra : rebase_source : e9101e02cdf30489eda8867cbf6784eeb923e47d
2018-02-07 13:23:53 +00:00
Ciure Andrei
8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Timothy Guan-tin Chien
a5653964aa Bug 1421837 - Remove list{item|cell}-checkbox-iconic binding. r=Paolo
MozReview-Commit-ID: CcpvdPgU5yJ

--HG--
extra : rebase_source : 548f87144ac82f98ca5f20d5be0015398806bf63
2018-02-02 23:04:12 +08:00
shindli
0fcb667b73 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 12:13:08 +02:00
Timothy Guan-tin Chien
93223f779f Bug 1418459 - Remove menuitem-iconic-desc-noaccel binding. r=Paolo
MozReview-Commit-ID: 3BjrOyJwBKA

--HG--
extra : rebase_source : d6fac024ebf69e056ad788c835577037a9a4c474
2018-02-07 15:50:22 +08:00
Paolo Amadini
cbbe421ff9 Bug 1427364 - Remove showCommentColumn and showImageColumn. r=mak
MozReview-Commit-ID: 8RNVaLvZkrY

--HG--
extra : rebase_source : 786e83efba2051d3fcd7db3a466b62b335df8cc5
2018-01-10 15:22:23 +00:00
Paolo Amadini
e1362ca8a3 Bug 1427363 - Part 2 - Flatten inheritance for "autocomplete-rich-result-popup". r=mak
MozReview-Commit-ID: 1uW2K2KbJU8

--HG--
extra : rebase_source : 5859db08b89ce63018b0f94f059748d96feaa98b
2017-12-29 14:53:12 +00:00
Paolo Amadini
8c3a57c2a5 Bug 1427363 - Part 1 - Remove "autocomplete-result-popup" and related bindings. r=mak
MozReview-Commit-ID: oJ08wuZMop

--HG--
extra : rebase_source : 9293ad1fe9d7b710828564533d565b3140cb9319
2017-12-29 14:12:10 +00:00
Paolo Amadini
afa473d230 Bug 1427366 - Use richlistbox autocomplete by default. r=mak,surkov
MozReview-Commit-ID: BeAEWMjS6eW

--HG--
extra : rebase_source : 204a9825b8a67ac0df588736b2948205131f284c
2018-02-07 21:16:56 +00:00
Gurzau Raul
772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul
476c3b3a55 Merge inbound to mozilla-central. a=merge 2018-02-06 23:53:56 +02:00
Timothy Guan-tin Chien
2784227358 Bug 1429464 - Remove toolbox binding r=Gijs
- Move -moz-appearance: toolbox to xul.css.
- Remove the markup that initialize the palette field to null,
  effectively initialize the value to undefined, which is still
  falsey. The toolbar binding remains responsible for initializing
  the toolbox's palette property with an actual DOM node.

MozReview-Commit-ID: 7X6JAn79P3k

--HG--
extra : rebase_source : f89770670d0a5594e90347e32ee85c484826852a
2018-02-05 16:28:49 +08:00
vprabhu
1f478abc6c Bug 1434299 - Changed href to refer to '#' to display "finger pointer" over the "enabled" link in about:telemetry. r=chutten
MozReview-Commit-ID: FPaZfwNhPfP

--HG--
extra : rebase_source : 22c2cddc32d0c42607ced293048813862afdce5f
2018-02-06 14:53:30 +05:30
Narcis Beleuzu
84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Michael Froman
b15f168038 Bug 1409868 - include date in about:webrtc session labels. r=ng
MozReview-Commit-ID: 3f8dXaWQzE

--HG--
extra : rebase_source : e55e35926976b791c4ce74be882f4c0435b19ecf
2018-02-05 14:46:22 -06:00
Jeremy Lempereur
6a5db0ee6c Bug 1434614 - about:telemetry Allow to navigate the archive with keyboard arrows, r=chutten
The about:telemetry archived ping data selector now handles the Ping Type correctly when navigating with keyboard arrows.

MozReview-Commit-ID: ZRNIlgQNzJ

--HG--
extra : rebase_source : 9967b44b695686c23d0dc61c0fb9ac113c2907a1
2018-02-03 16:05:04 +01:00
Jan Henning
9c467e7e8d Bug 1392996 - Part 1 - Add meta viewport tag to view-source document. r=hsivonen
Adding <meta name="viewport" content="width=device-width"/> to the view-source
document achieves two things when used in a mobile browser, such as Fennec:
1. When word-wrapping is turned off, the page displays at a more readable
   initial zoom level.
2. As of now, font inflation (when enabled) kicks in on the document when word-
   wrapping is turned on, which leads to the line numbers appearing in a
   noticeably smaller font size than the rest of the page.
   Adding the above meta viewport header marks the document as "mobile-friendly"
   and suppresses font inflation, which means that line numbers will appear
   normally even with word-wrapping enabled.

getMathMLSelection() in browser-content.js isn't actually used in Fennec at the
moment, but for consistency we add the meta viewport tag there as well.

MozReview-Commit-ID: K9KVHh7g7TF

--HG--
extra : rebase_source : 1054f712f5420efcd89daeaa2c8c200129544b2a
2018-01-23 22:25:09 +01:00
Michael Froman
38bdfba7a2 Bug 1414171 - pt 2 - Sort ICE stats by componentId on about:webrtc. r=drno
- add new component_id field to NrIceCandidatePair
- add the candidate pair component_id to RTCIceCandidatePairStats in
  RecordIceStats_s
- add new column in ice stats table for component id
- sort ice stats by component id first


MozReview-Commit-ID: J89ZIYEUyRk

--HG--
extra : rebase_source : 681a5afa1303b4e377fcc14d099ce0b3d852f22c
2018-01-30 22:23:54 -06:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky
7a9f022f1a Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Paolo Amadini
c5d2e41158 Bug 1427350 - Part 2 - Rename _matchCount to matchCount. r=mak
MozReview-Commit-ID: 2oo0Nxp3Qot

--HG--
extra : source : ec3db0f4e8568dc84043dc375cd475049e804159
2018-02-04 15:00:58 +00:00
Paolo Amadini
c8f76a4aa0 Bug 1427350 - Part 1 - Use "autocomplete-rich-result-popup" instead of "autocomplete-result-popup" for the search bar. r=mak
MozReview-Commit-ID: AO926Wmhkbm

--HG--
extra : source : c16a5935dcadd320f54f5989d9f93f8710444b29
2018-02-04 15:00:48 +00:00
Gurzau Raul
3a5264e71b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 00:00:20 +02:00
Boris Zbarsky
1c50f93c8b Bug 1435764 part 4. Use NodeFilter in various system-JS places instead of hardcoding constant values. r=kmag
MozReview-Commit-ID: HuwuVXWcWQE
2018-02-06 13:03:44 -05:00
Eugen Sawin
829f2f0c99 Bug 1423229 - [1.3] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley 2018-02-05 22:10:34 +01:00
Andreea Pavel
5cb4690609 Backed out 6 changesets (bug 1423229) for failing browser chrome at browser/base/content/test/siteIdentity/browser_bug1045809.js and firefox functional at testing/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page and mochitest devtools at devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js on a CLOSED TREE
Backed out changeset 2ee49f44e617 (bug 1423229)
Backed out changeset 30d1575f5b16 (bug 1423229)
Backed out changeset 39d76cb8c73e (bug 1423229)
Backed out changeset 8ff1f049ac96 (bug 1423229)
Backed out changeset c86887b7f327 (bug 1423229)
Backed out changeset 5417194f3778 (bug 1423229)
2018-02-03 01:12:45 +02:00
Ciure Andrei
6c09be0569 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-03 00:15:11 +02:00
Eugen Sawin
1f928adad2 Bug 1423229 - [1.1] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley 2018-02-02 22:36:08 +01:00
shindli
8bf605352e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 00:38:55 +02:00
Boris Zbarsky
2c472fbf65 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Cosmin Sabou
94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky
05b8447eb6 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Jeremy Lempereur
d8d9f7c8da Bug 1432871 - about:telemetry - Fix selected option comparison in the Histograms section r=chutten
Followup on the previous commit, the same pattern occured in the Histograms section.

MozReview-Commit-ID: 41SiI1nBLSm

--HG--
extra : rebase_source : 2e642658c5721cab41f25c4a6c81f38390badef7
2018-01-31 15:08:31 +01:00
Jeremy Lempereur
4956f5e043 Bug 1432871 - about:telemetry - showing the Keyed Histograms category. r=chutten
The "Keyed Histograms" category didn't alway have the "has-data" class although there were some data to display. "option" was compared to a string but it's a dom element, so its value should be compared instead.

MozReview-Commit-ID: 3eC0UPpJaNJ

--HG--
extra : rebase_source : 84e87676959008c4f884d171788682506ac11804
2018-01-29 21:52:54 +01:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Brian Grinstead
a35b976252 Bug 1424095 - Use display: block on iframes in XUL flexbox emulation mode;r=Gijs
With emulated flex display we wrap inline-level children into anonymous
wrapper-blocks, and those wrapper blocks serve as the flex items. Using
display: block and then resetting the hardcoded width/height does the trick.

MozReview-Commit-ID: Grh1KsSmngP

--HG--
extra : rebase_source : d0792b19387e50d7c70a50a741c060655d4a3669
2018-01-25 15:09:23 -08:00
Brian Grinstead
7748a17ff2 Bug 1424095 - Tweak frontend CSS to play nicely in XUL flexbox emulation mode;r=Gijs
There are still known issues with the browser chrome when emulating, but this changeset is
done in service of getting the UI to be close enough to start running Talos tests against
it in Bug 1425330.

MozReview-Commit-ID: B0w1aOmi4FJ

--HG--
extra : rebase_source : e8b13f9203f0e368fb6f36bc9d2059fff7061b54
2018-01-04 10:25:30 -08:00
Kris Maglione
b3cac601f6 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr

--HG--
extra : rebase_source : 1c0a1448a06d5b65e548d9f5362d06cc6d865dbe
extra : amend_source : 7184593019f238b86fd1e261941d8e8286fa4006
2018-01-24 14:56:48 -08:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
b1f8945974 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : e6325fc83bd2fef811a4f1e97634ce5d32eddc9c
extra : absorb_source : 64645bed5d58034f4240ce4cd9eb932739c0c63d
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : histedit_source : 81a28bce375dd35da39c8a27b15cbf49c971c454
2018-01-18 16:27:26 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00