Ms2ger
4d99e1ce9d
Bug 847144 - Rename Element::GetAttributes() to Attributes() and remove null-checks; r=mounir
2013-03-10 08:58:47 +01:00
Ms2ger
161a2d489e
Bug 802560 - Handle the second argument to DOMImplementation.createDocument correctly; r=bz
2013-03-10 08:58:42 +01:00
Ms2ger
5ac502d205
Bug 823549 - Make NodeIterator.detach() a no-op; r=mounir
2013-03-10 08:58:25 +01:00
Olli Pettay
eaf67cc919
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
John Schoenick
9f19e6b705
Backout 9f5cff5a1a3d and 36cde68b1bf4 (Bug 783059) for Android M-1 Orange on a CLOSED TREE
2013-03-08 15:23:43 -08:00
John Schoenick
7216504a17
Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh
2013-03-08 13:21:41 -08:00
Frank Yan
49c0cd1bee
Bug 631473 - Don't consume mouse scroll events outside arrow panels on OS X. r=mstange r=enndeakin
2013-03-08 11:48:48 -08:00
Brian Smith
13bcb99fd4
bug 750421 - remove unnecessary nsIBadCertListener2 and nsISSLErrorListener implementations r=mayhemer r=mounir r=dolske
2013-03-06 11:25:03 -08:00
Simon Montagu
95c2772b26
Move WalkDescendantsClearAncestorDirAuto from BeforeSetAttr to OnSetDirAttr to simplify the test for elements that had dir=auto but no longer do, especially <bdi>. Bug 845093, r=ehsan
2013-03-07 22:53:08 +02:00
Simon Montagu
219546df95
Make sure not to return the old text node in ResetNodeDirection. Bug 845093, r=ehsan
2013-03-07 22:53:08 +02:00
Simon Montagu
1e7b43ea54
Set the AncestorHasDirAuto flag for all new text nodes that need it. Bug 847127, r=ehsan
2013-03-07 22:53:07 +02:00
Simon Montagu
46cd9600a9
Testcase from bug 847127, r=ehsan
2013-03-07 22:53:07 +02:00
Jon Coppeard
a0a3f88913
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
3a53c22824
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
6a98a4532a
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
David Zbarsky
df6170cf1a
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Joe Drew
51c2053e27
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135
2013-02-15 11:48:17 -05:00
Nicholas Nethercote
7a41aa92ce
Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache (2nd attempt). r=smaug.
...
--HG--
extra : rebase_source : c46d667fbcc56bdc1826ea61bc62f656f79c3919
2013-03-04 20:59:29 -08:00
Joe Drew
7c06d22e35
Back out the code changes from bug 841579 for causing a frequent intermittent failure.
...
--HG--
extra : rebase_source : 4748bf23718b781128f93364fad3c6ca924a2008
2013-03-06 15:49:40 -05:00
Joe Drew
b4ef328a8d
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : b2ca068840c2e4effc8c93fd9e5effe122e8b45e
2013-02-15 11:48:17 -05:00
Kyle Huey
d80122ca86
Bug 847171: Null check the window before asking IndexedDB to look up transactions. r=bent
2013-03-06 06:29:58 -08: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
9c37ec87a7
bug 825341 - fix rebase of WrapObject landing on a CLOSED TREE
2013-03-11 21:26:17 -04:00
Trevor Saunders
bcb6f556e0
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Masatoshi Kimura
23ba391ec1
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
John Schoenick
48819d88f1
Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh
2013-03-11 11:47:36 -07:00
Bobby Holley
39877875a7
Bug 844211 - Only check the XBL bit if XBL scopes are disabled. r=bz
2013-03-05 15:16:37 -08:00
Ryan VanderMeulen
ed6506d74a
Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE.
2013-03-05 15:44:15 -05:00
Bobby Holley
1b0d5f1edc
Bug 790732 - Remove Components warning and Telemetry. r=mrbkap
2013-03-05 10:01:59 -08:00
Thomas Zimmermann
0b33333206
Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
...
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-05 09:56:35 -05:00
William Chen
429899b456
Bug 847773 - Added override for GetWrapperCache with smart pointer argument to resolve ambiguity in templates. r=bz
2013-03-04 20:30:13 -08:00
William Chen
a9e43bd562
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap
2012-11-01 11:18:08 -07:00
Nicholas Nethercote
3ce4267e5b
Bug 847210 - Remove nsNodeInfo::sNodeInfoPool and use vanilla allocation for nsNodeInfo objects. r=smaug.
...
--HG--
extra : rebase_source : 667a818984e7ce6d22669861992a06e832755dfb
2013-02-28 18:53:49 -08:00
Joe Drew
02ac9026a6
Backed out 2 changesets (bug 841579) on a CLOSED TREE
...
Backed out changeset d21d144e3db9 (bug 841579)
Backed out changeset 0222cb048028 (bug 841579)
2013-03-04 17:27:51 -05:00
Joe Drew
da4e770926
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Boris Zbarsky
b002bb800b
Bug 827158 part 11. Move HTMLObjectElement to Web IDL bindings. r=peterv
2013-01-06 18:55:14 -05:00
Boris Zbarsky
759868b182
Bug 827158 part 10. Implement the WebIDL API for <object>. r=peterv,johns
2013-03-04 14:08:24 -05:00
Boris Zbarsky
281f0e8cd1
Bug 827158 part 5. Refactor some of the nsHTMLPluginObjElementSH code to be able to work with WebIDL objects. r=peterv,johns
2013-03-04 14:08:23 -05:00
Henri Sivonen
a2fbf951cd
Bug 844461 - Perform alias resolution on the fallback encoding pref value. r=smontagu.
2013-03-04 20:09:11 +02:00
L. David Baron
6edea8fa53
Bug 846096: Bail out of nsRange::ParentChainChanged if the nodes aren't in a connected subtree. r=smaug
2013-03-04 08:37:48 -08:00
Ryan VanderMeulen
47aa8f5a0b
Backed out 5 changesets (bug 834172) for Android build bustage.
2013-03-04 11:17:36 -05:00
Thomas Zimmermann
d634135a54
Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
...
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-04 10:24:44 -05:00
Henri Sivonen
a9440b263c
Bug 843508 - Remove support for multipart XHR responses. r=jst.
2013-03-04 11:06:15 +02:00
Mats Palmgren
6541316d0a
Bug 690659 - Bustage fix for clang 3.2. r=Ms2ger
2013-03-03 21:34:47 +01:00
Tom Schuster
5acff1931d
Bug 690659 - Test. r=sicking
2013-03-03 19:30:13 +01:00
Tom Schuster
2079193db4
Bug 690659 - Add the optional filename parameter to the FormData.append method. r=sicking
2013-03-03 19:30:13 +01:00
Neil Rashbrook
59a14873fd
Bug 738952 Make it possible for a stream converter to propagate the actual MIME type to the document r=bz
...
--HG--
rename : build/mach_bootstrap.py => mach
extra : rebase_source : fdfacff52e126440966a4b989a240eb3517c29d5
2013-03-02 14:23:20 +00:00
Trevor Saunders
c214d0f60b
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Henri Sivonen
87f371fa11
Bug 844792 addendum - Adjust advice about multipart support removal in XHR and make the message non-localizable. r=smaug.
2013-03-01 16:42:39 +02:00
Boris Zbarsky
f130eaefeb
Bug 845881. Go back to allowing any 2xx response code to a preflight request, since web sites do that. r=sicking
2013-03-01 00:57:13 -05:00
Boris Zbarsky
8cfff048ee
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
a3cebd1049
Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv
2013-02-28 12:56:42 -05:00
Boris Zbarsky
2774421a19
Bug 776536 part 2. Rename nsTreeWalker to mozilla::dom::TreeWalker. r=peterv
...
--HG--
rename : content/base/src/nsTreeWalker.cpp => content/base/src/TreeWalker.cpp
rename : content/base/src/nsTreeWalker.h => content/base/src/TreeWalker.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
4db505431f
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
69e916da61
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
Ryan VanderMeulen
c952e87e03
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
e594545631
Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
...
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
08d376c598
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
f2eec1914c
Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv
2013-02-28 12:56:42 -05:00
Boris Zbarsky
51b79f1f61
Bug 776536 part 2. Rename nsTreeWalker to mozilla::dom::TreeWalker. r=peterv
...
--HG--
rename : content/base/src/nsTreeWalker.cpp => content/base/src/TreeWalker.cpp
rename : content/base/src/nsTreeWalker.h => content/base/src/TreeWalker.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
8f02848ab6
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
b61edd4457
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
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Ed Morley
f2accc3780
Bug 404077 - Adjust annotations of expected assertions; r=me on a CLOSED TREE
2013-02-28 13:24:36 +00:00
Gregory Szorc
e1b210ddf6
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
0c8ee65118
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
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04
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
72ed2beb7b
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Simon Montagu
311e1a3474
Test for bug 844404
2013-02-27 09:32:50 +02:00
Simon Montagu
19bb19d1fc
Test for bug 841205
2013-02-27 09:32:48 +02:00
Ehsan Akhgari
e844e1acf3
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
8453dd3a26
Bug 689623. Part 12. Assume images in popups are visible. r=mats
2013-02-24 18:59:23 -06:00
Timothy Nikkel
9e119b46eb
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
45f8b4f1f9
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
8ca393d546
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
2bf3ac0766
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
7796029ae8
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
d54e129c53
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
dcf2d17b8e
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Bobby Holley
07f2fa5d3f
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
Jonathan Kew
92312d56b8
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
5dabdddc3c
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
3f112891fb
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
Boris Zbarsky
0bc630a626
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
49b7670edf
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
ba9cc96a51
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
70e8cc44a9
Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey
2013-02-26 16:30:09 -05:00
Boris Zbarsky
da7352fc49
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
247b3cc18a
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
7b9176007d
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08: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
c0f7851ce3
Bug 834732 - Push a cx in AdoptNode. r=mrbkap
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
c53f414560
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
ab21f606e7
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
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
Boris Zbarsky
beb08b6c9d
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
516de3340f
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