Boris Zbarsky
6994912da0
Bug 870667. Reinstate a way to turn off performance.timing bits using a pref. r=smaug
...
This is used by the Tor project, for example.
2013-05-10 18:57:58 -04:00
Bobby Holley
d0202a05c6
Bug 857356 - Remove XBL field auto-waiving. r=bz
2013-05-09 09:16:01 -07:00
Boris Zbarsky
4f17ea0254
Bug 869311. More rooting in dom/bindings and content/base. r=smaug
2013-05-07 22:34:56 -04:00
Sankha Narayan Guria
7f0c4baace
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
e6b1eb46b4
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Ed Morley
dfe0338333
Backed out changeset b514d768d793 (bug 866450)
2013-05-02 11:57:14 +01:00
David Zbarsky
bc9b1bccdc
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Bobby Holley
515a945b71
Bug 865729 - Make nsContentUtils munge the cx stack with sXPConnect directly. r=gabor
2013-04-29 11:16:21 -07:00
David Zbarsky
82391d9a22
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Garrett Robinson
6c7617d947
Bug 837351 - Log blocked mixed content to the Error and Web Consoles. r=smaug
2013-04-22 18:08:18 -07:00
David Zbarsky
204a17f3b2
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Masatoshi Kimura
145b5b5cd1
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Joshua Cranmer
66e39d8aff
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
830b495b0e
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
785f24e28f
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Gabor Krizsanits
c38a4cd7da
Bug 820170 - Turning BackstagePass into non-singleton. r=bholley
2013-04-04 11:27:38 +02:00
William Chen
9ec88d1fbb
Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz
2013-03-26 00:15:23 -07:00
Peter Van der Beken
7ad60eda0b
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
b83c5a57ac
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
bdd72ba9e1
Bug 849438 - Searches in ListControlFrames should ignore . r=bz
2013-03-22 17:52:52 +00:00
Ryan VanderMeulen
1cfe288152
Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures.
2013-03-19 16:44:14 -04:00
Jared Wein
5f4a7a8d85
Bug 851230 - Framed plain text documents should not have word wrap applied. r=bz
2013-03-19 16:30:53 -04:00
Mounir Lamouri
cdeb0510c2
Bug 849438 - Searches in ListControlFrames should ignore . r=bz
2013-03-19 18:24:35 +00:00
Ms2ger
8851a21b17
Bug 845374 - Part t: Stop including js/Value.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
d52bebdeb3
Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
9186374e0a
Bug 845374 - Part q: Stop including nsThreadUtils.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
d5f9e6c8c7
Bug 845374 - Part p: Stop including nsDataHashtable.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
8e3b668e74
Bug 845374 - Part o: Stop including nsIDOMEvent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
772cf802cf
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
a4fa8a21ff
Bug 845374 - Part m: Move nsContentUtils::PositionIsBefore out of line; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
a2173990cc
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
597a4c9da4
Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
8834dd56c9
Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
7605f09582
Bug 845374 - Part i: Stop including nsNodeInfoManager.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
8324213971
Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey
2013-03-17 08:55:14 +01:00
Ms2ger
96307a5c9b
Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:13 +01:00
Ms2ger
f8e13f3750
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
35ae411e5a
Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:11 +01:00
Ms2ger
f895b31cb6
Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:09 +01:00
Ms2ger
f598c02361
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
43728598df
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Phil Ringnalda
7fbba09df0
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Chris Pearce
6e3f4d2969
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Bobby Holley
9e96be0f79
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
51ba6ef50d
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
9190ce39d5
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
997dcc7d65
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
61eee9a22a
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Bobby Holley
dc7e7a50d2
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00