Commit Graph

3806 Commits

Author SHA1 Message Date
Ed Morley
db5d45d578 Backed out changeset 04d60f86b935 (bug 883731) 2013-06-19 09:51:02 +01:00
Robert O'Callahan
6039bd6c6e Bug 883731. Part 3: Make all calls to ChangeReadyState go through UpdateReadyStateForDtaData. r=cpearce
--HG--
extra : rebase_source : 49e39cedd64bcc52bcda452fb38c2d8f460672a0
2013-06-19 16:05:52 +12:00
Robert O'Callahan
d5dc83574a Bug 883731. Part 2: Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
--HG--
extra : rebase_source : 8c1657977339c8f97b109c4ec775b7818ed4d57a
2013-06-19 00:17:40 +12:00
Robert O'Callahan
a62e981723 Bug 883731. Part 1: Remove nsIDOMHTMLMediaElement:: and MediaDecoderOwner:: prefixes. r=cpearce
--HG--
extra : rebase_source : 4308f9e5540690ae77fcec3f3101a76936d42c00
2013-06-19 00:17:38 +12:00
Robert O'Callahan
afc9d4020a Bug 879717. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=cpearce
--HG--
extra : rebase_source : 4876423b4b292d1bb746e187b7cc29c5eb573f45
2013-06-19 00:17:29 +12:00
Andrea Marchesini
19838d1465 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-18 08:54:27 -04:00
Andrea Marchesini
713a36e9e5 Bug 870787 - Improve named getter for form, r=bz 2013-06-18 08:53:23 -04:00
Jon Coppeard
c43484e0e2 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
208ef70500 Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven) 2013-04-29 19:26:43 +01:00
Boris Zbarsky
d6f05c8921 Bug 874758. Make DOMStringMap use [OverrideBuiltins]. r=peterv 2013-06-17 16:31:03 -04:00
Boris Zbarsky
1b44ea95e0 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
11278def17 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-17 13:07:04 -04:00
Andrea Marchesini
1b3514dbdf Bug 870787 - Improve named getter for form, r=bz 2013-06-17 13:07:04 -04:00
Ed Morley
a6a1c9a285 Backed out changeset eff8e7fefffd (bug 883164) for breaking the test on Android 2013-06-17 12:18:31 +01:00
Mounir Lamouri
914a28bf03 Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-06-17 11:58:47 +02:00
silverwind
cab89f1be3 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
d10a18830c [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Ms2ger
2c2d131dc7 Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC 2013-06-14 19:10:12 +02:00
Rick Eyre
77b71509b9 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
7845cfabb8 Bug 759964 - Part 3 - Add nsIDocShell.allowMedia test. r=test 2013-06-13 19:31:43 -07:00
Matthew Noorenberghe
188f9bf80c 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
65c0969f7c 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
45b92880ff 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
42b2a4bd05 Bug 872870 - Use GetParentNode() instead of GetParent() in UndoManager. r=ehsan 2013-06-12 18:15:21 -07:00
Ms2ger
7b22e84c04 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
aa048e78a3 Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
ace195a348 Bug 881822 - Don't double-refcount HTMLBodyElement::mContentStyleRule; r=bholley 2013-06-12 09:00:09 +02:00
Ms2ger
7cdd3a5243 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Ms2ger
e57a8d1b69 Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz 2013-06-12 09:00:08 +02:00
Ms2ger
c84d4f1bdb Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
1b26c4e37a Bug 854231 - Remove Element::GetOffsetRect; r=jst 2013-06-12 09:00:08 +02:00
Ms2ger
51fffc4dce Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
43317c5e50 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
6c047d4967 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
ec770ff4bc 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
fcf0e021ea Backed out changeset 9c6f5f334a15 (bug 880042) for mochitest-4 failures. 2013-06-11 17:23:00 -04:00
Andrea Marchesini
da8a93a143 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
3f47f56d2f Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-11 21:56:26 -07:00
Rick Eyre
12ef4a49cd 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
e28cb20c96 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
5d896bb730 Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-10 17:50:42 -07:00
Rick Eyre
3800bbb044 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
2d8e4dae08 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Jon Coppeard
af7d9a0531 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
9f09fecc19 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
00b41d8ad2 [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
aae60cfe86 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
b0229d01bd 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
a27986faf9 Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Peter Van der Beken
0eae5efa79 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