wolfbeast
08ccf18274
Use WeakPtr for extension parent pointer.
2019-07-22 19:45:24 +08:00
Kyle Machulis
b2512d610b
Don't allow cross-origin POST redirects on 308 codes.
...
We already don't allow cross origin POST redirects on 307 redirects;
this adds extra guards to make sure we don't allow them on 308s either.
2019-07-22 19:45:11 +08:00
wolfbeast
537197dfdc
Truncate Buffer/Texture on GL_OOM.
2019-07-20 06:25:26 +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
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
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
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
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
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
c3a85ded77
Improve origin-clean algorithm based on our previous changes.
...
- Instead of trying the failing refactored Mozilla way, simply add a
check where needed building on what was put in place previously.
2019-06-07 09:52:36 +08:00
wolfbeast
64acfb5ca0
Revert "Improve origin-clean algorithm"
...
This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
2019-06-07 09:52:34 +08:00
wolfbeast
de22dcde32
[WebGL] Enable size limit on Linux.
...
Some drivers on Linux are not supportive of very large allocation sizes
(esp. applicable to Linux x86 builds of UXP applications) and could
cause issues. Treat this the same way we already do on Mac/Darwin.
2019-05-31 07:22:28 +08:00
wolfbeast
85e68b684f
Improve origin-clean algorithm
2019-05-31 07:21:08 +08:00
wolfbeast
b3deb955e9
[places] Prevent some abuse of smart queries.
2019-05-31 07:21:02 +08:00
win7-7
53acd97766
NodeInfoManager should use a local cache
...
issue #1111
2019-05-31 07:19:14 +08:00
wolfbeast
450910d668
[media] Rewrite AudioConverter::DownmixAudio
...
- Structure the code better
- Directly downmix to mono from multichannel
2019-05-31 07:18:47 +08:00
wolfbeast
a6d976c0cd
[IndexedDB] Call SendFailureResult if the actor has been destroyed.
...
Normally we wouldn't need to send any notifications if the actor was
already destroyed, but it can be a VersionChangeOp which needs to
notify its parent operation (OpenDatabaseOp) about the failure.
So SendFailureResult needs to be called even when the actor was
destroyed. Normal operations redundantly check if the actor was
destroyed in SendSuccessResult and SendFailureResult, therefore it's
ok to call it in all cases here.
2019-05-31 07:18:37 +08:00
win7-7
f7def6729d
change for nsNodeInfoManager.cpp
...
based to patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1352235 v1 add main thread only cache.
2019-05-31 07:18:03 +08:00
win7-7
37870c0ff2
Add missing NS_AtomizeMainThread(nameToUse);
...
nsCOMPtr<nsIAtom> nameAtom = NS_AtomizeMainThread(nameToUse);
2019-05-31 07:17:59 +08:00
win7-7
c4af2549b2
add main thread only cache for nsIAtoms to speed up atomization dom/base
...
add main thread only cache for nsIAtoms to speed up atomization
2019-05-31 07:17:44 +08:00
Gaming4JC
4ab1401ee6
Issue #1102 - Disable <meta http-equiv=set-cookie>
...
Create a new pref 'dom.meta-set-cookie.enabled' which is set to 'false', disabling http-equiv meta cookies.
2019-05-31 07:17:21 +08:00
wolfbeast
b39b43014b
Add nullcheck.
...
This resolves #1088
2019-05-17 22:17:22 +08:00
wolfbeast
78b6f639b2
Map IntersectionObserver rect to the correct viewport.
...
targetFrame is modified during the intersection computation loop, so
it's not the viewport you want if there are scrollframes around.
This bug triggers when IntersectionObservers are used on frames that
wrap.
Follow-up for #249 .
2019-05-17 22:17:16 +08:00
Gaming4JC
852ce8292d
Fix failure to print when pages contain zero-sized <canvas> element.
...
Fixes #1058
2019-05-03 21:31:23 +08:00
wolfbeast
e3827df1a0
Capture delayed events and cancel as necessary.
...
Tag #1052
2019-04-27 08:56:22 +08:00
Matt A. Tobin
97059c1b48
Issue #1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC
2019-04-27 08:51:55 +08:00
Ascrod
f1d39b624e
Issue #991 Part 5: DOM and layout
2019-04-27 08:21:58 +08:00
wolfbeast
fdc5d93422
Remove some HPUX leftovers.
...
Resolves #185
2019-04-04 20:26:43 +08:00
wolfbeast
769e5dad1e
Remove AIX 1st party code OS checks, part 1
...
Issue #186
2019-04-04 20:26:39 +08:00
wolfbeast
02260b18f3
Remove AIX VisualAge C++ compiler bug workaround.
...
Tag #186
2019-04-04 20:26:36 +08:00
wolfbeast
0a50553673
Issue #187 : Remove solaris 1st party code OS checks.
2019-04-04 20:26:29 +08:00
wolfbeast
78d61fd2b1
Issue #187 : Remove solaris conditional code.
2019-04-04 20:26:26 +08:00
Ascrod
8d45fa6874
Remove obsolete getPref helpers.
2019-03-29 22:22:33 +08:00
wolfbeast
9ce73065ba
Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."
...
This reverts commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac.
2019-03-29 22:22:02 +08:00
sotaro
9f852ea56e
Check if CopyData succeeded.
2019-03-29 22:22:00 +08:00
Nika Layzell
55fed93296
Unregister ProcessHangMonitor as a hang annotator on shutdown.
2019-03-29 22:21:58 +08:00
wolfbeast
db3e9bd7ba
Disallow getUserMedia on null principals.
2019-03-29 22:21:55 +08:00
wolfbeast
afd64584b1
Fix build bustage.
2019-03-23 06:58:47 +08:00
trav90
cdc953632f
[EME] Remove WidevineDecryptor::OnLegacySessionError
...
Not needed for more recent CDM versions.
2019-03-23 06:58:45 +08:00
trav90
d906bfd12d
Build bustage fixes
2019-03-23 06:58:43 +08:00
trav90
7b93eff482
Style fixes
2019-03-23 06:58:42 +08:00
trav90
3c387b898a
[EME] Cherry-pick fix for content_decryption_module.h
...
Fixes build bustage with GCC/clang.
2019-03-23 06:58:40 +08:00
trav90
e337ec5632
[EME] Add content_decryption_module_ext.h
2019-03-23 06:58:38 +08:00
trav90
58116c6950
[EME] Update content_decryption_module.h to more recent revision
...
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
2019-03-23 06:58:37 +08:00