Andreea Pavel
d6a9e2303f
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-01-16 18:00:21 +02:00
Andrea Marchesini
6250023d02
Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsHtml5TreeOperation, r=catalinb
2018-01-16 14:17:10 +01:00
Henri Sivonen
71f07dccfb
Bug 1424220 - Set mCurrentHtmlScriptIsAsyncOrDefer to false when restoring tree builder state. r=smaug
...
MozReview-Commit-ID: 9gsFme52mOG
--HG--
extra : rebase_source : d71040069ff4b3db476bf4cf3c08258def019f5a
2018-01-15 20:07:28 +02:00
Edgar Chen
629d03627c
Bug 1420377 - Avoid atomizing 'is' value twice when the custom element is created from parser; r=smaug
...
MozReview-Commit-ID: JHw3di1Q9E9
--HG--
extra : rebase_source : a1f1ac6ddefc7d2ffb543eb30fc41c868f050288
2017-11-24 16:57:00 +08: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
John Dai
d480d5e221
Bug 1419662 - Fix incorrect custom element type in CustomElementData. f=echen, r=smaug
2018-01-07 18:45:00 +02:00
Jon Coppeard
bc9a97d964
Bug 1361369 - Allow async attribute on inline module scripts r=smaug
2018-01-08 15:17:34 +00:00
Andrea Marchesini
6ee7f4e6f3
Bug 1425321 - Renaming nsINode::RemoveChildAt to RemoveChildAt_Deprecated, r=catalinb
2018-01-03 14:01:03 +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
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
Chris Peterson
894bf2c746
Bug 1424548 - Part 14: Regenerate HTML parser code with override specifiers. r=hsivonen
...
Overridden virtual functions without override specifiers will become errors after gcc -Wsuggest-override warnings are enabled.
--HG--
extra : rebase_source : a4752e3ec7bd41563bc9b1fdd1b1829666744273
2017-12-07 01:27:56 -08:00
Chris Peterson
5b8dabf526
Bug 1424548 - Part 11: Regenerate HTML parser code with MOZ_FALLTHROUGH annotations. r=hsivonen
...
And stop suppressing -Wimplicit-fallthrough warnings. We no longer need to suppress these clang warnings because the generated parser code now includes MOZ_FALLTHROUGH annotations.
--HG--
extra : rebase_source : d766c9b17de878138df6d949ee720dfaf0ed370a
2017-12-01 01:05:26 -08:00
Chris Peterson
fcb45bc490
Bug 1424548 - Part 9b: Regenerate HTML parser code to remove always-zero offset from CPPONLY code. r=hsivonen
...
--HG--
extra : rebase_source : 448298e7e9b43a80a54a6b087a6a2bf731654264
2017-12-01 00:58:56 -08:00
Chris Peterson
946cc287a2
Bug 1424548 - Part 9a: clang-format generated HTML parser code. r=hsivonen
...
--HG--
extra : rebase_source : 67a0555475dbce49c689d27510dca252089a4a7b
2017-12-21 00:02:43 -08:00
Chris Peterson
16e0dd144e
Bug 1424548 - Part 1: Fix non-unified build of HTML parser code. r=hsivonen
...
--HG--
extra : rebase_source : 78aa25eb45c0f7cd446ac7eab4f853c46590c7e7
2017-12-04 13:09:15 -08:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Masatoshi Kimura
082293ce3e
Bug 1424468 - Stop using Encoding::ForName in HTML parser. r=hsivonen
...
MozReview-Commit-ID: 1rONnEXLgPf
--HG--
extra : rebase_source : 081effdc2a3ee0292d73666abc7bda7b62d3a0a7
2017-12-07 23:21:42 +09:00
Sylvestre Ledru
a9961096c0
Bug 1394734 - Simplify various corner cases r=glandium
...
MozReview-Commit-ID: 4s4JdXZPvmv
--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01: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
Jesse Ruderman
1519b89248
Bug 762726 - Add crashtest.
2017-12-05 11:02:58 -05:00
Jesse Ruderman
6cf039848c
Bug 662185 - Add crashtest.
2017-12-05 11:02:58 -05:00
Jesse Ruderman
9098c723e2
Bug 616027 - Add crashtest.
2017-12-05 11:02:58 -05:00
Olli Pettay
af3373dc1d
Bug 1418002 - Remove HTMLContentElement, r=jessica
2017-11-30 10:57:15 +02:00
Alphan Chen
54f4537537
Bug 980904 - Disable the Character Encoding menu when document is decoded as UTF-8 without errors. r=hsivonen,emk,Gijs
2017-11-23 15:03:41 +08:00
Andrea Marchesini
ad64933e5a
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug
2017-11-22 11:18:36 +01:00
Coroiu Cristina
d6a2b15dbc
Merge inbound to mozilla-central r=merge a=merge
2017-11-22 01:32:34 +02:00
Henri Sivonen
bfee08d7ad
Bug 1418000 - Check mInsertionPointPermanentlyUndefined when checking for executor completion. r=smaug
...
MozReview-Commit-ID: 2qL822ep5g3
2017-11-21 10:36:31 -05:00
Edgar Chen
bf0a0f5b38
Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions; r=bz
...
The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217 .
The spec is now being clarified in https://github.com/whatwg/html/pull/3235 .
MozReview-Commit-ID: 521HprTRS7k
--HG--
extra : rebase_source : 107d331203d0d16062fa061569e822d3c6d5f2c9
2017-11-17 17:44:18 +08:00
Nicholas Nethercote
faa8efadfe
Bug 1416980
- Remove nsIExtendedExpatSink. r=erahm.
...
Because none of the expat users need it.
--HG--
extra : rebase_source : 55a9338fe88073b9278f715e57eef926a638f31e
2017-11-14 17:22:49 +11:00
Henri Sivonen
044769e0f9
Bug 1417494 - Take iframe sandboxing into account for <noscript> parsing. r=bz
...
MozReview-Commit-ID: GTUCSQq5aDm
--HG--
extra : rebase_source : be20b48005643f7b6090a38f0ac4edcd702975c7
2017-11-16 11:49:50 +02:00
John Dai
d1400ac8b1
Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0. f=echen, r=smaug
2017-11-14 19:23:00 +08:00
Andi-Bogdan Postelnicu
57f5ff88dd
Bug 1417417 - use UniquePtr for bufferCopy to prevent memory leak when treeOp is null. r=hsivonen
...
MozReview-Commit-ID: HBI7CWjtS80
--HG--
extra : rebase_source : e27c5f7f81979179650b3e15a7c0116ee21bb155
2017-11-15 16:50:58 +02:00
Coroiu Cristina
6a04305b5d
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2017-11-14 12:31:45 +02:00
Nicholas Nethercote
250e11fb3c
Bug 1416038 (part 10) - nsSAXXMLReader.cpp doesn't need to be an nsIExtendedExpatSink. r=erahm
...
--HG--
extra : rebase_source : dd2e8b2b46aeeabaa9dfa14b3b2ab4e2eccdc275
2017-11-14 08:30:36 +11:00
Nicholas Nethercote
c4d895d0d6
Bug 1416038 (part 9) - Add a comment about nsISAXXMLReader's lack of functionality. r=erahm
...
--HG--
extra : rebase_source : 0e4e8ac0ce98efb497a62b3abd70b5a7d6914ad8
2017-11-10 15:23:27 +11:00
Nicholas Nethercote
e9e330e914
Bug 1416038 (part 8) - Remove nsISAXLocator. r=erahm
...
None of our nsISAXErrorHandler implementations use the locator arguments.
--HG--
extra : rebase_source : 20e7ce91dd4b9582db6cb9b4cdcc2c04dd8fa064
2017-11-10 15:22:26 +11:00
Nicholas Nethercote
af2d7335b8
Bug 1416038 (part 7) - Remove nsISAXMutableAttributes. r=erahm
...
There is a single implementation, nsSAXAttributes, and all the methods are
unused... except for AddAttribute(), but that doesn't need to be declared in
XPIDL because it's only used within nsSAXAttributes.cpp.
--HG--
extra : rebase_source : 9bf10f76be0f9e6821e35885b96d125f76209c9b
2017-11-10 15:21:27 +11:00
Nicholas Nethercote
c33420edb2
Bug 1416038 (part 6) - Slim down nsISAXContentHandler. r=erahm
...
This patch removes three methods that are no-ops (or missing) in all our
implementations.
--HG--
extra : rebase_source : e29b4cfbbc71d549744fcfd6481c449231316c1d
2017-11-10 15:19:44 +11:00
Nicholas Nethercote
d8552a4ef9
Bug 1416038 (part 5) - Remove nsISAXXMLReader.[sg]etFeature. r=erahm
...
It's unused by any of our nsISAXXMLReader implementations.
The patch also removes nsSAXXMLReader::mEnableNamespacePrefixes, which is now
unused. And it removes test_namespace_support.js, which is all about testing
features.
--HG--
extra : rebase_source : 8da54379deedae9ef04fd1ab2169ab3760b13064
2017-11-10 15:19:16 +11:00
Nicholas Nethercote
02a6694346
Bug 1416038 (part 4) - Remove nsISAXXMLReader.[sg]etProperty. r=erahm
...
These are unused and also unimplemented.
--HG--
extra : rebase_source : d58e12d49cfc4dd1cb082bf1fd2a450f5d3b8eed
2017-11-10 15:18:52 +11:00
Nicholas Nethercote
8992c2afeb
Bug 1416038 (part 3) - Remove nsIMozSAXXMLDeclarationHandler, nsISAXDTDHandler, and nsISAXLexicalHandler. r=erahm
...
Because none of our nsISAXXMLReader implementations set `dtdHandler`,
`declarationHandler`, or `lexicalHandler`.
The patch also removes test_xml_declaration.js, because that test is all about
testing nsIMozSAXXMLDeclarationHandler.
--HG--
extra : rebase_source : f0380364fbaa435dd0e415fe7ca78b5aa0180336
2017-11-10 15:18:26 +11:00
Nicholas Nethercote
801b0c166a
Bug 1416038 (part 2) - Remove nsISAXXMLFilter. r=erahm
...
It's unused.
--HG--
extra : rebase_source : 6a49d0664dbf284ea595134a3ff348965b339f1c
2017-11-10 15:17:19 +11:00
Nicholas Nethercote
4e485ceed3
Bug 1416038 (part 1) - Remove nsISAXEntityResolver forward declaration. r=erahm
...
This interface no longer exists.
--HG--
extra : rebase_source : 422fe6fb6a412d9e092aa1964e5a51f1b73e1716
2017-11-10 15:16:56 +11:00
Joel Maher
bda41cf05e
Bug 1385288 - Disable parser/htmlparser/tests/reftest/bug582940-1.html on osx for frequent failures. r=me, a=testonly
2017-11-13 12:20:03 -05:00
Henri Sivonen
2069543e3c
Bug 1414490 - Permanently undefine the insertion point at EOF. r=smaug.
...
MozReview-Commit-ID: Kijs3Rxhq0X
2017-11-13 16:59:11 +02:00
Henri Sivonen
974c22a515
Bug 1413467 - Make enqueueing tree ops use fallible allocation. r=bz
...
MozReview-Commit-ID: 9GI3btVYLqL
--HG--
extra : rebase_source : 63ccd9c2437e74b8809b74cc24e4795d1433c793
2017-11-10 12:19:45 +02:00
Joel Maher
0daa567ffa
Bug 1385288 - Disable parser/htmlparser/tests/reftest/bug582940-1.html on osx for frequent failures. r=me, a=testonly
2017-11-02 13:15:06 -04:00