Trevor Saunders
67dff5d95a
bug 850797 - add nsIDocument::IsVisibleConsideringAncestors() r=bz
2013-03-16 00:13:38 -04:00
Boris Zbarsky
f257517c68
Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv
2013-03-17 10:42:59 -04:00
Ms2ger
efad9ae54c
Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking
2013-03-17 09:51:34 +01:00
Ms2ger
22922b6e92
Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz
2013-03-17 08:55:16 +01: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
Aryeh Gregor
2402979f16
Bug 801562 - Remove Node.isSupported; r=bz
...
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Gregory Szorc
94e8454958
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Trevor Saunders
43728598df
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ms2ger
2cf07efa15
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
c910249aca
Bug 847144 - Rename Element::GetAttributes() to Attributes() and remove null-checks; r=mounir
2013-03-10 08:58:47 +01:00
Ms2ger
0d3aeed377
Bug 823549 - Make NodeIterator.detach() a no-op; r=mounir
2013-03-10 08:58:25 +01:00
Olli Pettay
e5921ddec1
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
John Schoenick
71a00b3eb8
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
87fcfa27f0
Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh
2013-03-08 13:21:41 -08:00
Simon Montagu
45d3149032
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
e0a88835d2
Set the AncestorHasDirAuto flag for all new text nodes that need it. Bug 847127, r=ehsan
2013-03-07 22:53:07 +02:00
David Zbarsky
93d6530216
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -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
Masatoshi Kimura
e5e5a90814
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
John Schoenick
d26e788877
Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh
2013-03-11 11:47:36 -07:00
Ryan VanderMeulen
1ce2c3fc86
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
cf88b2614c
Bug 790732 - Remove Components warning and Telemetry. r=mrbkap
2013-03-05 10:01:59 -08:00
William Chen
f3658e2a5e
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap
2012-11-01 11:18:08 -07:00
Nicholas Nethercote
e49dea6837
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
Boris Zbarsky
c86a1e8dfd
Bug 827158 part 10. Implement the WebIDL API for <object>. r=peterv,johns
2013-03-04 14:08:24 -05:00
Henri Sivonen
67ec77499c
Bug 843508 - Remove support for multipart XHR responses. r=jst.
2013-03-04 11:06:15 +02:00
Trevor Saunders
60678a2f23
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Boris Zbarsky
4549dd5886
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
Ryan VanderMeulen
ebcc7ae06a
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
fee019f92c
Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
...
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
30f64b6cf1
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
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01: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
aa0fed2e03
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08: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
Chris Pearce
6e3f4d2969
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13: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
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
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
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
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
45b77fa242
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
Sid Stamm
be0016e68d
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
858de2ee46
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Boris Zbarsky
2b330ac631
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
Trevor Saunders
70d157e13c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Masatoshi Kimura
e28c9f3dcd
Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking
2013-02-20 20:54:19 +09:00
Trevor Saunders
4bc29b1b63
bug 841706 - remove nsSelectionIterator r=smaug
2013-02-15 05:52:57 -05:00
Trevor Saunders
6dda3041a7
bug 839059 - make nsISelection{,Private} builtinclass r=smaug
2013-02-11 13:14:01 -05:00
Ryan VanderMeulen
1568f7d987
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
363a88b529
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-13 00:22:26 +01:00
Bobby Holley
70a369794a
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-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b
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-13 00:22:26 +01:00
David Zbarsky
61eee9a22a
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Andrea Marchesini
7da035db98
Bug 839105 - Rename nsHTMLFieldSetElement to HTMLFieldSetElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLFieldSetElement.cpp => content/html/content/src/HTMLFieldSetElement.cpp
rename : content/html/content/src/nsHTMLFieldSetElement.h => content/html/content/src/HTMLFieldSetElement.h
2013-02-08 11:34:47 -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
Bobby Holley
4b306e73c6
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Scott Johnson
6b94c8c1a9
Bug 838668: Rev IID of nsIDOMFile and revert incorrectly revved IID for nsIDOMBlob. [r=bsmedberg]
2013-02-06 14:27:20 -06:00
Ben Turner
78bb29569f
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Masatoshi Kimura
ac4bb091ac
Bug 826166 - Remove an ability to set higher JS versions via language attribute. r=jonas
2013-02-05 06:37:21 +09:00
Peter Van der Beken
aa02745915
Fix for bug 830879 (HTML Element WebIDL bindings require classinfo). r=bz.
...
--HG--
extra : rebase_source : a88a5f24d3d4c12b652f1228eb5b3b7bb8b9e5ee
2013-01-10 10:54:32 +01:00
Mounir Lamouri
116e0cedd6
Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger
2013-01-31 23:11:49 +00:00
Mounir Lamouri
a18e2cffe2
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/base/. r=Ms2ger
2013-02-01 11:00:41 +00:00
Boris Zbarsky
e07baed27f
Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
6c77187ae8
Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
db8332a07c
Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Phil Ringnalda
9e36f71547
Back out 0b427bfd720d:79e6231558d7 (bug 836050) for Mac and b2g build bustage
...
CLOSED TREE
2013-01-30 20:41:02 -08:00
Boris Zbarsky
692cc658a6
Bug 836050 followup. Rev the nsIContent and Element IIDs. r=smaug
2013-01-30 22:28:38 -05:00
Boris Zbarsky
13b47acc40
Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
f09f69833a
Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
cfe74f2ae2
Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
27b20c21af
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Tanvi Vyas
b2410d8bef
Bug 822367 - Add mixed display flags to the document. Add mixed display and mixed active states to nsIWebProgressListener and use them in nsMixedContentBlocker. r=smaug
2013-01-30 00:04:41 -08:00
Tanvi Vyas
0a286666d8
Bug 822367 - Plumbing needed to show user Mixed Content Blocker Doorhanger when Mixed Active Content is Blocked and allow user an option to load the inseucre content anyway. r=smaug
2013-01-30 00:04:31 -08:00
David Zbarsky
234f80e7bb
Bug 836176: Add nsIDocument::AsHTMLDocument r=bz
2013-01-30 01:31:11 -05:00
Boris Zbarsky
a2dcee3f25
Bug 835417 part 1. Mark Node.namespaceURI as not throwing, since [Constant] things aren't allowed to throw (though we were not enforcing that). r=peterv
2013-01-29 17:53:52 -05:00
Boris Zbarsky
66e49b02aa
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
8231be64a0
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
c60373bc80
Bug 834877 part 5. Add an overload of GetAttribute that takes a DOMString. r=peterv
2013-01-29 09:42:15 -05:00
Boris Zbarsky
ce4c3cbc12
Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv
2013-01-29 09:42:14 -05:00
Robert O'Callahan
a0d9b3a323
Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
...
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Peter Van der Beken
b9d2ae906f
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
bc0702d0d7
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Bobby Holley
5b106e3b14
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Bobby Holley
bec0b2c540
Bug 833412 - Fix tests that call addBinding. r=bz
2013-01-24 18:45:49 +01:00
Mounir Lamouri
f929fe87f0
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
Henri Sivonen
18704e2d42
Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky.
2013-01-18 16:27:03 +02:00
Bobby Holley
2780e92307
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
...
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
057de60a8d
Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke
2013-01-16 18:50:25 -08:00
David Zbarsky
5550efaefb
Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz
2013-01-15 03:35:59 -05:00
Andrea Marchesini
60ca8dd167
Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking
2013-01-14 11:08:55 +01:00
Simon Montagu
06e49dc3ab
Use IsHtml(foo) instead of NodeInfo()->Equals(foo). Bug 828166, r=peterv
2013-01-13 08:08:59 -08:00
David Zbarsky
ae40c85085
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Mohit Gahlot
668233dc75
Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir
2013-01-12 15:47:45 -05:00
Trevor Saunders
acb9fa5812
bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan
2012-12-18 17:30:11 -05:00
Ms2ger
68bbcd67a0
Merge m-c to m-i.
2013-01-11 15:11:42 +01:00
Ms2ger
3c26b8b8e4
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
3afadd016c
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
David Zbarsky
265bf3ef8c
Bug 825147: Address review comments for SVGImageElement r=bz
2013-01-10 00:32:17 -05:00
Ian Melven
dea7953b9b
Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 1 (r=bz)
2013-01-09 10:57:03 -08:00
Brad Lassey
43a675480e
bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3
2013-01-03 22:27:06 -05:00
Cervantes Yu
7870585aaf
Bug 820571: Don't show remote frame on restyles until reflow finished. r=roc
...
Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.
--HG--
extra : rebase_source : 24959ad409eb4e8993ae9eb0a82f5d670866ba54
2013-01-10 15:23:55 +08:00
Ed Morley
3543eadcba
Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE
2013-01-11 11:13:17 +00:00
David Zbarsky
b20442f721
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-11 02:15:05 -05:00
Kyle Huey
6525389cc0
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Ed Morley
acba59dcdf
Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE
2013-01-10 15:21:39 +00:00
Kyle Huey
fb593adfcf
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Cameron McCormack
d617d4b9f8
Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz
2013-01-09 10:25:48 +11:00
Cameron McCormack
e1fe24451a
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
90edb9cab0
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Boris Zbarsky
df66ecbe66
Bug 826703 part 3. Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction. r=peterv
...
--HG--
rename : content/xml/content/src/nsXMLProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
2013-01-08 15:45:06 -05:00
Boris Zbarsky
3f10a7395a
Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv
2013-01-08 15:45:06 -05:00
Olli Pettay
fffe498e99
Bug 771942, normal content policy checks for chrome data documents, r=bz, a=akeybl
2013-01-08 19:16:28 +02:00
Ed Morley
059e266627
Backout ee16318ac67b (bug 793755) for test_meta_viewport[0-9].html failures
2013-01-07 20:34:36 +00:00
Brad Lassey
ac9e97ff23
bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3
2013-01-03 22:27:06 -05:00
Scott Johnson
ba70800ef1
Bug 825499: Add caretPositionFromPoint to Document.webidl. [r=Ms2ger]
...
--HG--
rename : content/base/test/test_bug654352.html => content/base/test/test_caretPositionFromPoint.html
2013-01-07 11:56:48 -06:00
Gene Lian
6673f04f25
Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking
2012-12-22 20:00:10 +08:00
Simon Montagu
9296444cde
Clear element from nsTextDirectionalityMap when unbinding. Bug 819623, r=peterv
2013-01-06 01:45:28 -08:00
Simon Montagu
a64d0bc1bc
Don't set AncestorHasDirAuto when binding a <bdi> element to the tree. Bug 815043, r=peterv
2013-01-06 01:45:28 -08:00
Robert O'Callahan
85884b1a4b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
William Chen
7cd5470029
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Ehsan Akhgari
2dba4e4b13
Bug 825527 - Part 4: Mirror the nsIImageLoadingContent API in HTMLImageElement for chrome callers; r=bzbarsky
2013-01-02 14:30:02 -05:00
Julien Levesy
dff8ef0071
Bug 811753 - Add nsIContent::IsEventAttributeName and use it instead of having callers guess the right flags for the content node in question. r=bzbarsky.
2013-01-02 21:24:07 +01:00
Masatoshi Kimura
e816e36d4b
Bug 824247 - Part 1: Fix common source of warning spam (dom). r=smaug
2013-01-03 00:55:05 +09:00
Boris Zbarsky
002d1538c2
Bug 824824. Add support for passing multiple touches as arguments to createTouchList. r=mbrubeck,peterv
2012-12-31 10:37:22 -08:00
David Zbarsky
26aa8302a3
Bug 824603 Part 2: Move nsDOMDocumentType => mozilla::dom::DocumentType r=bz
...
--HG--
rename : content/base/src/nsDOMDocumentType.cpp => content/base/src/DocumentType.cpp
rename : content/base/src/nsDOMDocumentType.h => content/base/src/DocumentType.h
2012-12-28 20:34:02 -05:00
rfw2nd@gmail.com
a1f931ced6
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
90a34fb045
Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
...
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Peter Van der Beken
5c8280e854
Fix for bug 811701 (Move innerHTML/outerHTML/insertAdjacentHTML from HTMLElement to Element). r=bzbarsky.
2012-12-23 18:38:41 -08:00
Peter Van der Beken
6b82e32e41
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Ms2ger
1db66739bf
Merge m-c to inbound.
2012-12-22 14:42:37 +01:00
Ms2ger
4e7e2a5d51
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
04dea95f0c
Bug 819639 - Part b: Move EventSource to Paris bindings; r=bz
2012-12-22 09:17:05 +01:00
Ms2ger
891e537528
Bug 817279 - Make Element::SetParsedAttr non-virtual; r=bz
2012-12-22 09:04:08 +01:00
Neil Rashbrook
7ede8e093a
Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking
2012-12-21 10:09:50 +00:00
Boris Zbarsky
20a6d96dc4
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
Kyle Huey
3c66ee194a
Bug 696591: Properly handle blocking databases from pages that are entering the bfcache. r=bent,bz
2012-12-20 06:18:03 -08:00
Joe Drew
d070cfdc5f
Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel
2012-12-18 11:37:15 -05:00
Scott Johnson
f5cdc7a954
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
Boris Zbarsky
5e83f7f535
Back out bug 818371 because what we used to do actually matches the spec.
2012-12-16 00:16:47 -05:00
Masayuki Nakano
0adde071a4
Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug
2012-12-16 10:26:04 +09:00
Jeff Muizelaar
b4e2a8d95a
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
Ed Morley
5728642a43
Merge mozilla-central to mozilla-inbound
2012-12-21 11:41:08 +00:00
Daniel Holbert
f11d1507e0
(no bug) Fix 2 comment typos: s/scrol/scroll/ in "scrolbar" and "ScrolLeft". Comment-only, DONTBUILD
2012-12-21 00:38:49 -08:00
Boris Zbarsky
7cbdd79ac6
Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking
2012-12-13 17:08:44 -05:00
Tanvi Vyas
0127a94070
Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug)
2012-12-13 14:53:06 -08:00
John Schoenick
84b9c456d3
Bug 767638 - Greatly simplify loading full-page plugins. r=josh
2012-12-13 13:51:27 -08:00
Bobby Holley
3fcdd84451
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Mats Palmgren
fa172a5e94
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Nicholas Cameron
04002c184f
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Kyle Huey
947106a519
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Ed Morley
2781a25aa5
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
273cdc4adc
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Mats Palmgren
fcd6628cae
Bug 820219 - Remove the PR_ prefix for a few PR_[U]INT32_MAX that has been added since bug 791906. r=roc
2012-12-11 16:45:50 +01:00
Ed Morley
afe82ab291
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Trevor Saunders
da73fd4891
bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey
2012-12-05 17:20:57 -05:00
Kyle Huey
9b92167718
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 03:54:08 -08:00
Masatoshi Kimura
89a4119635
Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking
2012-12-10 09:05:33 -05:00
John Schoenick
19cc51ed21
Bug 810082 - Part 0.5 - Add script access event for CTP'd plugins r=joshmoz
2012-12-07 14:50:10 -08:00
Benedict Singer
eef8ddc2e4
Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky
2012-12-07 09:35:14 -05:00
Boris Zbarsky
52ea909e8e
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Boris Zbarsky
f0b49397bb
Bug 818371. Don't fire visibility change events until we're done updating vsibility states in the entire docshell tree. r=smaug
2012-12-06 15:21:18 -05:00
Ehsan Akhgari
b04c552fdc
Backed out changeset 8c95cee5cd9e (bug 801466) because of test failures in mochitest-1
2012-12-06 01:09:30 -05:00
Trevor Saunders
0edc053528
bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey
2012-12-05 17:20:57 -05:00
David Keeler
b2d4529e8c
bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws
2012-12-05 13:00:52 -08:00
Andrew McCreight
bf4449f2b7
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Masatoshi Kimura
718fa2f004
Bug 816410 - Part 2: Remove legacy constructor functions. r=bz
2012-12-03 20:26:16 -05:00
Peter Van der Beken
f95d18d798
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Mats Palmgren
0bae59cdf1
Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz
2012-11-30 17:04:11 +01:00
Boris Zbarsky
8733303ab3
Bug 811021. Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron
2012-11-29 18:24:04 -05:00
Ed Morley
6235b77c71
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00
Peter Van der Beken
147e2bb1eb
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Olli Pettay
1e72329799
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
Michal Novotny
49503a3335
Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas
2012-11-27 12:48:15 +01:00
Daniel Holbert
d916ba2f53
Bug 815058: Move callers of mozilla-internal-API-only "SetDOMStringToNull()" from nsINode.h to .cpp, to fix "inline function used but never defined" build warnings. r=Ms2ger
2012-11-27 00:41:02 -08:00
Boris Zbarsky
68481c3ece
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Ryan VanderMeulen
47710276d9
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
52e3d77eed
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Simon Montagu
982988287e
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Tanvi Vyas
a748362201
Bug 802905 - Create custom Content Type for CSP Reports. r=sstamm, sr=bz
2012-11-20 20:28:34 -05:00
Phil Ringnalda
305c73b87c
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Simon Montagu
e3a9ed59c0
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
Boris Zbarsky
e36502c14f
Bug 812086 part 4. Warn when consumers use the moz-prefixed versions of visibility API. r=smaug
2012-11-16 17:39:59 -08:00
Ehsan Akhgari
5f95ee9011
Bug 812563 - Give nsHostObjectProtocolHandler a virtual destructor; r=bzbarsky
2012-11-16 11:13:35 -08:00
Jeff Muizelaar
0827ec3aaa
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
db7f695a13
Merge m-c to inbound.
2012-11-15 20:34:51 -05:00
Ryan VanderMeulen
a863a6177e
Merge the last PGO-green inbound changeset to m-c.
2012-11-15 20:21:35 -05:00
Bobby Holley
e3a419e442
Bug 811152 - Decxify various DOM methods. r=me
2012-11-15 11:54:34 -08:00
Ed Morley
58c3ec8021
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
533f6f83e2
Bug 656311 - Remove XML Events, r=bz
2012-11-15 14:29:58 +02:00
Olli Pettay
660783c739
Bug 749448 - Remove XTF, r=bz
2012-11-15 14:27:13 +02:00
Alexander Surkov
7a6ab7eb9d
Bug 811729 - remove XForms a11y support, r=tbsaunde
2012-11-16 01:43:41 +09:00
Boris Zbarsky
d23220892d
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
3f8bfcaee1
Bug 811449 part 7. Get rid of nsGenericElement in Element.cpp. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
c85615b539
Bug 811449 part 5. Drop no longer needed namespacing on arguments and return values of Element methods. r=peterv
2012-11-14 14:10:07 -08:00
Boris Zbarsky
a6ed62ddd6
Bug 811449 part 4. Move the data members of Element to the end of the class. r=peterv
2012-11-14 14:10:07 -08:00
Boris Zbarsky
e369ff0f95
Bug 811449 part 3. Eliminate nsGenericElement as a separate class.
2012-11-14 14:10:07 -08:00
Boris Zbarsky
1cd424521b
Bug 811449 part 2. Combine the forward-declares and includes in Element.h. r=peterv
...
This is just moving includes and forward-declares and some inline
implementations around. No substantive changes.
2012-11-14 14:10:07 -08:00
Boris Zbarsky
0c7a0663e9
Bug 811449 part 1. Move everything from nsGenericElement.h to Element.h. r=peterv
...
Note: This is just moving code as-is, with absolutely no changes
outside of the Link bits that are needed to make mock_Link compile.
2012-11-14 14:10:07 -08:00
Robert Longson
13a09d1779
Bug 811217 - EventNameType_SMIL is wrong. r=dholbert
2012-11-15 22:09:30 +00:00
Boris Zbarsky
bc9949138a
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
ef63ff8332
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
Peter Van der Beken
30532e2297
Fix for bug 811069 (Make *Element.onerror return EventHandler instead of OnErrorEventHandler). r=bz.
...
--HG--
extra : rebase_source : a40c6cd2bad3126ee18392b41f4274380b211d10
2012-11-13 14:37:39 +01:00
Peter Van der Beken
508194a997
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Philipp von Weitershausen
c7830976fa
Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv
2012-11-09 20:32:10 -05:00
Peter Van der Beken
584658dc3e
Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
...
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Robert O'Callahan
5b4fb3c358
Bug 792675. Part 5: Extend nsHostObjectProtocolHandler with support for 'mediastream' scheme. r=sicking
...
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : aea1ab3b9eed985ea238d2e9fb74bf3b2f574756
2012-09-25 15:24:44 +12:00
Robert O'Callahan
d723594f8f
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Olli Pettay
0eb2523ed9
Bug 808993, ASSERTION: must have binding parent when in native anonymous subtree with a parent node, r=bz
2012-11-06 20:52:46 +02:00
Ehsan Akhgari
cbe0e3a4d1
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
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Gabor Krizsanits
f83543b9ea
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Nikhil Marathe
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
453b3dce5f
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Ehsan Akhgari
f117c7a7b0
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Justin Lebar
f5e5b6d4cc
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 22:06:31 -04:00
Justin Lebar
60788c9e2a
Back out 37e8ef1c7353 (bug 803684) due to Windows red.
...
--HG--
extra : rebase_source : 17a1ad6c967781e46f23c2938633b18c88709910
2012-10-24 13:38:35 -04:00
Justin Lebar
a2894d092c
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 12:40:35 -04:00
Devdatta Akhawe
36ab7f4d1c
Bug 803765 - Documentation for aRequestPrincipal r=bz
2012-10-23 21:44:11 -07:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Peter Van der Beken
57adeb4354
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
350f7dd89a
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Ryan VanderMeulen
c876d90f69
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Doug Turner
6363e34789
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Bobby Holley
07e2329fa3
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Ryan VanderMeulen
f70bd3846d
Merge the last PGO-green inbound changeset to m-c.
2012-10-17 14:07:59 -04:00
bzbarsky@mit.edu
696273ce6e
Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
...
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Bobby Holley
2d8eff9c4b
Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
John Schoenick
8ea5a299b6
Bug 797043 - Better handling of plugin activated state for click-to-play. r=josh
2012-10-16 12:52:30 -07:00
Ehsan Akhgari
1a3d718b58
Merge mozilla-central into mozilla-inbound
2012-10-17 13:03:16 -04:00
Ed Morley
25701792b7
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
da830356a6
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ms2ger
d8a5bd1e86
Bug 776515 - Move InternalIsSupported to nsContentUtils; r=khuey
2012-10-14 09:47:02 +02:00
Josh Matthews
2c57ae944e
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Ed Morley
8fc88262ba
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Peter Van der Beken
12f507617a
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Peter Van der Beken
52e6c5623d
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Robert O'Callahan
12170091be
Bug 799078. Part 1: Expose nsContentUtils::FindPresShellForDocument. r=matspal
...
--HG--
extra : rebase_source : f7e6410637ea70fe2d68fdcc24bcb409816d5bd7
2012-10-09 00:23:11 +13:00
Josh Matthews
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
f3459980ad
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Olli Pettay
69e091e8e4
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Scott Johnson
a0a5d0a382
Bug 798068: Return sane values for min/max zoom when handheldFriendly, WAP, Mobile, or WML is set in the viewport metadata. [r=mbrubeck,bent]
2012-10-08 15:41:48 -05:00
Masayuki Nakano
cbffcf6ade
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09:00
Ed Morley
5abdf356a2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Ms2ger
a2ebc92b5a
Bug 798481 - Make IndexOf a little more const-correct; r=mounir
2012-10-06 09:19:46 +02:00
Bobby Holley
395d3e8455
Bug 798346 - nsContentUtils::PreserveWrapper should explicitly QI its argument to the CC ISupports. r=peterv
2012-10-05 18:59:22 +02:00
Randell Jesup
73c1245b12
Bug 733002: DataChannel DOM implementation w/ m3 fix r=smaug
2012-10-03 19:51:47 -04:00
Ryan VanderMeulen
5b4e2ecda3
Backout a9ab0881ebe2 (bug 729512) and ed6491f2335e (bug 733002) due to M3 orange.
2012-10-03 21:03:16 -04:00
Randell Jesup
8937aee9af
Bug 733002: DataChannel DOM implementation r=smaug
2012-10-03 19:51:47 -04:00
Bobby Holley
02d3f31738
Bug 795275 - Warn about content access to |Components|. r=mrbkap
2012-10-03 11:44:18 +02:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Cameron McCormack
0dc074a5c3
Bug 795802 - Define content flags like frame state bits. r=bz
...
--HG--
extra : rebase_source : 4d67320ada060e29644ab6c070a1d5154b304d96
2012-10-02 10:52:06 +10:00
Peter Van der Beken
5d0ed87cc3
Bug 794582 - Rename nsINode::GetSlots() to nsINode::Slots() and remove null-checks; r=mounir
2012-08-11 00:27:28 +02:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Timothy Nikkel
95c3e37053
Bug 784591. Add an optional argument to the unlock image api on documents so that we can request that the image be discarded only in some situations. r=khuey
2012-10-01 12:53:57 -05:00
Kyle Huey
9de7b7f765
Bug 795128: Add memory reporting for attribute maps and nodes. r=smaug
2012-09-30 09:43:47 -07:00
Philipp von Weitershausen
213e5bb81b
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
9afe80f95c
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
ce02d379ee
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
36027dea2c
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
0154a7b0b8
Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug
2012-09-26 00:41:51 -07:00
Antonio Manuel Amaya Calvo
8dfda6c87c
Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking
2012-09-25 12:33:01 -07:00
Josh Matthews
566e597159
Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking
2012-09-19 18:15:32 -04:00
Matt Brubeck
8fb68b79fb
Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc]
2012-08-22 13:18:10 -07:00
Matt Brubeck
24c6d5e17e
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Ms2ger
1e7015f897
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
05d200bad7
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Boris Zbarsky
b2a0b52a75
Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking
2012-09-18 23:24:27 -04:00
Matt Brubeck
8f85d6a619
Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red
2012-09-17 11:11:30 -07:00
Matt Brubeck
4b325267f6
Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc]
...
--HG--
extra : rebase_source : c7c6f09e5232f609c81f7ab418940c146d1b82c6
2012-08-22 13:18:10 -07:00