Commit Graph

330 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
3d7cd94af9 Fix bug 400794 and bug 401569: don't try to uninstall fields that are not installed. r+sr=sicking. Patch in bug 400794. 2007-11-15 09:09:14 -08:00
jonas@sicking.cc
806a7540a8 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
d0871a2573 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
fb122790a3 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
0614d590fc 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
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc 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
903acf3ee6 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
3d2ceca667 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
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
7496875bfa 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
5b0b10f180 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
e6fc4b3582 Adding testx 2007-10-19 22:30:53 -07:00
bzbarsky@mit.edu
ee391df0e4 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
adbcc231ed backing out due to test failure 2007-10-19 18:22:48 -07:00
jonas@sicking.cc
cb77212ea7 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
fe3a8092b4 Mochitest for bug 378866 2007-10-12 08:43:39 -07:00
Olli.Pettay@helsinki.fi
045c845b71 Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+ 2007-10-12 04:07:29 -07:00
bugzilla@standard8.plus.com
78473044fa 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
9fecf5cc61 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
406024c657 Bustage fix for bug 398668 2007-10-05 18:13:52 -07:00
bzbarsky@mit.edu
6be2e13a6b 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
01461fbe76 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
b17bddff6c Don't unlink so aggressively. Bug 398083, r+sr+a=sicking 2007-10-02 07:40:39 -07:00
bzbarsky@mit.edu
16d74db68d 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
85880d8ce4 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
bzbarsky@mit.edu
7f68723439 Fix test. Bug 372769. 2007-09-28 07:22:51 -07:00
bzbarsky@mit.edu
b25b785ddc 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
5ae0b67801 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu
ee86dfedb4 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
surkov.alexander@gmail.com
d91459d49c 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
5ac630ec0f Bug 393809: Fix compile warning in nsXBLPrototypeHandler.cpp. r=/sr=Neil, a=sicking 2007-09-04 18:55:55 -07:00
philringnalda@gmail.com
88f44b6ffb 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
a17a03f2ea 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
fb735cb14f 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
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
Olli.Pettay@helsinki.fi
3cb3aeeda7 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
73674fd85b 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
73073f4f3b 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
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
ginn.chen@sun.com
9a8c1632f4 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
a6139746d4 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
a4c90a1d9d 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
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu
e3c4baccae 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
dcfbe5119a 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
951e15cd50 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
c5dc887fc8 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
bzbarsky@mit.edu
bdded13f7c 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
c28a83eb37 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
58218f2b53 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
7a515960c9 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
57208eb367 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64 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
5d6d0f52ff Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jonas@sicking.cc
607f8caad0 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
417638f1b9 Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 09:05:42 -07:00
peterv@propagandism.org
22935dfbc9 Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 13:50:21 -07:00
peterv@propagandism.org
38e0fa4575 Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org
c0c65da495 Temporary bustage fix. 2007-05-24 07:28:40 -07:00
peterv@propagandism.org
98955fbcad 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
0b6e5dff7a 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
54d9fbc29a 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
9a9515bed6 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
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
3c2b2f46ce 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
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
2931d10719 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
32d3d359f4 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
daff80acb4 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
1a863b611c 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
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
2e25a321f8 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
c585c92179 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
f8dc235d9d 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
9f26445a44 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
Olli.Pettay@helsinki.fi
2ac9d63c5d 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
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
465265d0d4 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