Boris Zbarsky
24d39ed923
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
c6832bb745
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
803629b9c6
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
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
fee2be3026
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Timothy Nikkel
9141b5c507
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
2a8daae8a9
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Boris Zbarsky
ec134a3b8c
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
3156f16358
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
8551942b65
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
210cff1d9f
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
e83e186c1b
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
784a476fb8
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
e04f8d807d
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
4f88923cd8
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
8eff8e0afb
Bug 842372 - Part 1: Implement nsINode::ShouldExposeUserData. r=bholley
2013-02-23 13:46:05 +09:00
Phil Ringnalda
f8406b2842
Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures
2013-02-22 20:40:24 -08:00
Chris Pearce
b8e8ab3f2f
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
Sid Stamm
4820de61f9
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
486f369f1f
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
719d8ce284
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
0900a6537c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Masatoshi Kimura
e34e3f60a9
Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking
2013-02-20 20:54:19 +09:00
Trevor Saunders
196ea3da67
bug 841706 - remove nsSelectionIterator r=smaug
2013-02-15 05:52:57 -05:00
Trevor Saunders
2917a9b84a
bug 839059 - make nsISelection{,Private} builtinclass r=smaug
2013-02-11 13:14:01 -05:00
Ryan VanderMeulen
0e981ca346
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
e9d5a91d21
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
5a1f2c3927
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
863479340f
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
b6cdb97b40
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Andrea Marchesini
60ac13739c
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
a9cbc7eea3
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
2be0c8d31e
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Scott Johnson
e0e9d6c869
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
72bdb2945a
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Masatoshi Kimura
2b7120a1ee
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
ee4a060f18
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
9ad0959156
Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger
2013-01-31 23:11:49 +00:00
Mounir Lamouri
5691ef03de
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/base/. r=Ms2ger
2013-02-01 11:00:41 +00:00
Boris Zbarsky
830e9f5447
Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
b1ea9287b8
Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
f8205fa694
Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Phil Ringnalda
983e7bcdcf
Back out 0b427bfd720d:79e6231558d7 (bug 836050) for Mac and b2g build bustage
...
CLOSED TREE
2013-01-30 20:41:02 -08:00
Boris Zbarsky
d90af249bf
Bug 836050 followup. Rev the nsIContent and Element IIDs. r=smaug
2013-01-30 22:28:38 -05:00
Boris Zbarsky
d766505635
Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
7cef04b557
Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
1570f7aadc
Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug
2013-01-30 22:26:46 -05:00
Boris Zbarsky
e53ffbf3f0
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
291a1c1eaf
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
8e3da960cf
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
f2a9da458f
Bug 836176: Add nsIDocument::AsHTMLDocument r=bz
2013-01-30 01:31:11 -05:00
Boris Zbarsky
8b394535e8
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
e15be64167
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
24d3443115
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
c2eccf0c76
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
fdc89414dd
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
7a8e466a9f
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
bfc9de7860
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
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413
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
ca53b9e294
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Bobby Holley
025c474548
Bug 833412 - Fix tests that call addBinding. r=bz
2013-01-24 18:45:49 +01:00
Mounir Lamouri
7915116031
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
10a04a0909
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
1d5c9aeac3
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
...
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16
Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke
2013-01-16 18:50:25 -08:00
David Zbarsky
0a2891d04b
Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz
2013-01-15 03:35:59 -05:00
Andrea Marchesini
45b85ca21d
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
f132bdba21
Use IsHtml(foo) instead of NodeInfo()->Equals(foo). Bug 828166, r=peterv
2013-01-13 08:08:59 -08:00
David Zbarsky
6168609ec2
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Mohit Gahlot
b270478eaa
Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir
2013-01-12 15:47:45 -05:00
Trevor Saunders
f36115e135
bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan
2012-12-18 17:30:11 -05:00
Ms2ger
00396c39c9
Merge m-c to m-i.
2013-01-11 15:11:42 +01:00
Ms2ger
fea92580b3
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
41958008fc
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
David Zbarsky
10440541f3
Bug 825147: Address review comments for SVGImageElement r=bz
2013-01-10 00:32:17 -05:00
Ian Melven
1e69e1b8bf
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
ba5d7731f7
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
c64b44eb24
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
01d7c333be
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
b3e656ecac
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-11 02:15:05 -05:00
Kyle Huey
094d5d52f1
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
9fce0eda54
Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE
2013-01-10 15:21:39 +00:00
Kyle Huey
98ecfda689
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
3122374daa
Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz
2013-01-09 10:25:48 +11:00
Cameron McCormack
1e351dcb1e
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
9549910503
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
3a0a9cc2d4
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
e57f1f9c65
Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv
2013-01-08 15:45:06 -05:00
Olli Pettay
bc7fd07724
Bug 771942, normal content policy checks for chrome data documents, r=bz, a=akeybl
2013-01-08 19:16:28 +02:00
Ed Morley
f701529d81
Backout ee16318ac67b (bug 793755) for test_meta_viewport[0-9].html failures
2013-01-07 20:34:36 +00:00
Brad Lassey
568425c975
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
09783f2dde
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
987d5ffe94
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
a02b45847d
Clear element from nsTextDirectionalityMap when unbinding. Bug 819623, r=peterv
2013-01-06 01:45:28 -08:00
Simon Montagu
1872732e7f
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
a9f8b202ea
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
9297efcdad
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
9abe8bbe09
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
8f2a3385ae
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Ehsan Akhgari
2677ec5748
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
5c95d64dd5
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
149f9e19cd
Bug 824247 - Part 1: Fix common source of warning spam (dom). r=smaug
2013-01-03 00:55:05 +09:00
Boris Zbarsky
dd3e25ab6a
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
f41bfdbfa0
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
ba65d8cebf
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
cd2c495c6c
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
ab99e3eecf
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
23f8debd95
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
cd4872fcf7
Merge m-c to inbound.
2012-12-22 14:42:37 +01:00
Ms2ger
519fc6202b
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
2da8028b9d
Bug 819639 - Part b: Move EventSource to Paris bindings; r=bz
2012-12-22 09:17:05 +01:00
Ms2ger
dea04ce698
Bug 817279 - Make Element::SetParsedAttr non-virtual; r=bz
2012-12-22 09:04:08 +01:00
Neil Rashbrook
67afb6083f
Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking
2012-12-21 10:09:50 +00:00
Boris Zbarsky
c4e0d0fac2
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
dc63804499
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
8f36201dd5
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
12db3f1cb4
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
e1514144fb
Back out bug 818371 because what we used to do actually matches the spec.
2012-12-16 00:16:47 -05:00
Masayuki Nakano
b6e86e368b
Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug
2012-12-16 10:26:04 +09:00
Jeff Muizelaar
5a168d2ab1
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
e37969e6b1
Merge mozilla-central to mozilla-inbound
2012-12-21 11:41:08 +00:00
Daniel Holbert
d6751f8de2
(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
149792ef6f
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
2db701caa8
Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug)
2012-12-13 14:53:06 -08:00
John Schoenick
89e20b4b21
Bug 767638 - Greatly simplify loading full-page plugins. r=josh
2012-12-13 13:51:27 -08:00
Bobby Holley
e6d3334eb8
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Mats Palmgren
bd00f261fb
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Nicholas Cameron
3575f84d30
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Kyle Huey
bc4bf082d3
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
5bd5750ce0
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
8fdbfba792
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Mats Palmgren
7ac8a4be68
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
a8fb464cea
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Trevor Saunders
24945243b2
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
10448fbbb9
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
f72adcc948
Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking
2012-12-10 09:05:33 -05:00
John Schoenick
a561c074f9
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
e5ef3703f4
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
0cd18878d3
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Boris Zbarsky
51facedc88
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
a93e91b0a2
Backed out changeset 8c95cee5cd9e (bug 801466) because of test failures in mochitest-1
2012-12-06 01:09:30 -05:00
Trevor Saunders
2a23ce3be4
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
de816c3f77
bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws
2012-12-05 13:00:52 -08:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Masatoshi Kimura
361624c882
Bug 816410 - Part 2: Remove legacy constructor functions. r=bz
2012-12-03 20:26:16 -05:00
Peter Van der Beken
567c46a640
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Mats Palmgren
11281fb75a
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
f58af7c09d
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
e19c72f00c
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00