File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
browser/components/migration Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -772,6 +772,7 @@ export class MigrationWizard extends HTMLElement {
772
772
MigrationWizardConstants . DISPLAYED_RESOURCE_TYPES . EXTENSIONS
773
773
) {
774
774
messageText . textContent = "" ;
775
+ this . #extensionsSuccessLink. target = "_blank" ;
775
776
this . #extensionsSuccessLink. textContent =
776
777
state . progress [ resourceType ] . message ;
777
778
}
@@ -787,6 +788,7 @@ export class MigrationWizard extends HTMLElement {
787
788
messageText . textContent = state . progress [ resourceType ] . message ;
788
789
supportLink . textContent = state . progress [ resourceType ] . linkText ;
789
790
supportLink . href = state . progress [ resourceType ] . linkURL ;
791
+ supportLink . target = "_blank" ;
790
792
remainingProgressGroups -- ;
791
793
totalWarnings ++ ;
792
794
break ;
@@ -800,11 +802,13 @@ export class MigrationWizard extends HTMLElement {
800
802
messageText . textContent = state . progress [ resourceType ] . message ;
801
803
supportLink . textContent = state . progress [ resourceType ] . linkText ;
802
804
supportLink . href = state . progress [ resourceType ] . linkURL ;
805
+ supportLink . target = "_blank" ;
803
806
if (
804
807
resourceType ==
805
808
MigrationWizardConstants . DISPLAYED_RESOURCE_TYPES . EXTENSIONS
806
809
) {
807
810
messageText . textContent = "" ;
811
+ this . #extensionsSuccessLink. target = "_blank" ;
808
812
this . #extensionsSuccessLink. textContent =
809
813
state . progress [ resourceType ] . message ;
810
814
}
Original file line number Diff line number Diff line change 724
724
extensionsGroup . querySelector ( "a.message-text" ) . href ,
725
725
EXTENSIONS_INFO_HREF
726
726
) ;
727
+ is (
728
+ extensionsGroup . querySelector ( "a.message-text" ) . target ,
729
+ "_blank"
730
+ ) ;
727
731
is (
728
732
extensionsGroup . querySelector ( ".support-text" ) . textContent ,
729
733
EXTENSIONS_SUPPORT_STRING
732
736
extensionsGroup . querySelector ( ".support-text" ) . href ,
733
737
EXTENSIONS_SUPPORT_HREF
734
738
) ;
739
+ is (
740
+ extensionsGroup . querySelector ( ".support-text" ) . target ,
741
+ "_blank"
742
+ ) ;
735
743
736
744
// With progress being complete, the header should be using the completed
737
745
// migration string.
792
800
extensionsGroup . querySelector ( ".support-text" ) . href ,
793
801
EXTENSIONS_SUPPORT_HREF
794
802
) ;
803
+ is (
804
+ extensionsGroup . querySelector ( ".support-text" ) . target ,
805
+ "_blank"
806
+ ) ;
795
807
796
808
// With progress being complete, the header should be using the completed
797
809
// migration string.
You can’t perform that action at this time.
0 commit comments