Closed
Bug 717966
Opened 13 years ago
Closed 13 years ago
pageloader.js: use "browser.chromeURL" preference, to support non-Firefox applications
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sgautherie, Assigned: capella)
References
()
Details
Attachments
(1 file, 1 obsolete file)
954 bytes,
patch
|
Gavin
:
review-
sgautherie
:
feedback+
|
Details | Diff | Splinter Review |
I assume SeaMonkey (and other "non-Firefox" applications) is not using this (yet),
but let's future-proof this anyway.
Code is
{
148 browserWindow = wwatch.openWindow
149 (null, "chrome://browser/content/", "_blank",
150 "chrome,dialog=no,width=" + winWidth + ",height=" + winHeight, blank);
}
See bug 717753 as an example.
Assignee | ||
Comment 1•13 years ago
|
||
Looking at bugs regarding "browser.chromeURL" Firefox vs Seamonkey ...
Attachment #596622 -
Flags: feedback?(sgautherie.bz)
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 596622 [details] [diff] [review]
bug717966 fix initial try
Can't "browser.chromeURL" preference be used here?
Assignee | ||
Comment 3•13 years ago
|
||
Ok ... using Services.prefs.getCharPref() vs. navigator.userAgent.match() ...
Attachment #596824 -
Flags: feedback?(sgautherie.bz)
Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 596824 [details] [diff] [review]
Diff2 try ... using preferences
Did you test this or does it need a run on Try?
Assignee | ||
Comment 5•13 years ago
|
||
No test ... (that's why I was only asking for feedback) ... I hadn't figured that next part out yet.
So I guess the answer to your question is yes, it needs a test run on try ... and if you can explain that to me a little I'll appreciate it :-)
Reporter | ||
Comment 6•13 years ago
|
||
(In reply to Mark Capella [:capella] from comment #5)
> if you can explain that to me a little I'll appreciate it :-)
A first pointer should be:
https://wiki.mozilla.org/Build:TryServer
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla13
Reporter | ||
Comment 7•13 years ago
|
||
Comment on attachment 596824 [details] [diff] [review]
Diff2 try ... using preferences
NB:
The idea of this patch is what I expected.
But I don't know whether Services.prefs is already available, or if Services.jsm should be imported, or Cc[].getService() used...
Attachment #596824 -
Flags: review?(vladimir)
Assignee | ||
Comment 8•13 years ago
|
||
I can't do a push to try as I'm not Level 1 ... I'll need a review+ or to have someone do it for me.
Comment 9•13 years ago
|
||
Try run for 4605c5af6ad2 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=4605c5af6ad2
Results (out of 274 total builds):
exception: 2
success: 236
warnings: 21
failure: 15
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/sgautherie.bz@free.fr-4605c5af6ad2
Reporter | ||
Updated•13 years ago
|
Attachment #596622 -
Attachment is obsolete: true
Attachment #596622 -
Flags: feedback?(sgautherie.bz)
Reporter | ||
Comment 10•13 years ago
|
||
Comment on attachment 596824 [details] [diff] [review]
Diff2 try ... using preferences
(In reply to Mozilla RelEng Bot from comment #9)
> https://tbpl.mozilla.org/?tree=Try&rev=4605c5af6ad2
I don't know where pageloader.js is used exactly,
but afaict this patch didn't break anything.
Attachment #596824 -
Flags: feedback?(sgautherie.bz) → feedback+
Reporter | ||
Updated•13 years ago
|
Attachment #596622 -
Flags: feedback-
Comment 11•13 years ago
|
||
Comment on attachment 596824 [details] [diff] [review]
Diff2 try ... using preferences
Services.jsm isn't imported here, AFAICT.
Attachment #596824 -
Flags: review?(vladimir) → review-
Comment 12•13 years ago
|
||
If this file isn't used, we shouldn't spend time making untested arbitrary changes to it. It can be fixed when it poses a problem in practice.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 13•13 years ago
|
||
Ftr,
http://mxr.mozilla.org/comm-central/source/mozilla/testing/tools/pageloader/README
http://mxr.mozilla.org/build/search?string=pageloader.&case=1
I assumed pageloader was used by Talos (runs) or something, but maybe it is not (currently/anymore)...
PS: If there is no plan to reuse it, maybe it should just be deleted from trees?
Whiteboard: [good first bug]
Target Milestone: mozilla13 → ---
Comment 14•13 years ago
|
||
Yes, it should. But determining whether it is or isn't used requires work, and there are generally more important things to work on.
Reporter | ||
Comment 15•13 years ago
|
||
Bug 727705 removed this file.
Let's see if it still exists elsewhere after bug 725414...
You need to log in
before you can comment on or make changes to this bug.
Description
•