зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1483939 - Account for anchor when creating URLSearchParams. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D3525 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7a730215d7
Коммит
925e710ffa
|
@ -271,7 +271,7 @@ let URICountListener = {
|
|||
case "google":
|
||||
case "google-2018":
|
||||
let type;
|
||||
let queries = new URLSearchParams(url.split("?")[1]);
|
||||
let queries = new URLSearchParams(url.split("#")[0].split("?")[1]);
|
||||
let code = queries.get("client");
|
||||
if (code) {
|
||||
// Detecting follow-on searches for sap is a little tricky.
|
||||
|
|
Загрузка…
Ссылка в новой задаче