Moonchild
19e2f0fbf9
Issue #3058 - Try to deal with bad website scripting loading/unloading modules.
...
Apparently Bing does rapid-fire loading/unloading of module scripts that causes
our attempts at resolving and initializing them to end up with null fetched
modules. Returning null is probably a better way to handle this than crashing
on ms->ModuleRecord().
2022-03-22 23:07:42 +08:00
Moonchild
bca191c2b9
[network] Add non-overrideable default MIME types for js, jsm and json.
...
This ensures the browser always recognizes these file type extensions
appropriately, even if not otherwise registered in the system.
2022-03-22 23:07:10 +08:00
Moonchild
94f3f356ed
Issue #3050 - Follow-up: extend attribution mapping to resize and corner controls to allow themes to respond to scrollbar-width.
...
Also clean up the comments and whitespace a bit.
2022-03-22 23:06:12 +08:00
Moonchild
4bdd388989
Issue #3050 - Map scrollbar-width to an element attribute.
...
By mapping this to an attribute, this allows browser themes to respond to
the various available scrollbar width settings in CSS.
2022-03-22 23:05:57 +08:00
Moonchild
0f56697eb9
Issue #3049 - Undo Stylo nonsense that breaks body and frame margins.
...
This restores support for using HTML tag styling of margins on the body.
Reftests post bug still pass for dynamic changes, so does the newly-added
test for body margins and frames that tests the old styling method.
This also removes the reftest list for stylo testing for obvious reasons.
2022-03-22 23:05:06 +08:00
Moonchild
bae3220dd5
No issue - Fix a potential autocomplete issue.
...
Account for the case where we don't have a tree view in selectedIndex
setter which may break future autocompletes.
2022-03-22 23:04:29 +08:00
Moonchild
de7ec12f83
No issue - Minor performance improvement in BidiUtils
2022-03-22 23:02:58 +08:00
Matt A. Tobin
4cc56c2cb6
Issue #3024 - First pass support for :host and :host-context
2022-03-22 22:57:05 +08:00
Moonchild
3bb1c962eb
Issue #3039 - Don't try to pass a dash array of > 16 elements to ExtCreatePen.
...
According to MSDN documentation, the count of the style array passed to
ExtCreatePen is limited to 16. When we call ExtCreatePen with cStyle=17 or more,
it simply returns an error and the cairo surface used for printing is getting
into an error state, after which nothing further gets printed.
Instead of erroring out, this code change returns an unsupported status so that
cairo will provide fallback handling for it.
2022-03-22 22:54:05 +08:00
David Major
dda2b7972a
Issue #3039 - Reapply bug 624198 fix that got lost in an upstream update.
2022-03-22 22:53:33 +08:00
Moonchild
35164e2860
Issue #3039 - Increase the MAX_FONT_SIZE limit applied in cairo_ft_font to match the gfxFont size limit.
...
Also adds synching comments just to be sure.
2022-03-22 22:52:59 +08:00
Moonchild
42fc0af325
Issue #3039 - Add closure point to bounds calculation.
...
This addition of a closure point (explicitly completing the closed shape) isn't
strictly needed in our current cairo version as it works perfectly fine without,
but if our clipping extents code changes then this might cause problems if the
extra point isn't added (in case of 0-length paths).
2022-03-22 22:52:24 +08:00
Moonchild
517a6b90a3
Issue #3039 - Extend cairo API with an explicit font_get_hint_metrics function.
...
This extension allows us to get font hint metrics without having to create and
destroy cairo font options structs. Since this is used in loops, this will
improve performance, especially in documents which have many text segments.
2022-03-22 22:51:39 +08:00
Matt A. Tobin
be7e9c26bb
Issue #3038 - Update libpixman
2022-03-22 22:46:24 +08:00
Moonchild
72d9d1a476
Don't rely on nsCRT from jsdate.
2022-03-22 22:33:11 +08:00
Jeremy Andrews
74698b4560
Issue #3017 - Shadow boundaries not accounted for in nsFrameManager.
2022-03-22 22:32:49 +08:00
roytam1
eef4fb0146
imported changes from mozilla:
...
- Bug 1754724 - Clear up some computations in expat code. r=farre, a=tritter (c084e1e9)
- Bug 1754724 - Clear up some more computations in expat code. r=farre, a=tritter (1ff49f5a)
- Bug 1754724 - Clear up even more computations in expat code. r=farre, a=tritter (4a180bbf)
- Bug 1758062 - Convert parameters upfront. r=smaug, a=tritter (153b3922)
2022-03-08 09:42:57 +08:00
roytam1
c403014cbe
imported changes from mozilla NSS:
...
- Bug 1755555 - Hold tokensLock through nssToken_GetSlot calls in nssTrustDomain_GetActiveSlots. r=rrelyea (a36477f0)
- Bug 1370866 - Check return value of PK11Slot_GetNSSToken. r=djackson (d7e8c2df)
- Bug 1751157 - Throw illegal_parameter alert for illegal extensions in handshake message. r=djackson (8fd5ca0c)
2022-02-25 13:02:18 +08:00
roytam1
e350f0c040
partly import changes from tenfourfox:
...
- #654 : M1739957 M1740985+backbugs, update TLDs (861ae8f62)
2022-02-25 13:01:40 +08:00
roytam1
223f5ace9a
pref-ui: make sanitize sub-dialog resizable
2022-02-03 23:25:17 +08:00
roytam1
b0eda70edf
Merge remote-tracking branch 'origin/tracking' into custom
2022-01-19 10:29:12 +08:00
roytam1
a77f08a62f
Merge branch 'post-git-tracking' into tracking
2022-01-19 10:28:40 +08:00
roytam1
1644733848
Issue #unknown, update mozglue delay-load DLL list.
2022-01-19 10:28:12 +08:00
roytam1
5ad78a48db
Bug 1737252 - [devtools] Escaping back tick signs. r=nchevobbe, a=RyanVM
2022-01-19 10:28:07 +08:00
roytam1
b2d3ec5e92
Bug 1650214 - Cancel progress timer when shutting down FileReader. r=asuth, a=RyanVM
2022-01-19 10:27:57 +08:00
roytam1
7d7c1ab08a
Bug 1741201 - Increase intermediate byte storage maximum capacity. r=janv, a=tjr
2022-01-19 10:27:48 +08:00
roytam1
258790bf38
Bug 1737816 - Handle truncated mp3 resources. r=bryce, a=RyanVM
2022-01-19 10:27:41 +08:00
roytam1
62a879b694
Bug 1746011 - Handle truncated ADTS stream. r=bryce, a=RyanVM
2022-01-19 10:27:26 +08:00
roytam1
b2b02865a8
Bug 1746720 - Don't special-case <meta> refresh for XSLT. r=ckerschb,freddyb a=RyanVM
2022-01-19 10:27:22 +08:00
roytam1
2ceec8871e
Bug 1743515 - Add dynamic check for valid serialized length. r=jonco, a=RyanVM
2022-01-19 10:27:16 +08:00
roytam1
e3fb994063
Bug 1735028 - check for missing signedData field r=keeler
2022-01-19 10:25:05 +08:00
roytam1
afc2f71d70
Bug 1664149: Hold a self reference in nsDataObj. r=smaug, a=RyanVM
2022-01-19 10:24:50 +08:00
roytam1
7d96ee2fe6
Bug 1740389; r=handyman, a=tjr
...
Bug 1735071: Make Windows non-ePopupLevelTop popups respect owner z-order. r=edgar, a=tjr
2022-01-19 10:24:31 +08:00
roytam1
34231f343b
partly import changes from tenfourfox:
...
- #482 : better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab)
- M1739352 M1732572(partial) M1717318(partial) M1586061 (03ffdeadb)
- M1737515 M1737470(no tests) +TLDs, tzdata (fd2b82f13)
2022-01-07 09:05:32 +08:00
roytam1
5b0d1f871a
imported changes from mozilla NSS:
...
- Bug 1737470 - Ensure DER encoded signatures are within size limits. r=jschanck,mt,bbeurdouche,rrelyea
- Bug 1735028 - check for missing signedData field r=keeler
and bump patch version.
2021-12-27 10:42:03 +08:00
roytam1
fceddf74e6
update NSS builtin certstore to Dec 2021 version from mozilla upstream.
2021-12-20 09:20:26 +08:00
roytam1
b7cc29620e
security/pkix: align pkix with nss' mozpkix bug966856 fix
2021-12-17 22:10:56 +08:00
roytam1
2a8bbf94bb
security/pkix: align pkix with nss' mozpkix and fix CheckRevocation API type in application codes
2021-12-17 22:09:38 +08:00
roytam1
a140666918
imported changes from mozilla NSS:
...
- Bug 966856 - mozilla::pkix: support SHA-2 hashes in CertIDs in OCSP responses r=jschanck,djackson (78d2f4a3)
2021-12-17 16:54:54 +08:00
roytam1
c7ec584cf8
Merge remote-tracking branch 'origin/tracking' into custom
2021-12-14 23:18:25 +08:00
roytam1
883880c090
Merge branch 'post-git-tracking' into tracking
2021-12-14 23:10:34 +08:00
roytam1
138137ddea
Issue #unknown, change assignment method in nsThread::SetObserver()
2021-12-14 23:10:15 +08:00
roytam1
c72a393b93
Bug 1339588 - Part 1: Simplify nsTimerEvent::Cancel, since there's no need to release the nsTimerImpl itself. r=froydnj, a=dveditz
2021-12-14 23:10:15 +08:00
roytam1
f43ff83d54
backport Bug 1696685 - r=valentin,nika a=RyanVM
2021-12-14 23:10:15 +08:00
roytam1
26ae6482f6
Issue #unknown, Reload Flooding prevention.
2021-12-14 23:10:15 +08:00
roytam1
6477ec9b56
backport Bug 1502599: XHR should allow just "GET" method for blob URLs, r=smaug
2021-12-14 23:10:14 +08:00
roytam1
eb0082ecaa
backport Bug 1739421: Use kungFuDeathGrip when firing a timer r=bwc a=RyanVM
2021-12-14 23:10:14 +08:00
roytam1
bf632ce22a
Bug 1730120, close ContentViewer properly if initialization fails, r=nika a=RyanVM
2021-12-14 23:10:14 +08:00
roytam1
6036639e99
Bug 1738237, don't try to create too large string buffers, r=mccr8, a=RyanVM
2021-12-14 23:10:14 +08:00
roytam1
e5e5fa5ab3
Bug 1737009 - Make nsTextFragment::SetTo() check given string length first. r=smaug, a=RyanVM. DiD nsTextFragment::Append()
2021-12-14 23:10:14 +08:00