Ehsan Akhgari
34ac769d9e
Bug 1491019 - Remove the XPCOM component registration for nsXULControllers; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5774
2018-09-14 13:32:45 -04:00
Andrew McCreight
4a93f15458
Bug 1489690, part 1 - Remove the registration for the sort service r=bzbarsky
...
This is only used in a single place, so having a service for it is overkill.
Differential Revision: https://phabricator.services.mozilla.com/D5591
--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:44 +00:00
Ehsan Akhgari
65f44ebf27
Bug 1489790 - Part 8: Remove the XPCOM component registration for @mozilla.org/editor/editorcontroller;1; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5363
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
c9bfa076d5
Bug 1489790 - Part 7: Remove the XPCOM component registration for @mozilla.org/editor/editingcontroller;1; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5362
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
71ac39ed09
Bug 1489790 - Part 5: Remove the XPCOM component registration for @mozilla.org/dom/window-controller;1; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5360
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
7713f1232f
Bug 1489790 - Part 4: Remove the XPCOM component registration for NS_EDITINGCOMMANDTABLE_CID; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5359
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
bded29559c
Bug 1489790 - Part 3: Remove the XPCOM component registration for NS_EDITORCOMMANDTABLE_CID; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5358
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
2740ea8b35
Bug 1489790 - Part 2: Remove the XPCOM component registration for NS_WINDOWCOMMANDTABLE_CID; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5357
2018-09-11 09:58:33 -04:00
Ehsan Akhgari
554d3d7b44
Bug 1489790 - Part 1: Remove the XPCOM component registration for nsControllerCommandTable as well as kHTMLEditorCommandTableCID and kHTMLEditorDocStateCommandTableCID; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5356
2018-09-11 09:58:33 -04:00
Andrew McCreight
a5868c8235
Bug 1489617 - Get rid of XUL box related component registrations. r=Ehsan
...
Plus various boilerplate that is only used for the component registration.
Depends on D5289
Differential Revision: https://phabricator.services.mozilla.com/D5301
--HG--
extra : moz-landing-system : lando
2018-09-09 15:05:18 +00:00
Andrew McCreight
351cb0c4ac
Bug 1489571 - Remove unused @mozilla.org/dom/storagemanager. r=Ehsan
...
Depends on D5126
Differential Revision: https://phabricator.services.mozilla.com/D5289
--HG--
extra : moz-landing-system : lando
2018-09-09 15:04:17 +00:00
Ehsan Akhgari
08307add7a
Bug 1489362 - Part 2: Remove the XPCOM registration for AudioChannelService; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5227
2018-09-07 12:05:40 -04:00
Ehsan Akhgari
3c5c9fc06f
Bug 1489362 - Part 1: Remove the XPCOM registration for AudioChannelAgent; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5226
2018-09-07 12:05:40 -04:00
Gerald Squelart
b099eab802
Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron
...
All classes deriving from nsIFrame that did not have any subclasses themselves
(at the time of writing this patch) have been marked with `final`.
Some other Layout classes have also been made final, but this was opportunistic
while working on nsIFrame subclasses, and is definitely not exhaustive, further
patches welcome; refer to bug 1332680.
Advantages of marking a class final include:
- Allowing the compiler to devirtualize some method calls (i.e., calling
virtual functions directly instead of going through the vtable),
- Indicating that the class is not currently subclassed,
- Preventing subclassing without being aware that this would remove the
finalization benefits of the parent class.
`final` does not signify that these classes should *never* be subclassed, this
is left for developers to decide.
Differential Revision: https://phabricator.services.mozilla.com/D5020
--HG--
extra : moz-landing-system : lando
2018-09-06 01:23:14 +00:00
Ehsan Akhgari
b26b734898
Bug 1488112 - Remove the XPCOM component registration for nsBaseCommandController; r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D4835
2018-09-04 15:03:22 -04:00
Masayuki Nakano
be86e183fd
Bug 1486370 - Change nsAutoCopyListener to a static class r=smaug
...
nsAutoCopyListener is a singleton class but refcountable and a selection
listener. nsFrameSelection adds it to only normal Selection when it's on
macOS or it's enabled by the pref. Additionally, it's always first selection
listener since it's added immediately after Selection instance is created.
So, we can make it a static class, and normal Selection instance should have
a bool to decide whether it should notify nsAutoCopyListener of its changes.
Then, we can save the cost of grabbing it with local RefPtr and the virtual
call.
Additionally, this patch renames nsAutoCopyListener to mozilla::AutoCopyListener
and optimizes constructor of nsFrameSelection (using bool var cache to retrieve
the pref, avoid retrieving the pref on macOS).
Differential Revision: https://phabricator.services.mozilla.com/D4504
--HG--
rename : layout/generic/nsAutoCopyListener.h => layout/generic/AutoCopyListener.h
extra : moz-landing-system : lando
2018-08-30 07:36:23 +00:00
Ehsan Akhgari
35f7627ddb
Bug 1485871 - Remove some unused XPCOM registrations for editor; r=masayuki
2018-08-24 09:33:18 -04:00
Ehsan Akhgari
988c6ea870
Bug 1485493 - Remove the XPCOM registration for the geolocation service; r=nika
2018-08-23 16:40:21 -04:00
Jan Varga
80990b5552
Bug 1361330 - Part 6: Gate SimpleDB behind a preference; r=asuth
2018-08-20 14:33:17 +02:00
Jan Varga
5733cbbbd3
Bug 1361330 - Part 4: Core implementation; r=asuth
2018-08-20 14:33:03 +02:00
Ehsan Akhgari
a930263192
Bug 1484137 - Remove the XPCOM component registration for content iterator classes; r=qdot
2018-08-17 14:51:12 -04:00
Cameron McCormack
b17e6b4468
Bug 1482782 - Part 6: Remove support for multiple static atom sources. r=njn,emilio
...
Summary: Depends On D3284
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3285
2018-08-15 15:46:42 +10:00
Cameron McCormack
99d9013b12
Bug 1482782 - Part 5: Move CSS anonymous box atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3283
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3284
2018-08-15 15:46:39 +10:00
Cameron McCormack
4a23b5ff06
Bug 1482782 - Part 4: Move CSS pseudo-element atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3282
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3283
2018-08-15 15:46:00 +10:00
Narcis Beleuzu
d20e8e7674
Backed out 8 changesets (bug 1483121, bug 1482782) for build bustages on nsDirectoryService.cpp. CLOSED TREE
...
Backed out changeset 0a8334bbcf45 (bug 1483121)
Backed out changeset cb2dcb859071 (bug 1482782)
Backed out changeset c834d4ca2eef (bug 1482782)
Backed out changeset 887de0efbb67 (bug 1482782)
Backed out changeset 018fdb50a6be (bug 1482782)
Backed out changeset 33a8aa8096c9 (bug 1482782)
Backed out changeset e3632354f16e (bug 1482782)
Backed out changeset 46f8319bee82 (bug 1482782)
2018-08-15 09:14:41 +03:00
Cameron McCormack
e816227f97
Bug 1482782 - Part 6: Remove support for multiple static atom sources. r=njn,emilio
...
Summary: Depends On D3284
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3285
2018-08-15 15:46:42 +10:00
Cameron McCormack
d9edae8bde
Bug 1482782 - Part 5: Move CSS anonymous box atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3283
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3284
2018-08-15 15:46:39 +10:00
Cameron McCormack
cc6c806369
Bug 1482782 - Part 4: Move CSS pseudo-element atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3282
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3283
2018-08-15 15:46:00 +10:00
Paolo Amadini
dc49387df8
Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov
...
MozReview-Commit-ID: Bx1p1nTurCz
--HG--
extra : rebase_source : 6910e500f30eb42b45032dbab85a3dc9c014390b
2018-07-18 11:23:32 +01:00
Andrea Marchesini
4e97b69ebf
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 3 - ContentPrincipal, r=ckerschb
2018-07-17 21:38:48 +02:00
Andrea Marchesini
58f78c6f5d
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 2 - SystemPrincipal, r=ckerschb
2018-07-17 21:38:19 +02:00
Andrea Marchesini
a053cf1c15
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb
2018-07-17 21:37:48 +02:00
Emma Malysz
ce8c74748f
Bug 1454358
, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
...
MozReview-Commit-ID: LBQ0RoS0ZVc
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : 6a0de76dfdacbc29d261a4aea703a44f87ad7e12
2018-06-25 10:11:31 -07:00
Bogdan Tara
6dbc2726d8
Backed out changeset b099e7e0b264 (bug 1454358
) for build bustages on Element.h CLOSED TREE
...
--HG--
rename : dom/chrome-webidl/XULScrollElement.webidl => dom/webidl/ScrollBoxObject.webidl
rename : dom/xul/XULScrollElement.cpp => layout/xul/ScrollBoxObject.cpp
rename : dom/xul/XULScrollElement.h => layout/xul/ScrollBoxObject.h
2018-07-12 01:50:53 +03:00
Emma Malysz
c28a132d13
Bug 1454358
, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
...
MozReview-Commit-ID: LBQ0RoS0ZVc
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : ad00e7030e50229975b0bc0d3c622af4fe244a79
2018-06-25 10:11:31 -07:00
Andrea Marchesini
10a98f93d1
Bug 1268889 - Implement Clear-Site-Data header - part 1, r=mayhemer
2018-06-20 11:57:49 -04:00
Narcis Beleuzu
3f9f7d8191
Backed out 4 changesets (bug 1268889) for Windows GTest failures. CLOSED TREE
...
Backed out changeset da427a67372e (bug 1268889)
Backed out changeset 97528847b7b7 (bug 1268889)
Backed out changeset b2320061fbcb (bug 1268889)
Backed out changeset dd3b7047ea6f (bug 1268889)
2018-06-21 16:51:55 +03:00
Andrea Marchesini
2726b1820f
Bug 1268889 - Implement Clear-Site-Data header - part 1, r=mayhemer
2018-06-20 11:57:49 -04:00
Boris Zbarsky
f550c5b2d0
Bug 1466298 part 1. Switch the geolocation service to using a singleton constructor. r=mccr8
2018-06-04 12:41:01 -04:00
Andrea Marchesini
d13a49eca5
Bug 1466023 - nsHostObjectURI renamed BlobURL, r=qdot
...
--HG--
rename : dom/file/nsHostObjectURI.cpp => dom/file/BlobURL.cpp
rename : dom/file/nsHostObjectURI.h => dom/file/BlobURL.h
2018-06-02 15:51:42 +02:00
Andrea Marchesini
7ba8b77e07
Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
...
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.
It also removes a memory reporter because that report is already covered by the
BlobURL one.
--HG--
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/file/BlobURLProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/file/BlobURLProtocolHandler.h
2018-06-02 15:51:42 +02:00
Andrea Marchesini
1273dc5391
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Peter Van der Beken
2de39f46d8
Bug 1146316 - Leak fix, set up CC in XPCShell too. r=smaug.
...
XPCShell allows interaction with object that are cycle collected, but we never run the
cycle collector in it. In XPCShell we don't call nsJSContext::EnsureStatics.
nsJSContext::EnsureStatics is responsible for setting DOMGCSliceCallback as a GC callback,
which we need for running the cycle collector.
--HG--
extra : rebase_source : 5f12c15dabf3b23d9e4b1d8d88920e476d2d4bd6
2018-05-08 17:07:33 +02:00
Boris Zbarsky
b134958200
Bug 1452666. Implement nsISerializable on expanded principals. r=kmag
2018-05-24 02:43:14 -04:00
Kris Maglione
3d65fdbc34
Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike
...
MozReview-Commit-ID: 32Nl5McAFGJ
--HG--
extra : source : c00426f6bc7d1a10e5609ac9530eb315d64d9d85
extra : histedit_source : 4ab49fa208d0fc0ccd8e0b623644cc91d705d462
2018-04-28 20:06:40 -07:00
Dorel Luca
db79e8d752
Backed out 2 changesets (bug 833098) for depending on bug 1457749
...
Backed out changeset c00426f6bc7d (bug 833098)
Backed out changeset 2ea9f1f5269e (bug 833098)
2018-05-08 13:47:51 +03:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Kris Maglione
d977920517
Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike
...
MozReview-Commit-ID: 32Nl5McAFGJ
--HG--
extra : rebase_source : 16fa6bd9809078dee570ce3869436d6546c5ee8d
extra : histedit_source : b577bd104042a0c5f300bc3b4e3e5dd799333c94
2018-04-28 20:06:40 -07:00
Neil Deakin
ef5f9b4b23
Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
...
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.
--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Emilio Cobos Álvarez
f8233b4454
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00