Commit graph

2,653 commits

Author SHA1 Message Date
Honza Bambas
31b1431ea1 Bug 1550498. 2019-07-20 06:25:25 +08:00
wolfbeast
4ad12f3588 Get RefPtr for IDBOpenDBRequest before using it. (DiD) 2019-07-20 06:25:23 +08:00
Jeroen Vreeken
3dfc953945 Alow AAC audio codec data in matroska/webm streams.
Allow CRC32 elements in matroska cluster elements.
2019-07-19 10:04:57 +08:00
wolfbeast
d2baf53a14 Revert "Capture delayed events and cancel as necessary."
Tag #1052 (backout).
Backed out for creating issues like #1191 and other issue-less problems
with e.g. losing the caret from text boxes. Of note: this was also
backed out from m-c for similar reasons in Bug 1332433.
This fixes #1191.
This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
2019-07-19 10:04:49 +08:00
wolfbeast
9a4b847b7e Consider domain when deciding on inner window reuse. 2019-07-19 10:04:47 +08:00
Bryce Van Dyk
30f4771cb7 Use a RefPtr to hold owner element ref when moving media resource load
to background.
2019-07-19 10:04:45 +08:00
wolfbeast
28e15ed590 Implement a threadsafe & revised version of http2PushedStream. 2019-07-19 10:04:43 +08:00
wolfbeast
71a6b780d9 Don't access gNeckoChild if not on main thread. (DiD)
This patch also makes UDPSocketChild::Bind return NS_ERROR_NOT_AVAILABLE
when mBackgroundManager is null.
2019-07-19 10:04:25 +08:00
win7-7
5639ab5968 Fix comments for Frameproperties
https://bugzilla.mozilla.org/show_bug.cgi?id=1373884

Fixes comments for Frameproperties.

These comments went unnoticed earlier.

No code changes.
2019-07-19 10:04:10 +08:00
win7-7
ffb2d9d791 Dispatch a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>
If a page uses or removes many <object> elements which are not actually plugins, loading the page goes to a crawl because UXP recalculates the plugin UI every time.

Only dispatch a PluginRemoved event for actual plugins.
2019-07-19 10:04:08 +08:00
FranklinDM
936be91587 [BASILISK] A prompt should be shown for new foreign add-ons on start up
- Follow up to: 2cbbc5de4596ef3436685fa3316eeed9af700249 and #937
- Should be `RecentWindow.getMostRecentBrowserWindow()` instead of `this.getMostRecentBrowserWindow()`.
2019-07-19 10:04:06 +08:00
FranklinDM
f256af1571 Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up 2019-07-19 10:04:03 +08:00
wolfbeast
8ad0b46284 Block http auth prompt for cross-origin image subresources by default.
Still allow this to be bypassed with a pref for those really rare corner
cases where images are loaded cross-origin by design and the session
hasn't been/can't be authenticated ahead of time.
2019-07-19 10:03:21 +08:00
wolfbeast
e4273a3c58 Selectively allow ftp subresources in the blocked mode.
- Allow "Save As..." downloads
- Allow subresource use if the top-level document is also on FTP
2019-07-19 10:03:19 +08:00
wolfbeast
797f3eae35 Add preference to allow the loading of FTP subresources for corner cases 2019-07-19 10:03:17 +08:00
Matt A. Tobin
fdd8829fea Follow up to #1177 - Clean up package-manifest.in 2019-07-19 10:03:14 +08:00
wolfbeast
8c1500707f Remove WebIDE devtools component.
This resolves #1123
2019-07-19 10:01:13 +08:00
wolfbeast
f472fe68d0 Stop building /caps unified and fix deprot.
Tag #80
2019-07-19 10:01:11 +08:00
wolfbeast
64cab879b4 Stop building /chrome unified and fix deprot.
Tag #80
2019-07-19 10:01:08 +08:00
Jeroen Vreeken
68c810a1ac Make matroska mime type checking more consistent. 2019-07-12 16:56:04 +08:00
Jeroen Vreeken
a960d679d5 Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
2019-07-12 16:56:02 +08:00
win7-7
3829b269ce Iterate the frame property list once to collect which child list properties we have
Look into optimizing out the hashtable lookups from nsContainerFrame
2019-07-12 16:56:00 +08:00
wolfbeast
f88da927a6 Remove e10s info from about:support
tag #953
2019-07-11 22:25:10 +08:00
Gaming4JC
b4fa30b382 Issue #1160 - Remove HotFix Preferences from Telemetry 2019-07-08 20:29:14 +08:00
Gaming4JC
8b6f61ed7f Issue #1160 - Remove HotFix preferences from testing 2019-07-08 20:29:12 +08:00
Gaming4JC
eec3edd17d Issue #1160 - [Basilisk] Remove unused HotFix preferences 2019-07-08 20:29:10 +08:00
wolfbeast
0221618762 Avoid type confusion in ArrayJoinDenseKernel 2019-07-08 20:28:57 +08:00
win7-7
22d77a3d80 Avoid multiple hashtable lookups in DisplayItemData destructor
UXP has:

MOZ_RELEASE_ASSERT(sAliveDisplayItemDatas && sAliveDisplayItemDatas >Contains(this));
  sAliveDisplayItemDatas->RemoveEntry(this);

and this gets hit during frame destruction.

Combine these checks.
2019-07-08 20:28:55 +08:00
win7-7
1be77e0f3f Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser.
An innerHTML setter profile shows about 10% of the time being spent under nsHtml5HtmlAttributes::clear, mostly deleting nsStrings.
2019-07-08 20:28:54 +08:00
FranklinDM
41758fcea8 Issue #1158 - Reinstate tabcontainer variable
- This was erroneously removed in commit 1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d because it is still being used by surrounding code.
2019-07-06 06:45:38 +08:00
FranklinDM
0709a30e71 Issue #1158 - Remove extraneous closing brace
- This also adjusts code indentation
2019-07-06 06:45:35 +08:00
Kevin Bhasi
ac213f2b20 Issue #1148 - Part 2: Add StartupWMClass to .desktop for official 2019-07-05 21:33:53 +08:00
Kevin Bhasi
9ab1bd23eb Issue #1148 - Part 1: Add StartupWMClass to .desktop for unofficial 2019-07-05 21:33:50 +08:00
wolfbeast
cebf8fc436 Give Mac an Linux (small sizes) the same treatment 2019-07-05 21:33:28 +08:00
wolfbeast
3c8712bcc1 Add adjusted icon for 2k/XP classic grey toolbar backgrounds.
(because otherwise we won't hear the end of it)
2019-07-05 21:33:24 +08:00
wolfbeast
a74875d8bc Remove FT's polyfill.io SSUAO now they have fixed their detection.
See also: https://github.com/Financial-Times/polyfill-useragent-normaliser/pull/12
2019-07-05 21:33:18 +08:00
win7-7
922e819d1c Attach FrameProperties to each frame instead of using a shared hashtable
Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
2019-07-05 21:32:14 +08:00
wolfbeast
c135831979 Update 16x16 branding images/icons for improved contrast on grey
backgrounds.
2019-07-05 21:31:58 +08:00
wolfbeast
04fc506fcd Update SSUAO for web.whatsapp.com.
This resolves #1152
2019-07-05 21:31:52 +08:00
wolfbeast
c09dcbb6f2 New cycle version bump. 2019-07-05 21:30:50 +08:00
Matt A. Tobin
c135f205d9 [Pale Moon] Add a configure flag to functionally disable personas at build time 2019-07-05 21:30:02 +08:00
Gaming4JC
db85a69fdb Issue #1142 - Cleanup unused debug code for unboxed objects
Also fixes an assertion during compile if debug is enabled since unboxed objects have been removed.
2019-07-05 21:30:00 +08:00
g4jc
2b5f3e87c8 Issue #1142 - Remove uneeded assertion (#1145)
Since unboxed objects were removed, isUnboxed is undefined. This causes a build failure when debuging is enabled. This patch fixes the issue by removing the uneeeded assertion.
2019-07-05 21:29:58 +08:00
wolfbeast
c7f629f30e [Pale Moon] Remove *.pdf file association in the installer. 2019-06-29 09:20:43 +08:00
wolfbeast
512a3ba8e8 Revert "Treat *.jnlp as an executable class file, like *.jar"
Rationale: This was a Mozilla oversight and/or error.
This change has caused harm and is causing users to switch back to
Chrome, Safari or Edge for their WebStart needs.

JNLP is not an executable and should not be treated as such. JNLP should
be treated the same as any (e.g. Word) document and allowed to be opened
with the designated program.
A JNLP file will not cause execution on a system unless it has a valid
signature, and the user explicitly authorizes the launching based on
information provided by the signature. Moreover, there will even be a
check by the Java environment to see if the Java runtime (if there is
one) is current, and prompt the user to update if required.

This reverts commit 21495c58976e3cbbfe54d2e54d1fd67e36dff2a6 and
modifies ApplicationReputation.cpp to keep the list in sync (was a
discrepancy before).
2019-06-29 06:03:55 +08:00
wolfbeast
cf79506995 Re-save wordmark SVG as plain SVG.
Tag #1010
2019-06-29 06:03:53 +08:00
wolfbeast
f2a2359427 Update branding. 2019-06-29 06:03:51 +08:00
Travis W
f3c2a3596c Add StoreBuffer-inl.h header to jsobj.cpp
This should fix deprot on the Linux and Macintosh
2019-06-28 20:11:30 +08:00
wolfbeast
e4c7c846c8 Remove anyNewScript() 2019-06-28 20:11:27 +08:00
wolfbeast
0342ac0a6b Clean up MObjectState 2019-06-28 20:11:24 +08:00