зеркало из https://github.com/mozilla/gecko-dev.git
7e5160909f
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 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |