Commit graph

140 commits

Author SHA1 Message Date
NTD
d7d16e7fbb Rename Toolkit's webextensions component directory to better reflect what it is. 2019-02-15 23:31:00 +08:00
NTD
6955450f7a Rename Basilisk's webextensions component directory to better reflect what it is. Also, add an Application level configure option to disable webextensions 2019-02-15 23:30:58 +08:00
NTD
23b67db438 Move Add-on SDK source to toolkit/jetpack 2019-02-15 23:30:56 +08:00
wolfbeast
0a03067ee3 Workaround for cloned videos not retaining their muted state. 2019-02-15 23:30:53 +08:00
wolfbeast
ad659f4f28 Limit the number of SharedArrayBuffers in normal JS code (not just asm.js). 2019-02-15 23:30:51 +08:00
wolfbeast
25622bbf03 Bug 1420507 2019-02-15 23:30:50 +08:00
wolfbeast
537415eeb7 Make XDR decoding more robust. 2019-02-15 23:30:48 +08:00
wolfbeast
99a0478445 WASM: Separate out ToTableIndex() 2019-02-15 23:30:47 +08:00
wolfbeast
60036bd843 Use a static mutex for getting deviceId keys in MediaParent. 2019-02-15 23:30:45 +08:00
wolfbeast
47d488b84d Add more NS_BUILD_REFCNT_LOGGING in AtomicRefCountedWithFinalize. 2019-02-15 23:30:44 +08:00
wolfbeast
1c690025d9 Remove unnecessary InvalidateCompilerOutputsForScript call. 2019-02-15 23:30:42 +08:00
wolfbeast
667cdd5e24 Remove referrers when opening a link in a new private window. 2019-02-15 23:30:40 +08:00
wolfbeast
86150717d6 Update blocklist and remove CRL entries. 2019-02-15 23:30:38 +08:00
wolfbeast
d37bb185f7 Use our provisioned blocklist server. 2019-02-15 23:30:37 +08:00
wolfbeast
39acad1d90 Add missing sanitization for HTML exporting of bookmarks. 2019-02-15 23:30:36 +08:00
wolfbeast
b1ed995cb1 Make the url bar strip javascript even when preceded by control characters 2019-02-15 23:30:34 +08:00
wolfbeast
3df0152d88 Implement "cookie-averse document objects".
See: https://html.spec.whatwg.org/multipage/dom.html#cookie-averse-document-object
This resolves #196.
2019-02-15 23:30:32 +08:00
wolfbeast
4923ad3b10 Explicitly cancel channel after mixed content redirect. 2019-02-15 23:30:31 +08:00
wolfbeast
ce02714e1f Check ScriptExtensions property of combining marks when available. 2019-02-15 23:30:29 +08:00
wolfbeast
490fdb990a Force punycode display for IDNs with a <dotless-i/j, combining mark above> sequence. 2019-02-15 23:30:28 +08:00
wolfbeast
acf9f2c39c Don't allow proxies in the proto chain. 2019-02-15 23:30:26 +08:00
wolfbeast
03fe589f41 Fix a rare crash with asm.js caching. 2019-02-15 23:30:25 +08:00
wolfbeast
2029eff3f1 Re-enable asm.js caching 2019-02-15 23:30:23 +08:00
NTD
ac510873f3 Restore toolkit/obsolete 2019-02-15 23:30:22 +08:00
NTD
ecb6a6528a Fix wrong keyword in toolkit/components/jsdownloads/DownloadIntegration.jsm 2019-02-15 23:30:20 +08:00
wolfbeast
2c29b5a5c1 Fix ReadCompressedIndexDataValuesFromBlob(). 2019-02-15 23:30:19 +08:00
wolfbeast
c585066b4c Avoid potentially unsafe snprintf usage in FPSCounter.
snprintf returns the number of bytes it would have written when it runs out of space.
This patch makes sure we properly handle this unlikely event in FPSCounter.
This patch also makes sure we don't print out the contents of an uninitialized buffer.
2019-02-15 23:30:17 +08:00
wolfbeast
567399f367 Stop bypassing the Xray layer when walking the prototype chain. 2019-02-15 23:30:16 +08:00
wolfbeast
b67e03dc90 Check for integer overflow in AesTask::DoCrypto() (DiD)
After calling mResult.SetLength(mData.Length() + 16) we should check
that the integer addition didn't overflow. It seems at the moment
impossible to create ArrayBuffers of size >= 0x0xfffffff0, however
adding a check here doesn't hurt.

mResult.Length() is passed to the PK11 API functions as a
maxOut parameter and should be checked by the
softoken crypto algorithm implementations.
AES-ECB and AES-GCM seem to do that correctly.
2019-02-15 23:30:14 +08:00
wolfbeast
d1abf0f6d8 Confirm launch of executables other than .exe on Windows 2019-02-15 23:30:13 +08:00
wolfbeast
86aabf8edd Cleanup async mozStorage callback management.
Also avoid raw pointers in mozStorageAsyncStatementExecution.cpp.
2019-02-15 23:30:10 +08:00
wolfbeast
c2c3d90841 Perform LoadURL checks for WebExtensions. 2019-02-15 23:30:08 +08:00
wolfbeast
c9717cf3d1 Add rematerialized frames to the table on JitActivation after rematerialization succeeds. 2019-02-15 23:30:07 +08:00
wolfbeast
fbab5890eb Edit transactions should store their editor instance with strong reference
Edit transactions should store their editor instance with a strong reference, and they should be released when the editor is destroyed.
2019-02-15 23:30:05 +08:00
wolfbeast
2f312335f3 Bug 1261175. 2019-02-15 23:30:04 +08:00
wolfbeast
d0a1bf03fb WASM: Set OOM failure flag on alloc failure when context is available. 2019-02-15 23:30:02 +08:00
wolfbeast
faf5d8c1c4 Fix errant comma in 4470f78754246bbd134b65cad2e0a9638418677f 2019-02-15 23:30:01 +08:00
wolfbeast
9a0997d28b Avoid unnecessary string creation. 2019-02-15 23:29:59 +08:00
wolfbeast
ea1e157289 Add pluralrules to JS Intl 2019-02-15 23:29:58 +08:00
wolfbeast
49676c9254 Limit displayed user/host strings to sane lengths. 2019-02-15 23:29:56 +08:00
wolfbeast
c202fc4bf4 Fix eslint warnings in about:webrtc. 2019-02-15 23:29:55 +08:00
NTD
b92f437264 Add configure variable verification 2019-02-15 23:29:53 +08:00
NTD
17bc2fea0c Use $(DEPTH) instead of hard coding relative depth in locales makefile.in 2019-02-15 23:29:51 +08:00
NTD
e179b56987 Issue #11 - Catch package-manifest.in up 2019-02-15 23:29:50 +08:00
trav90
384e1e2734 Update FFmpeg code to n3.2-65-gee56777 2019-02-15 23:29:48 +08:00
wolfbeast
c91ef9012b Update NSS to 3.32.1-RTM 2019-02-15 23:29:46 +08:00
wolfbeast
f29876f120 Update NSPR to 4.16 2019-02-15 23:29:44 +08:00
wolfbeast
fd1bb58ea8 CSP should only check host (not including path) when performing frame ancestors checks.
This has been explicitly stated in the CSP-3 spec.
2019-02-15 23:29:42 +08:00
wolfbeast
54cfba5b8f Always initialize nursery data structures even if size is smaller than one chunk. 2019-02-15 23:29:41 +08:00
wolfbeast
9a1685a422 Move FUZZING definition from toolkit to js. 2019-02-15 23:29:39 +08:00