Commit Graph

2831 Commits

Author SHA1 Message Date
Peter Van der Beken
75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Peter Van der Beken
a571493d4a Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent. 2010-11-08 16:02:49 +01:00
Boris Zbarsky
7837d7bdbb Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
0d7dcf77b8 Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
f9a250840a Bug 581177 part 1. Separate mFlags and mSlots into separate members. Stop storing flags in slots. r=sicking 2011-04-07 19:29:49 -07:00
Olli Pettay
1dd2868050 Bug 646875 - Remove unused mTooltipNode; r=enndeakin 2011-03-31 09:53:00 -07:00
Peter Van der Beken
8f5ba7a3c0 Fix for bug 617247 (Don't call HoldScriptObject if we don't have a script object). r=sicking.
--HG--
extra : rebase_source : cba480742dc8a2fe356b6b65c10ea1e0b6023730
2011-03-24 11:53:28 +01:00
Shawn Wilsher
4f15920f2b Bug 645101 - Stop using [deprecated] Storage methods (nsXULTemplateQueryProcessorStorage)
r=sicking
2011-03-31 10:19:31 -07:00
Ehsan Akhgari
692c3a0600 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Boris Zbarsky
c634f43209 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Jonas Sicking
f94b94a715 Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
timeless@mozdev.org
d154dbbed4 Bug 615437 warning: comparison between signed and unsigned integer expressions in nsXULCommandDispatcher::UpdateCommands
r=neil
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
713aa1183e Bug 620179 crash [@ TestNode::Constrain] if cantHandleYet
r=enn
2011-03-26 00:39:29 -04:00
Neil Rashbrook
1439913c4c Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
L. David Baron
3e524dfc64 Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Craig Topper
678b9c7c11 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Jonas Sicking
445046bc7a Bug 637214 the continuing saga. Add removable script blockers in a few more places, create an auto helper for that. r=bzbarsky, a=blocker 2011-03-02 09:36:19 -05:00
Vivien Nicolas
7c890d0e47 Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
timeless@mozdev.org
f9586078f1 Bug 620434 useless null check of result in nsXULTreeBuilder::ReplaceMatch
r=enn a=beltzner
2011-02-22 13:04:47 +01:00
Peter Van der Beken
c4aeb00d0d Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst. 2011-02-16 13:07:47 +01:00
Chris Leary
e72266dafd Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
Mehdi Mulani
165aa4353e Bug 632994 - When previewing personas, tab bar jitters. r=bz a=blocking2.0 2011-02-09 16:45:54 -08:00
Jim Blandy
8ec41b7213 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Mounir Lamouri
852f0e753b Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final 2011-02-04 13:59:33 +01:00
Mounir Lamouri
a344b8d104 Backing out d3f9af8a4997. a=orange 2011-02-04 01:41:43 +01:00
Mounir Lamouri
6fc1fbb0fa Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final 2011-02-04 00:10:01 +01:00
Johnny Stenback
a58c641c00 Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker 2011-01-06 18:07:46 -08:00
timeless@mozdev.org
633ceba954 Bug 620184 remove null checks from GetDOMSlots() and rename it to DOMSlots() because it is infallible in m-c, r+a=sicking 2010-12-21 17:04:00 -08:00
Mihai Sucan
116aa5fbdc Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Neil Deakin
921be72a77 Bug 608687, clear mRoot after uninitializing so that template generated content gets removed, r=smaug,a=blocking 2010-12-07 14:02:03 -05:00
Ehsan Akhgari
bdbfab30fe Back out changeset 05369f93c49a (bug 587345) because it breaks the build 2011-03-22 14:54:24 -04:00
Ms2ger
c39e249cdf Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst 2011-03-22 14:18:17 -04:00
Ehsan Akhgari
49784e228e Bug 640652 - When unsetting an attribute on a XUL element, don't let the script blocker to be removed when the document nested update count is 0, since that can trigger XBL bindings, which may run scripts to do things which would lead into crashes; r=sicking a=sayrer
--HG--
extra : rebase_source : e79c187d59225cbc432db5b4b1629d78075477b6
2011-03-11 01:04:44 -05:00
Johnny Stenback
fa5038291b Backed out changeset 312bbc3ed894 due to oranges. a=backout 2010-11-19 23:15:46 -08:00
Johnny Stenback
b3814b952c Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker 2010-10-20 18:44:07 -07:00
Neil Deakin
173f6cd2ff Bug 611313 - Initialize with an empty datasource for template tests so that sync and async loading attempts don't conflict; r=afrosdwilsh a=orange-fix 2010-11-19 12:39:40 -05:00
Ms2ger
a495819ba2 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Blake Kaplan
cb4d83e6c8 Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Dave Townsend
0a4711f5ce Bug 606076: XUL fastload is not cleared when new extensions are installed. r=bsmedberg, a=blocks-beta7 2010-10-28 12:21:04 -07:00
Neil Deakin
2e10de26cd Bug 553808, assertion setting template datasources, r=smaug, a=blocking 2010-10-26 11:17:00 -04:00
Neil Deakin
287ce9aa84 Bug 583948, cache updaters before iterating, r=neil,a=dbaron 2010-10-25 10:06:26 -04:00
Olli Pettay
8935de3e76 backout part of Bug 605242 to fix bug 606034, a=fix regression/backout
--HG--
extra : rebase_source : c79b1f57f58d372716745749c81a5f2721a851ea
2010-10-21 11:58:05 +03:00
Olli Pettay
bc966a53d6 Bug 605242 - No :active state for <button>, r=enndeaking, a=blocking, try: -b o -p all -m none -t none -u mochitests
--HG--
extra : rebase_source : e075f9024515c801996f10b3fff706551c833843
2010-10-20 16:49:53 +03:00
Mounir Lamouri
06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Arisu
2f8e0906ff Bug 599473. Don't leak script objects if a xul prototype script is used in both fastloaded and non-fastloaded situations. r=bzbarsky, a=bzbarsky 2010-10-19 01:15:32 -04:00
David Bienvenu
a09712e130 fix bug 592633, r=enndeakin, a=beltzner, xul template builder has trouble with datasources adding children to collapsed nodes 2010-10-18 12:56:56 -07:00
Peter Van der Beken
8bf6a41cb7 bug 580128 - Fix evalInSandbox. r=mrbkap 2010-10-10 15:46:07 -07:00
Benedict Hsieh
fb0a2b2373 Bug 594058 - invalidate cache by statting contents of extensions directory r=dtownsend r=bz a=bsmedberg 2010-09-14 17:39:07 -07:00
Jesse Ruderman
82b4eeb717 Bug 598203 - make content/xul/document/crashtests/583230.xul more reliable. a=NPOTB 2010-09-29 17:54:42 -07:00
Neil Deakin
3f463a1074 Bug 583230 - Crash [@ nsINode::GetCurrentDoc] with resultBindingChanged on deleted nsIXULTemplateBuilder. r=sicking 2010-09-19 17:59:08 +02:00
Chris Leary
7473b7380d Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Chris Leary
813d1e57f3 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
Chris Leary
e5e12f3041 Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
Robert Sayre
7d6b688fcd merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Daniel Holbert
ef970d70d1 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
fe8af14775 Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
03eaa380a5 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-03 14:29:00 -04:00
Andreas Gal
64fb5fdd5b Bug 592871 - TM: compartment for Global Object created in nsXULPDGlobalObject::EnsureScriptEnvironment r=mrbkap 2010-09-02 20:07:49 -07:00
Jonas Sicking
21c97f1f0e Bug 568188: Reduce refcounting by making the id-table hold weak referenes. r=smaug a=jst 2010-09-01 15:48:24 -07:00
Felipe Gomes
184d7ad27d Bug 586961. Direct accesskey clicks on label to correct controlled element. r=neil a=betaN 2010-08-27 18:26:24 -03:00
Jonas Sicking
d809cc530c Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Joel Maher
8015553874 Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Ms2ger
70a57ce50d Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
b01dbc0d56 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Jonas Sicking
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
e3359fd310 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Jonas Sicking
681259ee9f Back out bug 546857 Part 6 due to talos failures. a=backout 2010-08-19 18:41:58 -07:00
Jonas Sicking
0145c9b59e Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Olli Pettay
4606a9bb94 Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Ms2ger
e48ff47578 Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Johnny Stenback
cf1cdee9d6 Fixing bustage from the fix for bug 582228. 2010-08-13 00:14:46 -07:00
Jonas Sicking
4134763a3d Bug 582228. Speed up getting style attributes. r=bzbarsky@mit.edu, a=dbaron@mozilla.com 2010-08-12 23:03:23 -07:00
Dão Gottwald
1e1c1def63 Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
719312de88 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Neil Deakin
d20855b708 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Boris Zbarsky
67950dbf82 Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Olli Pettay
5a1ca24d1c Bug 523082 - nsXULTemplateBuilder should unlink more, r=peterv 2010-08-06 12:21:53 +03:00
Boris Zbarsky
256d4fa87a Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
David Zbarsky
170437618c Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
Zack Weinberg
e616dd17f4 Bug 569719 part 8: forward to nsStyledElement::GetStyle from nsXULElement::GetStyle. r=bzbarsky 2010-07-23 11:00:32 -07:00
Robert Sayre
61a58b84de Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Olli Pettay
44e12bf078 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Craig Topper
8662f7a74d Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
Dave Townsend
08a208629d Bug 571598: Allow XUL documents loaded in about urls to persist attributes. r=bz 2010-07-29 22:08:50 -07:00
Kyle Huey
de6f5d1296 Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Robert Sayre
802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
b8d6ec6280 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Blake Kaplan
c7841d117d Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Luke Wagner
7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Zack Weinberg
2f4426c2f1 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
d60d9e623f Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Ms2ger@gmail.com
fba699e63b Bug 577081 - nsAttrValue::ParseColor doesn't need a document parameter anymore. r=jst 2010-07-17 10:09:14 +02:00
Kyle Huey
efe3af4f0b Bug 578565: Remove nsIXBLDocumentInfo. r=jst
--HG--
extra : rebase_source : 4d36ecc23ea302563a7b7f84846d8d5e23b29647
2010-07-14 18:53:11 -07:00
Peter Van der Beken
06960e57dc Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Olli Pettay
6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
54bc004d14 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
3e398f4206 Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
e3b2e5a289 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00