Commit Graph

904 Commits

Author SHA1 Message Date
Boris Zbarsky
45006a7480 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
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Peter Van der Beken
5dad2b2c60 Bug 883313 - Fix nsHTMLDocument::SetBody to call either ReplaceChild or AppendChild, not both. r=smaug. 2013-07-04 17:20:45 +02:00
Ms2ger
0ab44fcff8 Bug 888576 - Follow the spec for document.body; r=mounir sr=smaug 2013-07-10 11:54:51 +02:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
9af3fec602 Bug 883037 - Clean up HOLD/DROP of nsHTMLDocument. r=peterv 2013-06-25 17:13:06 -07:00
Michael Harrison
260edab87f Bug 841547 - Only set the 'decoded' class on top-level image documents. r=jaws, r=Ms2ger 2013-06-24 11:29:23 -04:00
Gabor Krizsanits
756a8f8c8c Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Brian O'Keefe
5f8b5163e8 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
Andrea Marchesini
74b148c97f Bug 870787 - Improve named getter for form, r=bz 2013-06-18 08:53:23 -04:00
Jon Coppeard
586c7b4514 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Boris Zbarsky
350d302157 Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE. 2013-06-17 14:54:24 -04:00
Andrea Marchesini
05e883faf9 Bug 870787 - Improve named getter for form, r=bz 2013-06-17 13:07:04 -04:00
Ms2ger
2198ead678 Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC 2013-06-14 19:10:12 +02:00
Jeff Muizelaar
7bd6821f7e Bug 881724. Remove some unneeded includes from nsHTMLDocument.h. r=ehsan
--HG--
extra : rebase_source : 034382c3663f7c20a35e356a4087d57fcc25eaf7
2013-06-10 20:18:29 -04:00
Ms2ger
8742f29802 Bug 882164 - Enter the right compartment to create a new JSObject in nsHTMLDocument::GetAll; r=bz 2013-06-12 22:05:40 +02:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Ms2ger
7197362709 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
d562528531 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Peter Van der Beken
5eba9021ed 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
Arnaud Sourioux
ac2132dad0 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Michael Brennan
18d8f09c5b Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen 2013-05-25 16:09:30 +02:00
Ryan VanderMeulen
468b93224a Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux
ff4b91709f Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Andrew McCreight
eb059d91b2 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
994cfe0b6b 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
Bobby Holley
91448a9dac 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
54ef3d2952 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
Bobby Holley
77d1e43d75 Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-17 10:43:20 -07:00
Ed Morley
aadfc4d36c Backed out changeset 34c65a615373 (bug 860941) 2013-05-17 09:08:31 +01:00
Bobby Holley
7f49ad21dd Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-16 23:33:15 -07:00
David Zbarsky
c8f4001a0a Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
Ted Mielczarek
110919af49 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
Masatoshi Kimura
ac11f43104 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Peter Van der Beken
07b207de36 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
Peter Van der Beken
fbaa0eb3d2 Bug 868929 - Convert ImageDocument to WebIDL, switch to WebIDL. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 18af4f816c456e9a642f12b504651b19765141dc
2013-05-06 15:42:00 +02:00
Peter Van der Beken
0270b0d9a1 Bug 868929 - Convert ImageDocument to WebIDL, move class into a header. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 080b7c60b131b68528a8bee45c30761cbb0e0278
2013-05-06 15:42:00 +02:00
Peter Van der Beken
01dccf283c Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
93361c60c0 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Ehsan Akhgari
5005320e02 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
d6817f696b Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Peter Van der Beken
d6053b1cd0 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
David Zbarsky
943119bee1 Bug 868312: Root nsDOMClassInfo.cpp, part 2 r=bz 2013-05-04 03:51:53 -04:00
Trevor Saunders
3f07541a7a bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
David Zbarsky
c239a75547 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
Cykesiopka
f9304c52fd Bug 541918 - Uncomment head attribute test in content/html/document/test/test_bug324378.html. r=jst 2013-05-02 07:52:25 -04:00
Ed Morley
5cfaa67828 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
2e0cd0171f Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00