Commit Graph

1187 Commits

Author SHA1 Message Date
Bobby Holley
08f9b6fd28 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Daniel Holbert
760505dd24 Bug 898489: Mark content/xul/content/src/ and content/xul/document/src/ as FAIL_ON_WARNINGS. r=smaug r=gps 2013-07-29 12:29:42 -07:00
Daniel Holbert
deca8c5a97 Bug 898232: Remove unused variable 'existingScript' from nsXULPrototypeCache::GetScript(). r=jonco 2013-07-29 10:21:33 -07:00
Jon Coppeard
4258a261db Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Olli Pettay
2c280a433a Bug 896597, deferred release for nsXULPDGlobalObject, r=mccr8 2013-07-24 14:30:08 +03:00
Ms2ger
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
d34efeaec4 Bug 776517 - Move GetExistingAttrNameFromQName from nsIContent to dom::Element; r=smaug 2013-07-24 09:39:46 +02:00
David Zbarsky
b9c20a7821 Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Joshua Cranmer
46c5cc932a Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Jon Coppeard
aa621befb3 Bug 896506 - GC: Fix a couple of rooting hazards in XUL code r=smaug 2013-07-23 10:58:28 +01:00
Jon Coppeard
7345e3e7f2 Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz 2013-07-23 10:58:28 +01:00
Jon Coppeard
b216cf9603 Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz 2013-07-23 10:58:27 +01:00
Jon Coppeard
da545dc61a Bug 888338 - 6 - more browser post barriers r=mccr8 2013-07-23 10:58:27 +01:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
fa43b3c4c0 Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz 2013-07-12 06:26:54 +09:00
Boris Zbarsky
05b9585b54 Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Bobby Holley
49f8ff5f9d Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Blake Kaplan
a3a6516091 Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Gabor Krizsanits
2efc3017e5 Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Jon Coppeard
19b426b223 Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Bobby Holley
7a9309f7be Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Brian O'Keefe
20b45036df Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2); r=mshal
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
2013-06-18 08:13:42 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Terrence Cole
066e7ee97b Bug 884410 - Handlify the JS_ResolveStandardClass interface; r=jonco
--HG--
extra : rebase_source : 3ba45931aad97fb7cbca517ae9bccb974d42e57a
2013-06-13 17:10:00 -07:00
Andrew McCreight
4ac21cc497 Bug 883382 - Eliminate superfluous CacheScriptEntry. r=smaug 2013-06-18 15:58:05 -07:00
Jon Coppeard
7bcacd601c Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Jon Coppeard
ab74ea727b Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Trevor Saunders
0e88e826ef bug 880379 - move nsIScriptGlobalObjectOwner out of nsXULPrototypeScript::Compile() r=smaug 2013-02-15 14:19:54 -05:00
Trevor Saunders
7a393d0fe2 bug 880379 - remove nsIXULDocument::GetScriptGlobalObjectOwner() r=smaug 2013-02-15 11:22:51 -05:00
Jon Coppeard
af7d9a0531 Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Peter Van der Beken
0eae5efa79 Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Bobby Holley
9ca5fd2c13 Bug 877478 - Move crashtests that now error-out to chrome tests. r=mrbkap
These crashtests now throw, because we run XUL tests in content, and they create
forbidden objects and fail the CanCreateWrapper check. Unfortunately, the
crashtest harness isn't set up to catch onerror. And even if they were, they
wouldn't be testing what they wanted to, because all of the relevant work here
happens in onload.

--HG--
rename : content/xul/content/crashtests/236853.rdf => content/xul/content/test/file_bug236853.rdf
rename : content/xul/templates/src/crashtests/330010-1.rdf => content/xul/templates/tests/chrome/file_bug330010.rdf
rename : content/xul/templates/src/crashtests/329335-1.xul => content/xul/templates/tests/chrome/test_bug329335.xul
rename : content/xul/templates/src/crashtests/330010-1.xul => content/xul/templates/tests/chrome/test_bug330010.xul
2013-06-04 19:56:41 -07:00
Ryan VanderMeulen
125253843d Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Bobby Holley
1061cd85c9 Bug 878325 - Propagate exceptions out of ResolveForwardReferences. r=bz 2013-06-03 11:27:42 -07:00
Bobby Holley
2dd3c038b4 Bug 878325 - Propagate exceptions out of CreateTemplateBuilder and LoadDataSources. r=bz 2013-06-03 11:27:41 -07:00
Ed Morley
149135103d Backed out changeset 70cf9c347db6 (bug 509719) for crashtest orange 2013-06-03 16:05:50 +01:00
Gijs Kruitbosch
e4eae561ab Bug 509719 - Fix crash in XULDocument::RemoveElement, r=bz 2013-06-03 12:05:58 +02:00
Gijs Kruitbosch
8de26e86cd Bug 877669 - nsXULPopupListener shouldn't prevent default if there are no attributes, r=neil 2013-05-31 11:49:26 +02:00
Arnaud Sourioux
1aded9ba34 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Ryan VanderMeulen
eb4d754279 Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux
83d60db473 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Boris Zbarsky
14e7edc59d Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug 2013-05-29 16:16:04 -04:00
Andrew McCreight
d1266ee9b7 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
f53a29e132 Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Masatoshi Kimura
407e00e58c Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Boris Zbarsky
be0882e3a1 Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence 2013-05-20 08:40:06 -04:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ian Melven
3cb5f27888 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
600d2857cc Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven
0b6b28c5d7 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ehsan Akhgari
b757634fd8 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Ehsan Akhgari
7cb39c2935 Backed out 2 changesets (bug 871315) because different compilers have different standards on what is and is not C++
Backed out changeset d0d2e13e8b83 (bug 871315)
Backed out changeset be3976bd2d57 (bug 871315)

Landed on a CLOSED TREE
2013-05-13 14:42:03 -04:00
Ehsan Akhgari
fc17efaf67 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Ed Morley
cf8199da6c Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
b151a55d94 Bug 868730 - Make nsDocument::ResetStylesheetsToURI return void; r=mounir 2013-05-10 09:13:37 +02:00
Terrence Cole
fd72fc252e Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Peter Van der Beken
3fc20eeb1d Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
Bobby Holley
417547f4ee Bug 857356 - Remove asserting crashtest. r=bz
This crashtest fails because it's running in the remote XUL configuration, in
which we don't have SOWs. In that case, it's no longer interesting to make
the browser assert. ;-)
2013-05-09 09:16:02 -07:00
David Zbarsky
38f5841d1a Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
3f7cb5e49c Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Ed Morley
0e4101d53a Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
Ed Morley
581e7b778e Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
37d84a3fe7 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
0e20dc3030 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
0566d3158e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
350f4548ad Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Gabor Krizsanits
700b44eaf8 Bug 863140 - Remove GetInnerWindowInternal. r=bz 2013-04-29 17:34:16 +02:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
b7c3e8030b Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Boris Zbarsky
687728285d Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
David Zbarsky
5826da3d17 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
1cc79b4d68 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
ae1021f785 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Gabor Krizsanits
9c83a59bcd Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-17 10:11:53 +02:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Ms2ger
1248f673c4 Backout changeset baf184596a7b for build errors on a CLOSED TREE. 2013-04-16 19:07:38 +02:00
Gabor Krizsanits
68aa3f8764 Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-16 11:31:26 +02:00
Jeff Walden
6539207aee Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Ms2ger
90d72aaffd Bug 861098 - Remove more classinfo; r=bz 2013-04-13 09:08:49 +02:00
Ryan VanderMeulen
93f4713b55 Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE. 2013-04-12 13:57:46 -04:00
bindarel@yahoo.com
b7b02e59f9 Bug 796005 - Add telemetry for XUL cache being disabled, r=smaug
--HG--
extra : rebase_source : f279b78ceb93a46a8f6535713f96c366ca0e13fe
2013-04-12 17:41:02 +03:00
Joshua Cranmer
ce365a42ff Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00
Michael Harrison
5db35d415f Bug 855402. Don't try to write to the startup cache if there isn't one, and definitely don't start _thinking_ we've written to it. r=ehsan 2013-04-11 14:32:12 -04:00
Gabor Krizsanits
16f48f59cf Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn 2013-04-11 11:59:42 +02:00
Aryeh Gregor
fe91515d0c Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz 2013-04-04 15:01:11 +03:00
Aryeh Gregor
f9e1831a55 Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Aryeh Gregor
3a179a82d7 Bug 857102 part 1 - Make nsNodeInfoManager::GetNodeInfo infallible; r=bz 2013-04-04 15:00:07 +03:00
aceman
b20aad1de4 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
David Zbarsky
dd55a87c18 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
David Zbarsky
c2cf14c695 Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger 2013-04-05 20:44:15 -04:00
Gabor Krizsanits
0a621fd246 Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Gabor Krizsanits
015106720f Bug 820170 - nsIGlobalObject. r=bholley 2013-04-04 11:27:06 +02:00