File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 1.15.23.0
1+ 1.15.24
Original file line number Diff line number Diff line change @@ -105,6 +105,16 @@ var onPSLReady = function() {
105105var onVersionReady = function ( lastVersion ) {
106106 if ( lastVersion === vAPI . app . version ) { return ; }
107107
108+ // Since AMO does not allow updating resources.txt, force a reload when a
109+ // new version is detected, as resources.txt may have changed since last
110+ // release. This will be done only for release versions of Firefox.
111+ if (
112+ / ^ M o z i l l a - F i r e f o x - / . test ( vAPI . webextFlavor ) &&
113+ / ( b | r c ) \d + $ / . test ( vAPI . app . version ) === false
114+ ) {
115+ µb . redirectEngine . invalidateResourcesSelfie ( ) ;
116+ }
117+
108118 // From 1.15.19b9 and above, the `behind-the-scene` scope is no longer
109119 // whitelisted by default, and network requests from that scope will be
110120 // subject to filtering by default.
You can’t perform that action at this time.
0 commit comments