Commit graph

1,536 commits

Author SHA1 Message Date
Ascrod
20b7dc7326 Fix local link handling in Reader Mode. 2019-02-16 00:07:53 +08:00
wolfbeast
9949bc6c34 Make the page visibility API pref-controlled.
This resolves #607.
2019-02-16 00:07:51 +08:00
wolfbeast
db0d0cfb0a Update about:rights links.
This resolves #603.
2019-02-16 00:07:50 +08:00
wolfbeast
fecd8ec7e6 Fix redirector paths
This resolves #602.
2019-02-16 00:07:48 +08:00
janekptacijarabaci
8800e388b3 Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in killing state 2019-02-16 00:07:47 +08:00
janekptacijarabaci
56c088c2d4 Bug 1298823 - Fix Request constructor - with "mode: navigate" 2019-02-16 00:07:45 +08:00
janekptacijarabaci
98546534b0 Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status 2019-02-16 00:07:43 +08:00
janekptacijarabaci
df880ae53f nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
Issue #600
2019-02-16 00:07:41 +08:00
NTD
6c4b4c3b3f [AllAM] [STRING CHANGES] Appearance -> Themes 2019-02-16 00:07:40 +08:00
janekptacijarabaci
7dc58571d1 [PALEMOON] DevTools - remove unused items from browser.dtd 2019-02-16 00:07:38 +08:00
Lootyhoof
9baa2e8cfd Adjust popup ID for password manager 2019-02-16 00:07:36 +08:00
wolfbeast
952c11cef9 On failure, save a dummy file from the background page thumb capture module.
If a background page thumbnail capture fails (e.g. due to too heavy scripting), we should
write -something- to the thumbnail cache, because otherwise it will try again and again,
which is problematic for bad trap pages, that even if the user has left the page never
to return again, the thumbnail service may still try to capture, and fail.

This resolves the only problem for us in #592.
2019-02-16 00:07:35 +08:00
janekptacijarabaci
1126ed480b [PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Issue #350
2019-02-16 00:07:33 +08:00
SpockFan02
58a67bf3d7 Don't hide caption buttons with a lw theme, either
Follow-up to #585. I removed this from the PR, but it's actually needed, otherwise the caption buttons are hidden with a lightweight theme!
2019-02-16 00:07:32 +08:00
SpockFan02
9a906f1dbc Mac: Do not hide caption buttons or titlebar
on private browsing windows or with a lightweight theme installed.

This resolves #491. This resolves #584.
Tag https://github.com/MoonchildProductions/Pale-Moon/issues/623
2019-02-16 00:07:30 +08:00
janekptacijarabaci
ef547d4967 Bug 1334411 - Remove the UI for indexedDB in Page Info and Permissions Manager 2019-02-16 00:07:29 +08:00
wolfbeast
493ea98fee [PALEMOON] On GTK, default to showing the menubar only when alt is pressed
This restores parity with v27
2019-02-16 00:07:27 +08:00
wolfbeast
9c9ba7c6c8 [TychoAM] Make resilient to missing pref lightweightThemes.animation.enabled 2019-02-16 00:07:26 +08:00
wolfbeast
c60c15e659 Remove pref confusion around cache v2
- Renames browser.cache.use_new_backend to browser.cache.backend
- Sets browser.cache.backend to 1 (use cache v2)
- Removes browser.cache.use_new_backend_temp
2019-02-16 00:07:24 +08:00
wolfbeast
8c917ef35e Fix cache v1 compression crash in nsCompressOutputStreamWrapper::Close() 2019-02-16 00:07:23 +08:00
wolfbeast
21ea79484b Re-implement prompts.tab_modal.focusSwitch control in toolkit. 2019-02-16 00:07:21 +08:00
wolfbeast
343a51f1a1 Rename firefox(-branding).js to basilisk(*).js
Bonus: combats some fingerprinting.
2019-02-16 00:07:20 +08:00
wolfbeast
bece3fdc29 Update troubleshooting pref whitelist following 593835e861ce3ab3f9d58aa1fc241399f1c1f244 2019-02-16 00:07:18 +08:00
wolfbeast
ad2c18b0f2 Prevent suppressing executable warnings using the "don't ask me this again" checkbox.
A hidden preference matching the behavior of "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.
While there, simplify the `confirmLaunchExecutable` function by converting from promises to async function.
Since Basilisk moved this prompting to toolkit, we also clean up some unused duplicate strings from application/basilisk while we're there.

This resolves #581
2019-02-16 00:07:16 +08:00
wolfbeast
1ed60ee41b Don't leak newTemplate in pk11_copyAttributes()
Cherry-pick of NSS fix from 3.37
2019-02-16 00:07:15 +08:00
wolfbeast
749d1d4ae4 Remove errant paste 2019-02-16 00:07:13 +08:00
wolfbeast
d37f6a30b3 Clamp resolution in PerformanceNavigationTiming. 2019-02-16 00:07:11 +08:00
wolfbeast
da75ad73e0 Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD 2019-02-16 00:07:10 +08:00
wolfbeast
4131396b59 WebRTC: Add DeleteStreams to media conduits. 2019-02-16 00:07:08 +08:00
Pale Moon
b177c40274 Cherry-pick user sctp rev SVN8789a6da02e2c7c03522bc6f275b302f6ef977fe 2019-02-16 00:07:07 +08:00
wolfbeast
eecf847006 Confirm launch of executables other than .exe on Windows. 2019-02-16 00:07:05 +08:00
Nicolas Silva
1974d5079a Bug 1464039 - Only reject qcms transform with invalid grid size if the transform function uses the grid size. r=Bas a=jcristau 2019-02-16 00:07:04 +08:00
Kyle Machulis
152f93be21 Bug 1436241 - Check redirect status code before forwarding to NPAPI. r=jimm, r=pauljt, a=jcristau
NPAPI may handle a 307 redirect across different origins, while they
should only happen on same origin requests. Have the browser check
this before forwarding to NPAPI.
2019-02-16 00:07:02 +08:00
Paolo Amadini
393973a1f5 Bug 1468217 - Add "SettingContent-ms" to the list of executable file extensions. r=Gijs, a=RyanVM 2019-02-16 00:07:01 +08:00
Nicolas Silva
4cc70839b2 Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVM 2019-02-16 00:06:59 +08:00
wolfbeast
c180f85048 Bug 1413868. 2019-02-16 00:06:58 +08:00
Nils Ohlmeier [:drno]
76e79cecec Bug 1464063 - Remove sdp_getchoosetok. r=bwc, a=RyanVM
WebRTC
2019-02-16 00:06:56 +08:00
Byron Campen [:bwc]
03766e63da Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM 2019-02-16 00:06:55 +08:00
Byron Campen [:bwc]
e659309611 Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM
WebRTC
2019-02-16 00:06:53 +08:00
Alex Gaynor
57b3983e17 Bug 1462912 - Fixed BufferList::Extract to handle the case where the call consumes the entirety of the BufferList. r=froydnj, a=RyanVM 2019-02-16 00:06:52 +08:00
Alex Gaynor
921ff8f640 Bug 1456189 - Simplify BufferList::Extract to make the lifetimes clearer. r=froydnj, a=RyanVM 2019-02-16 00:06:50 +08:00
wolfbeast
57c15c519b [PALEMOON] Remove duplicate MOZ_PROFILE_MIGRATOR entry in confvars. 2019-02-16 00:06:48 +08:00
wolfbeast
cb7fc0d95f Disable Intersection Observers by default.
This draft implementation does not play nice with several large sites (e.g. Facebook).
2019-02-16 00:06:46 +08:00
wolfbeast
e9342c1ad5 Issue #578: Applications cannot start without /proc (chroot).
UXP uses the current stack frame address and the stack size
as a sort of heuristic for various things in the JavaScript
engine.  The js::GetNativeStackBaseImpl() function is used to
get the base stack address (i.e. the address from which the stack
grows, so this can be either the first or last memory address of
the stack memory space depending on the CPU architecture).

On Linux, this function is implemented using the pthreads APIs.
For non-main threads, the queried thread info is stored in
memory.  The main thread does not have this information on hand,
so it gets the stack memory range via the /proc/self/maps file
(see glibc's pthread_get_attr_np.c).

Fortunately (per discussions with the firefox devs in #jsapi)
the base address only needs to be approximate.  In reality,
environment variables, args, and other things are stored in
stack space between the end/beginning of the mapped stack
memory and the 'top' of the stack space used by stack frames.

When using glibc, we can get the top of this usable stack from
__libc_stack_end, which is a void* set by glibc during program
initialization, avoiding the need to access /proc.
Non-main threads still get their stack-base through the usual
pthreads APIs.
Other libc implementations like musl will fall back to the
standard UNIX-like implementation which calls pthread's
pthread_attr_getstack() also from the main thread, which
may imply /proc access and not work in restricted
environments.
2019-02-16 00:06:45 +08:00
JustOff
b7cc34ab63 [PMkit] Keep the buttons position when they are placed right before space, flexible space or separator 2019-02-16 00:06:43 +08:00
janekptacijarabaci
e5c896ce20 Fix typo in a comment - performance.dtd 2019-02-16 00:06:42 +08:00
adeshkp
c3553379a7 Quick fix to binay file path for Mac packaging 2019-02-16 00:06:40 +08:00
SpockMan02
2d708bf86c Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2019-02-16 00:06:39 +08:00
trav90
afedf5b82e Remove unnecessary GCC version checks 2019-02-16 00:06:37 +08:00
Lootyhoof
384f756181 Add tabbrowser findbar styling for Linux and OSX 2019-02-16 00:06:36 +08:00