We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

"NS_BINDING_ERROR" while fetching content from localStorage

  • 1 प्रत्युत्तर दें
  • 0 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर sohalsatnam792

more options

Hi all ,

i have one website which downloads the content (image/video/html) and save in localStorage also i have service worker who fetches those files.

while downloading the files from one url lets assume ( download.files.com) firefox downloads correctly , but when my service worker tries to fetch the html file from its own url ( url/content/files/downloadedHtml.html) its gives  404 not found , but when i open same url ( url/content/files/downloadedHtml.html) in second tab its giving 200OK. 

also in network tab it gives me "NS_BINDING_ERROR" .

Hi all , i have one website which downloads the content (image/video/html) and save in localStorage also i have service worker who fetches those files. while downloading the files from one url lets assume ( download.files.com) firefox downloads correctly , but when my service worker tries to fetch the html file from its own url ( url/content/files/downloadedHtml.html) its gives 404 not found , but when i open same url ( url/content/files/downloadedHtml.html) in second tab its giving 200OK. also in network tab it gives me "NS_BINDING_ERROR" .

All Replies (1)

more options

sohalsatnam792 said

Hi all , i have one website which downloads the content (image/video/html) and save in localStorage also i have service worker who fetches those files.while downloading the files from one url lets assume ( download.files.com) firefox downloads correctly , but when my service worker tries to fetch the html file from its own url ( url/content/files/downloadedHtml.html) its gives 404 not found , but when i open same url ( url/content/files/downloadedHtml.html) in second tab its giving 200OK. also in network tab it gives me "NS_BINDING_ERROR" .