Commit Graph

7143 Commits

Author SHA1 Message Date
Frank Yan
ec74ac599d Bug 673873 - Display placeholder when focusing empty input. r=mounir 2012-05-24 03:54:25 -07:00
Ed Morley
02a195b1f4 Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184 2012-05-24 14:12:19 +01:00
Frank Yan
6daa0281dc Bug 673873 - Display placeholder when focusing empty input. r=mounir 2012-05-24 03:54:25 -07:00
Frank Yan
dea4d872b0 Bug 757694 - Fix line endings in nsHTMLTextAreaElement.cpp. r=mounir 2012-05-24 03:54:25 -07:00
Robert O'Callahan
32be605238 Bug 750258. Ensure that MediaStreamListener::NotifyBlockingChanged is always called for a new listener, and similar for NotifyFinished called on an already-finished stream. Rely on this to set readyState correctly for media elements consuming a stream. r=jesup,cpearce 2012-05-24 22:37:14 +12:00
Alexander Surkov
2a14b57426 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Alexander Surkov
705d243c9c Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz 2012-05-23 12:03:32 +09:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
9073dcdfe1 Merge m-c to inbound. 2012-05-20 19:12:52 -04:00
Olli Pettay
9c77538ff1 Bug 750109, outerhtml crash, r=hsivonen,sicking 2012-05-20 23:54:22 +03:00
Shawn Landden
77a242da69 Bug 747257 - Part 1: Load .mp4 files in a document wrapper. r=rillian
When compiled with --enable-gstreamer, use a document loader for video/mp4,
and associate that type with the decoder in nsHTMLMediaElement.

Bug 422540 fix lets gstreamer render h.264 videos from within webpages with
<video>, however to view these files when loaded directly we need to recognize
their Content-Type.
2012-05-17 17:19:21 -07:00
Aryeh Gregor
e8bb3212b3 Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan 2012-04-15 15:57:20 +03:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Henri Sivonen
e113f5bb05 Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug. 2012-05-18 15:06:28 +03:00
Ms2ger
81cb351df1 Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Ms2ger
ba51dd062a Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
8a53f69f80 Bug 616401 - nsHTMLCanvasElement::GetContext ignores JS exceptions; r=bz 2012-05-18 10:29:39 +02:00
Aryeh Gregor
9684492a4a Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Mounir Lamouri
dada18fe11 Bug 755322 - No input type should be suffering from value missing when the element is not mutable. r=bz 2012-05-16 12:43:20 +02:00
Trevor Saunders
bfcb62b32b bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug 2012-04-06 17:54:38 -04:00
Benoit Jacob
6de3cc03da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Paul Adenot
5d2667c343 Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz 2012-05-15 08:56:51 -04:00
Mounir Lamouri
7a844499f3 Bug 754046 - Fix "ASSERTION: mRequiredRadioCount about to wrap below 0!". r=bz 2012-05-14 22:32:39 +02:00
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Andrew McCreight
2ab077501f Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Tom Schuster
448c19e69b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
94067f98cb Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
a5e74fc12b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Christopher De Cairos
ed660ec50d Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Mounir Lamouri
16367bdebc Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Robert O'Callahan
390dee1351 Bug 681192. Part 14: Fix test to avoid failure due to event coordinate rounding. r=matspal
--HG--
extra : rebase_source : 487873fb423400f15ea7f1dfe424075b0f402574
2012-05-10 17:24:20 +12:00
Ryan VanderMeulen
5ab4943799 Whitespace fix for bug 751035. DONTBUILD 2012-05-09 20:23:31 -04:00
Ehren Metcalfe
909473a2aa Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
Ehsan Akhgari
8b7988e945 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Randell Jesup
63dafade33 Bug 752087: Use correct method to check is a jsval is an object r=roc 2012-05-07 18:54:29 -04:00
Andrew Quartey
d959be51a1 Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Ms2ger
bdb319a00d Bug 745542 - Remove support for font-weight and point-size attributes on the font element; r=sicking 2012-05-05 11:00:04 +02:00
Olli Pettay
530aca9fc0 Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Ed Morley
1c884a9386 Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE 2012-05-03 12:32:49 +01:00
Ralph Giles
64ef2c566d Bug 674225 - Add Opus support to nsOggReader. r=cpearce
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.

This patch doesn't support the gain header or
multichannel files.

The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.

Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
Arnaud Bienner
1596d5df6d Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types. r=sicking 2012-05-03 00:49:24 +02:00
Aryeh Gregor
dcd5141c54 Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan
--HG--
rename : content/html/content/test/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : content/html/document/test/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : content/html/document/test/test_bug404320.html => editor/libeditor/html/tests/test_bug404320.html
rename : content/html/document/test/test_bug468353.html => editor/libeditor/html/tests/test_bug468353.html
rename : layout/reftests/bugs/388980-1-ref.html => layout/reftests/editor/388980-1-ref.html
rename : layout/reftests/bugs/388980-1.html => layout/reftests/editor/388980-1.html
2012-05-03 10:09:44 +03:00
Paul ADENOT
0c9bd026a9 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Ehsan Akhgari
2eacf185a5 Bug 750146 - Do not call back on the nsTextEditorState if the restore selection event has been revoked; r=bzbarsky
--HG--
extra : rebase_source : b37d85e9c2e628b15b23bbedc2eee74d66d8fa46
2012-04-30 17:05:53 -04:00
Robert O'Callahan
67f781f9fb Bug 664918. Part 12: Finish SourceMediaStreams when the media decoder is destroyed, to avoid late low-audio/low-video notifications and issues when multiple decoders write to the same stream. r=cpearce,rjesup 2012-04-30 15:13:42 +12:00
Robert O'Callahan
9c92e7c20b Bug 664918. Part 11: Refactor code around mDecoder->Shutdown() to make following fix easier. r=cpearce 2012-04-30 15:13:09 +12:00
Robert O'Callahan
c3c1a7aa31 Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan
b61b0479ed Bug 664918. Part 7: Let the "src" attribute of HTML media elements accept a MediaStream DOM object, to make the media element play back the contents of the given stream. r=cpearce,jesup 2012-04-30 15:12:28 +12:00
Paul ADENOT
7315f8263d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00