Mark Capella
94670ae3ec
Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst
2012-04-05 12:20:44 -07:00
Igor Bukanov
3a859b7a76
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Ryan VanderMeulen
8a1ce69485
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Ms2ger
1620e930e4
Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst
2012-04-03 09:25:38 +02:00
Mark Capella
5b2f534388
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Peter Van der Beken
09128a75d3
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Marco Bonardo
d3b8a6debe
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
1e9b34b2ca
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Matias Juntunen
469705139b
Bug 729048 - Part 3: Replace call to nsParserService::CheckQName with nsContentUtils::CheckQName in nsXULDocument.cpp. r=hsivonen
2012-03-29 17:31:40 -04:00
Irving Reid
357026b226
Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn
2012-03-26 15:40:52 -04:00
Phil Ringnalda
62e25bcddc
Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE
2012-03-28 22:43:09 -07:00
Kyle Huey
5639dfdb41
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
Igor Bukanov
77f4a42ed3
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
extra : rebase_source : f8f1536a86b7c3fe7296a16b6677bd21664af98a
2012-02-20 11:58:00 +01:00
Dão Gottwald
63ed9dae81
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Igor Bukanov
24b01abf6b
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Ms2ger
198867ded9
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
7226b2e716
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Mark Capella
08d7239a5d
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Nathan Froyd
59ce138419
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05:00
Ms2ger
fdc871b475
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Henri Sivonen
95c3b0eac7
Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug.
2012-02-27 13:57:48 +02:00
Igor Bukanov
fc29d0f64c
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Igor Bukanov
748c9f34a7
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
38fe4ed717
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Panagiotis Koutsourakis
583eb38038
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Henri Sivonen
556cef528f
Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug.
2012-01-20 13:16:27 +02:00
Ms2ger
db00645596
Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett
2012-01-15 09:13:08 +01:00
Bobby Holley
92e001c11a
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Olli Pettay
ba414d54f2
Bug 713865 - Don't traverse XBL and XUL protos so much, r=bent
2011-12-29 16:34:05 +02:00
Masatoshi Kimura
26a3901298
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Ms2ger
20adc6aedf
Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
bfdd6b6239
Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz
2011-11-16 08:50:19 +01:00
Ms2ger
bb1ee74b88
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Ed Morley
7bc582f20f
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
46522f17ea
Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz
2011-10-29 22:21:20 +02:00
Ms2ger
a505598085
Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz
2011-10-29 22:20:37 +02:00
Ms2ger
0d733678a5
Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar
2011-10-29 22:14:26 +02:00
Ms2ger
974dc34150
Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar
2011-10-29 22:14:13 +02:00
Ms2ger
78ba91f3a8
Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar
2011-10-29 22:13:55 +02:00
Ms2ger
e566d3ad18
Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar
2011-10-29 22:13:31 +02:00
Ms2ger
c4446bc22d
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
2da2151a18
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Olli Pettay
e5b7e8ee46
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Andreas Gal
ed242eb6a7
Bug 648801 (new DOM list bindings) - Cache prototypes and pick up function value from the proto slot instead of caching it locally. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 56a04a93973f479998d40eb22b015e940419c5e5
2011-05-24 12:45:39 +02:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Zbarsky
f28bcb747a
Bug 682367 - Call nsINode::GetChildAt less. r=smaug
2011-09-27 09:54:58 +02:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Marco Bonardo
40c1e206de
Merge mozilla-central and mozilla-inbound
2011-08-27 10:40:12 +02:00
Ms2ger
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Marco Castelluccio
1d98c5c4d4
Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug
2011-08-26 20:50:23 +01:00
Boris Zbarsky
eb5b744132
Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug
2011-08-24 15:49:25 -04:00
Olli Pettay
883279b75a
Bug 680687, Follow COM rules - keep strong ref to object, r=jst
2011-08-23 15:57:29 +03:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Ehsan Akhgari
e48161b8ff
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Matt Brubeck
214dcfc0fc
Merge last green changeset on m-c to mozilla-inbound
2011-08-08 14:21:41 -07:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Neil Rashbrook
4a4e8db2f1
Bug 675191 Don't write a cached dynamic overlay back to cache again r=Enn
2011-08-07 14:04:47 +01:00
Michael Wu
9e2c6a0264
Bug 664898 - Cleanup startup cache api, r=taras
2011-07-20 00:39:09 -07:00
Yu-Hsun Lin
b3ee61fe21
Bug 486081. Remove nsTime. r=roc
...
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Olli Pettay
2d2630f2b5
Bug 664452, unlink XUL some more, r=peterv
...
--HG--
extra : rebase_source : e17e5ed7c6a5d6565758ce2835df559b6abdcf32
2011-07-01 17:02:04 +03:00
Jonas Sicking
6a04ff1d9f
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Igor Bazarny
39a01edf21
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ed Morley
bf14db12d1
Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst
2011-06-21 17:37:44 +02:00
Michael Wu
7bcc18e13a
Bug 654489 - Remove fastload, r=bsmedberg
2011-06-17 15:53:52 -07:00
Michael Wu
cb74e9abab
Bug 592943 - (5/5) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst,glandium
2010-08-12 12:42:36 -07:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Ms2ger
a2b407958f
Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv
2011-06-11 09:52:24 +02:00
Joel Maher
9ba59becc7
Bug 659263 - move content/xul/*.xul tests from mochitest-plain to mochitest-chrome. r=bzbarsky, a=test-only
...
--HG--
rename : content/xul/templates/tests/bug441785-1.rdf => content/xul/templates/tests/chrome/bug441785-1.rdf
rename : content/xul/templates/tests/bug441785-2.rdf => content/xul/templates/tests/chrome/bug441785-2.rdf
rename : content/xul/templates/tests/test_bug441785.xul => content/xul/templates/tests/chrome/test_bug441785.xul
rename : content/xul/templates/tests/test_sortservice.xul => content/xul/templates/tests/chrome/test_sortservice.xul
2011-06-09 11:10:12 -04:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Ms2ger
b171b9ae5c
Bug 658906 - Remove nsIDOMNSDocument; r=sicking
2011-05-28 09:43:53 +02:00
Michael Wu
d064b6eefe
Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage
2011-05-28 00:15:25 -07:00
Michael Wu
d00ebe95b3
Bug 592943 - (3/3) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst
2010-08-12 12:42:36 -07:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Boris Zbarsky
4ad0368a58
Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking
2011-05-05 12:26:33 -04:00
Olli Pettay
5c6ac73f77
Bug 652970 - nsXULDocument doesn't unlink enough, r=peterv
...
--HG--
extra : rebase_source : 75d7a69aeec165fbddef66da67161fc65eb2777d
2011-04-27 18:44:24 +03:00
Ehsan Akhgari
6e524be572
Bug 651001 - Test for bug 583948 uses flaky timeouts; r=sicking
2011-04-26 16:23:28 -04:00
Ian Neal
fb7ad30b42
Bug 335375 - changing accesskey on a <broadcaster> via an overlay doesn't propagate to its <toolbarbutton> r=neil/smaug
2011-04-19 18:21:26 +01:00
Ian Neal
eb2a5b0b63
Bug 335375 - changing accesskey on a <broadcaster> via an overlay doesn't propagate to its <toolbarbutton> - mochitest r=neil/smaug
2011-04-19 18:21:24 +01:00
Ms2ger
5d712a77e7
Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst
2011-04-14 14:04:08 +02:00
Ms2ger
c9e6bb1fa3
Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst
2011-04-12 14:31:55 +02:00
Peter Van der Beken
afdf1551f1
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
Olli Pettay
4a2e725c92
Bug 646875 - Remove unused mTooltipNode; r=enndeakin
2011-03-31 09:53:00 -07:00
timeless@mozdev.org
41f1725f80
Bug 615437 warning: comparison between signed and unsigned integer expressions in nsXULCommandDispatcher::UpdateCommands
...
r=neil
2011-03-28 17:26:33 -04:00
Ehsan Akhgari
fad07dc686
Back out changeset 05369f93c49a (bug 587345) because it breaks the build
2011-03-22 14:54:24 -04:00
Ms2ger
0878988dbb
Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst
2011-03-22 14:18:17 -04:00
Jonas Sicking
0b970c20dc
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
Jim Blandy
b775bfcb46
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
Johnny Stenback
2d6f6cb266
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
Mihai Sucan
176912a7c2
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
Ms2ger
024d857be8
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
0947251bf8
Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+
2010-10-26 23:57:31 -07:00
Dave Townsend
e7d2253efb
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
339abaaf3e
Bug 583948, cache updaters before iterating, r=neil,a=dbaron
2010-10-25 10:06:26 -04:00
Arisu
e4a5ae3b74
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
Peter Van der Beken
993f7e96bf
bug 580128 - Fix evalInSandbox. r=mrbkap
2010-10-10 15:46:07 -07:00
Benedict Hsieh
a09fd8267a
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
bc0998a225
Bug 598203 - make content/xul/document/crashtests/583230.xul more reliable. a=NPOTB
2010-09-29 17:54:42 -07:00
Neil Deakin
a39418a069
Bug 583230 - Crash [@ nsINode::GetCurrentDoc] with resultBindingChanged on deleted nsIXULTemplateBuilder. r=sicking
2010-09-19 17:59:08 +02:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
Robert Sayre
edb7aca0d0
merge mozilla-central to tracemonkey.
2010-09-08 10:33:07 -04:00
Daniel Holbert
8460fa015a
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-04 23:41:17 -04:00
Josh Matthews
2814f869bb
Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65
2010-09-04 15:15:31 -04:00
Daniel Holbert
f390399c09
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<Gal@uci.edu>
9a94c881f3
Bug 592871 - TM: compartment for Global Object created in nsXULPDGlobalObject::EnsureScriptEnvironment r=mrbkap
2010-09-02 20:07:49 -07:00
Jonas Sicking
5656569763
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
Ms2ger
0cf7a5d525
Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron
2010-08-24 09:06:20 +02:00
Ms2ger
27271a8a8f
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
1efbd766ca
Back out bug 546857 Part 6 due to talos failures. a=backout
2010-08-19 18:41:58 -07:00
Jonas Sicking
1a06bd84dd
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
Dão Gottwald
f246f9a00f
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da
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
fb66fae998
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
David Zbarsky
de6582a359
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Robert Sayre
073bde8d2b
Merge mozilla-central to tracemonkey.
2010-07-30 21:57:41 -07:00
Craig Topper
a53310509d
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
Robert Sayre
55a8586519
Merge mozilla-central to tracemonkey.
2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685
Merge mozilla-central to tracemonkey.
2010-07-20 15:07:03 -07:00
Blake Kaplan
44fa338e2b
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
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Zack Weinberg
76dbdde0f4
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
Kyle Huey
16c927f68b
Bug 578565: Remove nsIXBLDocumentInfo. r=jst
...
--HG--
extra : rebase_source : 4d36ecc23ea302563a7b7f84846d8d5e23b29647
2010-07-14 18:53:11 -07:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709
Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking
2010-07-21 15:05:17 -07:00
Boris Zbarsky
93922db9e1
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
235296fdf0
Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
998b474e42
Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3
Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
39c6f594bb
Bug 578696 part 7. Stop holding strong refs when calling AttributeWillChange. r=sicking
2010-07-21 11:33:32 -04:00
Benjamin Smedberg
a2833452f8
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Neil Rashbrook
1ad593fc7f
Bug 556124 Should notify for broadcast attribute changes once layout has started r=jst
2010-06-30 12:36:10 +01:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Benjamin Smedberg
45af085fff
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Johnny Stenback
660ac78445
Merge of backout of fix for bug 572609. CLOSED TREE
2010-06-21 22:41:52 -07:00
Johnny Stenback
b5ac9ee398
Backed out changeset 82a21d443b5e
2010-06-21 22:39:53 -07:00
Johnny Stenback
c5f4c4eac5
Fixing bug 572615. Speed up nsXULDocuments ID hanling code. r=jonas@sicking.cc
2010-06-21 20:00:26 -07:00
Johnny Stenback
63e3022e0d
Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc
2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519
Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc
2010-06-21 19:58:50 -07:00
Benjamin Smedberg
f13550a209
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -04:00
Dave Townsend
32e31f4f77
Bug 565610: Allow XUL overlays to apply to documents loaded from about: URIs. r=bz
2010-06-18 20:57:53 -07:00
Robert Sayre
d9e86770e3
Merge mozilla-central to tracemonkey.
2010-06-05 19:13:45 -04:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Jonas Sicking
0a93bbb190
Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug
2010-06-03 18:09:20 -07:00
Peter Van der Beken
a3f0b9002e
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst.
2010-04-19 17:41:38 +02:00
Craig Topper
3e0e604d67
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
2010-05-17 21:00:40 -07:00
Mitchell Field
6ad77bd6db
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
Craig Topper
d02574b6b4
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Peter Van der Beken
7f4e72d2de
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
75ccb33e1a
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst.
2010-04-19 17:41:38 +02:00
Boris Zbarsky
e98cd67374
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Ms2ger@gmail.com
a4005e2fd1
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Johnny Stenback
841261676e
Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc
2010-06-23 14:35:57 -07:00
Jonas Sicking
26eb9625c3
Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst
2010-04-30 12:40:59 -07:00
Boris Zbarsky
13aed1444a
Bug 562688 part 8. Change broadcasters to use Element. r=jst
2010-04-30 09:12:06 -04:00
Boris Zbarsky
30883f9737
Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst
2010-04-30 09:12:06 -04:00
Boris Zbarsky
c1ce657552
Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst
2010-04-30 09:12:05 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Ben Newman
941ed3332c
Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 16:21:35 -07:00
Craig Topper
9eccdbd4d7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Peter Van der Beken
8e3acb1006
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Daniel Holbert
3c78e0e4b3
Bug 556005: Remove unused variable 'rv' from nsXULDocument.cpp. r=bz
2010-04-01 08:07:22 -07:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Jonas Sicking
3175f89133
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Chris Jones
f0560d9e8e
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
2010-03-03 23:02:55 -06:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Neil Deakin
65465d8068
Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug
2010-02-20 11:07:03 -05:00
Timothy Nikkel
92355591c8
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d
Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
...
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Peter Van der Beken
648f658133
Fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode). r=bz.
2010-01-12 14:08:44 +01:00
Boris Zbarsky
8c09ee17b6
Bug 537507. Make sure to flag XUL documents as allowing InitialReflow to be called on the presshell even if there are no presshells around when StartLayout is called on the document. r=jst
2010-01-13 11:30:11 -05:00
Robert O'Callahan
dd13d8b675
Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug
2010-01-12 10:45:04 +13:00
Olli Pettay
63fd91b1fa
Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc
2010-01-07 12:36:11 +02:00
Simon Montagu
09e84c09b6
Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 1, refactoring, r=enndeakin
2009-12-21 12:21:52 +02:00
Boris Zbarsky
cc6eb188e6
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Blair McBride
8f2043ae0f
Bug 528792 - :-moz-lwtheme incorrectly depends on the lwthemetextcolor attribute. r=dbaron
2009-11-16 09:27:44 +01:00
Mats Palmgren
7da2fe4fcf
Crash test for bug 497875.
2009-11-07 04:28:26 +01:00
Mats Palmgren
6ebcd4414c
Null-check mCurrentPrototype (it's set to null when loading an overlay fails). b=497875 r=neil
2009-11-06 22:52:00 +01:00
Taras Glek
0f83b72143
Bug 524313: crash [@ RaiseException ] nsFastLoadFileReader::ReadFooter r=brendan
...
--HG--
extra : rebase_source : d9f2f41d0c2dfc0e7a2d90c97789e66a38c3f43f
2009-10-26 12:35:12 -07:00
timeless@mozdev.org
11b6d8a3b1
Bug 270042 - Crash on startup [@ nsXULDocument::OnStreamComplete(nsIStreamLoader*, nsISupports*, unsigned int, unsigned int, unsigned char const*)], r=neil
2009-10-26 18:39:23 -07:00
Daniel Holbert
ced586e10b
Bug 513461 follow-up: reorder initializer list in nsXULDocument constructor, to fix build warning. r=dbaron
2009-10-18 20:10:58 -07:00
Neil Rashbrook
93a2435dba
Bug 519049 Wrong value broadcast when setting attribute twice while script blocker active r=smaug sr=bz
2009-10-13 11:11:17 +01:00
Taras Glek
bfe943ded9
Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
...
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
Jonas Sicking
0d2f92b52e
Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.)
2009-10-02 14:13:59 +03:00
Johnny Stenback
123b209635
Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2009-10-06 17:09:16 -07:00
Chris Jones
d215e057fe
Merge backout
2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4
Backed out changeset 8cbc47eee659
2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c
bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad
2009-10-01 21:50:09 -05:00
Nochum Sossonko
33de430128
Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron
2009-10-02 08:22:18 +02:00
Mats Palmgren
7a8db79bf2
Bug 494617. r=Olli.Pettay sr=jst
2009-09-22 06:21:09 +02:00
Neil Deakin
22715396a4
Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug
2009-09-21 13:39:44 -04:00
Johnny Stenback
8127d8695e
Backed out changeset 105d89f1a33b due to test failures.
2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6
Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2009-08-31 14:35:58 -07:00
Olli Pettay
2aa0b4e4e8
Bug 506212 - UI elements inside XBL are drawn incorrectly when initialized with broadcasters, r=sicking
2009-08-29 18:39:51 +03:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Jesse Ruderman
56d3eef776
Bug 509269 - reftest should deal with missing root. r=dbaron. May fix 468211-3 orange, too.
2009-08-08 17:50:50 -07:00
Jesse Ruderman
b18643ee81
Add crashtests for bug 468211
2009-08-08 16:48:15 -07:00
Neil Deakin
5303f25260
Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron
2009-07-29 14:33:53 -04:00
L. David Baron
9a8d97752d
Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv
2009-07-08 18:10:29 -07:00
David Bolter
281b227c46
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Ben Newman
94f19e102d
Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Robert O'Callahan
d1aef5f21c
Bug 495635. Don't register overlay content in the ID-map etc if it hasn't actually ended up in the document. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 983d21b9331fac8057bd56606f91cbe20e3a62fa
2009-06-02 10:50:22 +12:00
Peter Van der Beken
98633d5f16
Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
2009-05-07 11:19:41 -07:00
Peter Van der Beken
a45851d286
Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression.
2009-05-15 14:49:21 +02:00
Peter Van der Beken
1ec8d2bfcb
Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
...
--HG--
extra : rebase_source : 8a05db1e4aab7dde3b38c7613488314dde05f163
2009-05-07 11:19:41 -07:00
Bob Clary
f528eded62
bug 386914 - crash test by Martijn Wargers.
2009-04-24 10:08:20 -07:00
L. David Baron
200ef7b5a1
Fix miscellaneous typos in comments that I've had in my tree for ages.
2009-04-22 10:13:48 -07:00
Neil Deakin
a6df0afb93
Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug
2009-04-22 08:55:54 -04:00
Boris Zbarsky
35edb04b3a
Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv
2009-04-10 10:29:08 -04:00
Robert O'Callahan
d0c58fb22f
Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
...
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Boris Zbarsky
1d325109b3
Bug 481440. Make our id table always live. r=jst, sr=roc
2009-03-23 10:04:40 -04:00
Wladimir Palant
982be663a1
Bug 477979 - Add CheckLoadURI checks for more script loads. r+sr=jst
2009-02-11 15:51:37 +01:00
Boris Zbarsky
dceb36b6b7
Backing out bug 481440 (revision 8fddfa5d2748)
2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c
Bug 481440. Make our id table always live. r=jst, sr=roc
2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9
Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking
2009-03-20 09:15:35 +01:00
Olli Pettay
486b27fd0a
Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv
2009-03-03 14:14:13 +02:00
Neil Rashbrook
2b7a424a9b
Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz
2009-02-16 11:27:22 +00:00
Olli Pettay
68e8d4d04a
Bug 468211, r+sr=sicking
2009-01-31 14:56:15 +02:00
Olli Pettay
b9593d2535
Bug 471166, r+sr=sicking
2009-01-31 14:53:01 +02:00
Neil Rashbrook
249e4914e7
Excise nsCachedChromeChannel fixing bug 206691 amongst others r=bsmedberg sr=bz
2009-01-29 23:34:24 +00:00
timeless@mozdev.org
a6c651e0d3
Bug 209598 - Crash opening link from other applications [@ nsXULDocument::InsertElement], r+sr=bz
2009-01-15 20:02:22 -08:00
Olli Pettay
86970fbe9a
Bug 470687, try to prevent broadcaster loops, r=enndeakin, sr=neil
2009-01-07 15:25:29 +02:00
L. David Baron
43923a2427
DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Olli Pettay
016928536d
Bug 468176, r=enn, sr=neil
2008-12-19 14:49:28 +02:00
Robert O'Callahan
22fce0cd91
Bug 468991. Move GetVisibleArea call to avoid using a stale visible area. r+sr=dbaron
2008-12-18 14:21:12 +13:00
Robert O'Callahan
50bd83420a
Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
...
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Olli Pettay
9937ff0bcb
Bug 430214, patch3, r=enn,sr=neil
2008-12-03 13:12:54 +02:00
Olli Pettay
4ab4c6e4c8
Bug 461053, r=enndeakin, sr=neil
2008-12-03 12:59:07 +02:00
Peter Van der Beken
e743beb9c4
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Blake Kaplan
b91e4a69a6
Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst
2008-10-30 14:31:00 -07:00
Ted Mielczarek
26dab6f284
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Neil Deakin
912ddd5424
Bug 450990, make template generate recursive instead of lazy, improves performance as well, r=peterv,sr=bz
2008-10-20 11:36:05 -04:00
Honza Bambas
58b2f9a115
Bug 295994 - [r+sr=sicking]
2008-10-18 20:21:28 -05:00
Boris Zbarsky
12d064dd87
Backing out bug 450990 to try to fix leaks
2008-10-10 15:45:32 -04:00
Neil Deakin
ba78ad380e
Bug 450990. Kill off EnsureContentsGenerated. r=peterv, sr=bzbarsky, sicking helped write the patch
2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Olli Pettay
3309372c23
Bug 457716 - XUL shouldn't always traverse all the prototypes, r+sr=peterv
2008-10-08 14:41:52 +03:00
Boris Zbarsky
4f3a824bf4
Bug 455540. Eliminate the non-OOM-failures-possible version of GetNodInfo. r+sr=jst
2008-10-07 14:53:22 -04:00
Taras Glek
390adbe464
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Olli Pettay
20b0d73d4e
Bug 445177, delay broadcaster sync, r+sr=bz
2008-09-16 11:53:30 +03:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Olli Pettay
2698015dae
Bug 442227, p=arenevier@fdn.fr, r=smaug,enndeakin, sr=neil
2008-09-09 13:07:35 +03:00
Peter Van der Beken
79f9a72d30
Fix for bug 443415 (Name more CC edges). r/sr=jst.
2008-09-08 20:26:46 +02:00
Eli Friedman
f3146c2988
Bug 453531: Remove dead mIsPopup member from nsXULDocument. r+sr=sicking.
2008-09-04 02:24:21 -07:00
Robert O'Callahan
1499813be0
Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst
2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690
Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst
2008-08-16 21:01:52 +12:00
Olli Pettay
9dd97370f8
Bug 449457, Setting xuldocument.tooltipNode may leak, r+sr=jst
2008-08-12 16:21:21 +03:00
Boris Zbarsky
1dafcd35c7
Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking
2008-08-06 16:59:37 -04:00
Neil Deakin
25dedfa43a
Bug 437640, ability to disable and remove <keyset> elements, r+sr=neil
2008-08-06 10:32:09 -04:00
Mats Palmgren
e70086744c
Remove the element from the id map when it's removed from the document. b=441994 r+sr=roc
2008-06-27 16:04:19 +02:00
Robert O'Callahan
78ea2ef42a
Bug 344258. Create nsReferencedElement to track which element is associated with a given ID. r+sr=jst
2008-06-25 13:55:01 +12:00
Robert O'Callahan
f6abfdb137
Removing nsElementMap
2008-06-23 17:16:18 +12:00
Robert O'Callahan
c4187f5254
Bug 344258. Make XUL use the shared ID-element map. r+sr=jst
2008-06-23 13:48:05 +12:00
Olli.Pettay@helsinki.fi
bb465783ef
Bug 425814, delay xul frame loading, r=sicking,sr=bz,a=beltzner
2008-04-18 01:58:06 -07:00
jst@mozilla.org
54ae1d2978
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
gavin@gavinsharp.com
0ab8b765bb
Back out patch for bug 295994
2008-04-08 13:50:00 -07:00
reed@reedloden.com
dce1fd1773
Bug 423833 - "Show Only This Frame code uses about: url for error pages, instead of original site url" [p=johnath@mozilla.com (Johnathan Nightingale [johnath]) r=Mano a=blocking-firefox3+]
2008-04-08 11:48:34 -07:00
johnath@mozilla.com
ff4747c23c
Backing out 295994 as likely cause of reftest failure.
2008-04-04 04:09:20 -07:00
reed@reedloden.com
ba1367b3bb
Bug 295994 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r+sr=sicking a1.9=schrep]
2008-04-04 02:15:30 -07:00
reed@reedloden.com
5f9e65ed6e
Bug 423787 - "XUL test template has typo in comment" [p=manish@flock.com (Manish Singh) r=sayrer]
2008-03-28 23:45:45 -07:00
peterv@propagandism.org
14a390a55a
Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking.
2008-03-28 07:09:00 -07:00
bzbarsky@mit.edu
d8684248ba
Just drop loads of scripts that are not signed if the loading page is. Bug 424426, r+sr=jst, a=beltzner
2008-03-24 16:58:42 -07:00
bzbarsky@mit.edu
5da89d1096
Treat <xul:script> more like <html:script>. Bug 424188, r+sr=sicking, a=dsicore
2008-03-21 22:03:57 -07:00
jst@mozilla.org
1fc6a07d2a
Fixing bug 419846. Only let chrome documents load scripts from the fastload files. r=enndeakin@gmail.com, sr=bzbarsky@mit.edu
2008-03-13 15:49:45 -07:00
roc+@cs.cmu.edu
ea712ce519
Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul
2008-03-11 18:05:26 -07:00
neil@parkwaycc.co.uk
19e40f6f05
Fire dynamic overlay load observers in more cases b=419452 r+sr=jst a=beltzner
2008-03-05 13:32:27 -08:00
sayrer@gmail.com
98745b7529
Bug 383939. RDF datasources must implement cycle collection. r/sr=bsmedberg
2008-03-05 12:07:55 -08:00
jst@mozilla.org
ca610c2fd7
Backing out fix for bug 419848 due to feed code breakage.
2008-03-03 21:39:09 -08:00
jst@mozilla.org
fbd1cdf2f8
Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc
2008-03-03 20:17:33 -08:00
jst@mozilla.org
13c8461f34
Backing out fix for bug 419452 per bug 420059. a=beltzner
2008-02-29 22:29:46 -08:00
neil@parkwaycc.co.uk
bbe179fa52
Fire dynamic overlay load observers in more cases b=419452 r+sr=jst a=beltzner
2008-02-27 01:46:03 -08:00
jonas@sicking.cc
65f4571f58
Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
2008-02-26 19:45:29 -08:00
myk@mozilla.org
b5e898ddd7
backing out fix for bug 416534 as potential cause of mochitest failure
2008-02-26 19:23:36 -08:00
reed@reedloden.com
0387d900f7
Back out Neil's patch from bug 419452 due to a Txul regression.
2008-02-26 18:29:02 -08:00
jonas@sicking.cc
84548acb75
Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
2008-02-26 18:17:49 -08:00