Pale Moon
a36be1efb4
Re-land "Be more careful about optimizing sorted arrays".
...
Avoids the issue in #966 .
Verified not crashing Pentadactyl.
2018-07-25 06:58:22 +08:00
Pale Moon
034fc6a4c9
Revert "Be more careful about optimizing sorted arrays."
...
This reverts commit a8a31880a42f5283f30c6f670ce7da8940fe43a3.
This resolves #966
2018-07-25 06:58:19 +08:00
rhinoduck
2c9b1e3a23
Do not pre-multiply JXR planar alpha twice
...
If the image already had pre-multiplied alpha, the decoder would
pre-multiply those already pre-multiplied values again when decoding
the alpha plane separately from the main plane.
2018-07-25 06:58:17 +08:00
trav90
dc0c3e6be3
Remove a couple more instances of manually passing TaskDispatchers
...
Followup to 8446234.
2018-07-25 06:58:15 +08:00
trav90
c19a78e7c8
Fix racey test_error_in_video_document.html
...
This test assumes that the decoding machinery will have completed its work one event-loop-round-trip after the document loads (see the executeSoon call), which is a bogus assumption.
2018-07-25 06:58:14 +08:00
trav90
4c926cfb2f
Implement tail dispatch on the main thread
2018-07-25 06:58:12 +08:00
trav90
dfc6198675
Tighten up a couple existing assertions
2018-07-25 06:58:04 +08:00
trav90
214afd47eb
Assert against potential deadlocks between synchronous MediaTaskQueue operations and tail dispatchers
2018-07-25 06:58:00 +08:00
trav90
4a837c3711
Remove AbstractThread::InTailDispatch
...
This is unused and unnecessary now that we pass this explicitly during dispatch.
2018-07-25 06:57:58 +08:00
trav90
b11500bddd
Stop manually passing TaskDispatchers everywhere
2018-07-25 06:57:56 +08:00
trav90
dfc7504069
Remove MaybeTailDispatch
...
This is now the default behavior.
2018-07-25 06:57:53 +08:00
trav90
78e189b54a
Do tail dispatch automatically
2018-07-25 06:57:52 +08:00
trav90
a3d351f76a
Adjust tail dispatching assertions
2018-07-25 06:57:50 +08:00
trav90
b6bb9afb37
Move the GetCurrent TLS logic into AbstractThread
2018-07-25 06:57:47 +08:00
Pale Moon
5c6666a6f0
Enable JPEG-XR support by default.
2018-07-25 06:57:45 +08:00
trav90
8a3f415c23
Fix Windows build bustage
...
Followup to #954
2018-07-25 06:57:43 +08:00
rhinoduck
ea05403e84
Prettify rendering of JXR images with transparency
...
Prevent fully transparent areas from being black (or whatever the color
values there are) when rendering JXR images with planar alpha before all
data is available.
2018-07-25 06:57:41 +08:00
Pale Moon
c8b597e077
Revert "Make DOM selection-addRange spec compliant."
...
This reverts commit 475aff8d8049abb9cc0caa32671d5fa60dc91472.
2018-07-25 06:57:39 +08:00
janekptacijarabaci
438f6dca75
Places: Bookmarks properties window getting longer (sometimes), dialog window doesn't resize properly
2018-07-25 06:57:37 +08:00
Steven Schlansker
0fe5d973ae
fmp4 decoder: add missing #include for mac
...
manual cherry-pick of ab938f4e956e4f53c9cec092892e9f308fcafaf9 by @trav90
2018-07-25 06:57:35 +08:00
trav90
afb41fac1c
Fix build bustage
2018-07-25 06:57:33 +08:00
Pale Moon
000c3a1f28
Don't assume whitespace is always present for www auth challenges.
2018-07-25 06:57:31 +08:00
Pale Moon
01668a0e24
Hold nsNPAPIPlugin alive for active nsNPAPIPluginInstance objects.
...
This should happen through the plugin tag, but apparently that isn't always working.
2018-07-25 06:57:29 +08:00
Pale Moon
1a574913b8
Improve event handling in font loading API
2018-07-25 06:57:27 +08:00
Pale Moon
02731354d7
Fix memset sizes in rtt_filter.cc
2018-07-25 06:57:25 +08:00
Pale Moon
e66b27084f
Don't show dropped URLs immediately in the address bar.
2018-07-25 06:57:23 +08:00
Pale Moon
0703663894
Be more careful about optimizing sorted arrays.
2018-07-25 06:57:21 +08:00
Pale Moon
4ec198f422
Bump Goanna version for layout improvements.
2018-07-25 06:57:19 +08:00
Pale Moon
790eca3498
Make DOM selection-addRange spec compliant.
2018-07-25 06:57:17 +08:00
trav90
a2ebb642ae
Mark MediaTaskQueue::SyncDispatch as deprecated
...
Gonk media code should be the only place where this is still used. Marking as deprecated for now, and I will remove it at a future point in time as part of a planned cleanup of unused media code.
2018-07-25 06:57:14 +08:00
Pale Moon
f1618f071d
Handle specular filters in SVG according to spec.
...
In the SVG filter implementation, a negative or 0 value for kernel unit length is an error according to spec.
Bail if we find this.
See https://www.w3.org/TR/SVG/filters.html#feSpecularLightingKernelUnitLengthAttribute
2018-07-25 06:57:13 +08:00
Pale Moon
418c035c1e
Match proper type for PR_sscanf which has a signed return value.
2018-07-25 06:57:11 +08:00
Pale Moon
578cd6a3c7
Remove confusing and pointless console warning for nonexistent chrome.manifest in application folder.
2018-07-25 06:57:08 +08:00
trav90
6e5662a539
Add Shutdown checks to prevent potential crashes
2018-07-25 06:57:05 +08:00
trav90
c243a206bc
Align the failure handling of the TemporaryRef Dispatch overload with its companion
2018-07-25 06:57:02 +08:00
trav90
7e6dac538d
Change the canonical internal smart pointer type in MediaTaskQueue to the XPCOM style
2018-07-25 06:57:00 +08:00
trav90
c20e81736f
Remove the concept of forced dispatch
...
This was originally added to make MediaPromise dispatch reliable in the
presence of the Flush() feature of MediaTaskQueue. That feature has
now been restricted to a special subclass (which we should eventually eliminate),
so we can just assert that MediaPromises are never used on those task queues
and simplify the rest of the code.
2018-07-25 06:56:58 +08:00
trav90
834def9678
Move dispatch failure handling into dispatch itself
...
This is nicer than scattering the failure handling to each callsite.
2018-07-25 06:56:56 +08:00
trav90
70322d85c2
Detemplatize nsIThread wrapper and move it into AbstractThread.cpp
2018-07-25 06:56:54 +08:00
Pale Moon
5c06f6d5e9
Bug 1321612
2018-07-25 06:56:52 +08:00
Pale Moon
dfe6d4327a
Don't start layout until we're good and ready.
2018-07-25 06:56:50 +08:00
Pale Moon
b894541296
Acquire kungFuDeathGrip a bit earlier in some nsDocShell code.
2018-07-25 06:56:47 +08:00
Pale Moon
bc3263045c
Drain overflow lines before ResolveBidi.
...
Rationale (410857):
We should move the "DrainOverflowLines" block before "ResolveBidi" block
if we can - this way we would have a simpler frame tree to deal with
during bidi resolution and possibly create fewer frames in some cases.
2018-07-25 06:56:46 +08:00
Pale Moon
de0fd58cf0
Use our existing function for removing a rule at a given index from a group rule.
2018-07-25 06:56:44 +08:00
Pale Moon
339f248e31
Don't accept nested view-source: references.
2018-07-25 06:56:41 +08:00
Pale Moon
e1ea6d240d
Don't allow alternate URI changes inside view-source URI fixup.
2018-07-25 06:56:39 +08:00
Pale Moon
8e19705607
Up date harfbuzz font shaper to 1.4.3
...
- Add OpenType Font Variation tables
- Bugfixes
- Memory/perf improvements
2018-07-25 06:56:38 +08:00
Pale Moon
b61fcd2030
Fix error in nsWebBrowser::RemoveWebBrowserListener()
2018-07-25 06:56:35 +08:00
Pale Moon
20377b2b6b
Don't allow subnormal surfaceScale values to be used in the lighting filter calculations.
2018-07-25 06:56:33 +08:00
Pale Moon
34d97b9b71
CVE-2017-5404 Mozilla: Use-after-free working with ranges in selections (MFSA 2017-06)
2018-07-25 06:56:30 +08:00