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
jst%mozilla.org
1115b57b54
Fixing bug 389856. Fix dialog argument handling. r=mrbkap@gmail.com, sr=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@231248 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-01 22:38:44 +00:00
jonas%sicking.cc
52ff6b27a1
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
...
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
mrbkap%gmail.com
0d377e63f9
Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@231064 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 19:18:07 +00:00
jst%mozilla.org
43a9473fed
Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@231061 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 17:52:53 +00:00
bzbarsky%mit.edu
fc38cd3c24
Actually return a failure rv on failure. Bug 388115, r=jst, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@230410 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 03:22:24 +00:00
jst%mozilla.org
51437c5cf3
Landing fix for bug 387478. NS_ScriptErrorReporter() no longer needs to check for a null report. Patch by sciguyryan@gmail.com, r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@229774 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 00:04:11 +00:00
mozilla.mano%sent.com
97e0e0c008
Bug 385872 - Strict warnings should only be enabled for chrome by default (in debug builds). r=jst, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@229596 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 08:05:54 +00:00
jst%mozilla.org
b709961d52
Fixing tinderbox orange. r=mrbkap@gmail.com
...
git-svn-id: svn://10.0.0.236/trunk@229581 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 00:24:26 +00:00
jst%mozilla.org
8cad1b7295
Fixing bug 363897. Don't give error location information to script that don't have access to the location. r=mrbkap@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@229574 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 22:07:07 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sdwilsh%shawnwilsher.com
a8525e032d
Bug 374334 - Uncaught exception with cloneNode method and frameset element. Patch by Alex Vincent <ajvincent@gmail.com>. r=jst,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229403 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 01:38:56 +00:00
igor%mir2.org
e28b0c63ed
Bug 378793: Patch from Mike Moening and me to implement per-context debug hooks. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@228111 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 06:44:20 +00:00
bclary%bclary.com
a59cb1955d
Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@227221 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 05:55:56 +00:00
peterv%propagandism.org
4fa7637d45
Fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@227001 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 09:00:11 +00:00
peterv%propagandism.org
66b3ffcda2
Fix for bug 377884 (Switch nsXPConnect::Traverse to use tracing). r=jst/igor, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@227000 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 08:42:10 +00:00
peterv%propagandism.org
4d197ac7f6
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
brendan%mozilla.org
545348b358
Set JSOPTION_ANONFUNFIX as one of the default options (377433, r+sr=jst).
...
git-svn-id: svn://10.0.0.236/trunk@224513 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-13 23:06:40 +00:00
sayrer%gmail.com
9b3b08e252
bug 375444. silence overflow warning in nsJSEnvironment.cpp using gcc 4.1.2. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222441 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 02:08:19 +00:00
crowder%fiverocks.com
a291df1f80
Bug 330569: provide configuration option for enabling new relimit option in JS, r=mrbkap, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222288 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 21:27:14 +00:00
peterv%propagandism.org
fbe71aa7e3
Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
peterv%propagandism.org
6db49c42d6
Another bustage fix.
...
git-svn-id: svn://10.0.0.236/trunk@221537 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:58:45 +00:00
peterv%propagandism.org
4fff00b28c
Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
abdbcef879
Report chrome JS errors to the error console again. Bug 324142, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@221190 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 01:05:46 +00:00
peterv%propagandism.org
e3e0240f6a
Fix for bug 368369 (nsIScriptContextOwner looks unused). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@220731 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:33:50 +00:00
dbaron%dbaron.org
4e5f01e33a
Don't clear scope on Object.prototype. b=368958 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@219553 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 04:48:20 +00:00
jst%mozilla.org
bc8b21f33b
Attempting to fix crasher bug 367006. Reorder some code to make the GC timer book-keeping reliable. r+sr=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@218943 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:19:31 +00:00
jst%mozilla.org
0530ef12c6
Fixing bug 366393. Attempt to schedule GC between pageloads when possible rather than slowing down page load with GC calls while loading. r+sr=bugmail@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@218180 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 00:02:58 +00:00
graydon%mozilla.com
75bfd7865e
Bug 333078: XPCOM cycle collector, first performance-related followup patch.
...
Reorganizes collection throttling to coincide with existing JS_GC scheme.
git-svn-id: svn://10.0.0.236/trunk@217799 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 01:44:42 +00:00
graydon%mozilla.com
3998c66e23
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
bzbarsky%mit.edu
932d12bfe8
Make it possible to start/stop jprof programmatically in C++ inside gklayout.
...
Bug 354069, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216879 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:47:47 +00:00
ajschult%verizon.net
6cb4fa848c
Bug 361170: "never show this dialog again" may be too confusing for end user. Patch by Benoît <benoit@gawab.com>, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@216040 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:38:50 +00:00
vladimir%pobox.com
ece4ca3cad
backing out bug 333078, xpcom cycle collector due to perf issues
...
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
...
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
bzbarsky%mit.edu
3a045e820f
Fix crash bug 355811. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@213459 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 21:32:54 +00:00
bzbarsky%mit.edu
24452c8d4d
Make on* (event handler) properties show up inside |with| blocks by making sure
...
we resolve them even when assigning. Bug 159849, r=peterv, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@213284 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 03:37:15 +00:00
dbaron%dbaron.org
9216c4e082
Call JS_ClearScope up the global object's prototype chain to fix leaks. Consolidate the cleanup of non-fastback-cached inner windows currently spread throughout SetNewDocument into a pair of calls to FreeInnerObjects, and various other cleanup. b=353090 r=jst sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@212044 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-20 01:13:59 +00:00
db48x%yahoo.com
d26cc390f5
bug 353420: [@ PrintWinURI] inverted null check either crashes or errors
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@212041 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-20 00:53:43 +00:00
bzbarsky%mit.edu
b360e9dfd1
Fix allocator mismatch bug 353109. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@211968 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:04:46 +00:00
dbaron%dbaron.org
b3ece9b8b4
Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst
...
git-svn-id: svn://10.0.0.236/trunk@209916 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 22:58:11 +00:00
Olli.Pettay%helsinki.fi
fe7d075767
Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@209059 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 10:00:26 +00:00
bzbarsky%mit.edu
0485771107
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@208365 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 23:23:06 +00:00
bzbarsky%mit.edu
4e376c51c2
Work around hidden window stuff. Bug 346984 super-hacky patch, r=mrbkap, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@208355 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 21:49:14 +00:00
mhammond%skippinet.com.au
9329a9e02d
Correct assertion message, as requested by bz
...
git-svn-id: svn://10.0.0.236/trunk@206666 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 09:31:14 +00:00
igor.bukanov%gmail.com
f96eaa3597
Bug 342854: Using JSContext callback to ensure that C stack limit is always set. r=brendan,mrbkap,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@205904 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 08:39:04 +00:00
jst%mozilla.jstenback.com
f44d5f241d
Fixing build bustage by backing out part of my last change.
...
git-svn-id: svn://10.0.0.236/trunk@205005 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 23:30:45 +00:00
jst%mozilla.jstenback.com
e60fe84ab3
Fixing bug 335058. Increase the default for the time we wait (from 5 to 10 seconds) before alerting the user about a possibly infinitely looping script, and give chrome an independent limit (20 seconds). r=bzbarsky@mit.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@205000 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 22:36:36 +00:00
mrbkap%gmail.com
8da07e3a1b
Fixing DEBUG-only bustage
...
git-svn-id: svn://10.0.0.236/trunk@201917 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 00:26:56 +00:00
mrbkap%gmail.com
0f8aa74e71
Make Function (and window.Function refer to the correct window's function). bug 343966, r=jst sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@201908 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:28:09 +00:00
mrbkap%gmail.com
84c44f5b10
Add a couple of functions to make debuggin easier:
...
* JSObject2Win: Given a context and a |JSObject *|, it returns an nsGlobalWindow pointer if the JSObject is wrapping a window.
* PrintWinURI: Given an nsGlobalWindow, it prints its document's URI.
* PrintWinCodebase: As above, but using the window's principal's codebase.
bug 344181, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@201903 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 21:03:52 +00:00