trav90
668787be65
Add MediaPromise gtests
2018-07-25 07:13:26 +08:00
trav90
988ece1b09
Add some more comments for MediaPromise
2018-07-25 07:13:23 +08:00
trav90
96a8014257
Replace 'Consumer' with 'Request' in MediaPromise naming
...
Not usually a fan of Mozilla renaming, but doing this now will save me some headaches with new code later.
2018-07-25 07:13:20 +08:00
trav90
ea18ec04d8
Use a base class for refcounting MediaPromise::Consumer as well
2018-07-25 07:13:18 +08:00
trav90
c37d09799d
Implement completion promises
2018-07-25 07:13:15 +08:00
trav90
c1cf51580f
Do template mangling to allow promise callbacks to optionally return a promise, and surface that from InvokeCallbackMethod
2018-07-25 07:13:13 +08:00
trav90
b768143c5b
Fix up InvokeCallbackMethod to templatize more generally on the method type
2018-07-25 07:13:11 +08:00
trav90
6caee83a1c
Make IsConvertible handle void
2018-07-25 07:13:09 +08:00
trav90
25c8d9666f
Make FunctionThenValue dispatch via InvokeCallbackMethod
2018-07-25 07:13:07 +08:00
trav90
759486911b
Get rid of RefableThen and make Then return an nsRefPtr<Consumer>
2018-07-25 07:13:05 +08:00
trav90
038246e378
Improve MediaPromise::ResolveOrRejectValue
2018-07-25 07:13:03 +08:00
trav90
dd39863960
Fix typo
2018-07-25 07:12:59 +08:00
trav90
645c4f4fdb
Make templated MediaPromise class inherit from ref-counted base
...
NS_INLINE_DECL_THREADSAFE_REFCOUNTING can't be used with templated classes.
2018-07-25 07:12:56 +08:00
janekptacijarabaci
7e58e987fc
[suggestion, minor fix] about:addons - category icon - plugins (follow up)
2018-07-25 07:12:53 +08:00
Pale Moon
0b014e08e7
Enable TLS 1.3 by default.
...
This resolves #1057 .
2018-07-25 07:12:50 +08:00
Pale Moon
78ad32817e
Enable vsync-aligned rendering to improve scrolling smoothness.
...
Compositor alignment is kept off for now.
2018-07-25 07:12:47 +08:00
Pale Moon
7e692796f5
Try fully-automated recovery in case of incompatible language pack. (reprise)
...
Follow-up to 7988657bf5d5bc7fa7f7ac84acdacf6826ac552b ; inform the user what's happening before restarting.
2018-07-25 07:12:44 +08:00
Pale Moon
fab0f30817
Revert "Smart browser recovery in case of incompatible language pack"
...
This reverts commit cf03b1f17054f26dd986bc349cb3bddc4cd01b75.
2018-07-25 07:12:41 +08:00
JustOff
3e291011fd
Smart browser recovery in case of incompatible language pack
2018-07-25 07:12:35 +08:00
janekptacijarabaci
d1aa2c12f4
[minor fix] XMLHttpRequest: responseXML.referrer is set, expected empty string
2018-07-25 07:12:33 +08:00
Pale Moon
d1b4fc063b
Try fully-automated recovery in case of incompatible language pack.
...
Follow-up to #1063 :
- Check if the locale is user-set, first.
- If so, reset the pref and trigger a browser restart
- Otherwise, something else is going on that has gBrowser be nonexistent; do nothing and return early.
2018-07-25 07:12:28 +08:00
Pale Moon
bc0f3e14bc
Suppress spurious console errors for XHR response codes 201, 202, 204, 205 and 304.
...
Parse errors for XML data are already handled in 4d8f9a9add1805a5cb3b7fd1cc1ff8dd4b020fe4 -- this is a follow-up to suppress unnecessary console errors.
2018-07-25 07:12:26 +08:00
JustOff
09d736f1e6
Add extra patch description
2018-07-25 07:12:21 +08:00
JustOff
941e8466ff
Add patch description
2018-07-25 07:12:19 +08:00
trav90
6c19defcd4
Use lambdas for Seek
2018-07-25 07:12:14 +08:00
trav90
805023876f
Use lambdas for WaitForData
2018-07-25 07:12:10 +08:00
trav90
0b42b2be85
Add support for lambdas in MediaPromise
2018-07-25 07:12:06 +08:00
trav90
541dcee516
Factor out the guts of RefableThen to make them usable for Function-y {,Refable}Then(...) calls
2018-07-25 07:12:04 +08:00
trav90
f6cc09aaef
Move part of ResolveOrReject into ThenValueBase
2018-07-25 07:11:59 +08:00
trav90
2a12e39fc0
Introduce ResolveOrRejectValue to make MediaPromise implementation less verbose
2018-07-25 07:11:57 +08:00
trav90
0eaa64ce87
Move dispatch-related stuff from ThenValue to ThenValueBase
2018-07-25 07:11:50 +08:00
trav90
acf8008679
Add some new methods to AbstractThread
...
These are easier to use and more consistent with the semantics of AbstractThread::Dispatch.
2018-07-25 07:11:48 +08:00
trav90
d7c268b018
Include mStartTime when calculating endPosition
2018-07-25 07:11:46 +08:00
JustOff
a0f68c6768
Reset general.useragent.locale if gBrowser isn't defined
2018-07-25 07:11:44 +08:00
Pale Moon
3eda2b69c5
Version bump for next cycle.
2018-07-25 07:11:42 +08:00
janekptacijarabaci
1efd222e54
CSS: text-align: true -> text-align: unsafe; sizing problems with some form fields like <input type="number">
2018-07-25 07:11:40 +08:00
Pale Moon
1b1dd37380
Clobber required for TLS 1.3 addition
2018-07-25 07:11:38 +08:00
Pale Moon
5d099e63ef
Make sure to synchronize deviantart SSUAO to .net also.
2018-07-25 07:11:36 +08:00
janekptacijarabaci
fc4ea6534e
[minor fix] Security - added support for TLS 1.3 (follow up, any potential problems)
2018-07-25 07:11:34 +08:00
janekptacijarabaci
ef825bd0c8
Security - added support for TLS 1.3 (the next part)
2018-07-25 07:11:32 +08:00
Pale Moon
b7713f7bc4
Bump SSUAO Gecko version to the next Mozilla ESR cycle.
2018-07-25 07:11:30 +08:00
Pale Moon
cf47cda4a9
Add deviantart to the overrides that must have native or they block use.
2018-07-25 07:11:28 +08:00
janekptacijarabaci
b8198c3a89
Security - added support for TLS 1.3
2018-07-25 07:11:26 +08:00
trav90
5728516059
Add MP4 sample file where video starts at 0.8s and audio at 1.95s
2018-07-25 07:11:24 +08:00
trav90
c4c40c9b24
MP4 dts must use the same timeline as pts
2018-07-25 07:11:22 +08:00
trav90
b6a672224d
Properly handle MP4 time offset in MoofParser
2018-07-25 07:11:20 +08:00
Pale Moon
21ce188100
Remove safebrowsing leftovers.
2018-07-25 07:11:18 +08:00
Pale Moon
547e61eb4a
Enable HPKP checks by default for all sites.
...
Tag #1053
2018-07-25 07:11:16 +08:00
Pale Moon
104f3de320
Add HSTS and HPKP controls to the preferences UI.
...
Tag #1053
2018-07-25 07:11:14 +08:00
trav90
562d8d5044
[mse] Allow partial truncation from ResourceQueue
2018-07-25 07:11:12 +08:00