summaryrefslogtreecommitdiffstats
path: root/browser/components/shopping/ShoppingSidebarChild.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:56 +0000
commit350be0cc3025f133a0a81533188c81ac26d624e8 (patch)
treece8a294f8c00a3f91a1781428ab72592754ea779 /browser/components/shopping/ShoppingSidebarChild.sys.mjs
parentAdding debian version 127.0-1. (diff)
downloadfirefox-350be0cc3025f133a0a81533188c81ac26d624e8.tar.xz
firefox-350be0cc3025f133a0a81533188c81ac26d624e8.zip
Merging upstream version 127.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/shopping/ShoppingSidebarChild.sys.mjs')
-rw-r--r--browser/components/shopping/ShoppingSidebarChild.sys.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/browser/components/shopping/ShoppingSidebarChild.sys.mjs b/browser/components/shopping/ShoppingSidebarChild.sys.mjs
index ff80086d5d..1ffeb914e3 100644
--- a/browser/components/shopping/ShoppingSidebarChild.sys.mjs
+++ b/browser/components/shopping/ShoppingSidebarChild.sys.mjs
@@ -85,6 +85,9 @@ export class ShoppingSidebarChild extends RemotePageChild {
#product = null;
receiveMessage(message) {
+ if (this.browsingContext.usePrivateBrowsing) {
+ throw new Error("We should never be invoked in PBM.");
+ }
switch (message.name) {
case "ShoppingSidebar:UpdateProductURL":
let { url, isReload } = message.data;