Commit Graph

1618 Commits

Author SHA1 Message Date
Pale Moon 141293f5f3 Hold a reference to OnStartRequest() 2018-07-25 06:56:29 +08:00
Pale Moon 82fd773482 Fix cairo_cff_font_write_cid_fontdict array output. 2018-07-25 06:56:27 +08:00
Pale Moon e08db062d5 Fix focus issues with print preview window. 2018-07-25 06:56:25 +08:00
Pale Moon f4f34a6b4a Fix a rare occurrence when finding zone groups fails due to over-recursion. 2018-07-25 06:56:23 +08:00
trav90 213853ac0f Do MediaPromise TailDispatch checking outside the scope of the MediaPromise lock
This reduces the potential for deadlocks.
2018-07-25 06:56:21 +08:00
trav90 d657c42169 Rescope monitor
This is possible now that we're not manually nulling out mRunningThread anymore.
2018-07-25 06:56:19 +08:00
trav90 865c34777f Make mRunningThread atomic and manage it in AutoTaskGuard 2018-07-25 06:56:17 +08:00
trav90 c8a958e5c7 Remove AbstractThread::Create
Atomicy would be broken if we accidentally had 2 AbstractThread instances associated with the same nsIThread (such as the main thread).
2018-07-25 06:56:16 +08:00
trav90 a9930f5f52 Suppress warning about AutoTaskDispatcher::assertDispatchSuccess 2018-07-25 06:56:08 +08:00
trav90 87a4cf6376 Use TailDispatch for the MDSM's task queue 2018-07-25 06:55:39 +08:00
trav90 dff20bff17 Make MediaPromises operate with TaskDispatchers 2018-07-25 06:55:38 +08:00
trav90 42bb7c8c2c Implement the ability to assert tail dispatch
In order to make sure that the MDSM properly dispatches everything via tail dispatch, we want verification that is more robust than simple inspection.
2018-07-25 06:55:36 +08:00
trav90 5b7f7791e7 Implement a post-run TaskDispatcher for MediaTaskQueue 2018-07-25 06:55:33 +08:00
trav90 8addf2d3dd Implement TaskDispatcher
TaskDispatcher is a general abstract class that accepts tasks and dispatches them at some later point.
2018-07-25 06:55:31 +08:00
trav90 533987a47d Implement the ability to get the currently running task queue
This will be useful for asserting things.
2018-07-25 06:55:30 +08:00
trav90 3090135f8e Do static initialization explicitly 2018-07-25 06:55:27 +08:00
trav90 7dd99b6694 Stop doing sync dispatch of PlaybackEnded 2018-07-25 06:54:58 +08:00
trav90 ba4e0eb433 Add additional assertions to the MDSM 2018-07-25 06:54:28 +08:00
JustOff 06641d0cb5 Limit number of history entries saved by SessionStore [proper] 2018-07-25 06:53:59 +08:00
Moonchild e326d12926 Revert "Limit number of history entries saved by SessionStore" 2018-07-25 06:53:57 +08:00
JustOff 69df32bd7d More quiet error handling 2018-07-25 06:53:54 +08:00
JustOff 98b6948a5b Limit number of history entries saved by SessionStore 2018-07-25 06:53:52 +08:00
Pale Moon f4434bd7e5 Fix Mac icons. 2018-07-25 06:53:47 +08:00
Pale Moon 282c7ac847 Clobber for disabling gamepad (WebIDL change) 2018-07-25 06:53:45 +08:00
Pale Moon 06bcd960d4 Stop building gamepad support by default.
Tag #943.
2018-07-25 06:53:42 +08:00
janekptacijarabaci 95e0893f39 Using "View Image" and "Save Image As"... (follow up) - fix typo 2018-07-25 06:53:40 +08:00
janekptacijarabaci 9bba46049e Using "View Image" and "Save Image As" on a large canvas doesn't work (follow up) 2018-07-25 06:53:35 +08:00
janekptacijarabaci 4cfc6638c7 Canvas (follow up) 2018-07-25 06:53:33 +08:00
Pale Moon 79cd7d3a37 Bump Goanna version (+canvas::ellipse) 2018-07-25 06:53:29 +08:00
janekptacijarabaci 04e24878ea Canvas: Added support for ellipse (+ fix a hang/crashes problem, check the canvas rects) 2018-07-25 06:53:27 +08:00
Pale Moon ba51e4b0a5 Expose the extensions.getAddons.showPane pref. 2018-07-25 06:53:24 +08:00
Pale Moon ab72069b75 Don't assume that the add-ons discovery pane will be available. 2018-07-25 06:53:21 +08:00
JustOff 939775a632 Properly handle add-on name in case it localized 2018-07-25 06:53:17 +08:00
trav90 135695cd07 Add missing , 2018-07-25 06:53:14 +08:00
trav90 5e89e30091 Update test 2018-07-25 06:53:11 +08:00
trav90 e1caa768c4 Handle playback ended in a consistent way for both file and stream case 2018-07-25 06:53:09 +08:00
trav90 a068fb2b80 Rework and simplify stream clock calculation in MediaDecoderStateMachine 2018-07-25 06:53:05 +08:00
janekptacijarabaci 4182128f0b The browser - innerWindowID and outerWindowID (improvements) 2018-07-25 06:53:03 +08:00
Pale Moon 786b50d712 Update SSUAO globals to our current state. 2018-07-25 06:53:00 +08:00
Pale Moon 2722f8d9f8 Update SSUAO to pacify Google and make it not refuse service. 2018-07-25 06:52:58 +08:00
NTD b3a189d2de Follow up to 7bd7e8a - *aState needs both STATE_IS_SECURE and STATE_SECURE_HIGH on re-eval of mixed content 2018-07-25 06:52:56 +08:00
NTD 35a65b8507 Make sure the security state is set properly in nsMixedContentBlocker 2018-07-25 06:52:52 +08:00
Pale Moon 3ca7947b8a Reset mixed-mode page status to secure if no actual load has occurred through the mixed content blocker.
This should take care of injection of non-network URIs that aren't same origin (e.g. extension-sourced data: URIs) triggering mixed-mode warnings.
Assumption here is that data: URIs are safe if "local"; this is a security trade-off that should be acceptable.
2018-07-25 06:52:49 +08:00
Pale Moon 132522bfc9 Change the way maximum image dimensions are handled for PNG.
Prev: Hard cap width = 32k OR height = 32k
New: Hard cap width = 64k OR height = 64k, and image area < 256 Mpix
This will allow decoding of larger images with "strip" aspect ratio (horizontally or vertically).
2018-07-25 06:52:47 +08:00
Pale Moon 19297d310e Convert support URLs into preferences.
This resolves #769.
2018-07-25 06:52:45 +08:00
NTD ee4e8ed3da Build ID generation should be in UTC 2018-07-25 06:52:43 +08:00
Pale Moon fffdf6159b Add JPEG-XR license for jxrlib.
This resolves #886.
2018-07-25 06:52:41 +08:00
trav90 4b50ae13c8 Release internal drain monitor before calling Flush()
The DrainComplete() caught with mWaitForInternalDrain still won't necessarily be from the internal Drain(), but all we need is that one DrainComplete() is caught for the internal Drain() because one more will be generated if there is a Drain() in progress.

What protecting mWaitForInternalDrain access with the monitor provides here is that the compiler won't use its address for storage of other data meaningless in the context of mWaitForInternalDrain and so, for example, two DrainComplete() calls won't unintentionally think that they are both for one internal drain.
2018-07-25 06:52:39 +08:00
trav90 fc907f06c6 Always read SDM::mWaitForInternalDrain while holding monitor 2018-07-25 06:52:36 +08:00
trav90 870eefecb1 Don't wait for a drain complete that will never happen
This prevents a deadlock that is due to the HTMLMediaElement calling MediaDecoder::NotifyOwnerActivityChanged() , attempt to grab the monitor, which is held by the SharedDecoderManager which is waiting for SetIdle() to complete.
2018-07-25 06:52:35 +08:00