Commit Graph

1500 Commits

Author SHA1 Message Date
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
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