Jonathan Kingston
2ccad0abed
Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D22810
2019-06-13 08:58:07 +00:00
Boris Zbarsky
8e16a497d9
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
2019-06-08 21:26:12 +00:00
Ehsan Akhgari
200d6ea9cc
Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D32925
2019-06-04 17:27:43 +00:00
Sylvestre Ledru
1ad0cac654
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-05 21:41:42 +00:00
Csoregi Natalia
2ded4ab36d
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
ebe9c62d30
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
6b9ce2a82b
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
194039a8d9
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 20:12:23 +00:00
Henri Sivonen
ba8c268e3f
Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
...
MozReview-Commit-ID: K8fgv3rgklt
2019-01-11 09:44:09 +02:00
Andreea Pavel
358330aa75
Backed out 5 changesets (bug 256180) for failing win xpcshell at xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_temporary.js on a CLOSED TREE
...
Backed out changeset e85e41f84971 (bug 256180)
Backed out changeset 125ebcfac58d (bug 256180)
Backed out changeset bc2e0a89d88e (bug 256180)
Backed out changeset b696df615c8b (bug 256180)
Backed out changeset 2d69841d2eb7 (bug 256180)
2019-01-08 20:35:31 +02:00
Henri Sivonen
498c6735f1
Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
...
MozReview-Commit-ID: K8fgv3rgklt
2019-01-08 18:08:37 +02:00
Emilio Cobos Álvarez
dc336a73ba
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
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Gabriele Svelto
7e234e998c
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
2018-11-28 17:25:23 +00:00
Timothy Guan-tin Chien
fb30ec3de3
Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
...
This patch removes the following functions:
* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)
and all references of the pref.
Depends on D11183
Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-15 06:52:01 +00:00
Andreea Pavel
f667cd7449
Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
...
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien
3e86e5f53e
Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
...
This patch removes the following functions:
* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)
and all references of the pref.
Depends on D11183
Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-14 19:37:42 +00:00
Emilio Cobos Álvarez and Nicholas Nethercote
29483dd4e0
Bug 1392185 - Remove dynamic HTML5 atoms. r=njn,hsivonen
...
This is a rebase + manual refcounting on some places, + cleanup of the original
patch in the bug.
Co-authored-by: Nicholas Nethercote <[email protected] >
Differential Revision: https://phabricator.services.mozilla.com/D11035
2018-11-09 14:45:30 +01:00
shindli
2eaad78461
Backed out changeset 07c23fd98229 (bug 1489437) for multiple failures in nsHtml5DocumentBuilder
2018-09-09 12:09:56 +03:00
Edgar Chen
2cd2dacf9d
Bug 1489437 - HTML parser should invoke custom element's callbacks before appending child nodes to it; r=smaug
...
Per step 3.3 of https://html.spec.whatwg.org/multipage/parsing.html#insert-a-foreign-element
Differential Revision: https://phabricator.services.mozilla.com/D5269
2018-09-07 16:56:10 +00:00
Dave Townsend
e416deef2e
Bug 1480465: Infer the namespace for custom elements at definition time by following the class hierarchy. r=smaug
...
When a custom element is defined we can check whether its class is an instance
of XULElement or HTMLElement and tag the defintion with a namespace accordingly.
This allows us to know the correct namespace for the custom element when
created.
Differential Revision: https://phabricator.services.mozilla.com/D2680
2018-08-15 10:31:16 +00:00
Andi-Bogdan Postelnicu
318baca59d
Bug 1453795 - Parser/HTML - Initialize member fields in classes/ structures. r=hsivonen
2018-06-14 11:46:13 +03:00
Emilio Cobos Álvarez
967e0989f6
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Chris Peterson
5d6b16ea3b
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
2018-04-28 12:50:58 -07:00
Emilio Cobos Álvarez
2dbe99a0b4
Bug 1454236: Remove nsINode::eDOCUMENT_FRAGMENT. r=bz
...
MozReview-Commit-ID: D2F3LbQ1pvw
2018-04-20 01:30:12 +02:00
Sebastian Hengst
d91e9954eb
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
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Masatoshi Kimura
63783eda6f
Bug 1445541 - Enable the character encoding menu when the document is decoded as UTF-8 and an error is found, instead of disabling it when no errors are found. r=hsivonen
...
MozReview-Commit-ID: 1e6kQbAxcqm
2018-04-06 06:20:28 +09:00
Boris Zbarsky
92273616c3
Bug 1449404 part 2. Get rid of nsIContent::AppendText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
152cd3ba6e
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
051041fc49
Bug 1446097. Switch to "set" as the canonical nsGkAtoms name of the string "set", so it matches the actual tag name "set" in SVG. r=hsivonen,njn
...
Most of the noise is from the fact that clang-format on parser/html/*.{h,cpp}
reformatted all sorts of stuff. Not running it caused lots of format changes
from the generator... I guess we changed the format rules since the last time
this got run?
MozReview-Commit-ID: IA2G87zUIKN
2018-03-16 11:26:06 -04:00
Adrian Wielgosik
975ac50d53
Bug 1418077 - Remove nsIDOMHTMLFormElement. r=bz
...
MozReview-Commit-ID: 9eQxvfIMB22
2018-03-14 21:42:25 +01:00
Boris Zbarsky
f65a0fdfbc
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
Emilio Cobos Álvarez
7a79ccba52
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
2018-02-27 15:30:27 +01:00
Boris Zbarsky
831a04431e
Bug 1436508 part 14. Remove nsIDOMMutationEvent. r=masayuki
...
MozReview-Commit-ID: Gf59kFSIuaK
2018-02-09 11:17:10 -05:00
Edgar Chen
eb56380ce2
Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition; r=smaug
...
Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value),
we could use nodeInfo->NameAtom() instead.
MozReview-Commit-ID: 4vIBDEM1Nwv
2018-01-17 14:55:13 +08:00
Boris Zbarsky
a04420f06a
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Andrea Marchesini
afc47478e4
Bug 1431000 - Replace the use of nsINode::InsertChildAt_Deprecated with nsINode::InsertChildBefore in nsHtml5TreeOperation, r=catalinb
2018-01-25 16:00:09 +01:00
Andrea Marchesini
5cd368a179
Bug 1430998 - Rename nsINode::InsertChildAt to InsertChildAt_Deprecated, r=catalinb
2018-01-23 14:30:18 +01:00
Andrea Marchesini
8d41475807
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Andreea Pavel
a0a77b5e9c
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-01-16 18:00:21 +02:00
Andrea Marchesini
148709d732
Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsHtml5TreeOperation, r=catalinb
2018-01-16 14:17:10 +01:00
Edgar Chen
ca3f70242e
Bug 1420377 - Avoid atomizing 'is' value twice when the custom element is created from parser; r=smaug
...
MozReview-Commit-ID: JHw3di1Q9E9
2017-11-24 16:57:00 +08:00
John Dai
b2052d3ac6
Bug 1419662 - Fix incorrect custom element type in CustomElementData. f=echen, r=smaug
2018-01-07 18:45:00 +02:00
Jon Coppeard
69ebe1854a
Bug 1361369 - Allow async attribute on inline module scripts r=smaug
2018-01-08 15:17:34 +00:00
Andrea Marchesini
082fc2f0f2
Bug 1425321 - Renaming nsINode::RemoveChildAt to RemoveChildAt_Deprecated, r=catalinb
2018-01-03 14:01:03 +01:00
Emilio Cobos Álvarez
8a71d3197b
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
Emilio Cobos Álvarez
ecd202d763
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
b3956b6171
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Emilio Cobos Álvarez
c10ea9ea04
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