Commit Graph

8371 Commits

Author SHA1 Message Date
Ed Morley
3b0a533127 Backed out changeset eff8e7fefffd (bug 883164) for breaking the test on Android 2013-06-17 12:18:31 +01:00
Mounir Lamouri
35e48d7a36 Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-06-17 11:58:47 +02:00
silverwind
edb7e5323d 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
65dc14f281 [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Ms2ger
2925313d8d Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC 2013-06-14 19:10:12 +02:00
Rick Eyre
fe47fde6ab 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
56245c0a0c Bug 759964 - Part 3 - Add nsIDocShell.allowMedia test. r=test 2013-06-13 19:31:43 -07:00
Matthew Noorenberghe
8df8466d7d 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
d2192352f3 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
10b9fb347f 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
ca49dd2fe8 Bug 872870 - Use GetParentNode() instead of GetParent() in UndoManager. r=ehsan 2013-06-12 18:15:21 -07:00
Ms2ger
da10183b45 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
c95b79e78d Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
89bd855192 Bug 881822 - Don't double-refcount HTMLBodyElement::mContentStyleRule; r=bholley 2013-06-12 09:00:09 +02:00
Ms2ger
b699af7e4e Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Ms2ger
f0ffea47c4 Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz 2013-06-12 09:00:08 +02:00
Ms2ger
575085d073 Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
a92489b0f8 Bug 854231 - Remove Element::GetOffsetRect; r=jst 2013-06-12 09:00:08 +02:00
Ms2ger
496c47f152 Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
88ca948d77 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
09bb5c9224 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
0224f70bde 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
53fae91dd6 Backed out changeset 9c6f5f334a15 (bug 880042) for mochitest-4 failures. 2013-06-11 17:23:00 -04:00
Andrea Marchesini
5f23d63e4d 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
aa9e223fa7 Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-11 21:56:26 -07:00
Rick Eyre
69b2411801 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
bcfed2db14 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
2682ddc0df Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-10 17:50:42 -07:00
Rick Eyre
0bdf09070f 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
357c151486 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Jon Coppeard
83c2b6e94b 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
7a3587f2d2 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
109e1728e5 [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
f26c8e26b6 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
133ee90547 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
3c565b553e Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Peter Van der Beken
98b9e5058e 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
8c9328dfef 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
9c7b4d40a7 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
cadb145ebe 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
d8bc2672af 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
72d7d56f36 Merge birch to m-c. 2013-06-04 15:00:37 -04:00
Justin Lebar
c0f020c0ae Bug 879214 - Try to fix race condition in test_audio_wakelock.html. r=baku
--HG--
extra : rebase_source : af1d40db2ed8395db183a14a229ad49e4bc36bf8
2013-06-04 12:00:40 -04:00
Robert O'Callahan
aa60d410a4 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Olli Pettay
75215be2aa Bug 875252, make type=file click() to work (again) even when the element isn't in the DOM, r=jst
--HG--
extra : rebase_source : e8fecce550d5fe91a524f1b47a8429165354ac90
2013-06-04 00:40:41 +03:00
Daniel Holbert
cd1442fcf9 Bug 877510: Undefine GetClassInfo in nsHTMLFormElement.h, in case someone #including us also #included a windows header that stupidly defined it to something else. r=smaug 2013-06-03 10:00:04 -07:00
Ms2ger
77bc93f8b2 Bug 878509 - Restore the HTMLImageElement.lowsrc, x, y attributes that were unintentionally removed; r=smaug 2013-06-02 17:38:25 +02:00
Ms2ger
06c2cdb2a4 Bug 877910 - Make HTMLSelectElement.namedItem return 'HTMLOptionElement' instead of 'object'; r=bz 2013-06-01 08:56:34 +02:00
William Chen
41cbfd835e Bug 840877 - Handle null undoManager in absence of documentElement. r=ehsan 2013-06-11 18:26:11 -07:00
Boris Zbarsky
ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00