Commit Graph

23686 Commits

Author SHA1 Message Date
Jonathan Watt
156c4af1ec Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Kartikaya Gupta
697a7719d0 Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow
MozReview-Commit-ID: 9yZknygQvFr

--HG--
extra : rebase_source : 8b7a2398bdabf52f2de1c5dbd30b6868c1e0bed0
2018-04-20 15:13:06 -04:00
Boris Zbarsky
5415ab3858 Bug 1455052 part 13. Remove nsIDOMEvent. r=masayuki
MozReview-Commit-ID: 3gmGy4URet3
2018-04-20 12:55:31 -04:00
Jonathan Kew
4b2b2d4c9f Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman 2018-04-20 17:18:03 +01:00
Gurzau Raul
6ef84d63ec Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Boris Zbarsky
597b4545d2 Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Boris Zbarsky
b7f2b6976a Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 4NdssvnWn0H
2018-04-20 00:49:30 -04:00
Boris Zbarsky
01d792d54e Bug 1455055 part 7. Clean up remaining HandleEvent implementations. r=masayuki
MozReview-Commit-ID: LezJYKK74H5
2018-04-20 00:49:30 -04:00
Boris Zbarsky
2b6097ae6d Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
This does no cleanup other than what's needed to compile.  Cleanup coming up in
later patches.

MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Xidorn Quan
44232b9bb8 Bug 1454589 - Don't change window style according to sizemode if the window hasn't be shown. r=jimm
MozReview-Commit-ID: Hysc4yXapYW

--HG--
extra : rebase_source : 8dfd3684d59895405b9a4d63513ee3ae2fa490ab
2018-04-19 15:20:02 +10:00
Martin Stransky
d9d0e359b8 Bug 1355143 - Size scrollbars with 'hover' Gtk+ state, r=jhorak
Ubuntu/Ambiance has tiny scrollbars when it's not hovered by mouse and large
ones when it's hovered/active. Our current Gtk+ toolkit code does not support such scrollbar
resize on the fly.

We use a workaround as we get size of active (hovered) scrollbar only and that
we pass to gecko. Then we draw scrolbar smaller when it's not hovered and full sized
when it's hovered.

MozReview-Commit-ID: mxt9q5Bcg9

--HG--
extra : rebase_source : f77304653f730ea1bca6fb453568f945b022c442
2018-04-18 11:09:19 +02:00
Martin Stransky
04bb88d159 Bug 1355143 - Provide ScrollbarGTKMetrics for active (mouse over) scrollbars, r=jhorak
MozReview-Commit-ID: 95d1jeQ8mXd

--HG--
extra : rebase_source : 44fd8d0df747b0ad6f8f4c6cbee442f5710d4006
2018-04-18 11:05:46 +02:00
Martin Stransky
a1bb7c1c32 Bug 1355143 - Implement CreateStyleContextWithStates to style with fully stated css path, r=jhorak
MozReview-Commit-ID: ENWBekzq4Oq

--HG--
extra : rebase_source : 6c6c63af840629d5454166dba9e074d9c72b0371
2018-04-18 11:03:39 +02:00
Noemi Erli
875e5ed0a1 Merge inbound to mozilla-central. a=merge 2018-04-19 12:53:30 +03:00
Brad Werth
624c7063e3 Bug 1451098 Part 1: Add asserts to widget/gtk/nsWindow.cpp to fail early when setting an invalid window size. r=karlt
MozReview-Commit-ID: GHq7ik6EyIl

--HG--
extra : rebase_source : eaabcd5603a71a1367aa89b787b30b47476df199
2018-03-23 15:40:02 -07:00
Coroiu Cristina
374b919ce6 Merge inbound to mozilla-central a=merge 2018-04-18 13:44:22 +03:00
Nika Layzell
5e2e5fc993 Bug 1444991 - Part 5: Make some XPCOM methods more strongly typed, r=bz
This patch goes through and changes a bunch of places in our tree which mention
this bug to use the new feature, making the methods more strongly typed.

There are probably more places in tree which could be changed, but I didn't try
to find them.
2018-04-17 19:21:05 -04:00
Csoregi Natalia
cc8f2c09f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-18 01:39:35 +03:00
Kris Maglione
0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Jan Horak
360d03d095 Bug 1411589 - Notify flatpak print portal that print to file has finished, r=stransky
The GTK print portal is notified by the observer service with 'print-to-file-finished'
topic. The print filename is used as an identifier of the target in case multiple
printing jobs are in progress.

MozReview-Commit-ID: 1BZKDcK5De3

--HG--
extra : rebase_source : 5234aea32097cff4fc9f74f1b522cd04b2be8db1
2018-04-16 12:28:51 +02:00
Jan Horak
7628529d74 Bug 1411589 - Implement printing support for the flatpak portal, r=stransky
In the flatpak environment the applications do not have access to the printers.
They need to use printing portal implemented by DBUS interface. The patch
implements support for printing portal by introducing nsFlatpakPrintPortal class.
1. it request print portal to show the print dialog
2. waits until print dialog is finished
3. setup observer for 'print-to-file-finished' topic
4. pass file descriptor of the printed file to the portal when the observer is notified

MozReview-Commit-ID: 3nZtYx7KzK6

--HG--
extra : rebase_source : f116aff4d62ebaa38d0527f95daf4b36481ceb35
2018-04-05 16:44:35 +02:00
Markus Stange
d649a6d091 Bug 1403989 - Automatically treat black menu icons as templates, so that they get drawn inverted in hovered menuitems. r=jrmuizel,spohl
MozReview-Commit-ID: Bn69Ij0BfRa

--HG--
extra : rebase_source : 9d2d7d0797d89d0b7cf6685d29e458795f518e9d
extra : source : 7b389e4f44679c086a4a510da264f2f0531267ec
2018-04-16 15:23:23 -04:00
Brindusan Cristian
667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
Nicholas Nethercote
51f2b494ea Bug 1448222 - Remove MediaPrefs. r=jya
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.

Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.

Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.

MozReview-Commit-ID: IfHP37NbIjY

--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00
Florian Quèze
8381200df3 Bug 1450293 - Avoid starting the GPU process for the initial navigator:blank window, r=jimm. 2018-04-16 23:15:05 +02:00
Markus Stange
dc2e7f64fa Bug 1421088 - Move code out of DrawWidgetBackground into a new method called ComputeWidgetInfo. r=spohl
MozReview-Commit-ID: 2XeZHH4lJrj

--HG--
extra : rebase_source : 40c05f8748b8534dbc55a1cea1d44f1fbd4321a1
extra : source : 359f50ab6156dc33aa04dda62816b87fe3883d7d
2018-04-14 23:31:11 -04:00
Dale Harvey
5aeada7d94 Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
MozReview-Commit-ID: sJXl2If9Ou

--HG--
extra : rebase_source : b88ff89e1d28bab28c3575c2f7f30c91bd584aea
2018-03-12 09:16:51 +00:00
Markus Stange
74682ab717 Bug 1421088 - Move rendering code out into a separate method. r=spohl
MozReview-Commit-ID: 9lxf0VPYaK8

--HG--
extra : rebase_source : 1e63d6b292f39d97fd54156c71199c1af5a1ea49
extra : intermediate-source : bae3b78391709cf3f00301d90bbac6a458d14446
extra : source : 2d2a595a6d150e3435a11c77609a509bbb8d264f
2017-11-18 18:53:54 -05:00
Markus Stange
db34652d0c Bug 1421088 - Create a WidgetInfo struct and route drawing through it. r=spohl
MozReview-Commit-ID: 1pKgNAodbev

--HG--
extra : rebase_source : d3512cd040aa3730d5ba2bbad115838589b2b9c6
2018-04-14 23:19:18 -04:00
Markus Stange
c8c263cd37 Bug 1421088 - Create a DrawNativeTitlebar overload that takes a UnifiedToolbarParams param. r=spohl
MozReview-Commit-ID: Gxe4qIZV7HI

--HG--
extra : rebase_source : c9f2b295bf7270f2167641ec27901878f5b362f7
2017-12-01 19:54:29 -05:00
Markus Stange
b1e02d2039 Bug 1421088 - Create DrawSourceList. r=spohl
MozReview-Commit-ID: AZoLMcl9YLr

--HG--
extra : rebase_source : e7cceabfe8fd25043fe88227aebf143f7a90ffcf
2017-12-01 18:01:16 -05:00
Markus Stange
988c7e9da6 Bug 1421088 - Create DrawMenuSeparator. r=spohl
MozReview-Commit-ID: Lvab4zMrs2D

--HG--
extra : rebase_source : 498341b5c59b0e13f6133253764c375cbf3ea169
2017-12-01 17:58:02 -05:00
Markus Stange
6868ae0bf5 Bug 1421088 - Create DrawToolbar. r=spohl
MozReview-Commit-ID: 3NMidcVazQo

--HG--
extra : rebase_source : 18cc2df0dd61a5039b8ce50d634441cf6645e702
2017-12-01 17:55:02 -05:00
Markus Stange
a2bb203dde Bug 1421088 - Create DrawMultilineTextField. r=spohl
MozReview-Commit-ID: CyAhfGVmfzs

--HG--
extra : rebase_source : 2ee20f5002009fb8877196fb70922a730c4f7ab1
2017-12-01 18:35:45 -05:00
Markus Stange
797692f34e Bug 1421088 - Don't pass an nsIFrame* to DrawResizer. r=spohl
MozReview-Commit-ID: hQbnCke2zN

--HG--
extra : rebase_source : 0b2ff8b2985f36dd9a171e29ba141d1ed6b84603
2017-12-01 18:31:18 -05:00
Markus Stange
23249fd625 Bug 1421088 - Don't pass an nsIFrame* to DrawStatusBar. r=spohl
MozReview-Commit-ID: 6KU2OyZb9BS

--HG--
extra : rebase_source : adbcf1d3a51ed814a4d7055f7a8f8516946022f9
2017-12-01 18:08:35 -05:00
Markus Stange
3b4bd55c63 Bug 1421088 - Remove unused parameters from DrawFocusOutline. r=spohl
MozReview-Commit-ID: Kd6Rxl58Xwh

--HG--
extra : rebase_source : f2e8d2966ae16350bfa076aa818bac57a08bbb1e
2017-12-01 18:07:24 -05:00
Markus Stange
416548794d Bug 1421088 - Don't pass an nsIFrame* to DrawTabPanel. r=spohl
MozReview-Commit-ID: JeWt76t7rRQ

--HG--
extra : rebase_source : 0beb552cf3d4713e6f73c32d7abbd6a0e1e0aaa7
2017-12-01 18:03:12 -05:00
Markus Stange
1c8b5e6c53 Bug 1421088 - Don't pass an nsIFrame* to DrawScale, and create DrawScrollbarTrack and DrawScrollbarThumb. r=spohl
MozReview-Commit-ID: 8MPG7ZlBvVD

--HG--
extra : rebase_source : b10d52492b0264e1b01795647f72f3e01889e2ff
2018-04-14 23:06:29 -04:00
Markus Stange
62c8f8f488 Bug 1421088 - Don't pass an nsIFrame* to DrawMeter. r=spohl
MozReview-Commit-ID: 63ZuRb6VRSY

--HG--
extra : rebase_source : 4a2c47cf025069ed4fecb0d71befed283ed1436c
2017-11-30 18:59:27 -05:00
Markus Stange
ceea95633b Bug 1421088 - Don't pass an nsIFrame* to DrawProgress. r=spohl
MozReview-Commit-ID: 7fxBzCyp239

--HG--
extra : rebase_source : 5ba40ddcb96125eb62f19213aa4b76544e475926
2018-04-14 22:43:04 -04:00
Markus Stange
02199fdb2b Bug 1421088 - Don't pass an nsIFrame* to DrawSearchField. r=spohl
MozReview-Commit-ID: 3hlBThgIDt5

--HG--
extra : rebase_source : ed658a76d75c9daca09230413ccd0639c29ccf4d
2017-11-30 18:51:24 -05:00
Markus Stange
4fb1684324 Bug 1421088 - Rename DrawFrame to DrawTextBox and stop passing an nsIFrame* to it. r=spohl
MozReview-Commit-ID: 1hGVXNhbomJ

--HG--
extra : rebase_source : 37f57d72538b35db012a8238faa13274050119bc
2018-04-14 22:29:57 -04:00
Markus Stange
efe7856118 Bug 1421088 - Don't pass an NSWindow* to DrawUnifiedToolbar. r=spohl
MozReview-Commit-ID: 52uB5QeVsVw

--HG--
extra : rebase_source : d0ddfa0065dac20acdfd988c62f656e9a4d805f2
2017-11-30 18:46:37 -05:00
Markus Stange
2c79d13c9c Bug 1421088 - Don't pass an nsIFrame* to DrawSegment. r=spohl
MozReview-Commit-ID: 7qe0V7agqzs

--HG--
extra : rebase_source : 4c33e23abd17213c35d27b24d2733583a4bed6a9
2018-04-14 22:26:24 -04:00
Markus Stange
30328b9a50 Bug 1421088 - Don't pass an nsIFrame* to DrawSpinButton / DrawSpinButtons. r=spohl
MozReview-Commit-ID: AtY1eoiXcCa

--HG--
extra : rebase_source : 2673f804a31b9621f897dde37affc30b112a3063
2018-04-14 22:14:19 -04:00
Markus Stange
25cd320969 Bug 1421088 - Don't pass an nsIFrame* to DrawDropdown. r=spohl
MozReview-Commit-ID: IdkoAb1rOjE

--HG--
extra : rebase_source : ae11f27aab9d45aed251e37a914e6bb38efd221b
2018-04-14 22:07:23 -04:00
Markus Stange
b60fe986d0 Bug 1421088 - Don't pass an nsIFrame* to DrawCheckboxOrRadio. r=spohl
MozReview-Commit-ID: 6LGIVGJAQ6W

--HG--
extra : rebase_source : f46586ed89b11e32dc841e7916c09a0884190f88
2017-11-30 17:50:33 -05:00
Markus Stange
42fa6e0ed7 Bug 1421088 - Change the API of DrawMenuIcon and add DrawMenuItem. r=spohl
MozReview-Commit-ID: 3JedJfgx9pZ

--HG--
extra : rebase_source : a8c25c36eb5653280e47213b4490b7f0c99c37ec
2018-04-14 22:00:18 -04:00
Markus Stange
987089caed Bug 1421088 - Move menu background drawing into a separate method. r=spohl
MozReview-Commit-ID: CSa4zlI8juN

--HG--
extra : rebase_source : 5821c0996d6b5f7afe6c97d22882220d0bbde224
2018-04-14 21:56:23 -04:00
Markus Stange
d2d427a0cb Bug 1421088 - Route more button types through DrawButton. r=spohl
MozReview-Commit-ID: 8AhEnEi5UCZ

--HG--
extra : rebase_source : 764543f9104e1a8866e24b7aa50df8688b7c7336
2017-11-30 16:47:59 -05:00
Markus Stange
e3f903540e Bug 1421088 - Give nsNativeThemeCocoa::DrawButton a different API. r=spohl
MozReview-Commit-ID: DjMurwHZD5K

--HG--
extra : rebase_source : bec85c26a729b5d44aac3bb59fe38d70534f8970
2018-04-14 21:48:09 -04:00
Markus Stange
e31e82186d Bug 1421088 - Create a separate method for drawing tree header cells. r=spohl
MozReview-Commit-ID: 23CJfyrDoIN

--HG--
extra : rebase_source : 36fdf3c991e7a8377bebc37e88440229fd2a681e
2018-04-14 21:22:08 -04:00
Markus Stange
8d4a7edc62 Bug 1421088 - Split DrawPushButton into four functions and group the frame-dependent information into a struct. r=spohl
MozReview-Commit-ID: COs3yaGTqMv

--HG--
extra : rebase_source : 5085081b5de790ceedba5136095be4065de0def3
2018-04-14 21:13:10 -04:00
Markus Stange
e99d3a5307 Bug 1421088 - Simplify search field cell management and make the "is-within-toolbar" computation eager instead of lazy. r=spohl
MozReview-Commit-ID: GkMSvimeuaf

--HG--
extra : rebase_source : 878f44b8d22ee60f2e97a9166f7fb7475c2cfd3b
2018-04-13 18:19:32 -04:00
Masayuki Nakano
c389fb3752 Bug 1440189 - Stop dispatching keypress event to the default event group in web content (only Nightly and early Beta) unless web page isn't in blacklist r=smaug
UI Events declares that keypress event should be fired only when the keydown
sequence produces some characters.  For conforming to UI Events and
compatibility with the other browsers, we should stop dispatching keypress
events for non-printable keys.

For getting regression reports, we should enable this new behavior only
on Nightly.

However, some web apps actually broken with the standardized behavior.  For
protecting testers from known broken web apps, this patch introduces a
blacklist to take the traditional behavior under specific domain (and path in
it, optionally).  Currently, docs.google.com and mail.google.com are set by
default.

MozReview-Commit-ID: HSrYX8LUB0p

--HG--
extra : rebase_source : a2677d07410af289534db051767543a25c9a957a
2018-03-23 12:06:55 +09:00
Andreea Pavel
69ae5fe098 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-14 00:58:36 +03:00
Jonathan Watt
1e7f76576a Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Tom Bannister
988d18881f Bug 1434710 - Replaced all instances of mozilla::IndexSequence, mozilla::MakeIndexSequence and mozilla::IndexSequenceFor with std::index_sequence, std::make_index_sequence and std::index_sequence_for and removed mfbt/IndexSequence.h. r=botond
MozReview-Commit-ID: 1Ema7TUNr5v

--HG--
extra : rebase_source : e5bb164dbe19993214e8c16f92b0a1f5d2ff3fa1
2018-04-09 21:12:13 +10:00
arthur.iakab
fca4426325 Merge inbound to mozilla-central. a=merge 2018-04-13 19:01:59 +03:00
Sebastian Hengst
043061beb5 merge mozilla-central to mozilla-inbound 2018-04-13 16:05:58 +03:00
Sebastian Hengst
82f65475ee merge mozilla-central to autoland 2018-04-13 16:04:29 +03:00
Sebastian Hengst
0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Bas Schouten
45f1c7b8eb Bug 1447141: Blacklist all acceleration on a small subset of AMD device/driver combinations that show up in content crashes. r=milan
MozReview-Commit-ID: FTBPGRTdmUG
2018-04-13 14:06:52 +02:00
Zhang Junzhi
1f63801545 Bug 1358017 - Part 9: Updates some existing mochitests which are not meant to test default actions for wheel events but are affected by auto-dir scrolling. r=masayuki
Some mochitests are not meant to test default actions for wheel events, but they
assume audo-dir is disabled when doing tests for their purposes, so this commit
disables auto-dir for those mochitests.

MozReview-Commit-ID: 5ZQIxgRVpj5

--HG--
extra : rebase_source : a185a2f65179ec9162ec04209b4eb29e8c04125b
2018-04-03 20:23:19 +08:00
Alex Gaynor
4d30d44b55 Bug 1453016 - user safer enum serialization for gfx::SurfaceFormat in IPC; r=kats
MozReview-Commit-ID: Fhyg8e5lyW6

--HG--
extra : rebase_source : b6bba81a0ca586075517dc1f12e14ce32b5866be
2018-04-10 11:53:44 -04:00
Zhang Junzhi
fe2d79f73f Bug 1358017 - Part 4: Implements the auto-dir scrolling feature(without the "honour root" functionality) in APZ r=kats
This commit implements the auto-dir scrolling functionality in APZ, based on
part 1 to part 3. However, the functionality of mousewheel.autodir.honourroot
will be implemented in a future.

MozReview-Commit-ID: 9xai99x71gh

--HG--
extra : rebase_source : 118d188f730e3fb91d147b076a053cb04e622e55
2018-03-16 19:23:53 +08:00
Zhang Junzhi
414177f87e Bug 1358017 - Part 1: Adds some comments, renames some identifiers and refactors some other trivial things. r=kats,masayuki
Do some work in preparation for implementing actual functionalities for this
bug. No actual functionality change is involved in this commit.

MozReview-Commit-ID: 5aLhr38n1N4

--HG--
extra : rebase_source : 15cfc2cea5b7668367dd3bd4a0746ae8c61b7d20
2018-03-15 16:31:07 +08:00
Alex Gaynor
ee407135b4 Bug 1453397 - use ContiguousEnumSerializer for serialization of enums in IPC for IMEs; r=masayuki
MozReview-Commit-ID: Enfhhu2HnH5

--HG--
extra : rebase_source : 39d1e2f7fc111683e652e9b80c147521c923ff16
2018-04-11 12:26:33 -04:00
Tristan Bourvon
a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Ciure Andrei
3f4a118829 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-11 12:00:35 +03:00
Ciure Andrei
cc3eafe546 Merge autoland to mozilla-central. a=merge 2018-04-11 11:56:26 +03:00
Ciure Andrei
873d562bc3 Backed out 8 changesets (bug 1451169) on request from njn a=backout
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)

--HG--
extra : histedit_source : 94de6631919f895dec422bc0e564f5baf885ba4a%2C18f52c6c11d3064d3137a6847575effb7d407894
2018-04-11 11:22:05 +03:00
Kartikaya Gupta
0f89486f32 Bug 1452658 - Mark many reftests as fuzzy instead of failing for windows-qr. r=jrmuizel
MozReview-Commit-ID: BDvtV6trKkK

--HG--
extra : rebase_source : 0591564f6cea5c782de6baecc24c3defcef0c4fb
2018-04-10 17:48:16 -04:00
Lee Salzman
43c1a4fcf5 Bug 1449352 - always composite 24 depth WindowSurfaceX11 as BGRX. r=jrmuizel
MozReview-Commit-ID: 3xeE3EEttR6
2018-04-10 12:43:59 -04:00
Nathan Froyd
14488e954b Bug 1453129 - don't needlessly copy data in nsClipboardProxy; r=smaug
We're already going to copy the data when we initialize the
nsISupportsString here.  There's no need to copy the data into a
temporary object before passing it in to the nsISupportsString.

And as long as we're fixing the big mistakes, we might as well fix the
small ones, like copying the flavor string from the IPC object.
2018-04-10 19:07:40 -04:00
Csoregi Natalia
2b084713ed Merge inbound to mozilla-central. a=merge 2018-04-10 12:56:48 +03:00
Markus Stange
cf7fd3319a Bug 1444373 - Don't crash when trying to draw an empty RectTextureImage. r=mattwoodrow
MozReview-Commit-ID: EsnxswIaABQ

--HG--
extra : rebase_source : 44e2fce7502a0bf9f8097cbb98d0a1ace36d51f1
2018-04-09 17:07:58 -04:00
Markus Stange
ffbedcffe2 Bug 1444373 - Update mBounds on mPopupContentView every time mBounds on the containing window changes. r=spohl
MozReview-Commit-ID: GpwXVOQNgIj

--HG--
extra : rebase_source : 867ecfc5422d8b5d98cd7d3797a46360f1dca260
2018-04-09 17:31:49 -04:00
Markus Stange
99a7e50644 Bug 1445787 - Correctly set the initial size of the ChildView we create for the popup contents. r=spohl
Remote WebExtension panels can cause us to recreate the widget for a view that
already has a size. In the past, popup widgets were always created with an
initial size of 0x0, so setting the initial size of the ChildView to 0x0
resulted in correct behavior because the window would be resized to the correct
size shortly afterwards, and resize the ChildView along with it via its auto
resizing mask.

When we recreate a widget which already has a known size, setting the initial
size to 0x0 is wrong. We need to set the ChildView's size so that it fills the
contentView of the popup window completely.

MozReview-Commit-ID: 53d3AX3z5h2

--HG--
extra : rebase_source : 7720a6dd12ad7f8efc102cd1430a9e1ed2f5ee0f
2018-04-09 16:25:14 -04:00
Alex Gaynor
618da07cd6 Bug 1445234 - Use ContiguousEnumSerializer for serializing nsCursor. r=smaug 2018-04-09 10:48:09 -04:00
Andreea Pavel
0724b513f9 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-10 00:58:54 +03:00
James Willcox
aa5a061bc7 Bug 1446553 - Init gfxPlatform before checking if WebRender will be used r=karlt
MozReview-Commit-ID: EaAxB8hbT2E
2018-04-09 15:15:26 -05:00
Noemi Erli
b55e1a1cbc Merge inbound to mozilla-central. a=merge 2018-04-09 19:46:07 +03:00
Jonathan Watt
ef1290712d Bug 1452170 follow-up - Fix Windows unified build bustage by adding missing AutoRestore.h includes. r=me on CLOSED TREE 2018-04-09 10:21:42 +01:00
Martin Stransky
4d956f9599 Bug 1452041 - nsClipboard::HasDataMatchingFlavors(): return immediately when there's no clipboard content, r=jhorak
MozReview-Commit-ID: CTz0tRr3p57

--HG--
extra : rebase_source : 500687c604957227dba8668a11f7c4f55c7fd175
2018-04-09 13:36:03 +02:00
Noemi Erli
758bc8158f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-07 01:02:43 +03:00
Noemi Erli
eb61878455 Merge inbound to mozilla-central. a=merge 2018-04-07 00:55:15 +03:00
Bas Schouten
398807e119 Bug 1433058: Expand NVidia AL blacklist to include 385.96 and limit blacklist to the last affected version. r=milan
MozReview-Commit-ID: 1quCjKRILiE
2018-04-06 15:48:02 +02:00
Andreea Pavel
eed7d2803f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-06 17:54:45 +03:00
Andreea Pavel
7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Adam Gashlin
cbf9e7b900 Bug 1437941: Don't ignore mousemove after fullscreen transition r=handyman
MozReview-Commit-ID: Hr9dcKVeYEC

--HG--
extra : rebase_source : fe9d1f3526704dd5c37bcbeb7c6a62de368be12c
2018-04-02 18:42:12 -07:00
Noemi Erli
11310197b3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-09 19:54:32 +03:00
Martin Stransky
f85923affa Bug 1449490 - [Wayland] Implement gtk_clipboard_request_text() by nsRetrievalContextWayland::GetClipboardText(), r=jhorak
MozReview-Commit-ID: 6qcXcA2qUmG

--HG--
extra : rebase_source : 797ae597153d57e27d747006de32affda97eacbe
2018-04-05 13:00:58 +02:00
Kartikaya Gupta
9a9c13a09f Bug 1344350 - Mark reftests failing with webrender on windows. r=jrmuizel
Many of these could probably be fuzzed but in the interests of getting
the reftest suite turned on sooner I'm doing a blanket fails-if. This
covers all the reftests where there is more fuzz with webrender on
windows than any of existing annotations account for. In some cases the
fuzz is only a few pixels more than the equivalent Linux fuzz already
annotated, but I'll clean that up in a future bug.

MozReview-Commit-ID: IaKarbnL46d

--HG--
extra : rebase_source : 71889340305b0b12fa8eace722e42bb3faf14419
2018-04-06 11:58:43 -04:00
Ryan Hunt
9586c5d690 Bug 1446990 - Safely transmit nsTransparencyMode across IPDL for WinCompositorWidget. r=jrmuizel
--HG--
extra : rebase_source : 78b5664fe14a13038e39211fcf97fa996ea7a190
2018-04-05 22:24:28 -05:00
Tooru Fujisawa
b7888d2d94 Bug 1448132 - Do not call CGSSetWindowTransform if the window is not visible. r=mstange 2018-04-06 13:10:16 +09:00
Boris Zbarsky
55cdcb3d94 Bug 1451929. Get rid of DOMCursor. r=qdot 2018-04-05 20:31:03 -04:00
Boris Zbarsky
adbcff27c1 Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Martin Stransky
6d77331196 Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak
MozReview-Commit-ID: 7TTBSbx8qPX

--HG--
extra : rebase_source : 42e117a0fdf12e811429c4470a3945e8ccd8b6fe
2018-04-04 14:49:21 +02:00
Martin Stransky
3b001f7b5d Bug 1417892 - Added gtk-primary-selection-client-protocol header/source files from Gtk+ project, r=jhorak
MozReview-Commit-ID: G0dZBqM0vBk

--HG--
extra : rebase_source : b6b5b05c7718f372d6cd3b74ebecd1b13503e19f
2018-03-06 14:02:21 +01:00
Nicholas Nethercote
a560608963 Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku
And then fix up everything else that needs to change as well.

MozReview-Commit-ID: GDMfERqdQAc

--HG--
extra : rebase_source : 01fe06c3182245a409099a53383d92bf4fa0155c
2018-04-03 13:21:06 +10:00
Xidorn Quan
0b8abfb678 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 : rebase_source : 767c063284685f5e2b5a9af873c5ed2b3e99e3d1
extra : source : 5dbfc09ffece8bf2fcaeaa5a248e5fd3fe65d911
2018-04-05 08:08:30 +10:00
Xidorn Quan
66569d7e37 Bug 1447056 part 1 - Move eWindowType_sheet to be before eWindowType_popup. r=mstange
nsBaseWidget::BoundsUseDesktopPixels() states that window types before
eWindowType_sheet take desktop pixels rather than device pixels for
parameters of Move and Resize.

Cocoa widget seems to treat all of them as desktop pixels, and sheet is
one of the window types that it can actually open, so it should be put
before popup so that BoundsUseDesktopPixels() is correct on that.

MozReview-Commit-ID: FPqOoUQlQCy

--HG--
extra : rebase_source : cf625c6bf75888abfdf2393b3c3937a073c3b613
extra : source : e2080039ee9e7270b87a5512927bb151a1154b3f
2018-04-05 08:08:30 +10:00
Haik Aftandilian
c6b21edd12 Bug 1437281 - OSX dragging image to desktop changes OSX File associations r=mystor
On Mac, when dragging an image, add the image request's MIME type to
the transfer so that the MIME-extension check can be done in the
parent process to avoid content sandboxing issues.

MozReview-Commit-ID: 3cb4fCr6GnL

--HG--
extra : rebase_source : 43720237b467765401b5504c57bbc1b43d4dfdc0
2018-03-27 14:55:33 -07:00
Martin Stransky
3a5fb9d155 Bug 1447925 - Use GetClipboardText() to get text data at nsClipboard::GetData(), r=jhorak
MozReview-Commit-ID: 3JnLLyk0BOF

--HG--
extra : rebase_source : 7bd5faff15d805d19628bdbd9fcd194c89c283a4
2018-04-03 10:30:37 +02:00
Martin Stransky
d648a9a261 Bug 1447925 - Add GetClipboardText() to get text data from clipboard, r=jhorak
GetClipboardText() calls gtk_clipboard_request_text() to request text clipboard data from Gtk+
and leave Gtk+ to do clipboard text format conversions. Also unify data getting code for text/data/targets.

MozReview-Commit-ID: 9DGSdOACho1

--HG--
extra : rebase_source : f1d95609f8a7587a4abc11739db9d17ec5446a7b
2018-03-27 15:51:07 +02:00
Emilio Cobos Álvarez
f946c7af85 Bug 1450654: Remove ResolveTag usage in cocoa code. r=mstange
We don't have any binding in the tree that extends="xul:menupopup", which is the
only thing that would change the result. Also, I constrained it to the XUL
namespace instead of just checking the node name.

But again, we don't have non-XUL menupopups.

MozReview-Commit-ID: 7M0beoJI86Y

--HG--
extra : rebase_source : f50a186d5e78ca808d6c8873ec982663f4bbbde5
2018-04-02 13:29:58 +02:00
Johann Hofmann
3e22c51351 Bug 1434584 - Make icon in MacOS nsStandaloneNativeMenu a template image. r=mstange
MozReview-Commit-ID: G0s0rUyiKMx

--HG--
extra : rebase_source : 80b1dc28641b30a75e6419d335ba089c0e747119
2018-03-30 20:33:42 +02:00
Jim Chen
968a8259bc Bug 1449821 - 2. Add finalizer support to EventDispatcher; r=snorp
Add a new interface, nsIAndroidEventFinalizer, that is called whenever a
callback object is finalized, i.e. there can be no more callbacks for a
particular dispatch. Add the finalizer as a new parameter to dispatch().
Existing callers that don't need a finalizer are not affected.

This functionality is required in order to unregister our message
manager listener in a child process, after dispatching an event with
callback from a child process.

MozReview-Commit-ID: 8n89c63UGNm

--HG--
extra : rebase_source : 4913b449588e128122d7f4f64145a7794de5ab5d
2018-04-05 18:50:11 -04:00
Jim Chen
acc8f6049a Bug 1449821 - 1. Remove legacy Messaging.jsm APIs; r=esawin
There are some legacy APIs in Messaging.jsm that we can remove, now that
we no longer have to support legacy add-ons.

MozReview-Commit-ID: 3Gfg12hmkN7

--HG--
extra : rebase_source : 874b812be89a7591d9c06fbb616347aca9a8db9d
2018-04-05 18:50:11 -04:00
Jeff Muizelaar
7bd5060424 Bug 1450134. Replace ToRelativeLayoutRect() with ToRoundedLayoutRect(). r=kats
This function doesn't use any StackingContextHelper state anymore.
We should make what it does clearer and move it to a better place.

--HG--
extra : rebase_source : 1727be9657169547d842ec9b6887837abedbefdf
2018-03-29 17:57:43 -04:00
sotaro
cb19fd85f8 Bug 1449934 - Remove unnecessary assert in WinCompositorWidget::UpdateCompositorWndSizeIfNecessary() r=jrmuizel 2018-03-29 18:42:09 -07:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
sotaro
537c379106 Bug 1191971 part 1 - Create child window in gpu process r=bas 2018-03-29 11:21:47 +09:00
Markus Stange
a52e472ae7 Bug 1449271 - Add a pref called gfx.compositor.glcontext.opaque that defaults to false and can be set to true in order to force the use of an opaque OpenGL context for the window on Mac. r=jrmuizel
MozReview-Commit-ID: InOKiLXGL7o

--HG--
extra : rebase_source : f21566cfb6c084ceb726e9a0331f430b6a72e4c6
2018-03-27 14:43:38 -04:00
Martin Stransky
705230d4aa Bug 1441873 - [CSD] Remove nsWindow::mIsCSDAvailable and replace with CSDSupportLevel state, r=jhorak
MozReview-Commit-ID: KOiSzNvZfjg

--HG--
extra : rebase_source : 146d55491e600409b73353bc71580eb1237e72f0
2018-03-22 13:22:38 +01:00
Martin Stransky
9c687dca1b Bug 1447270 - Use GLContextGLX::FindVisual() on GLX enabled builds only, r=jhorak
MozReview-Commit-ID: HB86kRurkDG

--HG--
extra : rebase_source : 6ee7900aba520a5ef182371edf074f32801b62e2
2018-03-27 11:39:52 +02:00
Masayuki Nakano
ec04470e25 Bug 1448876 - Get rid of nsIClipboardDragDropHooks and nsIClipboardDragDropHookList interfaces r=bz
nsIClipboardDragDropHooks and nsIClipboardDragDropHookList allow XUL apps
to customize drag and drop operation and paste operation.  However, this
feature was used only by ChatZilla and it doesn't work on Gecko anymore.
So, we can get rid of them from our tree.

MozReview-Commit-ID: Ibs3V1gI8Ry

--HG--
extra : rebase_source : 83428293d59aaca432d76c71b214aa7799f7f9de
2018-03-26 23:56:53 +09:00
Margareta Eliza Balazs
adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Bob Owen
41ce6696f9 Bug 1447019 Part 2: Move running from a network drive check into WinUtils. r=jimm 2018-03-27 14:09:32 +01:00
Nathan Froyd
6a1d9cac49 Bug 1448016 - make some Android widget constructors explicit; r=snorp
Attempting to stand up the static analysis for Android builds revealed
that we weren't being explicit enough.
2018-03-27 10:51:32 -04:00
Nathan Froyd
4d8cb59be3 Bug 1448914 - remove nsISound::playSystemSound; r=masayuki
This API is deprecated (callers are supposed to be using
nsISound::playEventSound instead) and there are no callers remaining in
mozilla-central, or references to the strings for the API.  Let's remove
dead code.
2018-03-27 10:41:40 -04:00
Markus Stange
992987e846 Bug 1335191 - Override -[NSThemeFrame _unifiedToolbarFrame] in order to get a correctly-sized unified toolbar gradient drawn in the titlebar. r=spohl
This implements the only useful piece of functionality that the
TitlebarAndBackgroundColor class was providing.

MozReview-Commit-ID: FXC6ICgDaoZ

--HG--
extra : rebase_source : fcd5b02ef057199df34459a4361ef7b4184d3a57
2018-03-24 01:53:30 -04:00
Markus Stange
a2a883ac84 Bug 1335191 - Stop using a textured window. r=spohl
We no longer need the ability to specify a background color which gets drawn in
the titlebar. This was the only reason why we were using a textured window.

MozReview-Commit-ID: E8zizuvjjnA

--HG--
extra : rebase_source : ecd4d23e9bb068efbcd192b90e039809bdb451b0
2018-03-23 18:09:18 -04:00
Markus Stange
016eb6c26a Bug 1335191 - Position sheets using the NSWindowDelegate method window:willPositionSheet:usingRect:. r=spohl
MozReview-Commit-ID: 1Dwwdvl6Fok

--HG--
extra : rebase_source : 916b639fe3a18af819cb3f680501abbbe0d9bf87
2018-03-23 17:50:02 -04:00
Markus Stange
51da09f53f Bug 1335191 - Remove nsIWidget::SetWindowTitlebarColor and the nsCocoaWindow implementation. r=spohl
It's unused and no longer has any effect.

MozReview-Commit-ID: DroUFYOovMx

--HG--
extra : rebase_source : fe85188b00dab9fde50409153f464297aff774fa
2018-03-24 01:16:20 -04:00
Markus Stange
3989197ef0 Bug 1335191 - Remove TitlebarAndBackgroundColor. r=spohl
It's no longer needed and is causing trouble.

MozReview-Commit-ID: GsnjMjC5cki

--HG--
extra : rebase_source : 57bdc96d26a07c12a6232dd9f1366c11a5846ca3
2018-03-23 17:47:52 -04:00
Markus Stange
b3301b82ed Bug 1335191 - Remove AutoBackgroundSetter. r=spohl
Another patch in this patch series is going to remove our custom window
background color entirely, so we no longer need this override.

MozReview-Commit-ID: 5Hk8jiudzir

--HG--
extra : rebase_source : 24f067726b6c9ce9991dd11df19b726c327eaf05
2018-03-23 16:15:23 -04:00
Markus Stange
b16957ac94 Bug 1335191 - Remove unused mTitlebarView field. r=spohl
This field has been unused since https://hg.mozilla.org/mozilla-central/rev/18fc103cb90e .

MozReview-Commit-ID: F5KJ0GE7h8H

--HG--
extra : rebase_source : 05ce147a9e40f79f73a4a6987b35e036d5a6a1e1
2018-03-23 17:35:56 -04:00
Bogdan Tara
39d9b048b9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-27 12:16:26 +03:00
Bogdan Tara
302a55b534 Merge inbound to mozilla-central. a=merge 2018-03-27 12:12:57 +03:00
Boris Zbarsky
a8a190f4e1 Bug 1447889 part 14. Remove mention of nsIDOMRange from layout/. r=mystor
MozReview-Commit-ID: JWJWGzY45ac
2018-03-27 00:35:22 -04:00
Coroiu Cristina
f7507f7dd5 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Coroiu Cristina
d6a8625ca7 Merge autoland to mozilla-central a=merge 2018-03-27 00:37:50 +03:00
Coroiu Cristina
ed9d3656c8 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-26 23:58:59 +03:00
Coroiu Cristina
8915d0accf Backed out changeset 608119812c07 (bug 1437281) on request from haik a=backout 2018-03-26 23:53:06 +03:00
Boris Zbarsky
060ebf9b50 Bug 1448398 followup to fix Windows-only test. r=kmag pending
This is a chrome test, so it doesn't need to play SpecialPowers games.

MozReview-Commit-ID: 8DG4lZ5OfbE
2018-03-26 16:42:01 -04:00
Masayuki Nakano
e9d257856b Bug 1448282 - TSFTextStore should append a pending action for dispatching keyboard event into the queue if OnUpdateComposition() is called without new range r=m_kato
OnUpdateComposition() may be called without new range instance by some TIPs
when they starts to modify composition string.  At this timing, TSFTextStore
should append a pending action for dispatching keyboard event into the queue.
Without this patch, OnUpdateComposition() creates incomplete pending action
for composition update and then, MaybeDispatchKeyboardEventAsProcessedByIME()
appends pending action for dispatching keyboard event from another point
immediately (e.g., from SetText()), then, finally, the caller of
MaybeDispatchKeyboardEventAsProcessedByIME() appends another pending action
for composition update with proper composition string.  Therefore, the
first pending action for composition update clears composition string before
actually updating it with new composition string.  In other words, new
pending action for dispatching keyboard event splits a pending composition
update.  So, this patch prevents the splitting.

MozReview-Commit-ID: 9pYO9pm3Vh9

--HG--
extra : rebase_source : a8fb903174c0f1af61a71175dbbf01b7b1c5cb53
2018-03-26 15:07:59 +09:00
Masayuki Nakano
b87a7f9729 Bug 1447866 - GeckoEditableSupport::SendIMEDummyKeyEvent() should set native key bindings to none before dispatching keyboard events which are marked as "processed by IME" r=esawin
When EditorEventListener receives keyboard events, it tries to execute
native key bindings which are stored by each keyboard event.  For performance
reason in e10s, TabParent initializes native key binding information of every
keyboard event before sending it to the remote process.  Therefore,
PuppetWidget checks if every keyboard event has native key binding information.
However, the native key binding information of dummy keyboard events marked as
"processed by IME" on Android are never initialized before sending PuppetWidget.
Therefore, we hit MOZ_ASSERT in PuppetWidget.

This patch makes GeckoEditableSuppor::SendIMEDummyKeyEvent() set native key
binding information to "none" before dispatching every keyboard event since
keyboard events during composition shouldn't cause any edit actions.

MozReview-Commit-ID: Bk532ahCQP6

--HG--
extra : rebase_source : 939c1befd4b587681192b6827e7c7fa52619d498
2018-03-23 11:54:01 +09:00
Coroiu Cristina
c42eefb39e Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-26 23:57:54 +03:00
Kartikaya Gupta
395eaf8c66 Bug 1448490 - Make the layers id a struct instead of a uint64_t. r=mattwoodrow
The new struct is in LayersTypes.h, all the rest of the changes are just
replacing existing uint64_t instances with the new LayersId struct.

Note that there is one functional change, in
CompositorBridgeParent::DeallocPWebRenderBridgeParent, where we now
correctly convert the PipelineId to a LayersId before using it to index
into sIndirectLayerTrees, whereas before we were incorrectly just using
the mHandle part of the PipelineId.

MozReview-Commit-ID: GFHZSZiwMrP

--HG--
extra : rebase_source : d2b274f63aaee2ee9bba030297e0a37a19af0d6c
2018-03-24 19:06:01 -04: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
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
shindli
a010f9b994 Merge inbound to mozilla-central. a=merge 2018-03-25 12:34:23 +03:00
David Parks
8044e86b13 Bug 1436972 - Hold ref counted AudioSession for proper lifetime when re-initializing. r=jimm
The scope of the kungFuDeathGrip is supposed to include the call to Start() (as suggested by the comment).
2018-03-21 19:37:44 -07:00
Haik Aftandilian
ce6d9e36aa Bug 1437281 - OSX dragging image to desktop changes OSX File associations r=mystor
When dragging an image, add the image request's MIME type to the transfer
so that the MIME-extension check can be done in the parent process.

Move the MIME-extension check to the parent process to avoid
issues caused by content process sandboxing.

MozReview-Commit-ID: 3cb4fCr6GnL

--HG--
extra : rebase_source : ec49b8c83613be844fe4cd88a5024ac41a845199
2018-03-22 14:04:23 -07: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