Commit Graph

623 Commits

Author SHA1 Message Date
Garrett Robinson
73cfb40552 Bug 837351 - Log blocked mixed content to the Error and Web Consoles. r=smaug 2013-04-22 18:08:18 -07:00
David Zbarsky
9e176d3804 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Masatoshi Kimura
d170276e63 Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen 2013-04-16 21:19:29 +09:00
Joshua Cranmer
1eb62b3971 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
Scott Johnson
db66a98bce Bug 824965: Implement a method of getting correct CaretPosition from within anonymous content nodes. [r=ehsan] 2013-04-11 10:12:49 -05:00
David Zbarsky
3febe3b914 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Gabor Krizsanits
2edb19076f Bug 820170 - Turning BackstagePass into non-singleton. r=bholley 2013-04-04 11:27:38 +02:00
William Chen
591ce8a1df Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Peter Van der Beken
c3d9bfaa96 Fix for bug 852979 (Remove unused nsContentUtils::JSArrayToAtomArray). r=smaug.
--HG--
extra : rebase_source : c61c3477d5686956a44d45685c59c0a3415dc3c3
2013-03-25 12:19:11 +01:00
Olli Pettay
0e8cf1f788 Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Mounir Lamouri
fe9dacd3d0 Bug 849438 - Searches in ListControlFrames should ignore  . r=bz 2013-03-22 17:52:52 +00:00
Ryan VanderMeulen
461246484e Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Jared Wein
0295cdf922 Bug 851230 - Framed plain text documents should not have word wrap applied. r=bz 2013-03-19 16:30:53 -04:00
Mounir Lamouri
9240526f3a Bug 849438 - Searches in ListControlFrames should ignore  . r=bz 2013-03-19 18:24:35 +00:00
Ms2ger
a55eebf164 Bug 845374 - Part t: Stop including js/Value.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
51cced7786 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
960b59de37 Bug 845374 - Part q: Stop including nsThreadUtils.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
964da67a5c Bug 845374 - Part p: Stop including nsDataHashtable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
3d629a48ad Bug 845374 - Part o: Stop including nsIDOMEvent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
940177b2dd Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
24ae86e09f Bug 845374 - Part m: Move nsContentUtils::PositionIsBefore out of line; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
4f5fca99bc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
b23eb4bedb Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
30583e01b5 Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
5dbdf12e28 Bug 845374 - Part i: Stop including nsNodeInfoManager.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
a94aa82b0a Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey 2013-03-17 08:55:14 +01:00
Ms2ger
eb52584f84 Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:13 +01:00
Ms2ger
bb9c16a013 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
cdf1357b9f Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:11 +01:00
Ms2ger
26be5f64e2 Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:09 +01:00
Ms2ger
232bc31859 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
585a307b78 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
97983b5f15 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
bcb6f556e0 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Chris Pearce
dcf2d17b8e Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Bobby Holley
66c30c5ec8 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
321002c62d 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
d2ef489c30 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
03f7f4b219 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
63fa89c316 Bug 833446: Remove nsIDOMSVGSVGElement r=peterv 2013-02-08 14:55:07 -05:00
Bobby Holley
af54a3636a 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
1b758ec295 Bug 821850 - Expose XBL members via Xray wrappers. r=bz 2013-02-08 14:24:21 +00:00
Masatoshi Kimura
76afb28c30 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
11e3166982 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
d668366180 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
5ecdee02e9 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Mohit Gahlot
58a2c20c33 Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir 2013-01-12 15:47:45 -05:00
rfw2nd@gmail.com
c62e775b20 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
53a5112fb0 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
7934ac6871 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