roytam1
4ef2722f89
Merge remote-tracking branch 'origin/tracking' into custom
2023-02-27 11:09:21 +08:00
u3shit
3e62b1fc9f
Issue #2118 - Part 2: Add support for Identity YUVColorSpace
...
https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
2023-02-27 11:08:35 +08:00
roytam1
a52c44343e
Merge remote-tracking branch 'origin/tracking' into custom
2023-02-22 07:09:09 +08:00
Moonchild
0b9698c80a
[DOM] WebCrypto: Check decoded key type before using it.
...
Just in case someone forces the wrong key type and misuses WebCrypto.
It won't be usable anyway so better to throw.
2023-02-22 07:08:44 +08:00
FranklinDM
14e8922dca
Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches
...
This is in preparation for merging the logic of RestrictedSelectorListMatches and AnySelectorInArgListMatches.
2023-02-22 07:05:25 +08:00
roytam1
16926c542d
Merge remote-tracking branch 'origin/tracking' into custom
2023-02-20 12:02:40 +08:00
Moonchild
bc50a7d3c6
[DOM] Check whether module load request was already cancelled when a load fails
2023-02-20 12:01:36 +08:00
roytam1
553e7438ac
Merge remote-tracking branch 'origin/tracking' into custom
2023-02-08 16:57:53 +08:00
Moonchild
1644bf94f0
No issue - Accept also video/vp8 as MIME type
2023-02-08 16:57:28 +08:00
FranklinDM
4c9665a4ae
Issue #2104 - Part 2: Indicate if a label was cropped via the "_is_cropped" attribute
2023-02-08 16:57:11 +08:00
roytam1
fd45d63241
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-26 11:42:02 +08:00
Martok
6b50dd5d06
Issue #2089 - Use JS engine stack if necessary when reporting errors
...
Based-on: m-c 996060
2023-01-26 11:39:57 +08:00
roytam1
cad030d6cc
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-19 09:43:10 +08:00
Moonchild
f080f2e978
[DOM] Make nsHTMLContentSerializer handle noscript depending on the scripting enabled state of the document.
2023-01-19 09:42:47 +08:00
Moonchild
d8756a58db
[DOM] Add some null checks for PerformanceWorkers
2023-01-19 09:41:54 +08:00
roytam1
a48debaabe
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-10 08:22:51 +08:00
Moonchild
efeb0e3e97
Issue #2087 - Don't throw on lacking PresShell in SetFontInternal
...
In CanvasRenderingContext2D::SetFontInternal, we should not throw if
there is no PresShell due to (sandboxed/hidden) iframe use that has not
initialized its presentation yet at the time of property manipulation.
This removes the throwing of the error and just silently fails.
Resolves #2087
2023-01-10 07:42:08 +08:00
Martok
a6a420259c
Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables
2023-01-10 07:31:26 +08:00
roytam1
120ac6d556
Merge remote-tracking branch 'origin/tracking' into custom
2022-12-30 09:29:56 +08:00
Job Bautista
ba1887ff4c
Issue #80 - Fix deprot in dom/base.
...
This regression was introduced by my PR #2015 .
Found while building dom/base de-unified.
2022-12-30 09:22:21 +08:00
roytam1
74a139ee22
Merge remote-tracking branch 'origin/tracking' into custom
2022-12-02 23:57:49 +08:00
Martok
b4dd106262
Issue #2030 - Dispatch click on common interactive ancestor if mousdown/up are not on the same element
...
For example, if the mouse is dragged from one element to another while
staying inside the same button, dispatch from their common ancestor
2022-12-02 23:56:40 +08:00
Martok
4354c7a1bc
Issue #2030 - Allow child nodes of button to participate in mouse hit tests
...
This is needed for web compatibility, even if standards compliance is debatable.
2022-12-02 23:55:57 +08:00
Martok
4d310562d9
Issue #2030 - (chore) refactor event dispatch functions
...
Based on selected bits of M-C 1461708:
- EventStateManager::CheckForAndDispatchClick() to early-return style
- split EventStateManager::CheckForAndDispatchClick() into:
EventCausesClickEvents, PostHandleMouseUp, DispatchClickEvents
- Move implementation of UIEvent::GetRangeParent() and UIEvent::RangeOffset() to nsLayoutUtils
2022-12-02 23:55:37 +08:00
roytam1
de0b4ac202
Merge remote-tracking branch 'origin/tracking' into custom
2022-11-25 11:46:08 +08:00
Moonchild
f35ae1ce7b
Issue #2019 - Follow-up: Make nsPluginInstanceOwner also listen to keypress events in the system event group.
...
nsPluginInstanceOwner only listens to keypress events in the default event group.
However, in our changed operating mode, keypress events are not fired in the
default event group if the key does not result in something printable.
This means that nsPluginInstanceOwner should also listen to keypress events
in the system event group and should handle each keypress that way, but
only once. I.e., if a printable keypress event is received in the system event
group, it should be ignored, since it would've already been handled in the
default event group in that case.
2022-11-25 11:45:41 +08:00
Moonchild
37f0199c79
[Network, DOM] Align our implementation with the current CORS/Fetch spec.
2022-11-25 11:41:52 +08:00
roytam1
f9dc0e6d15
Merge remote-tracking branch 'origin/tracking' into custom
2022-11-10 14:55:46 +08:00
Moonchild
211b7cf219
Issue #2024 - Part 1: Add wildcard to Access-Control-Expose-Headers
...
For requests without credentials, add wildcard to Access-Control-Expose-Headers.
2022-11-10 14:54:33 +08:00
roytam1
5f18cf3bed
Merge remote-tracking branch 'origin/tracking' into custom
2022-10-27 09:04:51 +08:00
Moonchild
2f0acd868e
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-27 09:04:31 +08:00
Moonchild
e69b52eac1
Hold some strong references on nsRefreshDriver
2022-10-27 09:03:27 +08:00
Moonchild
2e944692c3
Issue #21 - Remove panning/tab animation performance measurements
...
Based on FranklinDM's follow-up for the issue.
This would require browser FE changes, particularly removing the associated
code in `tabbrowser.xml`, however, that was already done in Pale Moon previously.
Other front-end applications may need to take note, though.
Based on changes from the following bugs:
* Bug 696398 - Need an api to analyze panning performance
* Bug 800031 - Include paint time in tab switch telemetry
* Bug 820167 - Enable performance measurement of tab animation
* Bug 826383 - Improve Start/Stop FrameTimeRecording for telemetry usage
2022-10-27 08:59:25 +08:00
Basilisk-Dev
9277c9418d
Issue #1375 - Don't mark nodes in the shadow tree as orphan nodes
...
Port of Bug 1026714
2022-10-27 08:58:24 +08:00
roytam1
221a4433e3
Merge remote-tracking branch 'origin/tracking' into custom
2022-10-13 10:40:39 +08:00
Job Bautista
d367067698
Issue #1375 - Use nsIAtom* instead of nsAtom* for CE Upgrade function.
...
We haven't refactored nsIAtom* as Mozilla did yet.
2022-10-12 17:20:51 +08:00
Job Bautista
bc36c607a9
Issue #1375 - Implement customElements.upgrade.
...
Backported from Mozilla bug 1443722.
2022-10-12 17:20:32 +08:00
roytam1
67177c6722
backout bug1767365 part from rev 591552c5 as it cause crash in viewing https://www.ventusky.com/?w=off
2022-09-24 23:47:50 +08:00
roytam1
f84bc6d605
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-23 11:04:25 +08:00
Moonchild
d2276a48d2
Issue #1977 - Follow-up: Correct pref check to be selective on wave formats only.
2022-09-23 11:04:00 +08:00
roytam1
968135355d
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-22 10:19:31 +08:00
Moonchild
95120acbb2
[DOM security] Be more explicit about CSP checks and reports.
2022-09-22 10:18:33 +08:00
roytam1
591552c5bb
partly import changes from tenfourfox:
...
- #651 : M1767365+backbugs M1757604 M1771774 M1776658 (bc6daa0ae)
2022-09-19 16:18:37 +08:00
roytam1
92cf687331
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-09 10:31:15 +08:00
Job Bautista
b93c4ada8a
Issue #1995 - Fix build bustage in GCC 12
...
For some reason, GCC 12 is treating this include as a circular dependency.
See athenian200's analysis for more details.
2022-09-09 10:13:16 +08:00
Moonchild
60e4e33442
Issue #80 - Re-unify most of DOM
2022-09-09 10:09:40 +08:00
roytam1
866ded0b0a
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-07 11:03:19 +08:00
Moonchild
142f08ce1f
Issue #1720 - Follow-up: Explicitly include X11UndefineNone.h in HTMLOptGroupElement.cpp to fix unified building on X11
2022-09-07 11:02:14 +08:00
Moonchild
5dfded811d
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
roytam1
64173440fc
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-02 11:00:51 +08:00