Ms2ger
90272ca15c
Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey
2013-03-17 08:55:14 +01:00
Ms2ger
4ceec9db31
Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:13 +01:00
Ms2ger
ead9319d09
Bug 845374 - Part f: Create a new nsDocElementCreatedNotificationRunner.h; r=khuey
...
--HG--
rename : content/base/public/nsContentUtils.h => content/base/public/nsDocElementCreatedNotificationRunner.h
2013-03-17 08:55:12 +01:00
Ms2ger
a35f28d8d9
Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:11 +01:00
Ms2ger
776e780f7e
Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:09 +01:00
Ms2ger
a649b47c77
Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey
2013-03-17 08:55:08 +01:00
Trevor Saunders
2bffe03733
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Phil Ringnalda
31d866ff72
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Chris Pearce
2a8daae8a9
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Bobby Holley
210cff1d9f
Bug 834732 - Introduce AutoPushJSContext. r=mrbkap
...
It's annoying to add yet another RAII class, but we're solving a different
problem here. In particular, there are lots of callers that grab a cx off
of an nsIScriptContext and use it without pushing. Most of the time this
is ok, since that cx is also the active cx. But it's hard to tell when we
might potentially violate that invariant. What's more, we don't want to just
use an nsCxPusher, because that does expensive things even when the cx matches
the one on the top of the stack. Most of these consumers should just switch
to AutoJSContext, but doing such a change en masse is a pretty risky thing to
do. So let's introduce a class that gives us good performance in the common case
and correctness in the uncommon case.
2013-02-26 11:04:12 -08:00
Bobby Holley
e83e186c1b
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
David Zbarsky
b6cdb97b40
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Bobby Holley
a9cbc7eea3
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
2be0c8d31e
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Masatoshi Kimura
2b7120a1ee
Bug 826166 - Remove an ability to set higher JS versions via language attribute. r=jonas
2013-02-05 06:37:21 +09:00
Mounir Lamouri
7915116031
Bug 828472 - Introduce AutoJSContext and SafeAutoJSContext helpers and use them for date handling in nsHTMLInputElement. f=bz r=bholley
2013-01-21 12:38:54 +00:00
Bobby Holley
1d5c9aeac3
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
...
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16
Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke
2013-01-16 18:50:25 -08:00
Mohit Gahlot
b270478eaa
Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir
2013-01-12 15:47:45 -05:00
rfw2nd@gmail.com
ba65d8cebf
Bug 553917 - Add new mathml.properties bundle with error messages for MathML error logging. r=Pike
2012-12-27 11:12:06 -05:00
Boris Zbarsky
c4e0d0fac2
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Scott Johnson
12db3f1cb4
Bug 821801: Make nsContentUtils::ViewportInfo into a separate class in order to allow better state tracking. [r=kats]
2012-12-17 15:24:41 -06:00
Jeff Muizelaar
5a168d2ab1
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Bobby Holley
e6d3334eb8
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Mats Palmgren
bd00f261fb
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Ed Morley
5bd5750ce0
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
8fdbfba792
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Masatoshi Kimura
f72adcc948
Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking
2012-12-10 09:05:33 -05:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Olli Pettay
f62ac2c85e
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Jeff Muizelaar
985473d336
Bug 794957. Use imgLoader instead of imgILoader. r=joe
...
This makes use of imgLoader instead of imgILoader in more places.
--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Ryan VanderMeulen
904b2ad6b8
Merge m-c to inbound.
2012-11-15 20:34:51 -05:00
Ed Morley
28ef3f27d7
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
f3ed372614
Bug 749448 - Remove XTF, r=bz
2012-11-15 14:27:13 +02:00
Robert Longson
a94aa7ca71
Bug 811217 - EventNameType_SMIL is wrong. r=dholbert
2012-11-15 22:09:30 +00:00
Boris Zbarsky
b8c79fd938
Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug
2012-11-14 10:05:41 -08:00
Robert O'Callahan
64eabc5eba
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00
Ehsan Akhgari
c47686a18e
Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky
2012-10-31 00:15:24 -04:00
Nikhil Marathe
44ce273499
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
5b8c5fd31a
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
814dbc2a57
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Peter Van der Beken
a69ce442c1
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Peter Van der Beken
12024180f9
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Bobby Holley
c4465f5bd1
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Bobby Holley
8c277bc6ef
Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Ed Morley
f87439d0bc
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
1598bd50f0
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00