зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset c47cd2b5f4a6 (bug 1266256) for various devtools failures 'A promise chain failed to handle a rejection: - [object Object]'. r=backout on a CLOSED TREE
This commit is contained in:
Родитель
48b7390289
Коммит
eba2409e82
|
@ -259,11 +259,6 @@ TabSources.prototype = {
|
|||
* @returns Boolean
|
||||
*/
|
||||
_isMinifiedURL: function (aURL) {
|
||||
// Filter out null URLs to avoid debug warnings.
|
||||
if (!aUrl) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
let url = new URL(aURL);
|
||||
let pathname = url.pathname;
|
||||
|
|
Загрузка…
Ссылка в новой задаче