58 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
mkaply%us.ibm.com
1fb11162df 83561, r=dveditz, calling convention correctness fix
git-svn-id: svn://10.0.0.236/trunk@206296 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 15:46:06 +00:00
timeless%mozdev.org
6ac43b7cd8 Bug 336970 crash [@ InstallTriggerGlobalInstall] "JS_ValueToString" result dereferenced without NULL check
r=mrbkap sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@202135 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 11:41:43 +00:00
bzbarsky%mit.edu
d8b949deec Do the security check using the script's principal, not its URI. Bug 342489,
r+sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@200692 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:55:14 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
igor%mir2.org
642c0ea402 Bug 338678: For source compatibility fields "uint16 extra,spare" in JSFunctionSpec are replaced by singe "uint32 extra". In this way we do need to update the current sources that list just 5 fields to include the additional ",0" corresponding to "spare" field. To quell GCC warnings all sources that list less then 5 fields of JSFunctionSpec are updated to explicitly list all 5 fields. r=mrbkap, s=brendan
git-svn-id: svn://10.0.0.236/trunk@198222 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 22:58:31 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
dveditz%cruzio.com
7ba28e0489 bug 315304 throw exception (return JS_FALSE) if we can't create the native object. r=dougt, sr=brendan, a=schrep
git-svn-id: svn://10.0.0.236/trunk@184255 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 19:58:28 +00:00
dveditz%cruzio.com
cea5fe43bc bug 304931 theme install prompt should obey whitelisting too; r=mconnor, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@182539 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 19:59:20 +00:00
dougt%meer.net
94085e172f Bug 302284. add xpi hash support to InstallTrigger.install(). r=dveditz, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@179031 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 06:46:21 +00:00
timeless%mozdev.org
bfb109b57a Bug 303654 InstallTrigger.install(null) crashes [@ JS_Enumerate]
patch by shutdown@flashmail.com r=dveditz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@177847 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 16:31:36 +00:00
pete%mozdevgroup.com
1678590d85 b=291178
InstallTrigger.getVersion gone in Firefox 1.0.3
r=timeless
sr=dveditz
--pete


git-svn-id: svn://10.0.0.236/trunk@177604 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:41:31 +00:00
dougt%meer.net
194f3ed612 Fixes 293331. r=dveditz, sr=jst, a=chase
git-svn-id: svn://10.0.0.236/trunk@175669 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 01:31:21 +00:00
timeless%mozdev.org
a961540bb0 Bug 295854 (new InstallVersion()).compareTo(/x/) crashes [@ConvertJSValToObj]
Marking JSCLASS_PRIVATE_IS_NSISUPPORTS on InstallVersionClass
remove extra definitions of ConvertJSValToObj to prevent confusion
r=dveditz sr=dveditz a=dveditz


git-svn-id: svn://10.0.0.236/trunk@174697 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 11:09:27 +00:00
vladimir%pobox.com
dc39365bf1 b=274271, blocked install notification bar does not appear when clicking on InstallTrigger link; patch from moz_bugzilla@exchangecode.com, r+sr=dveditz,a=asa
git-svn-id: svn://10.0.0.236/trunk@173728 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 04:32:41 +00:00
dveditz%cruzio.com
7792b0edf7 bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa


git-svn-id: svn://10.0.0.236/trunk@173419 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 23:08:09 +00:00
jst%mozilla.jstenback.com
1a6d8dca6a Backing out last change that was intended for a branch, not the trunk.
git-svn-id: svn://10.0.0.236/trunk@173227 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 21:22:33 +00:00
jst%mozilla.jstenback.com
abf029b52d Fixing remaining part of bug 292691. Make sure to do the appropriate uri load checks in all places in the xpinstall code. Patch by vladimir@pobox.com and dveditz@cruzio.com, r=dveditz@cruzio.com, r=vladimir@pobox.com, sr=jst@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@173226 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 21:22:32 +00:00
brendan%mozilla.org
38e9997ef0 Type-check method calls on wrong class of object, required for hand-rolled JS natives (290162, r=dveditz/sr=shaver/a=drivers).
git-svn-id: svn://10.0.0.236/trunk@172098 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 22:22:55 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
dveditz%cruzio.com
ac39763a00 bug 258798 InstallTrigger.enabled() should return only the global state, not the
effective whitelisted state. r=ben, sr=jst
bug 246375 installChrome(SKIN, should skip whitelist mechanism, use only global state. r=ben,sr=jst


git-svn-id: svn://10.0.0.236/trunk@162260 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 00:56:13 +00:00
dveditz%cruzio.com
e81677a2f3 bug 245062 InstallTrigger should CheckLoadURI
bug 240552 XPInstall ability controlled per-site r=danm,sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@157505 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-07 14:46:15 +00:00
gerv%gerv.net
f4294ea0f8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155026 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 14:37:35 +00:00
ben%bengoodger.com
6494975f04 227796 - XPInstall InstallTrigger API changes - add a parameter to the install js object that supports an icon, also make the install FE parameterizable via a pref. r=bsmedberg, dveditz.
230768 - add the ability to make a window flash only a certain number of times in the taskbar. dom stuff r/sr=jst, widget changes r=danm, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152640 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 03:46:30 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%netscape.com
ecae24eff4 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
mkaply%us.ibm.com
5472be58bb Adding newlines at the end of these files to proactively prevent HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@117310 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 15:02:41 +00:00
dveditz%netscape.com
0eeb9a3030 compareVersion() returns NOT_FOUND rather than comparing as if a missing
component had a version of 0.0.0.0. Removed some dead code. r=sgehani sr= mscott


git-svn-id: svn://10.0.0.236/trunk@114725 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 09:55:19 +00:00
dprice%netscape.com
1329c6fda1 66722 r=dveditz sr=mscott
removed unnecessary if statements


git-svn-id: svn://10.0.0.236/trunk@109986 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 07:50:09 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
dbragg%netscape.com
3726fcb21f Fix for bug 50942. Now I get the parent from the JScontext instead of the hidden window. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:52:56 +00:00
scc%mozilla.org
00529932a5 fix bustage, |const| needed on Windows
git-svn-id: svn://10.0.0.236/trunk@72078 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:21:53 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +00:00
dveditz%netscape.com
a84476f045 First cut at chrome install
git-svn-id: svn://10.0.0.236/trunk@66978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:53:38 +00:00
scc%netscape.com
9b476989bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:58 +00:00
jdunn%netscape.com
659b2712ed Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
dveditz%netscape.com
e6ffa26b48 first hack to get relative URLS working in triggers
git-svn-id: svn://10.0.0.236/trunk@54142 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 12:01:19 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dveditz%netscape.com
3d614afce1 Bugfix for 9604, 8138. r=cathleen, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@49153 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 21:28:03 +00:00
dougt%netscape.com
5c73b941b3 Fixed bug 13835. InstallTrigger.GetVersion()
git-svn-id: svn://10.0.0.236/trunk@47824 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 20:15:58 +00:00
dveditz%netscape.com
53f15fb718 replaces nsVector with nsVoidArray everywhere. Also bugs 10752, 10753, 10755, 11666
git-svn-id: svn://10.0.0.236/trunk@45432 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:29:49 +00:00
sgehani%netscape.com
03358dc8e0 Fix for bug 10303.
git-svn-id: svn://10.0.0.236/trunk@44525 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:36:06 +00:00
dveditz%netscape.com
44049d369c fix bug 9603
git-svn-id: svn://10.0.0.236/trunk@43176 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 06:58:55 +00:00
dveditz%netscape.com
d57caf0d27 minor bugfixing
git-svn-id: svn://10.0.0.236/trunk@42992 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 18:47:24 +00:00