Emilio Cobos Álvarez
8239c1300e
Bug 1386840: Defer loading and don't block rendering for non-matching stylesheets. r=bz,heycam
...
MozReview-Commit-ID: 24UJZDooGmn
2018-04-26 16:44:03 +02:00
Emilio Cobos Álvarez
a00f507b72
Bug 1456435: Make UpdateStyleSheet less bool-happy. r=heycam
...
MozReview-Commit-ID: FlTD390lMhg
2018-04-26 16:43:52 +02: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
Eric Rahm
ec9d567f14
Bug 1451908 - Check for infinite value in txFormatNumberFunctionCall. r=peterv a=abillings
2018-04-17 11:22:04 -07:00
Eric Rahm
f17fbddf9a
Bug 1451908 - Check for infinite value in txFormatNumberFunctionCall. r=peterv
...
--HG--
extra : rebase_source : d62467b2d010506e4cec724ac89476b56ad5d536
2018-04-17 11:22:04 -07:00
Dorel Luca
3409e8f9fb
Merge mozilla-central to autoland
...
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Brian Grinstead
37febf2987
Bug 1455680 - Notify document-element-inserted in XUL documents;r=bz
...
We'll want to use this event to inject scripts before other scripts run
in XUL documents. It already fires in HTML documents.
MozReview-Commit-ID: 7FW0R8r9o9G
--HG--
extra : rebase_source : 28fe9b6a4bcbb6ecf8966a0c059d867bf66285bf
2018-04-20 13:55:51 -07:00
Boris Zbarsky
38ecaf4bb7
Bug 1452183 part 3. Stop using nsIDOMDocumentFragment in C++. r=mccr8
2018-04-17 21:13:03 -04:00
Boris Zbarsky
d49151ed50
Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8
2018-04-17 21:13:03 -04:00
Andrew McCreight
3f7472aec1
Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz
...
This method is not a virtual call, and also looks nicer.
This patch was mostly generated by a Python script, but I manually
cleaned up the code in a few places where statements didn't need to be
split across multiple lines any more.
MozReview-Commit-ID: 8JExxqSRc59
--HG--
extra : rebase_source : df6330a89e8d65dfe7a6fda0c8cb9f9732302efc
2018-04-12 15:41:00 -07: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
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02: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
Nicholas Nethercote
1ad4d0e314
Bug 1451169 - Reduce indirection for static pointers in txCoreFunctionCall.cpp. r=erahm
...
The patch also adds more `const` to txCoreFunctionDescriptor.
MozReview-Commit-ID: 6VFyAcjD98F
--HG--
extra : rebase_source : db054286e7e236775d686e406c6e05a18d5b5f35
2018-04-03 22:15:31 +10:00
Peter Van der Beken
edd705b1ca
Bug 1444119 - Remove XPCOM extensibility of XSLT functions. r=bz.
...
--HG--
extra : rebase_source : 7ee56e82624d401f62dccd1180ce07b531ae816e
2018-02-27 19:08:46 +01:00
Boris Zbarsky
4370006c40
Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8
2018-03-28 18:01:47 -04:00
Boris Zbarsky
693169e324
Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8
2018-03-28 18:01:46 -04:00
Henri Sivonen
828fac8d2c
Bug 1448588 - Assume contiguous XPCOM strings in txDouble. r=peterv.
...
MozReview-Commit-ID: 9gDx13PNFWr
--HG--
extra : rebase_source : aeee559d77cab127a4f52a6e83455f6f41454f72
2018-03-24 21:24:25 +02:00
Cosmin Sabou
c39c079687
Backed out 2 changesets (bug 1444119) for build bustages on dom/xslt/xslt/txEXSLTFunctions.cpp. CLOSED TREE
...
Backed out changeset bca28a3a066a (bug 1444119)
Backed out changeset 3181f8c1a539 (bug 1444119)
2018-03-23 13:16:32 +02:00
Peter Van der Beken
613c30d626
Bug 1444119 - Remove XPCOM extensibility of XSLT functions. Fix build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 00586d43ad09241f3a27431b9af0b3848ed6ac46
2018-03-23 11:39:53 +01:00
Peter Van der Beken
1de062f3aa
Bug 1444119 - Remove XPCOM extensibility of XSLT functions. r=bz.
...
--HG--
extra : rebase_source : f01664d9860b86118e61707efe1eb4376367d9f7
2018-02-27 19:08:46 +01:00
Peter Van der Beken
434ae5628d
Bug 1436040 - xslt processor: <?xslt-param name= value= ?> isn't recognized. r=bz.
...
The patch for bug 1387427 made us keep the source content in an array and we don't insert
it into the document anymore. The code for xslt-param and xslt-param-namespace should look
in the source content array instead of the document.
--HG--
extra : rebase_source : bbf4c6ab66357b3d7fe3f91fefc040d0a19578f5
2018-02-20 20:55:23 +01:00
Peter Van der Beken
20e677d1b8
Bug 1430818 - Crash in URIUtils::ResetWithSource. r=bz.
...
We want to create the source fragment before trying to use it in URIUtils::ResetWithSource.
The testcase triggers an assertion related to unbalanced onload blocking/unblocking,
fixing that by blocking onload on the new document we're setting in OnTransformDone and
unblocking onload on the old document.
--HG--
extra : rebase_source : 8bbdb9ce6a38dc6b76d13dfb2c3c7d67f78ecefe
2018-02-05 17:08:09 +01:00
Nicholas Nethercote
e7236b0cc6
Bug 1447914 - Change FunctionCall::getAtomName() to appendName(). r=froydnj
...
getAtomName() is only used in one place -- FunctionCall::toString() -- where
the returned atom is appended to a string. This patch changes it to
appendName(), which does the appending itself. This avoids a bunch of manual
atom refcounting and the possibility of failure.
MozReview-Commit-ID: I75rO1Bv6Y8
--HG--
extra : rebase_source : ef78377db12b2e89c582e32836d3abd460bde7d0
2018-03-23 08:05:29 +11:00
Boris Zbarsky
df6c05a122
Bug 1442039 part 14. Remove nsDOMClassInfoID.h. r=peterv
...
MozReview-Commit-ID: 6pZs1XI1oSd
2018-03-21 23:13:30 -04:00
Miko Mynttinen
65c6bee9d6
Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
...
MozReview-Commit-ID: rGjabnP2iz
--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Adrian Wielgosik
af8740d569
Bug 1447392 - Remove all members from nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 68xF7CTMpKB
--HG--
extra : rebase_source : 28b9c5e31d1c93b5c56743e12909eb749e8688f9
2018-03-20 19:02:08 +01:00
Boris Zbarsky
4d10a59d53
Bug 1446533
part 6. Remove nsIDOMCharacterData::GetLength r=mystor
...
MozReview-Commit-ID: FCBGyqPfC4B
2018-03-19 15:33:28 -04:00
Boris Zbarsky
b990bb4bdb
Bug 1446599
part 4. Remove nsIDOMProcessingInstruction. r=mystor
...
MozReview-Commit-ID: EZVcDlMO3ev
2018-03-19 15:15:40 -04:00
Boris Zbarsky
46cdbdc51b
Bug 1433566 part 13. Remove nsIDOMText. r=mystor
...
MozReview-Commit-ID: DvaZ96j5exf
2018-03-19 15:15:39 -04:00
Boris Zbarsky
633cf0f02a
Bug 1445140 part 1. Remove the XPCOM-ish version of NS_NewDOMDocumentType. r=mystor
...
MozReview-Commit-ID: 6sEFIfMgqet
2018-03-13 16:24:01 -04:00
Kannan Vijayan
627eb6ae9a
Bug 1411415 - r=bz r=fitzgen
2018-03-05 19:27:02 -05:00
Emilio Cobos Álvarez
2988d4e66d
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Victor
f9291f89f9
Bug 1441523 - Remove the first declaration of "start" and set it in each condition r=erahm
...
--HG--
extra : amend_source : b298e1cb8898275c2af7f05fb583b0b345d0158b
2018-02-27 14:37:19 +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
Emilio Cobos Álvarez
9f26540cc4
Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
...
It's not intended to be mutated.
MozReview-Commit-ID: 5nkD1YkidlV
--HG--
extra : rebase_source : 810d429208fa3eaf30e220e77a7d27107cb77346
2018-02-27 15:30:27 +01:00
Emilio Cobos Álvarez
1f9cbf532c
Bug 1454251: Remove nsINode::eATTRIBUTE. r=bz
...
MozReview-Commit-ID: 7HeUbcG6szy
2018-04-20 09:52:26 +02:00
Emilio Cobos Álvarez
fea49419b0
Bug 1454251: Remove nsINode::ePROCESSING_INSTRUCTION. r=bz
...
MozReview-Commit-ID: Xz5UiIgRpz
2018-04-20 09:52:09 +02:00
Emilio Cobos Álvarez
6766804ba7
Bug 1454251: Remove nsINode::eCOMMENT. r=bz
...
MozReview-Commit-ID: AbSPU25fFbM
2018-04-20 09:51:57 +02:00
Emilio Cobos Álvarez
d8e55e4596
Bug 1454236: Remove nsINode::eDOCUMENT_FRAGMENT. r=bz
...
MozReview-Commit-ID: D2F3LbQ1pvw
2018-04-20 01:30:12 +02:00
Emilio Cobos Álvarez
83fd987aec
Bug 1454233: Remove nsINode::eDOCUMENT. r=bz
...
MozReview-Commit-ID: ItjdI79zme7
2018-04-20 01:30:11 +02:00
Cameron McCormack
73774a4b98
Bug 1435666 - Part 4: Remove nsIDOMXPathEvaluator. r=bz
...
MozReview-Commit-ID: 2nZmbJ9mdwI
--HG--
extra : rebase_source : 3acc54ac7726de2ff00a9b7ddadfcb7e28f573eb
2018-02-05 13:05:45 +08: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
Boris Zbarsky
3990908dfe
Bug 1435430 part 10. Remove now-unused nsIXSLTProcesor interfaces. r=mystor
...
MozReview-Commit-ID: JBdem9vRgcN
2018-02-05 16:00:05 -05:00
Boris Zbarsky
d271a46ecf
Bug 1435430 part 9. Remove nsIXSLTProcessorPrivate::DISABLE_ALL_LOADS. r=mystor
...
MozReview-Commit-ID: PCHylPszxI
2018-02-05 16:00:05 -05:00
Boris Zbarsky
e925a44c0a
Bug 1435430 part 8. Remove nsIXSLTProcessor::ClearParameters and nsIXSLTProcessor::Reset. r=mystor
...
MozReview-Commit-ID: 3qsXzmoqQlY
2018-02-05 16:00:05 -05:00
Boris Zbarsky
ff6b676fa8
Bug 1435430 part 7. Remove nsIXSLTProcessor::RemoveParameter. r=mystor
...
MozReview-Commit-ID: 8cf2jHkGS7L
2018-02-05 16:00:04 -05:00
Boris Zbarsky
4a7d53ae9a
Bug 1435430 part 6. Remove nsIXSLTProcessor::GetParameter. r=mystor
...
MozReview-Commit-ID: EmoJDwDw4kp
2018-02-05 16:00:04 -05:00
Boris Zbarsky
c7caeef3ae
Bug 1435430 part 5. Remove nsIXSLTProcessor::SetParameter. r=mystor
...
MozReview-Commit-ID: 47Pc4Puub4T
2018-02-05 16:00:04 -05:00
Boris Zbarsky
f7873b036a
Bug 1435430 part 4. Remove nsIXSLTProcessor::TransformToDocument. r=mystor
...
MozReview-Commit-ID: C15Gr1oxq8s
2018-02-05 16:00:04 -05:00
Boris Zbarsky
daa2640fb6
Bug 1435430 part 3. Remove nsIXSLTProcessor::ImportStylesheet. r=mystor
...
MozReview-Commit-ID: Csqh40GjqJn
2018-02-05 16:00:04 -05:00
Boris Zbarsky
594dedafaa
Bug 1435430 part 2. Remove nsIXSLTProcessor::TransformToFragment. r=mystor
...
MozReview-Commit-ID: L1ILcLGAyy
2018-02-05 16:00:04 -05:00
Boris Zbarsky
ba9661475c
Bug 1435430 part 1. Switch to creating XSLTProcessors via constructor, not contract. r=mystor
...
MozReview-Commit-ID: A20gseUzUFT
2018-02-05 16:00:04 -05:00
Boris Zbarsky
e4b987a4d3
Bug 1434318 part 6. Remove nsIDOMDocument::CreateDocumentFragment. r=mystor
...
MozReview-Commit-ID: A4Me0H1MzL6
2018-01-31 15:18:10 -05: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
Boris Zbarsky
f60fd673d6
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Boris Zbarsky
37aaea3c1f
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky
c646473558
Bug 1432186 part 3. Remove nsIDOMNode's nodeName attribute. r=mccr8
...
MozReview-Commit-ID: Jg0Tuvdi6uX
2018-01-29 23:10:50 -05: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
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
Andrea Marchesini
c6da271117
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01: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
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
Brindusan Cristian
368c3d5b6b
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
6480b95ba3
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Andrea Marchesini
b8bb98af8c
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Boris Zbarsky
f1d64479e7
Bug 1431964 part 10. Remove nsIDOMAttr. r=mccr8
...
MozReview-Commit-ID: xj4QeXBF9V
2018-01-21 12:07:31 -05:00
Dorel Luca
5436902556
Backed out changeset 2fdccaab2e7c (bug 1431030) for build bustages on a CLOSED TREE
...
--HG--
extra : amend_source : 4b243382b2a63958021222c739db5e1ae2739b88
2018-01-18 12:35:53 +02:00
Sylvestre Ledru
ecb3dafe1e
Bug 1431030 - Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions r=jimm
...
MozReview-Commit-ID: 2oTHhb2VBWX
--HG--
extra : rebase_source : 79819bd1e4fd7d8b94f5ccf056749e3ac6f63925
2018-01-17 11:02:35 +01:00
Andrea Marchesini
e144f7a428
Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in txMozillaXMLOutput, r=catalinb
2018-01-16 19:00:23 +01:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Valentin Gosu
f943b98a02
Bug 1426501 - Change JS code to use nsIURIMutator instead of the nsIURI.spec setter r=mayhemer
...
MozReview-Commit-ID: FI6WrsQT2ke
--HG--
extra : rebase_source : 2b286c47c19ebd112a0c47fbe0a4c23bdb04755f
2018-01-08 15:20:29 +01:00
Cosmin Sabou
81a8319b46
Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
...
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Andrea Marchesini
b3f813ca74
Bug 1425440 - Get rid of GetChildAt_Deprecated in txMozillaXMLOutput, r=catalinb
2018-01-03 16:29:59 +01:00
Andrea Marchesini
6ee7f4e6f3
Bug 1425321 - Renaming nsINode::RemoveChildAt to RemoveChildAt_Deprecated, r=catalinb
2018-01-03 14:01:03 +01: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
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Gijs Kruitbosch
263144df26
Bug 1425356 - remove local-build-only 'buster' XSLT qa tool, r=florian,Pike
...
This tool has basically been untouched since hg@1, except for codebase-wise changes, and as far as I can tell has
never had UI in Firefox (only in comm-central). It's the only remaining consumer of XUL templates, and I'm assuming it
can just be removed.
MozReview-Commit-ID: HjLx65PQldz
--HG--
extra : rebase_source : f75262c7b0e84fc72cf5a11668e19a13b5cc58d3
2017-12-20 17:04:17 +00:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Edgar Chen
5fedbb92b8
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
...
MozReview-Commit-ID: HgbFo9ddr0o
--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Eric Rahm
6058ba50a3
Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn on a CLOSED TREE
...
Remove the headers included for "backwards compatibility" and just include them
where required.
--HG--
extra : source : e2beba7e6875120ebbbcadf24bcbcb5b86411a94
extra : amend_source : 11f07a27431cd468511f0bd45afe36150c6e342c
2017-12-06 19:36:57 -08:00
Csoregi Natalia
f488657fbd
Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE
2017-12-09 07:23:35 +02:00
Gurzau Raul
0fcc1a37e6
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-12-09 00:57:59 +02:00
Eric Rahm
74880b3483
Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn
...
Remove the headers included for "backwards compatibility" and just include them
where required.
--HG--
extra : rebase_source : 03e703a81ed4b80f4f116ff36d8787464ce5acba
2017-12-06 19:36:57 -08:00
Eric Rahm
922fd574f8
Bug 1423781 - Remove nsVoidableString. r=njn
...
--HG--
extra : rebase_source : 25d33d7d8096cb888767d00dcda821275e9906db
2017-12-06 17:33:23 -08:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Emilio Cobos Álvarez
74b31155f7
Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
...
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Jon Coppeard
1aa0606254
Bug 1421259 - Fix error events fired when loading JS module dependencies fail r=baku
2017-12-01 13:12:48 +00:00
Peter Van der Beken
cdf2be05f9
Bug 1387427 - Use nsINode/nsIDocument more. r=smaug.
...
--HG--
extra : rebase_source : 6895ccb6e2605f50978479ca3b630d64634cc19b
extra : histedit_source : 66f1fb9f2179c12ee3cb7f7b9410455ea20593be
2017-10-30 12:43:00 +01:00
Peter Van der Beken
8be94b2873
Bug 1387427 - Don't insert source content into the document for XSLT transforms. r=smaug.
...
--HG--
extra : rebase_source : 7cdea3989195de99a3fa948c504b9e098e8588d2
extra : histedit_source : 16b109645701a54919ca83363a398b475a8a4042
2017-11-03 16:58:59 +01:00
Ryan VanderMeulen
cd554f1bcf
Backed out 2 changesets (bug 1387427) for crashtest assertions on a CLOSED TREE.
...
Backed out changeset ae0c53b70e5e (bug 1387427)
Backed out changeset 45412efc0aff (bug 1387427)
--HG--
extra : amend_source : c44efc692191faa5ad73b1142679f739f52fecfc
2017-11-28 15:55:36 -05:00
Peter Van der Beken
b7f7f14ddd
Bug 1387427 - Use nsINode/nsIDocument more. r=smaug
2017-10-30 12:43:00 +01:00
Peter Van der Beken
652dc1dd61
Bug 1387427 - Don't insert source content into the document for XSLT transforms. r=smaug
2017-11-03 16:58:59 +01:00
Peter Van der Beken
54c98fa283
Bug 1349720 - Land crashtests from bug 1336828, bug 1336830 and bug 1336832.
...
--HG--
extra : rebase_source : a762c1c7384e5e7eaeef68d39f603e84b6b63bc0
2017-03-22 20:41:51 +01:00
Peter Van der Beken
5761ab0613
Bug 949990 - XPath: "Assertion failure: isNode() || isIterator() || isSnapshot()", throw NOT_SUPPORTED_ERR if an invalid value is passed in. r=bz.
...
--HG--
extra : rebase_source : 1a308943960b6253d7f367b452fd5e181195599f
2017-11-07 14:17:38 +01:00
Nicholas Nethercote
8ad99dd7fa
Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
...
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)
MozReview-Commit-ID: 4Q6QHX5h44V
--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00
Emilio Cobos Álvarez
dd634e3981
Bug 1411612: Kill nsINode::eCONTENT. r=bz
...
MozReview-Commit-ID: ESlOqlwhcHI
--HG--
extra : rebase_source : fe6a02469dca1e50c24ba166e15e39160ab4551b
2017-10-25 17:19:11 +02:00
Jonathan Watt
60fa0649f2
Bug 1406819 - Remove various bits of dead code from dom/. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Catalin Badea
f8162c4bfd
Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv
2017-10-03 11:09:08 +01:00
Ryan VanderMeulen
c336a4160a
Bug 1330492 - Check for nsIDocument::READYSTATE_INTERACTIVE if mObserver is null. r=peterv
...
--HG--
extra : rebase_source : 262eef6939cd541990962ff439204619e28180df
2017-09-28 12:18:30 -04:00
Wes Kocher
61c098eae7
Merge inbound to m-c a=merge CLOSED TREE
...
MozReview-Commit-ID: 3pMHYV9oXLm
--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Peter Van der Beken
ec6e052af1
Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm.
...
Use separate classes for parameter and variable maps, and refcount the class for parameter
maps, since a parameter map can be stored in multiple places.
--HG--
extra : rebase_source : 56cc22349a8e03925e3d7446528dd70456117f52
2017-09-12 12:45:24 +02:00
Nicholas Nethercote
dfd3b7e7aa
Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
...
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.
These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.
- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>
- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
- Count() --> Length()
- ObjectAt() --> ElementAt()
- AppendObject() --> AppendElement()
- RemoveObjectAt() --> RemoveElementAt()
- ns*Hashtable<nsISupportsHashKey, ...> -->
ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>
- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
- This requires adding a Get() method to nsRefPtrHashtable that it lacks but
nsInterfaceHashtable has.
- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
- nsArrayBase::Create() --> nsTArray()
- GetLength() --> Length()
- do_QueryElementAt() --> operator[]
The patch also has some changes to Rust code that manipulates nsIAtom.
MozReview-Commit-ID: DykOl8aEnUJ
--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Chris Peterson
a0c8081df4
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Nicholas Nethercote
e3c9cbb969
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Eric Rahm
a33f11e0f5
Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
...
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.
--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
Carsten "Tomcat" Book
99aa3f8e70
Merge mozilla-central to mozilla-inbound
2017-08-17 13:13:10 +02:00
Nicholas Nethercote
025461bde7
Bug 1390428
(part 1) - Remove many nsXPIDLCString local variables. r=erahm.
...
These are all easy cases where an nsXPIDLCString local variable is set via
getter_Copies() and then is only used in ways that nsCStrings can also be used
(i.e. no null checks or implicit conversions to |char*|).
In every case the patch trivially replaces the nsXPIDLCString with an
nsCString. (Also, there are a couple of unused nsXPIDLCString variables that
the patch simply removes.)
2017-08-16 13:58:35 +10:00
Xidorn Quan
179961b3c9
Bug 1383845 - Enable tests disabled for bug 1383845. r=TYLin
...
MozReview-Commit-ID: Glao9d9PiUF
--HG--
extra : rebase_source : cfc70fcb350a7ee8e325ba1bda0bcdead62d786e
2017-08-17 10:51:59 +10:00
Nicholas Nethercote
f941156987
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Kyle Machulis
d812ac4e87
Bug 1279218 - Additional applet tag logic removal; r=bz
...
I've been having problems with interdiffs on mozreview lately, so for
ease of review, this patch is being submitted as a seperate patch for
review. Once it is r+'d, it will be folded into the first patch in
this set before landing.
MozReview-Commit-ID: CS9MngaXlBd
--HG--
extra : rebase_source : 6a86fd4f7a66e73497a756976a2562d183002a2a
2017-07-28 16:44:39 -07:00
J. Ryan Stinnett
c79cb3fbb1
Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
...
MozReview-Commit-ID: JNsNUOZfd2e
--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Nicholas Nethercote
c86dc10505
Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk.
...
Most of the names passed to nsIStringBundle::{Get,Format}StringFromUTF8Name
have one of the two following forms:
- a 16-bit C string literal, which is then converted to an 8-bit string in
order for the lookup to occur;
- an 8-bit C string literal converted to a 16-bit string, which is then
converted back to an 8-bit string in order for the lookup to occur.
This patch introduces and uses alternative methods that can take an 8-bit C
string literal, which requires changing some signatures in other methods and
functions. It replaces all C++ uses of the old methods.
The patch also changes the existing {Get,Format}StringFromName() methods so
they take an AUTF8String argument for the name instead of a wstring, because
that's nicer for JS code.
Even though there is a method for C++ code and a different one for JS code,
|binaryname| is used so that the existing method names can be used for the
common case in both languages.
The change reduces the number of NS_ConvertUTF8toUTF16 and
NS_ConvertUTF16toUTF8 conversions while running Speedometer v2 from ~270,000 to
~160,000. (Most of these conversions involved the string
"deprecatedReferrerDirective" in nsCSPParser.cpp.)
--HG--
extra : rebase_source : 3bee57a501035f76a81230d95186f8c3f460ff8e
2017-07-12 15:13:37 +10:00
Boris Zbarsky
5c76874a46
Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
...
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Catalin Badea
8d614681bb
Bug 1369063 - Remove mCurrentIndex from txMozillaXPathTreeWalker and use (Next/Previous)Sibling instead. r=peterv
2017-07-04 13:38:19 +01:00
Nicholas Nethercote
3e439bb4f8
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Carsten "Tomcat" Book
4e00eff077
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Masatoshi Kimura
b515c9c804
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Sebastian Hengst
dfc1ad2562
Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE
2017-06-25 18:30:13 +02:00
Masatoshi Kimura
2e04751921
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : a84ab644f52e68676b45f112ff69f868d89f6177
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Wes Kocher
e02435a31e
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
...
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura
241039fd97
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : 09da1685795583513bf019d61c58230c2c4d298d
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Nicholas Nethercote
f1364a75ea
Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsSubstring --> nsAString
- nsCSubstring --> nsACString
--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Nicholas Nethercote
fe9268c4cd
Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsAFlatString --> nsString
- nsAFlatCString --> nsCString
--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Nicholas Nethercote
1572f96f5d
Bug 1374580 (part 1) - Remove nsASingleFragment{,C}String typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsASingleFragmentString --> nsAString
- nsASingleFragmentCString --> nsACString
--HG--
extra : rebase_source : e6a1ddc8938fecd9a735b15e872c054edf4c7910
2017-06-20 19:18:17 +10:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Masatoshi Kimura
838ccc4108
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Peter Van der Beken
c2849d4c0b
Bug 1361892 - Null check pointer before calling Release. r=erahm.
...
--HG--
extra : rebase_source : b80444629fc5cf92431297fd3bae61f805537162
2017-05-08 17:02:12 +02:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Christoph Kerschbaumer
3e5250e481
Bug 1359545 - Update tests to pass triggeringPrincipal to loadURI. r=bz, r=gijs
...
--HG--
extra : rebase_source : 18f001b434fbe0d6075558f086fd8263a7b2a19b
2017-04-26 21:45:30 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Eric Rahm
3ab41f111b
Bug 1349695 - Part 3: Convert manual addrefs in txNodeSorter::sortNodeSet. r=peterv
...
Use RefPtr::forget to avoid an AddRef/Release pair when returning.
2017-04-10 14:04:27 -07:00
Eric Rahm
7a68f28ccb
Bug 1349695 - Part 2: Use separate arrays in txNodeSorter::sortNodeSet. r=peterv
...
This separates out the index and object arrays in order to make the size
calculations clearer. More modern containers are used to make memory management
simpler.
MozReview-Commit-ID: 2Jmpq7caY3J
2017-04-10 14:04:26 -07:00
Eric Rahm
eab1efdc4e
Bug 1349695 - Part 1: Use CheckedInt for size calculation in txNodeSorter::sortNodeSet. r=peterv
...
MozReview-Commit-ID: 4Gz2zjiTN6f
2017-04-10 14:04:25 -07:00
Peter Van der Beken
b8d4cf7f71
Bug 1349717 - Propagate errors from matching in XSLT. r=erahm.
...
--HG--
extra : rebase_source : 927c0f20e92f5a678a3bd57406da33395d207cba
extra : intermediate-source : c346067e0d8ab204cd3e640fa8390d1728f0161e
extra : source : 5669c2511dec853fecd42dbdc8b1fdfea64c362d
2017-03-22 21:05:11 +01:00
Sebastian Hengst
736ff34e7c
Backed out changeset 421407ec02c0 (bug 1338277) for failing its own crashtest. r=backout
2017-03-22 23:47:25 +01:00
Peter Van der Beken
93ec4103b3
Bug 1338277 - Deal better with failed matching for variables, r=erahm.
...
--HG--
extra : rebase_source : 418322b5c91f6d46172aed0050b95675e2eab469
extra : intermediate-source : d9bde4fb33c8d5a9d22fda6a8be7f86177599ce3
extra : source : 5669c2511dec853fecd42dbdc8b1fdfea64c362d
extra : histedit_source : 7549ec8331f45cd672d0d98ff02ce13e81e1c750
2017-02-20 15:04:51 +01:00
Peter Van der Beken
8d2e5e5fcc
Bug 1336832 - Properly delete pushed eval contexts, r=erahm.
...
--HG--
extra : rebase_source : ba12699d8a56ce02506d02e3862cbb64b7a3c111
extra : intermediate-source : 10b01aa90dfb81674b3c2692f5ae998c609dd346
extra : source : 776028b9a43ac77174efd2b450755f6904e4c0d9
extra : histedit_source : 4324510fb418805ba9ee25d01a53309e668d67aa
2017-02-22 11:54:13 +01:00
Peter Van der Beken
382e01d333
Bug 1336828 - Ignore the obsolete handler if the transform fails, r=erahm.
...
--HG--
extra : rebase_source : f0d382b9df96037592dab8796b970edcb5620968
extra : intermediate-source : 76ad1e2f09a8720129c9bc5a503711af67bc8a95
extra : source : 208af3997a41ae3dd7d9fd160c7d5b5d8bcb623e
extra : histedit_source : 40543896f15126261df040910db10b2b1ae2ad02
2017-02-10 14:38:57 +01:00
Peter Van der Beken
8531f10c6c
Bug 1336830 - Pop state immediately after running a template, r=erahm.
...
--HG--
extra : rebase_source : bf1d578f7c69b8b1ebd89ef1525a757db98a4b05
extra : intermediate-source : a8303eba5aa64b01edc628824b60153f05bc6ad2
extra : source : 325e2b88bff6b645d3319b3e358f426bc6b4648b
extra : histedit_source : 6b951be83c7ccc5b72f771e1bc6d7ec57d1e4a71
2017-02-10 17:20:08 +01:00
Sebastian Hengst
b3fe6cf3e6
Backed out changeset 2b0cd920b4fc (bug 1336830) for bustage in dom/xslt/xpath/txNodeTypeTest.cpp. r=backout on a CLOSED TREE
2017-03-20 23:23:53 +01:00
Sebastian Hengst
a898496d83
Backed out changeset e4062da24f6b (bug 1336828)
2017-03-20 23:23:01 +01:00
Peter Van der Beken
0b448653c6
Bug 1336828 - Propagate errors from matching. r=erahm
2017-02-23 12:01:58 +01:00
Peter Van der Beken
dc40c14389
Bug 1336830 - Pop state immediately after running a template. r=erahm
2017-02-10 17:20:08 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Wei-Cheng Pan
510ba75c20
Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: 5gvVZtsa3yS
--HG--
extra : rebase_source : 5e1ab2fc06ae58f18abb8909ac93f9512abbe220
2016-12-20 11:49:32 +08:00
Tom Tromey
d2667a2b27
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
John Dai
e80c2fec57
Bug 1338889 - Part 2: Support DOMString as Argument 3 of Document.createElementNS. r=bz
2017-02-15 00:07:00 +08:00
John Dai
b810f2855a
Bug 1338889 - Part 1: Remove redundant trailing spaces. r=bz
2017-02-14 23:11:00 +08:00
Zibi Braniecki
b8f991e41b
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 5GEnL7Kihpj
--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
Wes Kocher
a9ce32d9a5
Backed out 2 changesets (bug 1335983) for build bustage a=backout
...
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)
MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00
Zibi Braniecki
6d98bad59d
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: bJVrVj2dAS
--HG--
extra : rebase_source : f3a28e003415f0c58462a73b5fd987455e102fc5
2017-02-06 14:57:09 -08:00
Joel Maher
c203f27827
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst
7225ec6170
Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE
2017-02-06 16:21:20 +01:00
Joel Maher
60e61eed48
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Ehsan Akhgari
35ff90ed3b
Bug 1334047 - Only set the script handling object for XSLT result documents after setting up the principal; r=peterv
2017-02-03 10:35:36 -05:00
Boris Zbarsky
0b2adf1427
Bug 1335368 part 20. Get rid of IsCallerChrome in XSLT. r=froydnj
2017-02-01 15:43:53 -05:00
Wes Kocher
65216b775b
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Timothy Nikkel
ca4918b714
Bug 1332569. r=bzbarsky a=dveditz
2017-01-26 15:27:27 -06:00
Kartikaya Gupta
1af1a82edf
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Jonathan Kingston
673d193089
Bug 1330294 - Fixing disabled script tags that cause crashes in disabled SVG nodes r=hsivonen,smaug
...
MozReview-Commit-ID: Lr4s98aZM4W
--HG--
extra : rebase_source : 6dca1899d3b69a8eb7e82a02a60fd59f6a9a335e
2017-01-11 16:29:13 +00:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Thomas Nguyen
0aaea58b69
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Eric Rahm
f3886af84f
Bug 1311687 - Pop eval context on early returns. r=peterv
...
Make sure the eval context stack is cleaned up on failure.
MozReview-Commit-ID: AUNen1xt9He
2016-12-02 10:33:48 -08:00
Sebastian Hengst
ddbd19334f
Backed out changeset 667c1a306797 (bug 1311687) for heap-use-after-free in txExecutionState.cpp. r=backout
2016-11-30 00:39:34 +01:00
Eric Rahm
c839abc03c
Bug 1311687 - Pop eval context on early returns. r=peterv
...
Make sure the eval context stack is cleaned up on failure.
MozReview-Commit-ID: AUNen1xt9He
--HG--
extra : rebase_source : 405afaf2e3e77a2fb4761440f837645cf5a8c18e
2016-11-07 10:31:50 -08:00
Boris Zbarsky
cadde4fe44
Bug 1318479 part 1. Remove uses of nsIDOMNode::AppendChild in XSLT code. r=peterv
2016-11-18 16:38:29 -05:00
Gerald Squelart
0affeb4ab0
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Michael Layzell
f9eea2d135
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Xidorn Quan
2f49a48a09
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
Xidorn Quan
1dc2955ab8
Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
...
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.
This commit is generated by the following command:
find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
-e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
-e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +
MozReview-Commit-ID: 54H5x27Pmso
--HG--
extra : source : e4fe253a8f82c3c58e5191d6af66fb0e85f2df19
2016-09-26 22:03:25 +10:00
Andrea Marchesini
3d45a22bac
Bug 1301254 - nsINode::GetBaseURI() should be fallible, r=smaug
2016-09-20 14:02:33 +02:00
Jan de Mooij
0ad12515f4
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Andrew McCreight
2c5b2b21f3
Bug 1287624, part 1 - Use RefPtr::forget() instead of ::swap() in dom/. r=froydnj
...
These uses all null the return value first, so there should be no change in behavior.
2016-07-20 15:19:00 -07:00
Boris Zbarsky
d208b0de7a
Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
2016-07-07 20:08:26 -04:00
Christoph Kerschbaumer
19ac7d31c1
Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
...
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Jonathan Hao
525c086187
Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
...
MozReview-Commit-ID: Frx0CjBzuve
--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Patrick McManus
2cd574f25f
Bug 1274376 - more mozilla::net namespaces r=dragana
...
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00