Boris Zbarsky
fd61c32a1a
Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv
...
--HG--
rename : content/base/src/nsNodeIterator.cpp => content/base/src/NodeIterator.cpp
rename : content/base/src/nsNodeIterator.h => content/base/src/NodeIterator.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
d044749cdb
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Ed Morley
145ed7d7b2
Bug 404077 - Adjust annotations of expected assertions; r=me on a CLOSED TREE
2013-02-28 13:24:36 +00:00
Gregory Szorc
89d297a677
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
aa0fed2e03
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Simon Montagu
aa7eb9f17a
Test for bug 844404
2013-02-27 09:32:50 +02:00
Simon Montagu
a36bcf04b0
Test for bug 841205
2013-02-27 09:32:48 +02:00
Ehsan Akhgari
87b07b2898
Bug 844169 - Part 1: Rename nsHTMLIFrameElement to mozilla::dom::HTMLIFrameElement; r=bzbarsky
...
--HG--
rename : content/html/content/src/nsHTMLIFrameElement.cpp => content/html/content/src/HTMLIFrameElement.cpp
rename : content/html/content/src/nsHTMLIFrameElement.h => content/html/content/src/HTMLIFrameElement.h
extra : rebase_source : 67c393954a0c46f80b8729277504e9ced5c64d33
2013-02-22 19:59:26 -05:00
Timothy Nikkel
43a81594dc
Bug 689623. Part 12. Assume images in popups are visible. r=mats
2013-02-24 18:59:23 -06:00
Timothy Nikkel
d65ed2f0df
Bug 689623. Part 9. Make images default to visible when they have a frame created for them. r=mats
2013-02-24 18:59:23 -06:00
Timothy Nikkel
8919430d6a
Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats
2013-02-24 18:59:22 -06:00
Timothy Nikkel
377837d583
Bug 689623. Part 4. Add a visible count to nsIImadeLoadingContent, and use it when locking the image. r=joe
2013-02-24 18:59:21 -06:00
Timothy Nikkel
0cae0af928
Bug 689623. Part 3. In nsImageLoadingContent add a flag to TrackImage that skips the check if we have a frame so that we can use TrackImage everywhere (including FrameCreated) instead of AddImage. r=joe
2013-02-24 18:59:21 -06:00
Timothy Nikkel
089010f205
Bug 689623. Part 2. In nsImageLoadingContent make the discard request an optional part of UntrackImage so that we can use UntrackImage everywhere instead of RemoveImage. r=joe
2013-02-24 18:59:21 -06:00
Ehsan Akhgari
63a702bcac
Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky
2013-02-26 21:26:10 -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
440bea3fd7
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
Jonathan Kew
0dfdf59d24
bug 844454 - don't try to get a Unicode decoder for an empty charset name. r=hsivonen
2013-02-25 15:56:19 +00:00
Henri Sivonen
92eb08092d
Bug 844792 - Warn about the upcoming removal of multipart support in XHR. r=smaug.
2013-02-25 17:12:13 +02:00
Peter Van der Beken
410cee5e49
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
Boris Zbarsky
51b8917bbc
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
L. David Baron
a144cc1c82
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
L. David Baron
a953552f1a
Bug 404077: Do GC in a small number of tests to reduce the spread of GC-related assertions. r=Jesse
2013-02-26 22:23:08 -08:00
Ryan VanderMeulen
af6a83507b
Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey
2013-02-26 16:30:09 -05:00
Boris Zbarsky
8f45a6f4d4
Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like
2013-02-26 15:34:25 -05:00
Boris Zbarsky
e68a91179b
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Bobby Holley
d1a3436036
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08: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
65df4a86fd
Bug 834732 - Push a cx in AdoptNode. r=mrbkap
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
10b21fa400
Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
...
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-26 11:04:10 -08:00
Bobby Holley
c6da4f2657
Bug 834732 - Make SafeAutoJSContext actually push something. r=mrbkap
...
Currently it never does, because the SafeJSContext doesn't have an
nsIScriptContext behind it. :-(
2013-02-26 11:04:10 -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
Boris Zbarsky
d917523d97
Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
...
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode. Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Boris Zbarsky
12d1591d42
Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv
2013-02-22 09:56:29 -05:00
Masatoshi Kimura
0f451ab067
Bug 843489 - Drop support for .createEvent("progressevent"). r=smaug
2013-02-23 14:49:59 +09:00
Masatoshi Kimura
b1f455df2c
Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz
2013-02-23 13:46:06 +09:00
Masatoshi Kimura
67762a7b41
Bug 842372 - Part 1: Implement nsINode::ShouldExposeUserData. r=bholley
2013-02-23 13:46:05 +09:00
Phil Ringnalda
91d0dcf37d
Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures
2013-02-22 20:40:24 -08:00
Chris Pearce
b4438def93
Bug 805613 - Don't remove fullscreen approved observer on documents which don't add it, prevents assertion failure spam. r=bz
2013-02-26 18:40:53 +13:00
Chris Pearce
45b77fa242
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Sid Stamm
be0016e68d
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Masatoshi Kimura
c3667d43f3
Bug 843489 - Make initProgressEvent() [noscript]. r=smaug
2013-02-23 09:14:35 +09:00
Ehsan Akhgari
17bceb4c6e
Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
2013-02-19 00:54:23 -05:00