936 Commits

Author SHA1 Message Date
jonas%sicking.cc
0d97918c27 Bug 394052: Don't leak when binding urls refer to the same document. Patch by Eli Friedman. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@238937 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 00:05:03 +00:00
jonas%sicking.cc
441b585193 Bug 401463 and others. Make us call InstallImplementation in more places in order to behave more like we did when InstallImplementation was called during LoadBindings. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@238401 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 23:35:51 +00:00
jonas%sicking.cc
24a38fd22a Bug 400735: Hold strong reference while calling UnblockOnload. r=smaug sr=jst a=beltzner
git-svn-id: svn://10.0.0.236/trunk@238318 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 02:14:52 +00:00
peterv%propagandism.org
a0ddff3e86 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238286 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 13:45:10 +00:00
peterv%propagandism.org
916fca8f47 Backing out once more to fix orange.
git-svn-id: svn://10.0.0.236/trunk@238262 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 12:49:33 +00:00
peterv%propagandism.org
dbbdaa7c7f Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238261 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 11:14:43 +00:00
jonas%sicking.cc
5233d883cd bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@238237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 01:46:11 +00:00
jonas%sicking.cc
4e9c5f93e2 Bug 345711: Don't call nsXBLBinding::InstallImplementation while in reflow as that can cause duplicated frames for plugins and other badness. r=bz/jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@238234 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 00:14:43 +00:00
peterv%propagandism.org
0777c3b24f Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@238205 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 14:15:29 +00:00
peterv%propagandism.org
8e9fd20749 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238201 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 13:25:35 +00:00
bzbarsky%mit.edu
26cf0c7ced Don't install fields during binding teardown. Bug 400705, r+sr=sicking,
a=beltzner


git-svn-id: svn://10.0.0.236/trunk@238104 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 22:13:01 +00:00
bzbarsky%mit.edu
3c8c27fec6 Adding testx
git-svn-id: svn://10.0.0.236/trunk@237949 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 05:30:53 +00:00
bzbarsky%mit.edu
ddeeabf55f Actually unhook the binding proto when we're tearing down the binding anonymous
content.  Hasn't worked in years, apparently.  Bug 398135, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@237946 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 04:22:43 +00:00
jonas%sicking.cc
e2a13b987b backing out due to test failure
git-svn-id: svn://10.0.0.236/trunk@237943 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 01:22:48 +00:00
jonas%sicking.cc
6b7af38086 Bug 345711: Call InstallImplementation when it's safe, rather tha directly from LoadBindings. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@237942 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 00:48:09 +00:00
Olli.Pettay%helsinki.fi
9856f5cc6a Mochitest for bug 378866
git-svn-id: svn://10.0.0.236/trunk@237659 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 15:43:39 +00:00
Olli.Pettay%helsinki.fi
a497c0d8dc Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@237649 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 11:07:29 +00:00
bugzilla%standard8.plus.com
936e698241 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237469 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 18:41:55 +00:00
bzbarsky%mit.edu
07e627a9ea Fix build bustage by not using debug-only member in opt code. Bug 398668
git-svn-id: svn://10.0.0.236/trunk@237344 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 01:23:09 +00:00
sayrer%gmail.com
8a7e5abd93 Bustage fix for bug 398668
git-svn-id: svn://10.0.0.236/trunk@237343 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 01:13:52 +00:00
bzbarsky%mit.edu
dc9c2f83af Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237342 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:35:01 +00:00
bzbarsky%mit.edu
e5bb426135 Make really sure that pending binding constructor events block onload. Bug
394676, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@237229 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 23:38:32 +00:00
bzbarsky%mit.edu
6c25c9877d Don't unlink so aggressively. Bug 398083, r+sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@237073 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 14:40:39 +00:00
bzbarsky%mit.edu
511ddb65c3 Skip installing fields which have no text. Bug 397924, r+sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@237072 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 14:38:35 +00:00
Olli.Pettay%helsinki.fi
5deadb060c Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@236978 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 10:02:34 +00:00
bzbarsky%mit.edu
b2edd50250 Fix test. Bug 372769.
git-svn-id: svn://10.0.0.236/trunk@236838 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 14:22:51 +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
surkov.alexander%gmail.com
fa2dd72cb3 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@233915 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 08:22:19 +00:00
jag%tty.nl
19ac74ce3d Bug 393809: Fix compile warning in nsXBLPrototypeHandler.cpp. r=/sr=Neil, a=sicking
git-svn-id: svn://10.0.0.236/trunk@233901 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 01:55:55 +00:00
philringnalda%gmail.com
4b81105879 Bug 365810 - Ctrl+Y for Edit->Redo broken, patch by Simon Bünzli <zeniko@gmail.com>, r=aaronlev sr=neil a1.9=bz
git-svn-id: svn://10.0.0.236/trunk@233002 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 03:09:59 +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
Olli.Pettay%helsinki.fi
5d55dd4186 Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking
git-svn-id: svn://10.0.0.236/trunk@232835 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 06:48:48 +00:00
Olli.Pettay%helsinki.fi
41ebdbe27d Bug 373911, r=bz, sr=dbaron, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@232478 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 21:45:00 +00:00
Olli.Pettay%helsinki.fi
d6f6740639 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, remove XXX, r+sr=jst, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@232239 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 21:46:33 +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
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
benjamin%smedbergs.us
0c44b4be00 Bug 386025 - Expose cycle-collection symbols, r=graydon
git-svn-id: svn://10.0.0.236/trunk@231529 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 14:34:05 +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
bzbarsky%mit.edu
4738c3572d Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.


git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
6522f5db39 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@229735 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 19:44:27 +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
Olli.Pettay%helsinki.fi
65af6c1a8d Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229426 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 13:47:51 +00:00
kairo%kairo.at
f23819d638 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers
git-svn-id: svn://10.0.0.236/trunk@229425 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 13:13:46 +00:00
Olli.Pettay%helsinki.fi
84f73985b2 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229421 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 11:49:54 +00:00
bzbarsky%mit.edu
4e2bfe0308 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@229261 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 18:45:40 +00:00
dbaron%dbaron.org
2b826bf2bd Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@228819 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 04:51:37 +00:00
Olli.Pettay%helsinki.fi
6faf1a0a1c wasn't going to check in this
git-svn-id: svn://10.0.0.236/trunk@228813 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 04:25:27 +00:00