Bug 1911022 - Fix drag-and-drop of large amount of text on address bar causing hang on the parent process. r=mak

Differential Revision: https://phabricator.services.mozilla.com/D231281
This commit is contained in:
Moritz Beier
2024-12-13 10:29:27 +00:00
parent 653c0dac72
commit c23c9fde21
2 changed files with 21 additions and 10 deletions

View File

@@ -73,6 +73,11 @@ var data = [
wrong: "whatever://this/is/a/test.html",
fixed: "whatever://this/is/a/test.html",
},
{
// Valid should not be changed.
wrong: "whatever://user:pass@example.com/test.html",
fixed: "whatever://user:pass@example.com/test.html",
},
{
// Spaces before @ are valid if it appears after the domain.
wrong: "example.com/ @test.com",