Andi-Bogdan Postelnicu
fc265025ec
Bug 1453795 - DOM/XML - Initialize member fields in classes/ structures. r=smaug
...
--HG--
extra : rebase_source : 3aa8904c8d15c86aef82dea4fbf3032275ec7a97
extra : amend_source : 45af46b6b207f1d3843d5061f5fad5f10c459caa
2018-06-15 16:51:24 +03:00
Andrea Marchesini
14d462eeb3
Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb
2018-07-05 08:21:04 +02:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Timothy Guan-tin Chien
b9a40e754b
Bug 1437956 - Pretty print XML with Shadow DOM r=smaug
...
This patch puts the transformed pretty print DOM into a Shadow DOM.
The stylesheet is loaded with an @import in a <style> block, so the
monospace stylesheet had to be left out.
The XBL binding is kept, pending removal when Shadow DOM ships.
It's still needed to handle the case when Shadow DOM is pref'd off too.
MozReview-Commit-ID: DQRsXB8tumF
--HG--
extra : rebase_source : 6edc3d82392af4d98de454a5228328379a0fb7ee
2018-06-01 17:45:11 +08:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Boris Zbarsky
cb08b0de7d
Bug 1455676 part 21. Remove nsIDOMNode. r=qdot
2018-05-29 22:58:51 -04:00
Boris Zbarsky
115f652b0b
Bug 1455676 part 20. Remove now-unused AsDOMNode methods. r=qdot
2018-05-29 22:58:50 -04: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
Timothy Guan-tin Chien
e84b173ee2
Bug 1462806 - Extract is value from nsXMLContentSink r=smaug
...
Nodes copied from DOMParser document fragment would need to be
created with the proper custom element data.
CustomElementRegistry::IsCustomElementEnabled() is changed to allow
it to run in the test document.
MozReview-Commit-ID: 4GACDR8FIc7
--HG--
extra : rebase_source : 39da41dd1ca56bf62043418c503c526e2895254f
2018-05-20 10:23:46 +08:00
Emilio Cobos Álvarez
11794a944d
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Boris Zbarsky
1b656c34aa
Bug 1455802. Get rid of web-visible XMLStyleSheetProcessingInstruction. r=peterv
...
MozReview-Commit-ID: GBumpNuvzZf
2018-05-14 18:54:16 -04:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
b3a78c6c93
Bug 1460940 - Convert nsSyncLoadService::LoadDocument to use nsIDocument. r=bz
...
MozReview-Commit-ID: LtFdEVXDvLw
--HG--
extra : rebase_source : 9fe20ccaa54525b8b10b6fbad74968a497929193
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
4fca802957
Bug 1460940 - Convert NS_NewDOMDocument to use nsIDocument. r=bz
...
MozReview-Commit-ID: GoJ30YZGRhq
--HG--
extra : rebase_source : 0995705c2c31c1a779c22c8336482d4c7e89e319
2018-05-11 19:46:15 +02:00
Emilio Cobos Álvarez
9509853a38
Bug 1459498: Rename nsIStyleSheetLinkingElement::StyleSheetInfo to SheetInfo. r=heycam
...
MozReview-Commit-ID: FeOmISAxWBk
2018-05-08 10:07:46 +02:00
Emilio Cobos Álvarez
96600d2b9a
Bug 1459498: Use a different enum to differentiate IsAlternate from HasAlternateRel. r=heycam
...
MozReview-Commit-ID: 6pwR8t6fzSD
2018-05-08 10:07:42 +02:00
Emilio Cobos Álvarez
5b6f2bdee0
Bug 1459498: Refactor nsStyleLinkElement so that all the stylesheet information comes from one place. r=heycam
...
I've kept the nsAutoStrings in the StyleSheetInfo class on the hopes that the
compiler does RVO, but if it doesn't I can remove I guess.
MozReview-Commit-ID: 2vN6BSEhYcw
2018-05-08 10:07:41 +02: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
Boris Zbarsky
1cbc813260
Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
25aa42d9a4
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
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
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
d49151ed50
Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8
2018-04-17 21:13:03 -04:00
Andrew McCreight
9cc76e1bf2
Bug 1449670, part 2 - Remove nsINode::eTEXT. r=bz
...
MozReview-Commit-ID: HwVj2udQWbE
--HG--
extra : rebase_source : 2753b281ffc1de910b8c047474c40f68bf53e2d8
2018-04-06 17:56:46 +00: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
Boris Zbarsky
c81f762d32
Bug 1452329
. Remove nsIDOMXMLDocument. r=mystor
...
MozReview-Commit-ID: LwbVo7Fx1SQ
2018-04-09 16:30:33 -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
Christoph Kerschbaumer
a929955d1f
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00
Boris Zbarsky
cd4761ffdb
Bug 1449404 part 2. Get rid of nsIContent::AppendText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
37b111ac2a
Bug 1447472 part 2. Remove nsIDOMCustomEvent. r=qdot
...
MozReview-Commit-ID: 3NPqLIU8cka
2018-03-26 14:53:51 -04: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
Boris Zbarsky
258352c8a8
Bug 1447098 part 2. Rename the NS_IMPL_FROMCONTENT macros to NS_IMPL_FROMNODE. r=mystor
2018-03-21 17:39:04 -04: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
9ae8969557
Bug 1446530. Change CloneDataNode to return already_AddRefed<CharacterData>. r=mystor
...
MozReview-Commit-ID: 1Clh4fG3GAq
2018-03-19 15:50:16 -04:00
Boris Zbarsky
2f66e620e3
Bug 1446533
part 12. Remove nsIDOMCharacterData. r=mystor
...
MozReview-Commit-ID: KXex3Rjcire
2018-03-19 15:47:42 -04:00
Boris Zbarsky
000840f44a
Bug 1446533
part 3. Remove nsIDOMCharacterData::Get/SetData. r=mystor
...
MozReview-Commit-ID: 5YeaCPwvIJH
2018-03-19 15:18:07 -04:00
Boris Zbarsky
971ee6f9cb
Bug 1446533
part 2. Rename nsGenericDOMDataNode.{h,cpp} to CharacterData. r=mystor
...
The DOMMatrix.cpp changes are because it was sneaking in headers via another
unified file.
MozReview-Commit-ID: GPp9WOywI5D
--HG--
rename : dom/base/nsGenericDOMDataNode.cpp => dom/base/CharacterData.cpp
rename : dom/base/nsGenericDOMDataNode.h => dom/base/CharacterData.h
2018-03-19 15:18:07 -04:00
Boris Zbarsky
b06aa7e061
Bug 1446533
part 1. Rename nsGenericDOMDataNode to CharacterData. r=mystor
...
This is not renaming the files yet; that will be a separate changeset.
MozReview-Commit-ID: 5TxkEiQlaKF
2018-03-19 15:18:06 -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
b02b40a9e7
Bug 1446599
part 3. Stop using nsIDOMProcessingInstruction in the XML content sink. r=mystor
...
MozReview-Commit-ID: 2v2aA37nYfH
2018-03-19 15:15:40 -04:00
Boris Zbarsky
aa152ba529
Bug 1446599
part 2. Stop using nsIDOMProcessingInstruction in webbrowserpersist. r=mystor
...
MozReview-Commit-ID: 51QLffCZeW1
2018-03-19 15:15:39 -04:00
Boris Zbarsky
4fa4d2a7f5
Bug 1446598 part 2. Get rid of nsIDOMComment. r=mystor
...
MozReview-Commit-ID: GGXPQnlwuUM
2018-03-19 15:15:39 -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
27d1556d72
Bug 1445140 part 2. Change NS_NewDOMDocument to take a DocumentType. r=mystor
...
MozReview-Commit-ID: EGA6OOSbnWV
2018-03-13 16:24:01 -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