Commit graph

4,566 commits

Author SHA1 Message Date
Moonchild
a94d85142d [DOM] worker cleanup. 2022-03-22 23:13:14 +08:00
Moonchild
a63ec9a479 [DOM] Consistent error messages for scripts which failed to load. 2022-03-22 23:12:48 +08:00
Moonchild
bc2aa1f05c [DOM] Clear sinks and block further use after storage observer shutdown. 2022-03-22 23:12:20 +08:00
Moonchild
9299c2e2ea [network] Improve thread-safety of cache entry handling. 2022-03-22 23:11:34 +08:00
Moonchild
2073c44990 No Issue - Break overly long tooltips into multiple lines.
A very very old bug and annoyance: tooltips with very long content without
spaces (e.g. long URLs or gibberish data) would just cut off and leave an
un-styled right border going over the widget's constrained space.
Because of an additional bug (still unsolved), this was never properly
addressed because solutions attempted didn't work.
The workaround for the secondary bug allows for word-break to now work and this
primary problem to be resolved.
2022-03-22 23:09:58 +08:00
Moonchild
bf17b1fec3 Issue #3063 - Implement queueMicroTask(callback()) 2022-03-22 23:08:26 +08:00
Moonchild
602bb0a877 Issue #3059 - Implement Selection.setBaseAndExtent() 2022-03-22 23:08:04 +08:00
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
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
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
roytam1
7d223da9ca [Pale-Moon] addons: replace Application.restart call with Services.startup.quit 2021-11-10 09:10:26 +08:00
roytam1
16f07caa39 [Pale-Moon] remove Application prefix in enterTabbedMode method 2021-11-10 09:10:26 +08:00
roytam1
7852cec48a [Pale-Moon] make sure anchor.top is not smaller than zero 2021-11-10 09:10:26 +08:00
roytam1
fdb10cb2f3 search: enlarge MAX_ICON_SIZE 2021-11-10 09:10:26 +08:00
roytam1
537bcf5eaf backport Bug 1729517 - Set up document correctly. r=freddyb,ckerschb a=RyanVM 2021-11-10 09:10:26 +08:00
roytam1
0ffa8a018a backport Bug 1724233 - Make sure to run ConvertUTF8toACE before ConvertToDisplayIDN. r=dragana, a=RyanVM 2021-11-10 09:10:25 +08:00
roytam1
d025defb98 Bug 1606864 - Make mDoNotRetryToConnect atomic. r=decoder,dragana a=RyanVM
Bug 1712671 - Make nsSocketTransport2::m{Input/Output}StreamClosed atomic. r=kershaw,decoder a=RyanVM
2021-11-10 09:10:25 +08:00