Kyle Machulis
2bb286e58e
Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
...
Depends on D19728
Differential Revision: https://phabricator.services.mozilla.com/D19729
--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Tom Schuster
79d3c5244b
Bug 571074 - Mark nsITransferable.getTransferData as [must_use]. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D13454
--HG--
extra : moz-landing-system : lando
2019-01-04 16:16:59 +00:00
Tooru Fujisawa
ba1b11b334
Bug 1509384 - Use IPC::Principal instead of Principal URI string in Drag-and-Drop. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D13728
--HG--
extra : moz-landing-system : lando
2019-01-04 03:16:46 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andreea Pavel
987516303f
Backed out changeset f9900ac6071c (bug 571074) for failing clipboard at browser/base/content/test/general/browser_clipboard.js on a CLOSED TREE
2018-11-30 02:30:22 +02:00
Tom Schuster
891f0040e6
Bug 571074 - Mark nsITransferable.getTransferData as [must_use]. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D13454
--HG--
extra : moz-landing-system : lando
2018-11-29 21:57:40 +00:00
Tom Schuster
29211098ca
Bug 1493292 - Remove len from nsIFlavorDataProvider r=smaug
...
Depends on D11203
Differential Revision: https://phabricator.services.mozilla.com/D11204
--HG--
extra : moz-landing-system : lando
2018-11-20 17:01:44 +00:00
Tom Schuster
5a9d2a428c
Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
...
Depends on D11200
Differential Revision: https://phabricator.services.mozilla.com/D11201
--HG--
extra : moz-landing-system : lando
2018-11-20 16:59:56 +00:00
Csoregi Natalia
df7483024d
Backed out 6 changesets (bug 1493292) for bustage on /nsTransferable.cpp. CLOSED TREE
...
Backed out changeset f198bf91320b (bug 1493292)
Backed out changeset 6487aa307123 (bug 1493292)
Backed out changeset f2cabd69c568 (bug 1493292)
Backed out changeset 71430fceb4a3 (bug 1493292)
Backed out changeset 3a9b6d65d8c7 (bug 1493292)
Backed out changeset 55769869037c (bug 1493292)
2018-11-20 17:13:18 +02:00
Tom Schuster
e2f59a0c22
Bug 1493292 - Remove len from nsIFlavorDataProvider r=smaug
...
Depends on D11203
Differential Revision: https://phabricator.services.mozilla.com/D11204
--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:11 +00:00
Tom Schuster
b292ec7c2c
Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
...
Depends on D11200
Differential Revision: https://phabricator.services.mozilla.com/D11201
--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:02 +00:00
Boris Zbarsky
0216588e17
Bug 1507540 part 5. Use more notxpcom attributes in widget/. r=ehsan
2018-11-19 20:17:54 -05:00
Adrian Wielgosik
be0c1a4f55
Bug 1481645 - Remove some redundant uses of do_QueryInterface. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D2893
--HG--
extra : moz-landing-system : lando
2018-08-13 09:05:19 +00:00
Gijs Kruitbosch
09a107bc24
Bug 1469916, r=ckerschb,jkt
...
--HG--
extra : rebase_source : 180442deeef92f0e9202d76c5e4e46b630072d99
extra : source : be11a32900298eb6fd4d18ad21b9a699995254c3
2018-06-22 15:41:39 +01:00
Gijs Kruitbosch
9396488809
Backed out changeset be11a3290029 (bug 1469916) for test orange involving `Not enough arguments [nsIWebBrowserPersist.saveURI]`
2018-07-03 15:45:13 +01:00
Gijs Kruitbosch
0d0616cad1
Bug 1469916, r=ckerschb,jkt
...
--HG--
extra : rebase_source : 5c2f49af85664fdb5375f6dc4cc57d6913f1eff9
2018-06-22 15:41:39 +01:00
Doug Thayer
488eb2eb9c
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : 61afc5481dc8ec34caba1886bd74200cf3659fb4
2018-04-13 11:04:47 -07:00
Dorel Luca
d296624690
Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
...
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Doug Thayer
864c89631c
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : 4f8dd2996d820fdb5a07afe544be5e2d6ca6a5c7
2018-04-13 11:04:47 -07:00
Bogdan Tara
d2fb3a8812
Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
...
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Doug Thayer
5685ea3b89
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : b01f47e439a61492ad999ae30677c48535e8cd4c
2018-04-13 11:04:47 -07:00
Boris Zbarsky
bea3100e53
Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot
2018-05-29 22:58:49 -04:00
Boris Zbarsky
2e09ba1f75
Bug 1377980 part 2. Remove most C++ use of nsIDOMRange. r=mccr8
2018-05-17 12:01:38 -04:00
Boris Zbarsky
30e5cc5d8b
Bug 1387143 part 24. Remove nsISelection::ContainsNode. r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
f992e7ed0d
Bug 1387143 part 22. Remove nsISelection isCollapsed/collapsed bits. r=mats
2018-05-08 13:52:39 -04:00
Boris Zbarsky
f7d68d6078
Bug 1387143 part 21. Remove nsISelection getters for anchor and focus points. r=mats
...
Instead of copying spec-duplicating comments from nsISelection.idl to
Selection.webidl, this just points the latter to the right spec.
2018-05-08 13:52:38 -04:00
Boris Zbarsky
46cae9462a
Bug 1387143 part 3. Stop using nsISelection in nsISelectionController. r=mats
2018-05-08 13:52:36 -04:00
Boris Zbarsky
3463812125
Bug 1387143 part 2. Stop using nsISelection in nsIDocumentEncoder. r=mats
2018-05-08 13:52:36 -04: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
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Nika Layzell
b286bc10d9
Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug
2018-04-10 17:49:46 -04: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
Boris Zbarsky
2367e5d3ff
Bug 1447889 part 12. Remove nsIDOMRange::ToString. r=mystor
...
MozReview-Commit-ID: 8TDYC3f4ENn
2018-03-27 00:35:22 -04: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
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
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Boris Zbarsky
5b0b5358d6
Bug 1446527 part 6. Remove nsIDOMUIEvent. r=qdot
...
MozReview-Commit-ID: 7GbifGJQUtQ
2018-03-26 14:53:03 -04:00
Boris Zbarsky
4fbe59c404
Bug 1445417 part 4. Remove nsIDOMDragEvent. r=mystor
...
MozReview-Commit-ID: 6hQ7mHLaLcx
2018-03-16 22:25:25 -04:00
Valentin Gosu
55a7a824c6
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
--HG--
extra : rebase_source : f2a17aee7bb66a7ba8652817d43b9aa7ec7ef710
2018-02-21 01:00:54 +01:00
nbeleuzu@mozilla.com
01eef6aff1
Backed out changeset c9dcce0a1068 (bug 1435671) for build bustages on nsIURIMutator.h. CLOSED TREE
2018-02-21 00:06:46 +02:00
Valentin Gosu
f1850e9354
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
--HG--
extra : rebase_source : 592d13349a8c4627c7ce3146ec592f577b39f3cc
2018-02-20 22:39:40 +01:00
Tooru Fujisawa
48bb8e02c7
Bug 1424107 - Pass the triggering principal URI across processes in drag-and-drop. r=smaug
2018-02-09 10:43:53 +09:00
Boris Zbarsky
478687c2e8
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Valentin Gosu
7183e543b2
Bug 1432320 - (Part 2) Change calls to nsIURL.{fileName,fileBaseName,fileExtension} setters to use nsIURLMutator r=mayhemer
...
MozReview-Commit-ID: D5aTl1i14gI
--HG--
extra : rebase_source : 6d4a8606da971426c554c31d188567cf1e6c8741
2018-01-31 02:33:06 +01:00
Boris Zbarsky
e565b1fe1b
Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8
...
MozReview-Commit-ID: 2f1vFvRdCPG
2018-01-29 23:28:00 -05:00
Boris Zbarsky
9525cabcc3
Bug 1432186 part 15. Remove nsIDOMNode::HasChildNodes. r=mccr8
...
MozReview-Commit-ID: GFc2sv4E7b2
2018-01-29 23:10:51 -05:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00