Moonchild
f84c92881d
[parser] Account for some corner-case structural document issues.
2026-02-26 09:48:23 +01:00
Job Bautista
e284ffab6c
Issue #2889 - Follow-up: Avoid conflicts with system version of libexpat
2026-01-11 16:04:00 +08:00
Job Bautista
ef1532cab2
Issue #2889 - Part 4: Fix build and runtime issues.
...
- The 3rd patch causes MSVC to error out on an empty typedef struct.
- The 13th patch is causing the application to abort on startup.
- Fixed header issues as well as resolved the necessary symbols for gkmedias.
2026-01-11 15:07:33 +08:00
Moonchild
206afa0642
Revert "Issue #2258 - Part 1: Support XCTO:nosniff when navigating."
...
This reverts commit f48c770701 .
2025-09-23 18:17:52 +02:00
Moonchild
f48c770701
Issue #2258 - Part 1: Support XCTO:nosniff when navigating.
2025-08-12 16:18:38 +02:00
Moonchild
52f31a682d
Issue #2728 - Remove obsolete CSP referrer policy.
...
This has been superseded by the dedicated Referrer-policy header.
Resolves #2728
2025-04-24 14:27:39 +02:00
Moonchild
0603b037ef
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-18 16:15:51 +01:00
Moonchild
edf4210e12
Issue #2641 - Speculative load changes for referrerpolicy
2024-10-21 12:36:11 +02:00
Moonchild
2c50617e64
[parser] Specialize AddAttributes for <html>/<body>.
2024-03-20 15:25:19 +01:00
FranklinDM
01d0962f62
Issue #2158 - Part 5: Guard preload links support with a preference
...
This is enabled by default.
2024-01-27 23:10:49 +08:00
FranklinDM
ba97710cdf
Issue #2158 - Part 3: Parse preload links as part of the HTML5 parser's speculative load queue
2024-01-27 23:10:48 +08:00
FranklinDM
02c4302711
Issue #2158 - Part 1: Add the 'as' attribute to the HTML Parser
2024-01-27 23:10:47 +08:00
Matheus Marinho
169518553e
Issue #2391 - Part 1: Revert XULRunner removal
...
This reverts commits 0f52679d2e and 4a7af0d90f .
Also accounts for non-comm building and comment changes.
2023-11-25 18:49:17 -03:00
Moonchild
734f0957fb
Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]
...
Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
2023-11-11 14:27:03 +01:00
FranklinDM
6c2fef44cf
Issue #1344 - (Parser: C++) Don't reset containsHyphen value after finding one
2023-02-26 16:19:09 +08:00
FranklinDM
acbce95aa3
Issue #1344 - (Parser: Java) Don't reset containsHyphen value after finding one
2023-02-26 16:19:02 +08:00
trav90
2770a0588c
[No issue] Add executable bit to shell scripts in tree
2022-11-25 09:37:30 -06:00
Moonchild
24ee0680b1
[DOM security] Be more explicit about CSP checks and reports.
2022-09-21 14:08:22 +00:00
Moonchild
534de5cc5b
Issue #21 - Remove remaining telemetry structs, callers and flags.
2022-04-02 14:49:45 +02:00
Matt A. Tobin
4a7af0d90f
Issue #1835 - Part 2: Remove config and most mentions of XULRunner
...
Resolves #1835
2022-04-01 17:33:23 +02:00
Moonchild
c81c0395a3
[parser] run java translation.
2021-03-02 12:01:30 +00:00
Moonchild
525961c261
[html parser] Check for integer overflow when computing new buffer sizes.
2021-02-24 09:57:24 +00:00
Henri Sivonen
4782e8dfa2
[parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic.
2020-11-18 23:28:27 +00:00
athenian200
9ffc5e6c92
Issue #1673 - Part 4: Unprefix -moz-tab-size.
...
While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
2020-10-28 14:17:51 -05:00
Moonchild
d5a2c45aad
Issue #1656 - Part 6: Clean up the build files
2020-09-23 15:52:00 +00:00
Moonchild
528b88d704
Issue #1656 - Part 3: Nuke more vim config lines in the tree.
...
Another S&R run with some smarter matching.
2020-09-23 15:14:30 +00:00
Moonchild
4d999e03a3
[SVG] Only fire the SVG onload when scripting is enabled and allowed
2020-09-23 01:02:29 +00:00
Moonchild
04ccc4b124
[no issue] Fix whitespace (no code change)
2020-09-23 00:54:31 +00:00
Gaming4JC
0f433fc7c5
Issue #618 - Regenerate the HTML Parser code for nomodule changes
...
Ref: BZ 1446082
2020-08-26 11:20:39 -04:00
Gaming4JC
38d13e2779
Issue #618 - Don't preload nomodule scripts when modules are enabled
...
Ref: BZ 1382020
2020-08-26 11:19:42 -04:00
Moonchild
b78f53ffb0
Issue #618 - (async) Implement async attribute for inline module scripts.
...
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
2020-08-25 07:06:43 +00:00
Moonchild
2ca1cbe2f5
Issue #618 - (async, preload) Correctly pass info about async/defer to parser.
...
This makes sure we don't block body-referred sub-resources by head-referenced
defer and async scripts. This is important for all script loads, not just
modules, but is added here because it was run into while implementing modules.
2020-08-24 11:13:16 +00:00
Moonchild
c45b7ee3a9
Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement
...
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
2020-06-30 11:51:11 +00:00
Moonchild and Gaming4JC
f828451e5f
Issue #1525 - Kill marquee element
...
* Remove marquee code
* Regenerate HTML Elements/parser code for Removal of Marquee.
Co-authored-by: Gaming4JC <g4jc@hyperbola.info >
2020-06-01 14:16:06 +02:00
Matt A. Tobin
8beb65dd50
Bug 1418002 - Remove HTMLContentElement
...
Tag #1375
2020-04-17 07:08:22 -04:00
Matt A. Tobin
48f602e65b
Bug 1402941 - Add HTMLSlotElement
...
Tag #1375
2020-04-17 06:37:28 -04:00
Matt A. Tobin
5f12940329
Bug 1396584 - Remove support for multiple ShadowRoots
...
Tag #1375
2020-04-17 06:34:38 -04:00
Matt A. Tobin
f4a1d0123c
Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case
...
Tag #1375
2020-04-17 06:12:55 -04:00
Henri Sivonen
3bf1b83591
[Parser] Move setting context to null to the correct location.
2020-02-14 13:24:59 +01:00
Gaming4JC
3c70b297c7
Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition
...
Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead.
Tag UXP Issue #1344
2020-01-26 15:50:52 -05:00
Gaming4JC
8db81508a1
Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions;
...
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 .
Tag UXP Issue #1344
2020-01-26 15:50:48 -05:00
Gaming4JC
fb657f7a1e
Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0.
...
Tag UXP Issue #1344
2020-01-26 15:50:46 -05:00
Gaming4JC
a0014ac6e9
Bug 1378079 - Part 3: Complete the steps related to custom elements in "create an element for a token".
...
With fixup for missing header due to unified builds.
Tag UXP Issue #1344
2020-01-26 15:50:44 -05:00
Gaming4JC
dd6749f7dd
Regenerate Parser for 483155
...
Tag UXP Issue #1344
2020-01-26 15:50:44 -05:00
Gaming4JC
e2fc7a9d49
Fix Build: We don't have SVG or MathML prefs yet
...
See Bug 1173199 / 1216893
Tag UXP Issue #1344
2020-01-26 15:50:44 -05:00
Gaming4JC
950275abe6
Fix aAttributes
...
Fallout from 483155
Tag UXP Issue #1344
2020-01-26 15:50:43 -05:00
Gaming4JC
ea35625369
Fix ISINDEX
...
Since we want to keep this element, it has to be adapted to the parser changes in 483155
Tag UXP Issue #1344
2020-01-26 15:50:43 -05:00
Gaming4JC
0f9746b6e5
Add missing space to ElementName.java self-regeneration code.
...
Tag UXP Issue #1344
2020-01-26 15:50:43 -05:00
Gaming4JC
97ed13a9f9
Add missing elements from Bug 483155
...
Tag UXP Issue #1344
2020-01-26 15:50:42 -05:00
Gaming4JC
d163c367d9
Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.
...
This is all the manual work for Bug 483155, minus the added functionality to disable SVG and MathML which can be done at any time and are out of scope.
Tag UXP Issue #1344
2020-01-26 15:50:42 -05:00