Closed Bug 762833 Opened 12 years ago Closed 8 years ago

Web apps don't work when Firefox is a XULRunner application

Categories

(Firefox Graveyard :: Webapp Runtime, defect, P3)

14 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files, 2 obsolete files)

Webapps record the firefox path in webapp.ini, and then tries to load xpcom from there, but in FF-on-XR setups, xpcom is in $firefox_path/xulrunner/.
Changing the path recorded in webapp.ini to point to $firefox_path/xulrunner fails too because the runtime tries to open application.ini there.
It looks like the recorded path should be $firefox_path/xulrunner/, and the runtime should check platform.ini instead of application.ini.
Blocks: 745018
As a side note, the runtimes would really benefit from using some common init code...
Blocks: metro-build
(In reply to Mike Hommey [:glandium] from comment #1)
> Created attachment 631321 [details] [diff] [review]
> Make webapp runtime use platform.ini from the GRE directory
> 
> As a side note, the runtimes would really benefit from using some common
> init code...

This doesn't work properly, though.
I'm wondering if it wouldn't make sense to ship the webapprt in xulrunner...
Component: Web Apps → Webapp Runtime
QA Contact: webapps → webapp-runtime
Should only be FF 15 or later affected, as we have disabled web apps support on FF 14.
Priority: -- → P3
This fixes my problems on FF-on-XR and should help with not breaking things after bug 755724 and I think it's the sensible thing to do. It only addresses the issue on linux, though. It would surely benefit from bug 763071 and bug 658847.
<none>
Attachment #631321 - Attachment is obsolete: true
QA Contact: jsmith
Attachment #631623 - Attachment is obsolete: true
Assignee: nobody → mh+mozilla
No longer blocks: metro-build
We hit this problem in Fedora, is it a problem to add webapprt also to xulrunner (like done in attached patch)?
(In reply to jhorak from comment #7)
> Created attachment 716443 [details] [diff] [review]
> Workaround to build webapprt also in xulrunner
> 
> We hit this problem in Fedora, is it a problem to add webapprt also to
> xulrunner (like done in attached patch)?

webapprt is built as part of browser/ and that should be fine. If that doesn't work (and I heard it doesn't in recent releases in debian, but it used to work), that's a bug.
Oh, the webapp installer stuff moved to toolkit...
So, the logical solution here would be to build the webapp runtime as part of the platform. But this would need the webapp runtime localization to move where it should be. I'll file a bug about that.
Depends on: 844016
I've checked the dependent bugs and they seems to be fixed, can we also fix this bug?
The problem still persists in Fedora 19. Here's a workaround:
ln -s /usr/lib64/firefox/webapprt-stub /usr/lib64/firefox/xulrunner/
ln -s /usr/lib64/firefox/webapprt /usr/lib64/firefox/xulrunner/
ln -s /usr/lib64/firefox/application.ini /usr/lib64/firefox/xulrunner/

And I can confirm that after doing that, evertything seems to be working ok.
Flags: needinfo?(mh+mozilla)
Mike, is it now ok to build the webapp runtime also for XULRunner?
I'd rather put it in the platform as mentioned in comment 10. Either way, the branding problem from i don't remember which bug remains.
Flags: needinfo?(mh+mozilla)
(In reply to Mike Hommey [:glandium] from comment #15)
> I'd rather put it in the platform as mentioned in comment 10. Either way,
> the branding problem from i don't remember which bug remains.

Yes, the branding problem is a separate issue.
(In reply to Marco Castelluccio [:marco] from comment #16)
> (In reply to Mike Hommey [:glandium] from comment #15)
> > I'd rather put it in the platform as mentioned in comment 10. Either way,
> > the branding problem from i don't remember which bug remains.
> 
> Yes, the branding problem is a separate issue.

It's not separate, it's entangled.
Any news about this bug?
This create some problems on the linux world for promote the open web apps :-(
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: