Bug 1593553 - Use null (document) triggering pricipal when refreshing URI. r=IanN a=IanN DONTBUILD CLOSED TREE
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Thu, 14 Nov 2019 21:02:01 +0100
changeset 32363 b17101745e4aec9ee1c98b8d36f21cd023913812
parent 32362 6df490b905e9b8b7ae67ec0277b75c66f2f4d13c
child 32364 328b908326fa7075f4930dd4b92bf94be6243b69
push id229
push userfrgrahl@gmx.net
push dateThu, 14 Nov 2019 20:02:28 +0000
treeherdercomm-esr60@b05f05a590f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1593553, 1414425
Bug 1593553 - Use null (document) triggering pricipal when refreshing URI. r=IanN a=IanN DONTBUILD CLOSED TREE Port relevant part of Bug 1414425.
suite/components/bindings/notification.xml
--- a/suite/components/bindings/notification.xml
+++ b/suite/components/bindings/notification.xml
@@ -279,17 +279,17 @@
                 notification.label = message;
               } else {
                 let buttons = [{
                   label: refreshButtonText,
                   accessKey: refreshButtonAccesskey,
                   callback: function (aNotification, aButton) {
                     var refreshURI = aNotification.webProgress
                                                   .QueryInterface(Ci.nsIRefreshURI);
-                    refreshURI.forceRefreshURI(aNotification.uri,
+                    refreshURI.forceRefreshURI(aNotification.uri, null,
                                                aNotification.delay, true);
                   }
                 }];
                 notification =
                   this.appendNotification(message, "refresh-blocked", null,
                                           this.PRIORITY_INFO_MEDIUM, buttons);
               }
               // In the case of a meta refresh, the location has already