Граф коммитов

8653 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 779898a832 Bug 895303 - Annotate test_bug893537.html for sporadic asserts. r=bz 2013-07-26 13:35:33 -04:00
Bob Owen ad7f9ea657 Bug 885140 - Fix intermittent timeout in content/html/content/test/test_iframe_sandbox_navigation.html. r=imelven 2013-06-21 18:33:39 +01:00
Ed Morley 4309b3a19b Merge mozilla-central and birch 2013-07-24 13:37:33 +01:00
Dale Harvey 7da778d013 Bug 891884 - toBlob should support the quality parameter as toDataURL does r=joedrew sr=mrbkap
--HG--
extra : rebase_source : 6b12921bf06a2ccf4154222bf19b2779d3bc68b3
2013-07-24 12:17:00 +01:00
Ms2ger 3c48262d76 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger 59ef6e7599 Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug 2013-07-24 09:38:13 +02:00
Ms2ger 20ce9501ca Bug 893909 - Part n: Cleanup HTMLSelectElement::IsValueMissing; r=dzbarsky 2013-07-24 09:37:36 +02:00
Ms2ger e1a02a094d Bug 893909 - Part m: Cleanup HTMLSelectElement::SubmitNamesValues; r=dzbarsky 2013-07-24 09:37:32 +02:00
Ms2ger d76a112794 Bug 893909 - Part l: Cleanup HTMLSelectElement::Reset; r=dzbarsky 2013-07-24 09:37:28 +02:00
Ms2ger 389e414873 Bug 893909 - Part k: Cleanup HTMLSelectElement::RestoreStateTo; r=dzbarsky 2013-07-24 09:37:24 +02:00
Ms2ger d783328eda Bug 893909 - Part j: Cleanup HTMLSelectElement::SaveState; r=dzbarsky 2013-07-24 09:37:20 +02:00
Ms2ger 3a8f212186 Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Ms2ger ac6ebd6b02 Bug 893909 - Part h: Cleanup HTMLSelectElement::FindSelectedIndex; r=dzbarsky 2013-07-24 09:37:10 +02:00
Ms2ger 3fb0d5652b Bug 893909 - Part g: Cleanup HTMLSelectElement::OnOptionSelected; r=dzbarsky 2013-07-24 09:37:07 +02:00
Ms2ger 59351af7b3 Bug 893909 - Part f: Cleanup HTMLSelectElement::IsOptionSelectedByIndex; r=dzbarsky 2013-07-24 09:37:03 +02:00
Ms2ger c4dac53ecd Bug 893909 - Part e: Cleanup HTMLSelectElement::SetLength; r=dzbarsky 2013-07-24 09:36:59 +02:00
Ms2ger d0e58ba5a3 Bug 893909 - Part d: Cleanup HTMLSelectElement::Remove; r=dzbarsky 2013-07-24 09:36:54 +02:00
Ms2ger dabdb226b3 Bug 893909 - Part c: Cleanup HTMLSelectElement::InsertOptionsIntoList; r=dzbarsky 2013-07-24 09:35:44 +02:00
Ms2ger 3c84aefd10 Bug 893909 - Part b: Return void from InsertOptionsIntoList{,Recurse}; r=dzbarsky 2013-07-24 09:35:08 +02:00
Ms2ger 16b01af8bd Bug 893909 - Part a: Add a HTMLSelectElement::IsOptionDisabled overload without an outparam; r=dzbarsky 2013-07-24 09:31:49 +02:00
David Zbarsky 96bd532201 Bug 897211: Remove nsITouchEventReceiver from nodes r=bz 2013-07-23 23:20:16 -07:00
Matthew Gregan b12e013aba Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec 2013-07-24 11:46:43 +12:00
Guillaume Abadie 2e771c9143 bug 896875 - [WebGL 2.0] WebGL2 unable to create context. r=bjacob 2013-07-23 11:41:25 -04:00
Joshua Cranmer e5e0a1f2f3 Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Carsten "Tomcat" Book 860503ece1 Backed out changeset 1bbc7f3de64c (bug 891884) 2013-07-23 10:30:08 +02:00
Julien Wajsberg 6cc840ad79 Bug 891884 - toBlob should support the quality parameter as toDataURL does r=joedrew sr=mrbkap
--HG--
extra : rebase_source : 22574a2852a6147019cc787ab1a8711adca7c0b2
2013-07-19 20:19:48 +01:00
Guillaume Abadie b0b12d6e55 Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob 2013-07-19 12:53:54 -04:00
Paul Adenot 6dccab695c Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-07-11 16:58:57 +02:00
Reuben Morais 0127f3f3f9 Backed out changeset 8dfdebcc8ce6 (bug 893117) 2013-07-18 20:02:01 -07:00
Reuben Morais 14523b53f5 Backed out changeset 6515e55d4fb9 (bug 893117) 2013-07-18 20:02:00 -07:00
Reuben Morais 90a6661c77 Backed out changeset 05ae078ca073 (bug 893117) 2013-07-18 20:01:58 -07:00
Reuben Morais 9c24e1a0d2 Backed out changeset 6d1675c08598 (bug 893117) 2013-07-18 20:01:57 -07:00
Reuben Morais 5ee0045c16 Backed out changeset 8ea5fd72aa59 (bug 893117) 2013-07-18 20:01:55 -07:00
Reuben Morais 8fd8ceb566 Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
Reuben Morais 5ae87d4213 Backed out changeset 1b779d67a022 (bug 893117) 2013-07-18 20:01:52 -07:00
Reuben Morais f0b8496fd8 Backed out changeset 3772e15f1b45 (bug 893117) 2013-07-18 20:01:51 -07:00
David Zbarsky c6b4634d5a Bug 893117: Fix warnings-as-errors bustage 2013-07-18 19:23:34 -07:00
David Zbarsky a977820aba Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-18 17:43:38 -07:00
David Zbarsky e7c4a9f1ec Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
David Zbarsky 0e02d64bfd Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-18 17:43:37 -07:00
David Zbarsky 466405d239 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-18 17:43:36 -07:00
David Zbarsky f0503b7463 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-18 17:43:36 -07:00
David Zbarsky 81eb6c1b39 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-18 17:43:35 -07:00
David Zbarsky dac361db5e Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-18 17:43:34 -07:00
Ed Morley 3b7e74887c Backed out changeset eeab86551b26 (bug 891884) for reftest failures 2013-07-18 12:18:12 +01:00
Julien Wajsberg 4b616cd9fa Bug 891884 - toBlob should support the quality parameter as toDataURL does r=joedrew sr=mrbkap 2013-07-18 10:29:54 +01:00
Guillaume Abadie 09e5e38a50 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
James Kitchener 7ad74eab05 Bug 893537 - Crash after unloading an iframe with srcdoc attribute set. r=bz 2013-07-16 10:32:39 -04:00
David Zbarsky 05da1a20e0 Remove unneeded DOMCI_DATA. no bug 2013-07-15 12:26:24 -07:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura 58b9f38453 Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz 2013-07-12 06:26:54 +09:00
Boris Zbarsky 50841552c2 Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Ryan VanderMeulen 22667a6005 Backed out changeset 4504582d908c (bug 843003) for Marionette failures. 2013-07-11 11:46:04 -04:00
Mounir Lamouri cd4eec0c91 Bug 890516 - Backout patch from bug 614825. r=bz 2013-07-11 10:39:18 -04:00
Ed Morley 17de8eb070 Backed out changeset ee7d34a58f11 (bug 886173) for mochitest 1 failures in test_playback_rate.html 2013-07-11 15:31:52 +01:00
Mounir Lamouri 15bdf50023 Bug 843003 - Send events and allow :hover to apply on <button>'s children. r=bz 2013-07-11 10:30:23 -04:00
J. Ryan Stinnett 1b9469f8da Bug 282097 - Part 10: Ensure input commands are enabled. r=enndeakin 2013-07-10 09:14:21 -05:00
Paul Adenot 663ccbc871 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-06-24 14:05:38 +02:00
Ed Morley 01e0d553fb Merge latest green fx-team changeset and mozilla-central 2013-07-11 10:12:37 +01:00
Matthew Gregan e757837a5c Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-11 15:52:22 +12:00
Tim Taubert a47f245c15 Bug 891806 - part 2 - replace 'yield;' with 'yield undefined;' in content/; r=smaug 2013-07-10 23:52:14 +02:00
Ryan VanderMeulen d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger 3de3cc24fb Bug 890695 - Use MOZ_THIS_IN_INITIALIZER_LIST in content/; r=mounir 2013-07-10 11:56:47 +02:00
Ryan VanderMeulen 03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders 63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ralph Giles ccaf62a7df Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Peter Van der Beken d3dab87a5c Bug 883313 - Fix nsHTMLDocument::SetBody to call either ReplaceChild or AppendChild, not both. r=smaug. 2013-07-04 17:20:45 +02:00
Olli Pettay bd1a7c994f backout Bug 533840, since it added a randomly failing test
--HG--
extra : rebase_source : c9f9de9148b5a52bf7013b543035626d959c6e5a
2013-07-09 13:30:38 -04:00
Olli Pettay 76f9c2d68c backout Bug 533840, since it added a randomly failing test 2013-07-09 13:30:18 -04:00
Bastien Scanu a11663825d Bug 533840 - Don't start playback when removed from a document and autoplaying. r=padenot,cpearce 2013-06-07 13:46:45 +02:00
Léonard Beck 6dcc6a8a61 Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws 2013-06-11 17:23:13 +02:00
Andrew McCreight f5d7b82f00 Bug 883037 - Clean up HOLD/DROP of nsHTMLDocument. r=peterv 2013-06-25 17:13:06 -07:00
Phil Ringnalda cd48b205e0 Back out 8e83da248fc9 (bug 886635) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:44:52 -07:00
L. David Baron b6aed040b7 Bug 886635: HTMLCanvasElement.h (which is included in dom/bindings) should not include nsLayoutUtils.h r=khuey
(It still ends up included in dom/bindings, though.)
2013-06-24 22:32:11 -07:00
Catalin Iacob 6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Michael Harrison 1d85292277 Bug 841547 - Only set the 'decoded' class on top-level image documents. r=jaws, r=Ms2ger 2013-06-24 11:29:23 -04:00
Ms2ger 7bb320d169 Bug 878950 - Add a test for HTMLImageElement and fix h/vspace reflection; r=mounir 2013-06-23 09:14:15 +02:00
Rick Eyre 6baa4f1bff Bug 833386 - Tests for HTMLTrackElement and TextTrack* DOM objects r=rillian,cpearce
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-20 06:55:00 -07:00
Gabor Krizsanits 76bbeec56b Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Andrea Marchesini 19dbf7e5ef Bug 885024 - "ASSERTION: FindAncestorForm should not be called if @form is set!". r=bz 2013-06-20 14:07:57 -04:00
Rick Eyre 2d196f8598 Bug 883843 - Remove extraneous QI line in HTMLTrackElement. r=peterv
This was accidentally introduced in bug 882817. The line that deals
with the interface map entry for nsIDOMHTMLElement is unneeded as
NS_HTML_CONTENT_INTERFACES deals with this as well.
2013-06-17 10:32:14 -04:00
Brian O'Keefe 11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Aryeh Gregor f3ede57267 Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan 2013-06-19 16:54:53 -04:00
Marc Jessome 6648ee5590 Bug 813034 - Implement table.createTBody(); r=mounir sr=smaug 2012-12-04 00:04:30 -05:00
Ms2ger 6efec5035f Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Ms2ger a0401b94cf Bug 888576 - Follow the spec for document.body; r=mounir sr=smaug 2013-07-10 11:54:51 +02:00
Mounir Lamouri ab3fe5c3ef Bug 885996 - 2/2 - Tests. r=smaug 2013-07-08 15:12:53 -04:00
Mounir Lamouri 588db75b27 Bug 885996 - 1/2 - Interaction between nsIColorPicker and content. r=smaug 2013-07-08 15:12:18 -04:00
Ryan VanderMeulen 5da7259142 Backed out changeset abdcad6d6fb4 (bug 868611) for mochitest crashes. 2013-07-07 19:34:41 -04:00
Rick Eyre f5e124b831 Bug 880094 - Provide a stable state for HTMLTrackElement asynchronous functions. r=cpearce
- Removed HTMLMediaElement::AsyncAwaitStableState and exposed a new method,
HTMLMediaElement::RunInStableState, that allows any nsIRunnable to run on
the app shell and take advantage of IsCancelled() code in an nsMediaEvent.
- HTMLTrackElement now uses this to call HTMLTrackElement::LoadResource.
- Changed test_texttrackcue.html to listen for MediaElement's "loadedmetadata"
to ensure that we wait until the cues are loaded before testing and set
preload=auto to get it to pass on Android.
2013-06-27 21:05:03 -04:00
Rick Eyre cd546780e3 Bug 868611 - Implement HTMLTrackElement::UbindFromTree. r=rillian
Update HTMLTrackElement::UnbindFromTree to remove its TextTrack from
its HTMLMediaElement's list of TextTracks.
2013-06-24 11:35:58 -04:00
Phil Ringnalda 1023514931 Backed out changeset 5ea64b6ba89b (bug 889201) for too-frequent failures 2013-07-05 14:24:50 -07:00
Matthew Gregan 7cb058341e Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-05 12:24:55 +12:00
Matthew Gregan 6ffd84378d Bug 889205 - Change HTMLVideoElement.videoPlaybackQuality attribute to getVideoPlaybackAttribute method to reflect the current spec. r=roc 2013-07-05 12:24:35 +12:00
Masatoshi Kimura 133cedaf8b Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Matthew Gregan fb07677353 Bug 855130 - Integrate MediaSource into HTMLMediaElement. r=roc 2013-06-21 15:15:47 +12:00
Matthew Gregan bbbaf88bb3 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Mounir Lamouri 99a2a484b6 Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-07-02 16:34:20 +01:00
Phil Ringnalda 84742fd7a7 Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan 05c309f006 Bug 855130 - Integrate MediaSource into HTMLMediaElement. r=roc
---
 content/html/content/public/HTMLMediaElement.h |  4 ++
 content/html/content/src/HTMLMediaElement.cpp  | 51 +++++++++++++++++++++++++-
 2 files changed, 53 insertions(+), 2 deletions(-)
2013-07-02 15:46:49 +12:00
Matthew Gregan d9ad81f9e4 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Ryan VanderMeulen dad317ec03 Merge inbound and m-c. 2013-07-01 08:12:24 -04:00
Ms2ger d8d5a31b89 Bug 880318 - Don't use nsIDOMDocument::GetHidden in media elements; r=cpearce 2013-07-01 09:02:28 +02:00
Catalin Iacob 8f3a2a0c69 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
James Kitchener 82d337141a Bug 802895 - Tests for srcdoc iframe r=bz 2013-06-28 23:13:23 -04:00
James Kitchener 97d9e25ced Bug 802895 - Implement srcdoc attribute for iframe r=bz 2013-06-28 23:13:23 -04:00
Justin Lebar 3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar 051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Boris Zbarsky b7a0d6e56a Bug 883887. Add an Unlink method to js::ExpandoAndGeneration. r=peterv 2013-06-19 14:48:44 -04:00
Andrea Marchesini 91c64da847 Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04:00
Andrea Marchesini 3e4e0d931a Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Boris Zbarsky 1ff469b743 Bug 883968. Give <object>/<embed>/<applet> channels notification callbacks that can actually be used from script. r=johns 2013-06-19 10:24:37 -04:00
Boris Zbarsky 6fdf3531f9 Bug 884109. Remove GetDocumentFromCaller from NS_NewHTMLImage/OptionElement and remove the XPCOM-y bits for creating those, since WebIDL bindings don't use those. r=smaug 2013-06-19 10:24:37 -04:00
Ed Morley 7dce7b1b68 Backed out changeset 8866d9627149 (bug 879717) for assertions during test_playback_rate.html on Windows on a CLOSED TREE 2013-06-19 09:51:59 +01:00
Ed Morley a7865f8ca3 Backed out changeset acc1c0494f49 (bug 883731) 2013-06-19 09:51:08 +01:00
Ed Morley 5f1d682a6f Backed out changeset 78424c3ea6cb (bug 883731) 2013-06-19 09:51:05 +01:00
Ed Morley 23bec7ff69 Backed out changeset 04d60f86b935 (bug 883731) 2013-06-19 09:51:02 +01:00
Robert O'Callahan 205c111bd5 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 a76e7dbf3f 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 986e344829 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 e628a3efa2 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 e5a4f184a1 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-18 08:54:27 -04:00
Andrea Marchesini e1bdefec4f Bug 870787 - Improve named getter for form, r=bz 2013-06-18 08:53:23 -04:00
Jon Coppeard a30b14261f 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 5060bed3d9 Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven) 2013-04-29 19:26:43 +01:00
Boris Zbarsky b1208ea2a6 Bug 874758. Make DOMStringMap use [OverrideBuiltins]. r=peterv 2013-06-17 16:31:03 -04:00
Boris Zbarsky 9f4ae0ea5e 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 6bc000abf5 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-17 13:07:04 -04:00
Andrea Marchesini 875375d951 Bug 870787 - Improve named getter for form, r=bz 2013-06-17 13:07:04 -04:00
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
Andrea Marchesini af98aa02ae Bug 877638 - Crash in WakeLockBoolWrapper::UpdateWakeLock when running crashtests. r=ehsan 2013-05-30 11:26:12 -04:00
L. David Baron 1d8a7b6aa6 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Arnaud Sourioux 3259f595c7 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Michael Brennan 7e2180cd93 Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen 2013-05-25 16:09:30 +02:00
Ryan VanderMeulen 0a2c0872da Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux 6629173032 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Kartikaya Gupta d44a465803 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Ryan VanderMeulen 7e21728f5f Merge m-c to inbound. 2013-05-28 15:55:17 -04:00
Andrea Marchesini a94a6e394a Bug 872430 - Timeout between when the media is paused and when the wakelock is released. r=jlebar 2013-05-28 13:30:17 -04:00
Cameron McCormack ffd032c17c Bug 876545 - Make test_input_santization.html output a lot less when it passes. r=mounir 2013-05-28 22:24:34 +10:00
Andrew McCreight 60ea412b96 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Robert O'Callahan 00807e14ef Bug 876133. Ensure output audio volume is updated when 'volume' attribute is set on media element. r=cpearce
--HG--
extra : rebase_source : defbb7d13b70349d321006db37f005888fb6a79e
2013-05-27 17:13:05 +12:00
Ed Morley e7d3493647 Merge mozilla-central and inbound 2013-05-24 16:09:48 +01:00
Andrea Marchesini 988d2be9ee Bug 875483 - YouTube HTML5 Playback hangs Firefox. r=tterribe 2013-05-24 14:04:20 +02:00
Boris Zbarsky 3ed0c22089 Bug 875622 part 2. Use handles in ConvertJSValueToString. r=smaug 2013-05-24 09:16:00 -04:00
Olli Pettay badac86d3c Bug 868300, use cycle collector to break the cycles between ValidityState and its owner, r=mounir
--HG--
extra : rebase_source : 7ae7d0cfdca60d71870ac7b9d7a1210c9e1f6ec3
2013-05-24 02:07:34 +03:00
Mounir Lamouri b7ba0a0567 Bug 874640 - Make HTMLInputElement.valueAsDate visibility pref controlled. r=bz 2013-05-23 14:10:26 +01:00
Arnaud Bienner d155f8fd50 Bug 875274 - Implement the content part of <input type="color">. r=mounir 2013-05-23 14:02:23 +01:00
Ralph Giles cc2db4daf4 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley f2943090bd Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00