| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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."
|
|\ |
|
| |\
| | |
| | | |
Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog
|
| |/
| |
| |
| | |
leads to overflow in the basic auth dialog
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
BrowserUtils.principalFromOrigin()
This resolves #734.
|
|\
| |
| | |
Fix more -Wclass-memaccess warnings (part 3)
|
| |
| |
| |
| |
| |
| | |
freshly initializes the TemporaryTypeSet* provided to it.
Also removes existing code that, quite unnecessarily, partly initialized that argument.
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
constructor, and copy-assignment operator.
This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
|
|\ \
| |/
|/| |
[PALEMOON] Restore strings mistakenly removed from downloads.properties
|
|/
|
|
| |
[8be0c16be614d54183ee3d4877e2243cb9e468c8]
|
|\
| |
| | |
Fix timer overflow on converting from sec to msec in idleService
|
|/ |
|
|
|
|
| |
This resolves #776.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
"about:home" (#774)
* Use SessionStore.promiseInitialized() to avoid race condition in "about:home"
* Improve code style of [d6c3adb91c9f29786f8ed8d93baa14c076494017]
|
| | |
|
|\ \
| | |
| | | |
Skip notifications for background tabs when restoring a session in Pale Moon and Basilisk
|
| | | |
|
|/ / |
|
|\ \
| |/
|/| |
Fix more -Wclass-memaccess warnings (part 2)
|
| |
| |
| |
| | |
VirtualRegister instances
|
| |
| |
| |
| | |
memset-on-nontrivial warnings with gcc that don't matter for an object whose lifetime is about to end
|
| | |
|
| | |
|
| |
| |
| |
| | |
Includes a standalone reftest.
|
|\| |
|
| |
| |
| |
| | |
Tag #447
|
| |
| |
| |
| | |
Follow-up to 9830cd079d8306abc223461190553af64b6fd0ca
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Allow the pref to switch between global search term and per-tab search term
|
| | |
|
| |
| |
| |
| | |
This reverts commit fb291846a59f9b8eaf8bba29e0d9794893e895bf.
|
| |
| |
| |
| | |
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
|
| |
| |
| |
| |
| |
| | |
in the gBrowser)"
This reverts commit 38f30cdf759e4f6da96da777c3216b5047d672c1.
|
| |
| |
| |
| |
| |
| | |
remove "_fastFind", a better focus() for the method "updateCurrentBrowser""
This reverts commit 63b10a9b4f8644550a89022b8d0d53ee26fc150b.
|
| |
| |
| |
| | |
This reverts commit c96d9e5bdd064252c2b6d303c1db9209bf4814c9.
|
| |
| |
| |
| | |
This reverts commit e4b01ba84463fbaf5209ae8d2bb6a612f491bb5b.
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|