Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28431

Service Workers not listening to fetch requests on Firefox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF20, 11.1, 2021.0
    • Component/s: Web UI
    • Tags:
    • Sprint:
      nxNS Sprint 11.1.14

      Description

      With a clean run (unregistering old Service Worker) we get an error message in Firefox's console:

      Fetch event handlers must be added during the worker script’s initial evaluation
      

      Moving the registerRoute call outside of the install callback fixes the issue, so we're effectively reverting work done on NXP-25961.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 5 minutes
                  2h 5m