Commit Graph

3801 Commits

Author SHA1 Message Date
Andrea Marchesini
43d81d1da9 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-18 08:54:27 -04:00
Andrea Marchesini
74b148c97f Bug 870787 - Improve named getter for form, r=bz 2013-06-18 08:53:23 -04:00
Jon Coppeard
586c7b4514 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Bob Owen
2884ae407d Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven) 2013-04-29 19:26:43 +01:00
Boris Zbarsky
759d93620f Bug 874758. Make DOMStringMap use [OverrideBuiltins]. r=peterv 2013-06-17 16:31:03 -04:00
Boris Zbarsky
350d302157 Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE. 2013-06-17 14:54:24 -04:00
Andrea Marchesini
ff69158c08 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-17 13:07:04 -04:00
Andrea Marchesini
05e883faf9 Bug 870787 - Improve named getter for form, r=bz 2013-06-17 13:07:04 -04:00
Ed Morley
4d0f4b4509 Backed out changeset eff8e7fefffd (bug 883164) for breaking the test on Android 2013-06-17 12:18:31 +01:00
Mounir Lamouri
3636ce2541 Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-06-17 11:58:47 +02:00
silverwind
fdf33d0415 Bug 608180 - Allow rapid clicks on label elements to go through while still allowing text selection. r=bz, r=enn 2013-06-14 22:47:01 -04:00
David Zbarsky
5c9468c760 [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Ms2ger
2198ead678 Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC 2013-06-14 19:10:12 +02:00
Rick Eyre
8e97190249 Bug 882817 - Fix QI implementation of HTMLTrackElement. r=bz
In certain situations we were failing debug builds due to an assertion
that HTMLTrackElement was not a nsIDOMNode or nsIDOMWindow when calling
NS_CheckContentLoadPolicy in HTMLTrackElement::LoadResource()

This patch fixes the QI of the HTMLTrackElement so that it can be queried
to an nsIDOMNode correctly.
2013-06-13 17:15:14 -04:00
Drew Willcoxon
25a6d8b499 Bug 759964 - Part 3 - Add nsIDocShell.allowMedia test. r=test 2013-06-13 19:31:43 -07:00
Matthew Noorenberghe
172c89a430 Bug 759964 - Part 1 - Add allowMedia attribute to nsIDocShell to disable HTML5 media elements. r=bz 2013-03-29 14:52:59 -07:00
Boris Zbarsky
5544291d84 Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley 2013-06-13 01:12:26 -04:00
Jeff Muizelaar
7bd6821f7e Bug 881724. Remove some unneeded includes from nsHTMLDocument.h. r=ehsan
--HG--
extra : rebase_source : 034382c3663f7c20a35e356a4087d57fcc25eaf7
2013-06-10 20:18:29 -04:00
William Chen
0ae4cf0653 Bug 872870 - Use GetParentNode() instead of GetParent() in UndoManager. r=ehsan 2013-06-12 18:15:21 -07:00
Ms2ger
8742f29802 Bug 882164 - Enter the right compartment to create a new JSObject in nsHTMLDocument::GetAll; r=bz 2013-06-12 22:05:40 +02:00
Ed Morley
5b8c1b2eec Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
82529cea9a Bug 881822 - Don't double-refcount HTMLBodyElement::mContentStyleRule; r=bholley 2013-06-12 09:00:09 +02:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Ms2ger
5855c26d0d Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz 2013-06-12 09:00:08 +02:00
Ms2ger
96c3eb60de Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
6d05931999 Bug 854231 - Remove Element::GetOffsetRect; r=jst 2013-06-12 09:00:08 +02:00
Ms2ger
cec83706d9 Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
7197362709 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
d562528531 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Andrea Marchesini
e97277076f Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug 2013-06-11 15:09:49 -04:00
Ryan VanderMeulen
b92b8576d4 Backed out changeset 9c6f5f334a15 (bug 880042) for mochitest-4 failures. 2013-06-11 17:23:00 -04:00
Andrea Marchesini
9862c39de7 Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug 2013-06-11 15:09:49 -04:00
David Zbarsky
4bf6b2ab92 Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-11 21:56:26 -07:00
Rick Eyre
a3ed8d4819 Bug 875169 - Fix crash when loading an HTMLTrackElement. r=bz
Previously we had been trying to load a DOMString that already has
a string buffer by using the DOMString::&operator. This causes a
MOZ_ASSERT error in DOMString. Solution is to add function overloads
to HTMLTrackElement's getters that just use nsString in the first place.
2013-05-23 19:57:00 -07:00
Phil Ringnalda
2d5d041bc3 Back out efdf2d801664 (bug 881128) for disregarding the DANGER of not dealing with test_interfaces.html 2013-06-10 19:26:45 -07:00
David Zbarsky
01faca23df Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-10 17:50:42 -07:00
Rick Eyre
73e8300de5 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Sotaro Ikeda
fb0816d02d Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Jon Coppeard
d99e2a4f5c Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
David Zbarsky
bdf2a2f2ed [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
b52e2a3f6a Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Robert O'Callahan
ee22922f7e Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Andrea Marchesini
74860e8fe9 Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Peter Van der Beken
5eba9021ed Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Peter Van der Beken
f4faf57e53 Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
2013-05-21 15:38:33 +02:00
Peter Van der Beken
e7eb39bee5 Bug 877654 - Remove thisptr offset tables - Replace HTML element table to map segue macros with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 9acc316cbf68bc841f6751603aa512138e2f6de6
2013-05-21 15:38:15 +02:00
Peter Van der Beken
d8f14564ed Bug 877654 - Remove thisptr offset tables - Replace HTML element offset table macros with generic QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a90cbb2d5b25c6e8dee96d206dd6e4951d2b3cab
2013-05-21 15:07:38 +02:00
Peter Van der Beken
9512f5d3d4 Bug 877654 - Remove thisptr offset tables - Refactor HTML element QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a4e166501aaf35617f369648155b566b6bac5761
2013-05-21 13:55:29 +02:00
Ryan VanderMeulen
63636e5fd9 Merge birch to m-c. 2013-06-04 15:00:37 -04:00