Commit Graph

992 Commits

Author SHA1 Message Date
jonas@sicking.cc
3253b52030 Bug 394052: Don't leak when binding urls refer to the same document. Patch by Eli Friedman. r/sr=sicking 2007-11-07 16:05:03 -08:00
jonas@sicking.cc
7fd1b7262b 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 2007-10-31 16:35:51 -07:00
jonas@sicking.cc
ef00ebb9f1 Bug 400735: Hold strong reference while calling UnblockOnload. r=smaug sr=jst a=beltzner 2007-10-29 19:14:52 -07:00
peterv@propagandism.org
2e01f470e6 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). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
8aff563c48 Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
abb09e26b6 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). 2007-10-28 04:14:40 -07:00
jonas@sicking.cc
4c1a3910ac 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 2007-10-26 18:46:09 -07:00
jonas@sicking.cc
da38989add 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 2007-10-26 17:14:43 -07:00
peterv@propagandism.org
a84948aa32 Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
3a33ff3fcf 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). 2007-10-26 06:25:32 -07:00
bzbarsky@mit.edu
607af1ac22 Don't install fields during binding teardown. Bug 400705, r+sr=sicking, a=beltzner 2007-10-24 15:13:00 -07:00
bzbarsky@mit.edu
eb0d4e9aff Adding testx 2007-10-19 22:30:53 -07:00
bzbarsky@mit.edu
b3ecb20eb7 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 2007-10-19 21:22:43 -07:00
jonas@sicking.cc
013692da5a backing out due to test failure 2007-10-19 18:22:48 -07:00
jonas@sicking.cc
e4e4beee2c Bug 345711: Call InstallImplementation when it's safe, rather tha directly from LoadBindings. r/sr=jst 2007-10-19 17:48:09 -07:00
Olli.Pettay@helsinki.fi
c51786659a Mochitest for bug 378866 2007-10-12 08:43:39 -07:00
Olli.Pettay@helsinki.fi
54cd05e15d Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+ 2007-10-12 04:07:29 -07:00
bugzilla@standard8.plus.com
9d3c3788b2 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
bzbarsky@mit.edu
98f7334314 Fix build bustage by not using debug-only member in opt code. Bug 398668 2007-10-05 18:23:09 -07:00
sayrer@gmail.com
080b478af0 Bustage fix for bug 398668 2007-10-05 18:13:52 -07:00
bzbarsky@mit.edu
48541412c1 Fix a few issues in bfcache and XBL when javascript is being toggled on and off. Bug 398668, r+sr+a=jst 2007-10-05 17:35:00 -07:00
bzbarsky@mit.edu
66461b8ebc Make really sure that pending binding constructor events block onload. Bug 394676, r+sr+a=sicking 2007-10-03 16:38:32 -07:00
bzbarsky@mit.edu
cdc3077d53 Don't unlink so aggressively. Bug 398083, r+sr+a=sicking 2007-10-02 07:40:39 -07:00
bzbarsky@mit.edu
c18ce4f9cf Skip installing fields which have no text. Bug 397924, r+sr+a=sicking 2007-10-02 07:38:35 -07:00
Olli.Pettay@helsinki.fi
0fd7a1c518 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
bzbarsky@mit.edu
f9ef895709 Fix test. Bug 372769. 2007-09-28 07:22:51 -07:00
bzbarsky@mit.edu
c8b1de51b9 Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes. 2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu
50fd4b81f0 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu
ffd52a5efc Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
surkov.alexander@gmail.com
5ef16448a2 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 01:22:17 -07:00
jag@tty.nl
c7e74c94e5 Bug 393809: Fix compile warning in nsXBLPrototypeHandler.cpp. r=/sr=Neil, a=sicking 2007-09-04 18:55:55 -07:00
philringnalda@gmail.com
a92cdafb02 Bug 365810 - Ctrl+Y for Edit->Redo broken, patch by Simon Bünzli <zeniko@gmail.com>, r=aaronlev sr=neil a1.9=bz 2007-08-23 20:09:59 -07:00
masayuki@d-toybox.com
a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
Olli.Pettay@helsinki.fi
8b7efda7b9 Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking 2007-08-21 23:48:47 -07:00
Olli.Pettay@helsinki.fi
9bf4c3c4d7 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
Olli.Pettay@helsinki.fi
b018d96491 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, remove XXX, r+sr=jst, a=1.9+ 2007-08-16 14:46:33 -07:00
jst@mozilla.org
5f96a07bac Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
bzbarsky@mit.edu
16e6040261 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 2007-08-07 18:16:09 -07:00
benjamin@smedbergs.us
5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
ginn.chen@sun.com
d0ed3cca65 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
bzbarsky@mit.edu
d074804c35 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.
2007-07-18 14:56:57 -07:00
bzbarsky@mit.edu
4d53ccf996 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.
2007-07-12 13:05:45 -07:00
bzbarsky@mit.edu
0a0534efd5 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
f4dbc00b25 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 06:47:50 -07:00
kairo@kairo.at
3f7d89ed2b backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 06:13:46 -07:00
Olli.Pettay@helsinki.fi
ddce65c374 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
bzbarsky@mit.edu
31793a2838 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
2007-07-03 11:45:39 -07:00
dbaron@dbaron.org
ca97347f74 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 2007-06-26 21:51:37 -07:00
Olli.Pettay@helsinki.fi
3c59bb5998 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
1ed587d4b9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
Olli.Pettay@helsinki.fi
df557c69c7 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
4f3b4ab01c Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
jonas@sicking.cc
66651c69a1 Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jonas@sicking.cc
4e9f5cf70c Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
peterv@propagandism.org
38351693bb Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 09:05:42 -07:00
peterv@propagandism.org
8194756018 Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 13:50:21 -07:00
peterv@propagandism.org
bb85b0ed7a Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org
2bf1f790de Temporary bustage fix. 2007-05-24 07:28:40 -07:00
peterv@propagandism.org
5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
jonas@sicking.cc
070e2f3286 Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
bzbarsky@mit.edu
63683ac1fe Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking 2007-05-17 11:31:31 -07:00
jonas@sicking.cc
495c95a7a4 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
ba885ad99c Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
3fffd1fdc3 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
gavin@gavinsharp.com
ff7865e05c Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 10:29:19 -07:00
bzbarsky@mit.edu
3e6af11b30 Fix long-standing XBL bug where we didn't update insertion points correctly insome cases. Bug 375299, r+sr=sicking 2007-04-26 21:06:45 -07:00
peterv@propagandism.org
f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
75d0ec2b2f Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
Olli.Pettay@helsinki.fi
ca17a7a459 Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 09:28:53 -07:00
martijn.martijn@gmail.com
990b54c762 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
Olli.Pettay@helsinki.fi
cedf89817e Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 05:19:44 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
asqueella%gmail.com
2e26a572cc decomtaminate nsIXULPrototypeCache (bug 364329)
r=smaug, sr=roc
2007-03-12 05:53:33 +00:00
Olli.Pettay%helsinki.fi
6cdd22b723 Bug 368773, Cycle collect nsXBLResourceLoader::mBoundElements, r+sr=peterv 2007-03-11 11:56:09 +00:00
tor%cs.brown.edu
eaeda066b9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
jonas%sicking.cc
989b3a3171 Bug 371846: Kill unneccesary ownership management code in nsBindingManager::SetAnonymousNodesFor. r=smaug sr=jst 2007-03-10 03:25:47 +00:00
bzbarsky%mit.edu
098348b001 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
peterv%propagandism.org
a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
peterv%propagandism.org
12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
peterv%propagandism.org
0726e9a05c Fix for bug 372697 (nsBindingManager::GetXBLChildNodesInternal sometimes leaks). r/sr=dbaron. 2007-03-08 10:22:54 +00:00
bzbarsky%mit.edu
372e1553c0 Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
448ba1fa30 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
gavin%gavinsharp.com
3607fbc7c3 Unit test for bug 366770, r=bzbarsky 2007-02-27 19:46:20 +00:00
jonas%sicking.cc
a9c9356be8 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst 2007-02-27 00:14:01 +00:00
gavin%gavinsharp.com
d775fdca9c Revert accidental checkin 2007-02-24 16:28:52 +00:00
gavin%gavinsharp.com
1b5b5028bf Bug 366770: use the first binding in the file if no fragment identifier is present in a binding's URI, r+sr=bzbarsky 2007-02-24 16:27:51 +00:00
bzbarsky%mit.edu
4399582a20 Remove vestiges of prototype binding refcounting. Bug 371417, r+sr=sicking 2007-02-24 05:34:07 +00:00
asqueella%gmail.com
284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
peterv%propagandism.org
0e04a8b0f2 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst. 2007-02-18 14:38:04 +00:00
jonas%sicking.cc
073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
jonas%sicking.cc
ccd6aa3575 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst 2007-02-13 21:18:25 +00:00
asqueella%gmail.com
eccffd2e72 bug 369560 - Change 'ASSERTION: *** XBL doc with no root element! Something went horribly wrong!' to NS_WARNING, since it can happen due to bad web content.
p=Alex Vincent <ajvincent@gmail.com>
r+sr=sicking
2007-02-11 00:23:02 +00:00
Olli.Pettay%helsinki.fi
6f24b54f47 Bug 360847, Remove unused nsIDOM*foo*Listener interfaces, r=jst, sr=sicking 2007-02-09 13:00:00 +00:00