Commit graph

1,797 commits

Author SHA1 Message Date
wolfbeast
57251fc4e7 Clean up a number of unused variables.
Tag #21.
2019-02-16 00:14:50 +08:00
wolfbeast
1f4a5663e9 Update telemetry whitelists.
Tag #21.
2019-02-16 00:14:48 +08:00
trav90
87be2b9973 Update test files for libnestegg update 2019-02-16 00:14:46 +08:00
trav90
7682eb71f8 Update libnestegg from upstream 2019-02-16 00:14:45 +08:00
trav90
e4edab374b Update upstream URL and update script for libnestegg 2019-02-16 00:14:43 +08:00
trav90
c576139ef2 Update HSTS preload list
Tag #447
2019-02-16 00:14:42 +08:00
wolfbeast
f019ffbb0b Remove telemetry to find optimal cache entry hash size
Tag #21.
2019-02-16 00:14:40 +08:00
wolfbeast
bd525435bf Get rid of the incorrect mechanism to remove insecure fallback hosts.
This fixes #797.
2019-02-16 00:14:39 +08:00
NTD
abaee14a7e Only opt-in to esr52 search service for select applications 2019-02-16 00:14:37 +08:00
wolfbeast
1a6bbcff72 Rename address bar back to location bar
Tag Issue #765
2019-02-16 00:14:36 +08:00
wolfbeast
4b0b628cdd Remove IndexedDB for content pref.
Tag Issue #765
2019-02-16 00:14:34 +08:00
wolfbeast
114aed058f Update permissions manager strings.
Tag Issue #765
2019-02-16 00:14:33 +08:00
wolfbeast
a69753706d Rename "Cookies" to "Cookies and Site Data" in preferences where applicable.
Tag Issue #765
2019-02-16 00:14:31 +08:00
NTD
3715e576d2 Add a conditional to not build the platform so the build system can be exploited for non-binary projects 2019-02-16 00:14:30 +08:00
Gaming4JC
30797d4da8 backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
Potential attack: session supercookie.

[Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5):
"The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that.

What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak."

[Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8):
"nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers).
So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
2019-02-16 00:14:28 +08:00
Gaming4JC
de28886722 backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
The original code (from bug 1200802) declared an XPCOM object as a static bare pointer,
which for future reference is probably never the right thing to do. It might have worked if
it was cleared before shutdown but it never was.
2019-02-16 00:14:27 +08:00
NTD
393dd101d4 Build nsJSInspector regardless of devtools 2019-02-16 00:14:25 +08:00
Gaming4JC
470aebd09b backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer 2019-02-16 00:14:24 +08:00
Leorize
f67b2f0342 gfx: add pref for enabling APZ without e10s 2019-02-16 00:14:21 +08:00
JustOff
3b473f209a Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog 2019-02-16 00:14:20 +08:00
wolfbeast
b85696b196 Regression fix: enable ICC v4 profiles by default. 2019-02-16 00:14:18 +08:00
NTD
d7695d8e71 Remove code that prevents binary extensions 2019-02-16 00:14:17 +08:00
NTD
0b1b0c752e Update list of IDs to never send to AUS in AddonUpdateChecker.jsm 2019-02-16 00:14:15 +08:00
wolfbeast
abb0dd55b2 Use SSM's createCodebasePrincipalFromOrigin() instead of the nonexistent BrowserUtils.principalFromOrigin()
This resolves #734.
2019-02-16 00:14:13 +08:00
trav90
7ccaa52ace Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it freshly initializes the TemporaryTypeSet* provided to it.
Also removes existing code that, quite unnecessarily, partly initialized that argument.
2019-02-16 00:14:12 +08:00
trav90
74983ef77e Don't use PodCopy/PodMove to implement typed-array element-to-element copying
Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial.
2019-02-16 00:14:10 +08:00
trav90
3bfbbf5d40 Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator.
This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
2019-02-16 00:14:09 +08:00
JustOff
23665c9250 [PALEMOON] Restore strings mistakenly removed by [8be0c16be614d54183ee3d4877e2243cb9e468c8] 2019-02-16 00:14:07 +08:00
Mihail Zenkov
640ededc60 Fix timer overflow on converting from sec to msec in idleService 2019-02-16 00:14:06 +08:00
wolfbeast
07df2cf12a Add a null check in nsHttpTransaction::Close.
This resolves #776.
2019-02-16 00:14:04 +08:00
wolfbeast
5a03a408a8 Send worker-runnables destined for the main thread actually to the main thread.
A case of "one queue too many" here. Instead of worker runnables being sent to the main thread
where they are supposed to run, they are put in a task queue per-worker. This is devastating
for performance if many workers are running.
2019-02-16 00:14:03 +08:00
wolfbeast
73b9f505a1 Stop using the worker MainThreadTaskQueue from dom/fetch. 2019-02-16 00:14:01 +08:00
wolfbeast
3b98b8ca9a Stop using the MainThreadTaskQueue from service workers. 2019-02-16 00:14:00 +08:00
wolfbeast
01216fbc62 Rewrite the Code of Conduct document.
This is a rewrite of the document by Moonchild. Although the rough layout of the previous document is maintained, it is a significantly expanded and rewritten version no longer related to the contributor-covenant version that was initially used.
2019-02-16 00:13:58 +08:00
JustOff
0c0d82689f Use SessionStore.promiseInitialized() to avoid race condition in "about:home" (#774)
* Use SessionStore.promiseInitialized() to avoid race condition in "about:home"

* Improve code style of [d6c3adb91c9f29786f8ed8d93baa14c076494017]
2019-02-16 00:13:57 +08:00
wolfbeast
a8ea1c8875 New cycle version bump. 2019-02-16 00:13:55 +08:00
JustOff
ee4ef937d9 [BASILISK] Skip notifications for background tabs when restoring a session 2019-02-16 00:13:53 +08:00
JustOff
c79f106dcc [PALEMOON] Skip notifications for background tabs when restoring a session 2019-02-16 00:13:51 +08:00
trav90
4b23aec47e Don't memset-zero the BacktrackingAllocator::vregs array of non-trivial VirtualRegister instances 2019-02-16 00:13:50 +08:00
trav90
4d089648be Call memset on a void*, not a T*, in js_delete_poison to avoid memset-on-nontrivial warnings with gcc that don't matter for an object whose lifetime is about to end 2019-02-16 00:13:48 +08:00
trav90
fbef1917ad Initialize some asm.js structures using in-class initializers instead of PodZero 2019-02-16 00:13:46 +08:00
trav90
02e07860b2 Stop using PodZero in several places to initialize values of non-trivial type 2019-02-16 00:13:45 +08:00
wolfbeast
ee1233bb0c Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2019-02-16 00:13:43 +08:00
trav90
4f41aebb67 Update HSTS preload list
Tag #447
2019-02-16 00:13:42 +08:00
wolfbeast
eff8a32348 Fix clang build bustage.
Follow-up to 9830cd079d8306abc223461190553af64b6fd0ca
2019-02-16 00:13:40 +08:00
wolfbeast
20acf1e808 Flush some more buildlog output to screen when prudent. 2019-02-16 00:13:39 +08:00
wolfbeast
58f6d1953c Add findbar.termPerTab
Allow the pref to switch between global search term and per-tab search term
2019-02-16 00:13:37 +08:00
wolfbeast
6663a8fe28 Ensure the findbar target content browser follows the active tab. 2019-02-16 00:13:36 +08:00
wolfbeast
2f16623ba1 Revert "Minimal easy fix -- move findbar getters to tabbrowser."
This reverts commit fb291846a59f9b8eaf8bba29e0d9794893e895bf.
2019-02-16 00:13:34 +08:00
wolfbeast
36bcd9863f Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
2019-02-16 00:13:33 +08:00