Closed
Bug 213699
Opened 22 years ago
Closed 8 years ago
Write PAC docs
Categories
(Developer Documentation Graveyard :: General, defect)
Developer Documentation Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: maxnitribitt, Assigned: dmcdonald999, Mentored)
References
Details
(Whiteboard: [DocArea=Networking])
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Build Identifier:
auto-proxy file format specification :
( http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html )
states, that daterange() can handle those
combinations of arguments:
8<------------------>8
dateRange(day)
dateRange(day1, day2)
dateRange(mon)
dateRange(month1, month2)
dateRange(year)
dateRange(year1, year2)
dateRange(day1, month1, day2, month2)
dateRange(month1, year1, month2, year2)
dateRange(day1, month1, year1, day2, month2, year2)
dateRange(day1, month1, year1, day2, month2, year2,
gmt)
[...]
Even though the above examples don't show, the "GMT"
parameter can be specified in any of the 9 (sic!)
different call profiles, always as the last parameter.
8<------------------>8
In the examples section there is one call that doesn't
match these call profiles:
8<------------------>8
This statement is true on the 24th of December, 1995.
dateRange(24, "DEC", 1995)
8<------------------>8
Is the call profile collection incomplete, or is this
a fake example? Could anyone please shed some light
into this matter?
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
*** Bug 213700 has been marked as a duplicate of this bug. ***
Comment 2•21 years ago
|
||
Moving all of rudman's bugs to me, the new owner of Doc: User.
Assignee: rudman → rlk
QA Contact: rudman → stolenclover
Updated•20 years ago
|
Assignee: rlk → nobody
I've been going function-by-function through PAC, and I had not gotten that far
down. I don't think anynoe has ever noticed that!
You probably need to look at the JS function to see what is going on.
Summary: .pac file format specification for daterange() is inconsistent! → PAC: specification for daterange() is inconsistent!
GMT is always parsed off the end, so this is probably a documentation error.
The problem is that this file is a de-facto internet specification, that lives on a site we don't control.
I've pondered posting an annotated version of the spec. I've been working on a technical document on PAC as well.
Comment 5•16 years ago
|
||
Not really sure where this should live... neither if this is still valid.
Component: Help Viewer → Documentation Requests
Product: Documentation → Mozilla Developer Center
QA Contact: danielwang → doc-request
Comment 7•16 years ago
|
||
(In reply to comment #6)
> it's valid...
>
Ah, ok. Correct me if I'm wrong when assuming devmo is the right place for this.
Updated•12 years ago
|
Component: Documentation Requests → Documentation
Comment 8•12 years ago
|
||
Automatically closing all bugs that have not been updated in a while. Please reopen if this is still important to you and has not yet been corrected.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 9•12 years ago
|
||
Reopening for review by Sheppy.
Assignee: nobody → eshepherd
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 10•12 years ago
|
||
Yeah, this belongs on devmo.
Updated•12 years ago
|
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Updated•12 years ago
|
Whiteboard: u=mozdev p=0
Updated•12 years ago
|
Component: General → Mozilla Platform
Whiteboard: u=mozdev p=0 → u=mozdev p=0 c=Platform
Comment 11•10 years ago
|
||
I can't find PAC docs on MDN.
The Netscape docs discussed here are now in the archive:
https://web.archive.org/web/20070602031929/http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html#dateRange
Need to be synced with the source:
http://dxr.mozilla.org/mozilla-central/source/netwerk/base/src/ProxyAutoConfig.cpp
Could also need a glossary entry for "PAC".
http://en.wikipedia.org/wiki/Proxy_auto-config
Assignee: eshepherd → nobody
Status: REOPENED → NEW
Component: Mozilla Platform → General
Summary: PAC: specification for daterange() is inconsistent! → Write PAC docs
Whiteboard: u=mozdev p=0 c=Platform → [DocArea=Networking]
Comment 14•10 years ago
|
||
For more info, see also the DUPES.
Comment 15•10 years ago
|
||
it seems more logical to me to dupe all of these on bug 142498 and re-open it, no?
Comment 16•10 years ago
|
||
(In reply to Marc Bejarano from comment #15)
> it seems more logical to me to dupe all of these on bug 142498 and re-open
> it, no?
That bug is in the "Documentation" product and "Web developer" component which has been a graveyard in the last few years. I propose to use this one, if we want to do write this on MDN one day. I don't think it matters much which of the DUPES to use in the end, though. Feel free to re-triage if you feel strong about it.
Updated•9 years ago
|
Mentor: jypenator
Assignee | ||
Comment 17•9 years ago
|
||
I'm interested in taking a look at this, but http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html resolves to the generic AOL home page. I guess 2003 was a long time ago :)
Flags: needinfo?(jypenator)
Comment 18•9 years ago
|
||
here's a snapshot of 8/2/03:
https://web.archive.org/web/20030802193459/http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
Flags: needinfo?(jypenator)
Assignee | ||
Comment 19•9 years ago
|
||
Thanks. Lots of info so I'll take this bug. Please assign to me.
Comment 20•9 years ago
|
||
do you not see a "take" link next to the "Assigned To:" field in the bug summary?
Assignee | ||
Comment 21•9 years ago
|
||
No I don't. There is a pull-down on "Nobody's working on this, feel free to take it" that lists Profile, Activity, Mail. Where should I be looking?
Assignee | ||
Comment 22•9 years ago
|
||
No I don't. There is a pull-down on "Nobody's working on this, feel free to take it" that lists Profile, Activity, Mail. Where should I be looking?
Comment 23•9 years ago
|
||
i guess your current bugzilla permissions don't allow you to take bugs yet. if they did, you would see the "take" link right next to that pull-down. i just assigned it for you.
Assignee: nobody → dmcdonald999
Comment 24•9 years ago
|
||
and thanks for volunteering to work on this! :)
Assignee | ||
Comment 25•9 years ago
|
||
Yeah, I'm pretty new. Thanks
Assignee | ||
Comment 26•9 years ago
|
||
Question:
there are a number of functions documented as part of PAC: isPlainHostName(, dnsDomainIs(), localHostOrDomainIs(), isResolvable(), etc. I assume these are global functions? Should they each be documented on their own pages and then referred to be the PAC page? Should they be listed on the JavaScript Global Functions page?
Comment 27•9 years ago
|
||
They are part of the PAC API not of the Web API or even the JS API. These are different beast.
E.g. They will not be available from a Web pages, or from node.js.
That means they should not be listed under Web/API or as JS global functions.
I think it is not worth to have a multipage PAC docs, so I would say, document them in the page itself only.
Assignee | ||
Comment 28•9 years ago
|
||
Got it. Thanks.
Comment 29•9 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #27)
> They are part of the PAC API not of the Web API or even the JS API. These
> are different beast.
Moved to Networking/Necko:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Necko/Proxy_Auto-Configuration_%28PAC%29_file
See also:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Necko/Proxies_in_Necko
Assignee | ||
Comment 30•9 years ago
|
||
PAC doc is ready for review. I tested all of the syntax examples and found some previously undocumented or partially documented behavior having to do with parameter ordering. I added notes and warnings about this behavior.
PAC doc: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Necko/Proxy_Auto-Configuration_%28PAC%29_file
Glossary addition: https://developer.mozilla.org/en-US/docs/Glossary/PAC
Comment 31•9 years ago
|
||
From a content perspective it looks okay; can you find someone to do a technical review?
Assignee | ||
Comment 32•9 years ago
|
||
I will try and recruit someone.
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 33•8 years ago
|
||
Hi Marc,
I've been away for a while and see this bug still needs review. Would you be willing to give it a technical review?
Duncan
Flags: needinfo?(bmo)
Comment 34•8 years ago
|
||
hi duncan,
i don't feel particularly qualified. i was a light user of PAC many moons ago when i cc'd myself to this bug. haven't touched it in years.
Flags: needinfo?(bmo)
Comment 35•8 years ago
|
||
This has been polished and moved here https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_(PAC)_file
I think it's OK to call this done. We can open specific new bugs if necessary. Thanks again, Duncan!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•