Henri Sivonen
f17219eabd
Bug 1555523. r=alchen
...
Differential Revision: https://phabricator.services.mozilla.com/D33639
--HG--
extra : moz-landing-system : lando
2019-06-15 12:45:57 +00:00
Jonathan Kingston
a5ba216f93
Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D22810
--HG--
extra : moz-landing-system : lando
2019-06-13 08:58:07 +00:00
Henri Sivonen
f09eac321f
Bug 1540757 - Mark SVG scripts as malformed when popped by HTML breakout from foreign content. r=alchen
...
Differential Revision: https://phabricator.services.mozilla.com/D26276
2019-04-15 13:40:14 +03:00
Henri Sivonen
38ab798925
Bug 1540675 - Handle line breaks correctly in comment end bang state. r=alchen.
...
Differential Revision: https://phabricator.services.mozilla.com/D25594
2019-04-15 13:40:14 +03:00
Henri Sivonen
c798ef580c
Bug 1534346 - Mark malformed SVG scripts as malformed for real. r=alchen
...
Differential Revision: https://phabricator.services.mozilla.com/D24347
--HG--
extra : moz-landing-system : lando
2019-03-21 20:39:22 +00:00
Henri Sivonen
34559b2b59
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
f5a1a0f098
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
7fdbc91b91
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
Henri Sivonen
feff447597
Bug 1515066 - Mark SVG script without an end tag malformed. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D15090
--HG--
extra : moz-landing-system : lando
2018-12-20 18:20:04 +00:00
Jonathan Kingston
c5d29c382e
Bug 903372 - Remove xml:base from parser. r=hsivonen
2018-12-13 15:47:01 +00:00
Henri Sivonen
acfba8e927
Bug 1469580 - Ignore charset= in <meta content> if followed by unmatched quote. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D14410
--HG--
extra : moz-landing-system : lando
2018-12-14 17:53:59 +00:00
Coroiu Cristina
3e33183ebf
Backed out changeset a145a897c94c (bug 1469580) for lin failure at /builds/worker/checkouts/gecko/tools/lint/wpt.yml
2018-12-14 12:33:15 +02:00
Henri Sivonen
20f693b781
Bug 1469580 - Ignore charset= in <meta content> if followed by unmatched quote. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D14410
--HG--
extra : moz-landing-system : lando
2018-12-13 18:48:09 +00:00
Andreea Pavel
0c29092e41
Backed out 2 changesets (bug 903372) for multiple failures on a CLOSED TREE
...
Backed out changeset bf919773f9d1 (bug 903372)
Backed out changeset 6562c2392ac9 (bug 903372)
2018-11-30 04:16:21 +02:00
Jonathan Kingston
7c7d460eaa
Bug 903372 - Remove xml:base from parser. r=hsivonen
2018-10-21 12:55:44 +01:00
Emilio Cobos Álvarez
fe445c3367
Bug 1506133 - More HTML parser cleanup post bug 1392185. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D11480
--HG--
extra : moz-landing-system : lando
2018-11-12 14:37:09 +00:00
Jonathan Kingston
0d35be67e4
Bug 1466449 - Update Tokenizer.java and StackNode.java to initialize properties. r=hsivonen
2018-11-09 14:20:19 +01:00
Sylvestre Ledru
01abd7ce40
Bug 1447480 - Add a MOZ_ASSERT to make it clear that it can never fall through r=hsivonen
...
MozReview-Commit-ID: Hq9jG1CVwRK
--HG--
extra : rebase_source : 4c548c1ad0c74b2c810b435701b91bd4f7893cb1
2018-04-03 13:40:59 +02:00
Tiberius Oros
1d7575065c
Backed out 2 changesets (bug 1447480) for build bustages at dist/include/mozilla/Assertions.h:60 a=backout on a CLOSED TREE
...
Backed out changeset 5dfbd42ce515 (bug 1447480)
Backed out changeset a454ed4489f2 (bug 1447480)
2018-04-05 13:36:46 +03:00
Sylvestre Ledru
599ea080ac
Bug 1447480 - Add a MOZ_ASSERT to make it clear that it can never fall through r=hsivonen
...
MozReview-Commit-ID: Hq9jG1CVwRK
--HG--
extra : rebase_source : 4c548c1ad0c74b2c810b435701b91bd4f7893cb1
2018-04-03 13:40:59 +02:00
Margareta Eliza Balazs
a06f511cc5
Backed out changeset fa109105e4ea (bug 1447480) for B failures in /build/build/src/parser/html/nsHtml5TreeBuilder.cpp(402) on a CLOSED TREE
2018-04-04 16:05:06 +03:00
Sylvestre Ledru
40fe59d2a8
Bug 1447480 - Add a MOZ_ASSERT to make it clear that it can never fall through r=hsivonen
...
MozReview-Commit-ID: Hq9jG1CVwRK
--HG--
extra : rebase_source : 4c548c1ad0c74b2c810b435701b91bd4f7893cb1
2018-04-03 13:40:59 +02:00
Boris Zbarsky
4e402f9b99
Bug 1445983. <bdi> should be an HTMLElement, not HTMLUnknownElement. r=hsivonen
...
MozReview-Commit-ID: 9eJ45uXRDfR
2018-03-16 11:26:09 -04:00
Jon Coppeard
3bdf7ef24a
Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen
2018-01-23 13:07:37 +00: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
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
Olli Pettay
af3373dc1d
Bug 1418002 - Remove HTMLContentElement, r=jessica
2017-11-30 10:57:15 +02:00
Jessica Jong
0ed394bfdf
Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser. r=hsivonen
...
--HG--
extra : rebase_source : 413505a2aa4fe229da957906697f172527361b38
2017-10-26 14:08:10 +08:00
Alphan Chen
8e5cbb6713
Bug 500617 - Remove always-zero offsets from HTML5 parser. r=hsivonen
...
MozReview-Commit-ID: DT8oWxbbYNy
2017-10-23 14:42:21 +03:00
Olli Pettay
657d54de19
Bug 1402941 - Add HTMLSlotElement (disabled for now), r=hsivonen
...
--HG--
extra : rebase_source : ced3d844425bee6fddd22641646a7366ffd5d69e
2017-10-02 13:22:12 +03:00
Sebastian Hengst
5573e8270f
Backed out changeset 0ce8d073a16e (bug 256180)
2017-09-28 11:30:33 +02:00
Henri Sivonen
b245e01efe
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
--HG--
extra : rebase_source : 3ad91a01805afcd1aeac89a5f2d5ac38dac1797b
2017-09-12 16:57:05 +03:00
Olli Pettay
c80e124562
Bug 1396584 - Remove support for multiple ShadowRoots, r=mrbkap
...
--HG--
extra : rebase_source : 2bb600ed1ffd35c195617a7eb70d0ba847a46898
2017-09-25 18:09:26 +03:00
Henri Sivonen
2607c163b1
Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case. r=Ehsan
...
MozReview-Commit-ID: CKyGlzYS15e
--HG--
extra : rebase_source : 9ece88d9c85d98665413a7f9d730d7ff149d8486
2017-08-11 09:22:57 +03:00
Sebastian Hengst
14cf46a41a
Backed out changeset fabf345eec6e (bug 1375701) for bustage at parser/html/nsHtml5String.h:143:3: bad implicit conversion constructor for 'nsHtml5String'. r=backout on a CLOSED TREE
2017-08-15 16:28:10 +02:00
Henri Sivonen
6815b2d2c7
Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case. r=Ehsan
...
MozReview-Commit-ID: CKyGlzYS15e
--HG--
extra : rebase_source : a66d3d1659aec509c50f3ca641c0eb1d87151104
2017-08-11 09:22:57 +03:00
Henri Sivonen
3d387ac082
Bug 483155 - Put content creator function pointers onto nsHtml5ElementName. r=smaug
...
MozReview-Commit-ID: E2AAx7Zz2UF
--HG--
extra : rebase_source : 1b85ba3b1c699e71e6ecacf4d1dc4271f3416b08
2017-07-04 11:00:03 +03:00
Sebastian Hengst
56587adeab
Backed out changeset 5b706cd241cb (bug 483155) for Valgrind failure on Linux x64 opt. r=backout
2017-08-11 10:48:10 +02:00
Henri Sivonen
dacb0e05f1
Bug 483155 - Put content creator function pointers onto nsHtml5ElementName. r=smaug
...
MozReview-Commit-ID: E2AAx7Zz2UF
--HG--
extra : rebase_source : 989c11459e16076a043aa7311c95941686e86ef7
2017-07-04 11:00:03 +03:00
Henri Sivonen
217ac88f04
Bug 1266495 - Remove <isindex>. r=wchen
...
MozReview-Commit-ID: KM0sTMM1GaD
--HG--
extra : rebase_source : 013069be4191e2ad50b5af879b690a6760e8429a
2017-07-05 11:42:04 +03:00
Henri Sivonen
892c3d2d78
Bug 1376154 - Preserve nsHtml5MetaScanner::mEncoding initialization when re-translating parser. r=wchen.
...
MozReview-Commit-ID: I2vM178Rq6e
--HG--
extra : rebase_source : 518a5b45df7fca6e72f97c7ce1c2e81d76d1568a
2017-07-03 14:52:19 +03:00
William Chen
a7d3b243a3
Bug 1366241 - Change memory layout of element name and attribute name hashes in HTML parser from sorted to level order BST in order to take advantage of cache during lookup. r=hsivonen
...
--HG--
extra : rebase_source : 3100da08a88a71b1d9253a664f0fd0f935bdcc01
2017-06-27 13:48:25 -07:00
William Chen
17c14a6258
Bug 1355441 - Reuse StackNode in TreeBuilder to avoid malloc. r=hsivonen.
...
MozReview-Commit-ID: 4QwQwISCKPk
2017-05-15 17:18:20 +03:00
Iris Hsiao
cdb9631de8
Backed out changeset 2e7615b554ee (bug 1355441) for crashing at nsHtml5TreeBuilder::getUnusedStackNode() intermittent failures
2017-05-09 17:11:28 +08:00
William Chen
5e9c898c8f
Bug 1355441 - Reuse StackNode in HTML parser TreeBuilder to avoid malloc. r=hsivonen
2017-05-01 17:25:05 -07:00
Henri Sivonen
4abd5bbff7
Bug 1358095 - Remove useless interned attributes from the HTML parser. r=wchen
...
Stuff that's removed includes:
* IE data binding
* SVG fonts
* Web Forms 2.0 templates
* unsupported math spaces
* abandoned HTML5 features
* random inexplicable stuff
MozReview-Commit-ID: 1iiKyFHZQWd
--HG--
extra : rebase_source : d5c2ae8d309e433053b5e9c1579707a24bf903b9
2017-04-20 14:19:12 +03:00
Henri Sivonen
1eb6516385
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName. r=wchen
...
Moving methods that refer to constant to the header that defines the
constants makes it infeasible to #define the constants at the end
of the header. To avoid introducing a new pass over the Java AST,
this patch turns the primitive constants that were
previously #defined into C++ contants, which, according to
Stroustrup 3rd ed., are handled at compile-time and don't consume
storage.
MozReview-Commit-ID: JnaDgW2OM7t
--HG--
extra : rebase_source : 3678d8db967e83d8b7e265a5ef926050cc20d770
2017-04-20 10:34:32 +03:00
Henri Sivonen
b94c082c37
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc. r=wchen
...
MozReview-Commit-ID: 77Hqo24F2nB
--HG--
extra : rebase_source : 9829c4ce7561e3a1d64d79884af6a8f72326021d
2017-04-13 11:14:48 +03:00