3315 Commits

Author SHA1 Message Date
jst%mozilla.org
b81594b896 Landing fix for bug 397571. Only expose known safe functions to untrusted script in nsIDOMWindowUtils. Patch by suryaismail@gmail.com, r+sr+a=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@237549 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 21:03:12 +00:00
jst%mozilla.org
4ac99f461f Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@237500 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 01:24:29 +00:00
sayrer%gmail.com
c28a63c3c6 Bug 397601. DOM storage leaks on performance graph server pages. r=enndeakin, sr=jst, a=sicking
git-svn-id: svn://10.0.0.236/trunk@237499 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 01:07:36 +00:00
mrbkap%gmail.com
0fae19062e Deal with sites setting our proto's __proto__ to null. bug 398933, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@237491 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 22:50:49 +00:00
dcamp%mozilla.com
3aed6381f1 let chrome check globalStorage usage for a domain. b=396249, r=enndeakin, sr=jst, a=jst
git-svn-id: svn://10.0.0.236/trunk@237256 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 06:05:33 +00:00
Olli.Pettay%helsinki.fi
7538a22e42 Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@237085 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 16:56:11 +00:00
Olli.Pettay%helsinki.fi
e62ab6eeb6 back out Bug 373462 / bug 385322 (again :( )
git-svn-id: svn://10.0.0.236/trunk@236922 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:33:24 +00:00
Olli.Pettay%helsinki.fi
8cb7efe95a Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@236920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 15:02:58 +00:00
bzbarsky%mit.edu
722f54dab5 Fix a few scriptable helpers to correctly communicate
NS_SUCCESS_I_DID_SOMETHING.  Bug 396843, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@236839 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 14:28:17 +00:00
bzbarsky%mit.edu
806d62b1e1 Relanding bug 372769 with some cycle collection changes to fix leaks.
r=mrbkap, sr=sicking, with r=sicking on the leak fixes.


git-svn-id: svn://10.0.0.236/trunk@236837 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 13:45:03 +00:00
bzbarsky%mit.edu
3ad55d39e0 Backing out bug 372769 due to leaks.
git-svn-id: svn://10.0.0.236/trunk@236713 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 14:39:32 +00:00
bzbarsky%mit.edu
5887e44e55 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@236710 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 13:55:07 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c backout the test patch for Bug 373462 and 385322
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
Olli.Pettay%helsinki.fi
0a14b4e8d9 Bug 396652, gecko scrolls on activate event (mouse click) with gtk embeds, r+sr+a=roc, p=iainnicol-mozbugs2007@yahoo.co.uk+me
git-svn-id: svn://10.0.0.236/trunk@236496 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 15:57:03 +00:00
Olli.Pettay%helsinki.fi
f316d5eeb5 backout patch for Bug 373462, Bug 385322
git-svn-id: svn://10.0.0.236/trunk@236434 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 10:00:48 +00:00
Olli.Pettay%helsinki.fi
66a725f097 Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
git-svn-id: svn://10.0.0.236/trunk@236430 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:54:36 +00:00
bzbarsky%mit.edu
ab03af38a5 Adding test.
git-svn-id: svn://10.0.0.236/trunk@236419 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 03:39:37 +00:00
sayrer%gmail.com
ff6faa4cdf Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan
git-svn-id: svn://10.0.0.236/trunk@236271 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-19 00:26:41 +00:00
Olli.Pettay%helsinki.fi
cbd5ca81d1 Bug 395426, Contextmenu opened using keyboard should have .button == 0, r=enndeakin,sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@236199 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 07:25:51 +00:00
brendan%mozilla.org
a0fb96ec55 Back-out due to test failure.
git-svn-id: svn://10.0.0.236/trunk@236183 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 01:22:20 +00:00
brendan%mozilla.org
27709655b0 Make GCF_SYSTEM immutable per object (396487, r=igor).
git-svn-id: svn://10.0.0.236/trunk@236177 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 00:47:43 +00:00
dbaron%dbaron.org
032fd3009f Add shouldBeFreed calls for nsJSContext. b=394566 r+sr=peterv a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236175 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 00:30:58 +00:00
mrbkap%gmail.com
cd99d05c53 Set the script's filename correctly and don't treat the lack of a filename as a
failure. bug 391470, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@236035 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 16:51:12 +00:00
jst%mozilla.org
e0304426c5 Fixing bug 393900. Make windows opened with showModalDialog() obey window feature prefs. r+sr=jonas@sicking.cc, a=dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@235382 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 20:30:16 +00:00
tor%cs.brown.edu
7102e4de0e Bug 320622 - removeAttribute doesn't effect some underlying DOM properties.
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@233989 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 23:07:35 +00:00
jwalden%mit.edu
b6f3bdf388 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
dcamp%mozilla.com
1a066ed8a8 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@233523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:18:48 +00:00
jwalden%mit.edu
970dfaf24a Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +00:00
jst%mozilla.org
6507b376bb Fixing thunderbird bustage.
git-svn-id: svn://10.0.0.236/trunk@233270 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 01:30:04 +00:00
jst%mozilla.org
38384a58b8 Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at
git-svn-id: svn://10.0.0.236/trunk@233263 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 00:28:33 +00:00
jwalden%mit.edu
39de123001 Bug 393974 - Tree walkers leak with a non-null filter. r=smaug, sr=sicking, a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@233254 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 23:42:42 +00:00
tor%cs.brown.edu
754dacfad7 Bug 392928 - new style nsSVGEnum. r=longsonr, sr=roc, a=roc
git-svn-id: svn://10.0.0.236/trunk@233166 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 23:11:19 +00:00
philringnalda%gmail.com
cc891efac1 Bug 393713 – Landing bug 393300 broke building without MOZ_STORAGE, patch by romaxa <romaxa@gmail.com>, r+sr+a1.9=jst
git-svn-id: svn://10.0.0.236/trunk@233131 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 00:13:54 +00:00
mrbkap%gmail.com
9667a6e07c Be consistent as to when we forward to the inner window. bug 393669, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@233078 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 20:11:34 +00:00
cbarrett%mozilla.com
1e35577cb1 Bug 393117 - Remove native resize API. r=josh r=mconnor sr+a1.9=pav
git-svn-id: svn://10.0.0.236/trunk@233052 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 01:55:29 +00:00
sayrer%gmail.com
8ce68a71f1 Bug 393300. DOMStorage leaks mozStorage classes on shutdown. r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@232985 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 22:37:05 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
igor%mir2.org
88977c683b Bug 386265: missing commit to fix compilation.
git-svn-id: svn://10.0.0.236/trunk@231899 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 20:40:43 +00:00
smontagu%smontagu.org
62c6bac8bc Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst
git-svn-id: svn://10.0.0.236/trunk@231895 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 18:37:16 +00:00
enndeakin%sympatico.ca
5c5f29e35c Bug 389083, domstorage tests not outputing results, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@231861 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:44:28 +00:00
jst%mozilla.org
8bcbb74335 Fixing orange due to fix for bug 390275.
git-svn-id: svn://10.0.0.236/trunk@231766 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 23:53:23 +00:00
jst%mozilla.org
4abaf2e122 Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:30:30 +00:00
jst%mozilla.org
4e9236c3d7 Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@231754 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:19:59 +00:00
jst%mozilla.org
450dd656cb Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231748 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:03:02 +00:00
sayrer%gmail.com
a15ee71f6e Bug 375543. Add better diagnostics to failures. Patch by John Resig. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@231694 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 05:48:58 +00:00
jst%mozilla.org
0a69d03620 Backing out tests to fix orange.
git-svn-id: svn://10.0.0.236/trunk@231563 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 00:30:30 +00:00
jst%mozilla.org
4a2f7d6ccd Landing tests for bug 280959. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com
git-svn-id: svn://10.0.0.236/trunk@231560 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 23:12:07 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
Olli.Pettay%helsinki.fi
adb2ce6ef4 Bug 347480, Potentially incorrect script context used for event handlers, r+sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@231505 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 13:23:03 +00:00