Commit graph

4,523 commits

Author SHA1 Message Date
roytam1
c5bb4ee5fa Merge remote-tracking branch 'origin/master' into custom 2020-11-20 09:32:22 +08:00
Moonchild
24ec8b9031 [webrtc] Only init WebRtcAec callbacks once 2020-11-20 09:31:51 +08:00
Alessio Vanni
4faa760967 Issue #1686 - Align a keybinding definition with the others 2020-11-20 09:31:49 +08:00
Werner Lemberg
94187c71cf [sfnt] Fix heap buffer overflow.
This is CVE-2020-15999.

* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
2020-11-20 09:31:30 +08:00
Henri Sivonen
9de5e02cbf [dom] Remove attributes from descendants when setting sanitized style.
This avoids a number of problems with incomplete sanitation.
2020-11-20 09:31:28 +08:00
Moonchild
63a7c7f90e [http] Use a copy of nsHttpConnectionInfo.
The root cause in this bug is that the connection info used by
'SpdyConnectTransaction' is the same instance as the connection info in
'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use
the cloned one.
2020-11-20 09:31:27 +08:00
Brian Smith
11036811cb Issue #1667 - Part 3: Fix OpenGL load and runtime issues on Big Sur
This fix is included in NSPR 4.27 and Mozilla bug 1652330.
Also put a main thread check in the cocoa draw callback.
2020-11-20 09:31:00 +08:00
Brian Smith
de885df033 Issue #1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained
in the following Mozilla meta bugs: 1496823 and 1491445
Also add Big Sur to the features tests and update popup menu look and feel based
on Mozilla bug 1656301.
2020-11-20 09:30:59 +08:00
Brian Smith
0fb2ab04a6 Issue #1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc 2020-11-20 09:30:57 +08:00
Moonchild
035de9597b [xpcom] Don't use realloc for shrinking nsTArrays when allowRealloc is false.
The original patch handled the grow case but not the shrink case. When the
current and new allocation sizes are in different size classes, jemalloc's
realloc will move the allocation when shrinking, not just truncate the existing
one.

Based on work by Jon Coppeard.
2020-11-20 09:30:41 +08:00
roytam1
eb8926eb17 Merge remote-tracking branch 'origin/master' into custom 2020-11-19 21:12:48 +08:00
Henri Sivonen
98deeb1203 [parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic. 2020-11-19 21:11:59 +08:00
David Major
07864a9251 [xpcom] Fix GetWindowsFolder storage 2020-11-19 21:11:57 +08:00
Moonchild
3cac4d852d [gfx][Skia] Hold mutex while accessing shared SkImage data. 2020-11-19 21:11:56 +08:00
adesh
2924d30a83 Issue #1280 - Follow-up: Get rid of HPKP pinning mode.
This was a leftover from HPKP removal.

Also remove a couple of unused variables from security/manager/ssl/nsSiteSecurityService.cpp.
2020-11-19 21:11:43 +08:00
Matt A. Tobin
e31680357e Issue #251 - Move chrome packaging options to ac configure
Also adds options for new functionality in #1683
2020-11-19 21:11:41 +08:00
roytam1
2ffe6398eb Merge remote-tracking branch 'origin/master' into custom 2020-11-16 21:14:10 +08:00
Moonchild
aa16c6c7ee [UA] Change default compatibility mode version to 68.0
Since several entities have started to ban .9 versions, even if they are valid
ESR versions.
2020-11-16 21:10:36 +08:00
Moonchild
d0dbdf4e8b [packager] Optimize archive accesses. 2020-11-16 21:10:25 +08:00
Moonchild
48a4d20592 Issue #1683 - Update libjar module. 2020-11-16 21:10:23 +08:00
Moonchild
390f3a6272 Issue #1683 - Update Brotli lib to 1.0.9 2020-11-16 21:10:22 +08:00
Moonchild
889311cd74 [libjar] Fix inflation logic.
This has been broken for 11 years. About time it's fixed.
Tag #1683
2020-11-16 21:10:20 +08:00
Moonchild
6d5eda3010 Issue #1682 - Remove vibrator DOM interface and support code.
Resolves #1682
2020-11-16 21:10:19 +08:00
Moonchild
8bc226c258 Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default.
There don't seem to be any drawbacks to this; tested for the past month disabled
and there have been no issues with any sites visited. Adoption seems very low.
2020-11-16 21:10:18 +08:00
roytam1
ee137dacc1 Merge remote-tracking branch 'origin/master' into custom 2020-11-13 09:15:56 +08:00
Moonchild
87982cb409 Issue #1679 - Part 2: Some small issues to address buildability.
- Explicitly |this| the Asserts in Cell.as<>
- Unified deprot in regexp-error.h
- Convert RegExpShared* inner() to a reinterpret_cast because for SOME reason
  .as<> no longer works after the reimport (which is a static cast)
2020-11-13 09:15:22 +08:00
Matt A. Tobin
dbeab6d3af Issue #1679 - Part 1: First pass account for some of the refactoring differences in regexp-shim.h
This is the patch Moonchild committed on the aborted branch before the plan was revised.
2020-11-13 09:15:20 +08:00
Matt A. Tobin
86402bf7e9 Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*().
This is required for UniquePtr to accept <void>,
which is required for PseudoHandle = mozilla::UniquePtr<T, JS::FreePolicy>;
in turn for mozilla::SegmentedVector<PseudoHandle<void>> uniquePtrArena_;

Tag #1679
2020-11-13 09:15:18 +08:00
Matt A. Tobin
d646d4403f Bug 1328948 - Add is(), as() to Cell.
Tag #1679
2020-11-13 09:15:16 +08:00
Matt A. Tobin
c44d7d2189 Issue #1677 - Part 7: Add unicode/uniset.h to check_spidermonkey_style.py for some reason 2020-11-13 09:15:14 +08:00
Matt A. Tobin
0789f637d1 Issue #1677 - Part 6: Implement NativeRegExpMacroAssembler for new regexp import based on irregexp/NativeRegExpMacroAssembler.cpp 2020-11-13 09:15:13 +08:00
Matt A. Tobin
e3a3e92316 Issue #1677 - Part 5: "Simplify" regexp re-import process (and re-import from later revision)
I am going on record to say Mozilla are utter fucking assholes for pulling this as part of their progression.
2020-11-13 09:15:11 +08:00
Matt A. Tobin
12c7f5df33 Issue #1677 - Part 4: Implement shim for regexp 2020-11-13 09:15:10 +08:00
Matt A. Tobin
fdb560b34d Issue #1677 - Part 3: Create shim definitions for V8-specific code in new regexp implementation 2020-11-13 09:15:08 +08:00
roytam1
f506982aa1 Merge remote-tracking branch 'origin/master' into custom 2020-11-06 09:44:53 +08:00
Matt A. Tobin
a3bc68b4e9 Issue #1677 - Part 2: Add build files 2020-11-06 09:43:55 +08:00
Matt A. Tobin
6dc6ff456e Issue #1677 - Part 1: Import new V8 regexp code with Mozilla's header modifications 2020-11-06 09:43:54 +08:00
Matt A. Tobin
5f32ee0c71 Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell 2020-11-06 09:43:34 +08:00
Matt A. Tobin
b38a250130 Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build 2020-11-06 09:43:32 +08:00
Matt A. Tobin
6da35ffb78 Issue #1676 - Part 19: Split ctypes sources out of js/src/moz.build 2020-11-06 09:43:31 +08:00
Matt A. Tobin
66308991b1 Issue #1676 - Part 18: Move and separate top level sources from vm sources in js/src/moz.build 2020-11-06 09:43:29 +08:00
Matt A. Tobin
fc371224e1 Issue #1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG 2020-11-06 09:43:28 +08:00
Matt A. Tobin
6fa51e7392 Issue #1676 - Part 16: Split WASM sources out of js/src/moz.build
Also puts WasmBinaryIterator.cpp which is debug code ifdef'd behind MOZ_DEBUG
2020-11-06 09:43:27 +08:00
Matt A. Tobin
81d575eff7 Issue #1676 - Part 15: Split threading sources out of js/src/moz.build 2020-11-06 09:43:25 +08:00
Matt A. Tobin
e6a6e0e7fd Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build 2020-11-06 09:43:24 +08:00
Matt A. Tobin
155a0fbe41 Issue #1676 - Part 13: Split perf sources out of js/src/moz.build 2020-11-06 09:43:23 +08:00
Matt A. Tobin
70db4edd43 Issue #1676 - Part 12: Split jit sources out of js/src/moz.build 2020-11-06 09:43:21 +08:00
Matt A. Tobin
96f685e827 Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build 2020-11-06 09:43:20 +08:00
Matt A. Tobin
25a9cb15e8 Issue #1676 - Part 10: Split gc sources out of js/src/moz.build 2020-11-06 09:43:19 +08:00
Matt A. Tobin
c509fb2251 Issue #1676 - Part 9: Move DIRS down in js/src/moz.build 2020-11-06 09:43:17 +08:00