138 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
rods%netscape.com
813a66daa1 patch from net (thanks Boris)
This fix correctly sets the content type for uploads for multipart posts
b=60737, r=rods sr=buster


git-svn-id: svn://10.0.0.236/trunk@82969 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 14:14:20 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
pollmann%netscape.com
81cf051d9d Bug 57333: Remove search portion of form action - fixes Yahoo form post failure. r=rods, harishd, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81655 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 03:55:19 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
pollmann%netscape.com
80287fae49 Bug 54966, 54845, 55906: Prevent psm-glue from accidentally cancelling form submit for file: urls, javascript: urls, and submits to 127.0.0.1 r=javi,jst sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80924 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 09:53:29 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
warren%netscape.com
b8f243ef1f Bug 15623. Fixed registration of nsKeygenHandler.
git-svn-id: svn://10.0.0.236/trunk@77214 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:48:50 +00:00
pollmann%netscape.com
6c9abb09ae Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:46:47 +00:00
pollmann%netscape.com
591cd3bd14 Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:03:58 +00:00
pollmann%netscape.com
f8b1d4c014 Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:32:54 +00:00
ftang%netscape.com
b84273a322 fix 5313. r-hnotta a=ftang listen to the ACCEPT-CHARSET attribute
before listen to the docuement charset to decide which charset
for form submition


git-svn-id: svn://10.0.0.236/trunk@75217 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:37:06 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
pollmann%netscape.com
5979bfb8c3 Bug 41585: Don't chop of query string when POSTing forms, only when GETting them r=harishd
git-svn-id: svn://10.0.0.236/trunk@72869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:49:01 +00:00
mjudge%netscape.com
6209ff4eb0 form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:16:20 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
pollmann%netscape.com
9ab3972a4e Bug 22983: Fix extra newlines in bugzilla updates when not logged into bugzilla on Linux. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:04:51 +00:00
pollmann%netscape.com
559cee18e9 Bug 30721: Crash fix for failing to get document URL during form submission, r=nisheeth
Bug 38664: Leak of encoder during form submission, fix thanks to yueheng.xu@intel.com, r=self, nisheeth


git-svn-id: svn://10.0.0.236/trunk@69082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:37:49 +00:00
yueheng.xu%intel.com
bf4b7bf752 fix the platformencoder leak (#38664)
git-svn-id: svn://10.0.0.236/trunk@69072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:35 +00:00
pollmann%netscape.com
2dae2dfd5c Bug 33203: Form submit observer changes for psm-glue; r=dougt
git-svn-id: svn://10.0.0.236/trunk@66838 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:50 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
jbetak%netscape.com
b992d245b2 r=pollmann fixed 29062 file upload does not work if file path contains character encoded different than the docuemnt charset
git-svn-id: svn://10.0.0.236/trunk@64305 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:32:38 +00:00
rods%netscape.com
ae53f26d09 removed var decl to remove warning
git-svn-id: svn://10.0.0.236/trunk@64234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:48:20 +00:00
pollmann%netscape.com
44e2c52b71 Bug 18728: Forms should submit variables in content order, even through reframe of child elements r=harishd
git-svn-id: svn://10.0.0.236/trunk@64101 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:42:40 +00:00
pollmann%netscape.com
272c49ce25 Bug 25330: Form with no action specified should truncate old query string r=harishd
git-svn-id: svn://10.0.0.236/trunk@64100 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:38:51 +00:00
pollmann%netscape.com
d5e9d118e8 Bug 26917: Form submit should not append variables to javascript: actions r=harishd
git-svn-id: svn://10.0.0.236/trunk@64099 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:36:31 +00:00
pollmann%netscape.com
46590e39b1 Bug 31852: Empty string value for multipart form submission now submits, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:48:07 +00:00
pollmann%netscape.com
75c20132b3 Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:30:57 +00:00
valeski%netscape.com
d251a79517 26336. a=jar, r=norris,pollman. We now allow uri creation failure to pass through to the webshell so we can throw error dialogs if need be. This allows 'https not supported' dialogs to be thrown from form submissions when https isn't installed
git-svn-id: svn://10.0.0.236/trunk@61885 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:36:52 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
dbaron%fas.harvard.edu
432fea588c Fix bug 28544: stop leaking webshells when user enters URL in the URL bar. r=karnaze@netscape.com a=rickg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61418 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 04:06:16 +00:00
rods%netscape.com
188627a19c removing unused varible to remove warning
r=self


git-svn-id: svn://10.0.0.236/trunk@61067 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:17:59 +00:00
rods%netscape.com
9616895e6a radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
5609eaece7 They now cache their state properly in the PresState
b 27063 r=kmmclusk


git-svn-id: svn://10.0.0.236/trunk@60882 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:05:56 +00:00
rods%netscape.com
7487b46e5f ifdef'ing out some new functionality for radio buttons in standard mode
a=leaf r=self


git-svn-id: svn://10.0.0.236/trunk@60250 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 20:19:19 +00:00
rods%netscape.com
cffeb53a49 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
dp%netscape.com
63c39397dd Fixing leak of observers when notification of OnSubmit(). This fixes
walletservice from being leaked. r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60070 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:31:08 +00:00
jdunn%netscape.com
0a5be1f000 changing false to PR_FALSE... since false isn't defined on all platforms
git-svn-id: svn://10.0.0.236/trunk@60057 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:30:53 +00:00
valeski%netscape.com
24dc7be063 26219. r=rhp. Form submission file extension to MIME type mapping was broken. The means that we weren't reporting the correct MIME type of files that were being uploaded
git-svn-id: svn://10.0.0.236/trunk@59888 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 18:37:51 +00:00
sdagley%netscape.com
69d7139a1e Fix #22428 where attachments didn't work on Mac as the length of the form data wasn't being computed properly. In nsFormFrame::ProcessAsMultipart now uses an nsILocalFile to get file size rather than PR_GetFileInfo as the path to the file is in native format and PR_GetFileInfo doesn't handle native Mac paths. r=saari
git-svn-id: svn://10.0.0.236/trunk@59746 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 05:55:54 +00:00
sdagley%netscape.com
c109484ffd nsFormFrame::GetFileNameWithinPath didn't work properly for Mac or Unix paths. Found as part of investigation of bug #22428 but not a fix by itself. r=gagan
git-svn-id: svn://10.0.0.236/trunk@59737 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 04:11:51 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
norris%netscape.com
b0fea289c9 Work on 13838 missing property checks
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@57750 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:08:44 +00:00
pollmann%netscape.com
f9bbcff754 Bug 22526: Correct bug where form was submitted by pressing enter in last text input if odd number of inputs r=harishd
git-svn-id: svn://10.0.0.236/trunk@57376 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:55:54 +00:00
pollmann%netscape.com
de69b0b086 Bug 23376: <form action="foo.cgi?bar=baz" method="get"> should no longer result in two ?'s r=harishd
git-svn-id: svn://10.0.0.236/trunk@57375 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:34:12 +00:00