Closed Bug 1179706 Opened 9 years ago Closed 9 years ago

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1178508

People

(Reporter: capella, Unassigned)

References

Details

One of my science blogs has stopped loading (phone and tablet).

I observe the stacktrace listed below, but the interesting message is:
E/GeckoConsole( 7342): [JavaScript Error: "Error: Failed to load script (nsresult = 0x80004005)"]

After bisecting, the first bad changset I observe is:
chgset: 250252:66ea7374c23d

Which includes module dom/workers/ScriptLoader.cpp, and seems suspiciously relevant.

Going to drop a note on:
Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers.


D/GeckoTabs( 7342): handleMessage: Content:StateChange
D/GeckoToolbar( 7342): onTabChanged: START
I/GeckoToolbarDisplayLayout( 7342): zerdatime 291948822 - Throbber start
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: START
D/GeckoTabs( 7342): handleMessage: Content:LocationChange
D/GeckoTabs( 7342): handleMessage: Content:SecurityChange
D/GeckoToolbar( 7342): onTabChanged: TITLE
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: TITLE
V/GeckoProfile( 7342): Fetching profile: '', 'null'
D/GeckoToolbar( 7342): onTabChanged: LOCATION_CHANGE
D/GeckoToolbarDisplayLayout( 7342): updateFavicon(null)
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: LOCATION_CHANGE
D/GeckoToolbar( 7342): onTabChanged: MENU_UPDATED
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: MENU_UPDATED
D/GeckoToolbar( 7342): onTabChanged: SECURITY_CHANGE
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: SECURITY_CHANGE
D/GeckoToolbar( 7342): onTabChanged: MENU_UPDATED
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: MENU_UPDATED
D/GeckoTabs( 7342): handleMessage: Tab:ViewportMetadata
D/GeckoTabs( 7342): handleMessage: DOMTitleChanged
D/GeckoTabs( 7342): handleMessage: Link:Feed
D/GeckoToolbar( 7342): onTabChanged: VIEWPORT_CHANGE
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: VIEWPORT_CHANGE
D/GeckoToolbar( 7342): onTabChanged: TITLE
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: TITLE
D/GeckoToolbar( 7342): onTabChanged: LINK_FEED
D/GeckoBrowserApp( 7342): BrowserApp.onTabChanged: 1: LINK_FEED
E/GeckoConsole( 7342): [JavaScript Error: "Error: Failed to load script (nsresult = 0x80004005)"]
V/GeckoProfile( 7342): Fetching profile: '', 'null'
D/GeckoHealthRec( 7342): Recording session end: P
V/GeckoHealthRec( 7342): Recorded session entry for env 8, current is 8
D/GeckoSessInfo( 7342): Recording session done: 1435827708397
D/GeckoBrowserProvider( 7342): Expiring history.
D/GeckoBrowserProvider( 7342): Expiring thumbnails.
I/GeckoHealth( 7342): fennec :: HealthReportBroadcastService :: Registering HealthReportPruneService.
I/GeckoHealth( 7342): fennec :: BackgroundService :: Setting inexact repeating alarm for interval 86400000
dupe of Bug 1178508?
Flags: needinfo?(markcapella)
Unfortunately, rebuilding with the attached patch doesn't solve the issue.
Flags: needinfo?(markcapella)
Fix should land soon.  In the meantime you can use about:serviceworkers to remove the registration for medium and try again.
No longer blocks: ServiceWorkers-v1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Oh, I missed that you said you tried with the patch from bug 1178508.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
It's unclear to me if the registration could get itself into a wedged state if it deadlocked as in bug 1178508.  You may need to clear the registration using about:serviceworkers.

Of course, it seems medium.com has now removed their service worker completely.  So it may be difficult to continue to test this.
(In reply to Ben Kelly [:bkelly] from comment #5)
> Of course, it seems medium.com has now removed their service worker
> completely.  So it may be difficult to continue to test this.

Ignore this please.  The SW script is still loading.  My nightly instance seems to be in a bad state, though, and its not getting registered there for some reason.
Ok, I agree it's a dup of bug 1178508   \o/

After applying the patch, I had to clear the ServiceWorker by Settings -> Privacy -> Clear now ... and with all listitems checked ... -> Clear data

It works fine again after that. I suspect I might have been able to clear a subset of the Privacy settings, or just done a complete uninstall/reinstall, but *shrugs*
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.