Commit graph

2,531 commits

Author SHA1 Message Date
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
Lars T Hansen
772e51c7b4 [js, ARM] Always check error return from BufferOffset::diffB.
We were missing error checks at two points. In one case an error return
is meaningful; in another case it is not, as the problem should have
been guarded against at a higher level by emitting far jump islands soon
enough during pasteup of compiled code.
2019-05-31 07:18:34 +08:00
wolfbeast
269dfa5bac [libpng] Backport an upstream libpng patch. 2019-05-31 07:18:30 +08:00
wolfbeast
d348d327a5 Make nsFind::Find handle empty string searches. 2019-05-31 07:18:27 +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
888381215b make HTML parser to use faster atomization in main thread 2019-05-31 07:17:55 +08:00
win7-7
4a7058c5d1 remove unnecessary spaces 2019-05-31 07:17:51 +08:00
win7-7
6f55b09688 add main thread only cache for nsIAtoms to speed up atomization xpcom/ds
add main thread only cache for nsIAtoms to speed up atomization
2019-05-31 07:17:47 +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
8ca43343c9 Fix architecture flag for PPC64
Fixes #1092
2019-05-31 07:17:15 +08:00
win7-7
64b6f74f89 Lots of time spent maintaining nsDisplayLayerEventRegions (#1116)
* Simplify the dispatch-to-content region

Simplify the dispatch-to-content region in nsDisplayLayerEventRegions::AddFrame() and AddInactiveScrollPort() if it starts to get large.

* tabs to spaces
2019-05-31 07:17:10 +08:00
adeshkp
9843f04b26 Remove a stubbed telemetry function from app AUS. 2019-05-24 21:57:20 +08:00
FranklinDM
18f9f38e8b Issue #1104 - Pass an opener to loadOneTab in the openURI function 2019-05-24 21:57:18 +08:00
FranklinDM
70c0d40d9b Issue #1104 - Set the browser's opener when adding a new tab
- This modifies `loadOneTab` and `addTab` to accept an opener
- This code was adapted from Basilisk's copy of tabbrowser.xml without the refactored code changes (which is a lot more involved as it divides addTab's functions into multiple functions)
2019-05-24 21:57:17 +08:00
Gaming4JC
838eb9a504 Issue #1101 - Support gzip-compressed SVGs in OpenType+SVG fonts 2019-05-24 21:57:15 +08:00
Mihai Moldovan
28fbea676a Enable double buffering when using XRENDER.
This fixes flickering/bars/stripes showing up during quickly-updating
operations on Intel hardware when using XRENDER.

For more information, refer to the code comment.

See #1061
2019-05-24 21:57:13 +08:00
wolfbeast
2db998a4f8 Remove Unboxed Objects from vm/ - Part 2 2019-05-24 21:56:16 +08:00
wolfbeast
cc936df2e5 Remove unboxed object code from jit, Part 1 2019-05-24 21:56:13 +08:00
wolfbeast
37315e4898 Remove Unboxed Objects from vm/ Part 1 + fix deprot 2019-05-24 21:56:09 +08:00
wolfbeast
96c56fa091 Remove array header 2019-05-24 21:56:05 +08:00
wolfbeast
4dd127a34d Remove unboxed object code from iteration. 2019-05-24 21:56:01 +08:00
wolfbeast
d73dc74bd1 Remove unboxed objects from GC 2019-05-24 21:55:58 +08:00
wolfbeast
d7714885d1 Remove Unboxed Objects in ScalarReplacement
A note about the Scalar Replacement Changes: The M{Load,Store}Unboxed*
instructions in theory could be used to manipulate and analyze typed
arrays. However, TypedArrays should already be excluded from eligibility
because of the potential for cross-thread sharing in a SharedArrayBuffer
world, and so the only support in Scalar Replacement here is for Unboxed
Objects, meaning it can all be removed.
2019-05-24 21:55:55 +08:00
wolfbeast
fb23522087 Remove initial chunk of Unboxed Objects machinery part 2 2019-05-24 21:55:50 +08:00
wolfbeast
7b0eb7be8c remove unboxed code chunk (wip1) 2019-05-24 21:55:45 +08:00
wolfbeast
3c6346afa9 Unhook Unboxed Objects option 2019-05-24 21:55:41 +08:00
FranklinDM
69e171fb9a Issue #971 - Fix browser.link.open_newwindow functionality in Pale Moon 2019-05-24 21:55:02 +08:00
wolfbeast
ee01217265 Implement Symbol​.prototype​.description
Resolves #1096
2019-05-24 21:55:00 +08:00
wolfbeast
3538814b92 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-24 21:54:58 +08:00
wolfbeast
b39b43014b Add nullcheck.
This resolves #1088
2019-05-17 22:17:22 +08:00
wolfbeast
dee48511aa Implement String.prototype.trimStart and trimEnd.
This renames our internal function names because *Left and *Right might
be deprecated and have to be removed later, making that trivial.
Resolves #1089
2019-05-17 22:17:20 +08:00
wicknix
7dacd442cf Fix scroll bar orientation on MacOS 2019-05-17 22:17:18 +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
wolfbeast
0103cdc8a5 Rip broken telemetry out of the app AUS.
Tag #21
2019-05-17 22:17:15 +08:00
Mihai Moldovan
75971a4c80 When using XRENDER, create Xlib-based offscreen image surfaces.
Mozilla tried to enable XRENDER support with backends other than Cairo
in 286348:e13aaaaf1962 /
https://hg.mozilla.org/mozilla-central/rev/e13aaaaf1962 - at least until
they decided to completely remove XRENDER support.

The change looked innocent enough, but actually turned out to do exactly
the opposite: it forcefully enabled image offscreen surfaces with GTK2
when it was previously disabled (since
gfxPrefs::UseImageOffscreenSurfaces() will always return true) and, by
extension, disabled the XRENDER-based functionality by creating a
non-Xlib surface.

Interestingly, a previously enabled double buffering check was also
disabled by this, but since the comment for this was diverging with the
code, that behavior just sounds like yet another bug.

Instead of disabling image offscreen surfaces (at least when using the
GTK2 backend), let's force the creation of Xlib-based image surfaces
when XRENDER support is enabled. This will let UXP use the more
common/modern code paths, but also make scrolling much faster again. Too
fast scrolling may induce tearing (if not smoothed), but on the other
hand performs much better in remote computing contexts.

As an added benefit, GTK3-based builds should roughly behave the same
way. Further tests with the GTK3-backend enabled will be required in the
future.
2019-05-17 22:16:26 +08:00
Matt A. Tobin
cc3e413793 Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h
This also magically makes Aero Peek work properly with Pale Moon thus:

Resolves #809
2019-05-17 22:16:24 +08:00
Sean Greenslade
84bfab4f70 Update sync clear history function to use new clear() API call. 2019-05-17 22:16:02 +08:00
Matt A. Tobin
e0171dc973 [PALEMOON] buildHelpMenu() is executed by the shared help menu but not all windows have the AppMenu 2019-05-17 22:16:01 +08:00
Franklin DM
e164082a5a Issue #1084 - Add null check for URL Bar in the writePlaceholder() method 2019-05-17 22:15:59 +08:00
Matt A. Tobin
37f0839a64 Issue #968 - Preload the permissions manager with permissions file 2019-05-11 06:22:49 +08:00
Matt A. Tobin
112961367a Issue #1081 - Restore "release notes" item in the help menu 2019-05-11 06:22:47 +08:00
Matt A. Tobin
9d9a113400 Issue #1083 - Deprecate FUEL extension helper javascript library 2019-05-11 06:22:45 +08:00
Matt A. Tobin
c14d99f0ed Issue #1082 - Restore a getBoolPref global shim in utilityOverlay.js for Extension compatibility 2019-05-11 06:22:44 +08:00
monikamaheshwari
cf0a5a54cd Bug 1429442 - Buttons in "type control" popup in reader mode should have tooltips r=Gijs,MarcoZ 2019-05-11 06:22:10 +08:00
Sonali9
03e0f27552 Bug 1151735 - Hide font panel when text is being selected r=Gijs 2019-05-11 06:22:08 +08:00
monikamaheshwari
deed413b53 Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs 2019-05-11 06:22:06 +08:00
Ascrod
a0ceaeace8 Bug 1399616 - add WP emoji styling to reader mode. 2019-05-11 06:22:04 +08:00
Ascrod
ecf329f733 Fix parse node limit preference. Tag #361. 2019-05-11 06:22:02 +08:00