Skip to content

Commit

Permalink
Backed out changeset 9cbdae9215d2 (bug 1901667) for causing xpcshell …
Browse files Browse the repository at this point in the history
…failures on test_commands_closetab.js. CLOSED TREE

UltraBlame original commit: a65d3114810a62a84cfcf44238cbb3d973dc64c1
  • Loading branch information
marco-c committed Jun 19, 2024
1 parent 0da6921 commit 618818f
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 514 deletions.
215 changes: 24 additions & 191 deletions services/fxaccounts/tests/browser/browser_verify_remotetabs_notif.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,67 +84,6 @@ mjs
;
/
/
Since
we
show
the
brand
name
(
Nightly
Beta
)
in
the
notification
/
/
we
need
to
fetch
the
localization
so
the
test
doesn
'
t
break
when
going
/
/
through
the
trains
const
l10n
=
new
Localization
(
[
"
branding
/
brand
.
ftl
"
"
browser
/
accounts
.
ftl
"
]
)
;
/
/
URL
that
opens
Expand Down Expand Up @@ -230,69 +169,6 @@ notification
;
/
/
Get
the
expected
notification
text
we
'
ll
show
the
user
const
[
expectedTitle
expectedBody
]
=
await
l10n
.
formatValues
(
[
{
id
:
"
account
-
tabs
-
closed
-
remotely
"
args
:
{
closedCount
:
1
}
}
{
id
:
"
account
-
view
-
recently
-
closed
-
tabs
"
}
]
)
;
/
/
This
will
also
Expand All @@ -317,10 +193,20 @@ setupMockAlertsService
{
title
:
expectedTitle
"
1
Nightly
tab
closed
"
body
:
expectedBody
"
View
recently
closed
tabs
"
}
)
;
Expand Down Expand Up @@ -562,69 +448,6 @@ notification
;
/
/
Get
the
expected
notification
text
we
'
ll
show
the
user
const
[
expectedTitle
expectedBody
]
=
await
l10n
.
formatValues
(
[
{
id
:
"
account
-
tabs
-
closed
-
remotely
"
args
:
{
closedCount
:
2
}
}
{
id
:
"
account
-
view
-
recently
-
closed
-
tabs
"
}
]
)
;
/
/
This
will
also
Expand All @@ -649,10 +472,20 @@ setupMockAlertsService
{
title
:
expectedTitle
"
2
Nightly
tabs
closed
"
body
:
expectedBody
"
View
recently
closed
tabs
"
}
)
;
Expand Down
Loading

0 comments on commit 618818f

Please sign in to comment.