gecko-dev/docshell
Tim Huang 7e5160909f Bug 1760009 - Don't strip the URL query parameters if there is no triggering principal. r=smaug
In the case where the triggering principal doesn't exist, calling
nsDocShellLoadState::MaybeStripTrackerQueryStrings() will crash. It's
becuase we will access the triggering principal in the function.

The patch makes the function to return early if the triggering prinicpal
doesn't exist. In this case, we cannot decide if we need to strip the
URL because the information from the triggering principal is lacking.
Therefore, we can only return and don't strip the URL. Also, this can
avoid crashing Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D141594
2022-03-22 08:45:19 +00:00
..
base Bug 1760009 - Don't strip the URL query parameters if there is no triggering principal. r=smaug 2022-03-22 08:45:19 +00:00
build Bug 1759990 - Add about:crashgpu redirector to cause GPU process crash. r=Gijs 2022-03-21 20:55:56 +00:00
resources/content Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers 2021-10-25 11:00:47 +00:00
shistory Bug 1759549 - Persist wireframes to Session Store when wireframe capturing is enabled. r=mossop,farre 2022-03-21 17:54:13 +00:00
test Bug 1647892 - Improve the reliability of test_double_submit.html, r=farre 2022-03-21 20:19:45 +00:00
moz.build Backed out 2 changesets (bug 1577122) for causing xpcshell failures. CLOSED TREE 2022-03-14 17:19:01 +02:00