Mats Palmgren
774610ef5b
Bug 760311 - Add a setTimeout to workaround <input type=file> blur issues, and actually call MockFilePicker.cleanup(). r=bz
2012-06-01 20:52:37 +02:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Ed Morley
092d819417
Merge mozilla-central to mozilla-inbound
2012-06-01 16:58:27 +01:00
Ed Morley
f5fef940b6
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-01 15:27:36 +01:00
Olli Pettay
78a01c60c9
Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen
2012-06-01 12:59:16 +03:00
Boris Zbarsky
a02b7fa275
Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking
2012-06-01 00:30:42 -04:00
Andreas Gal
1518859a5b
Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
...
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Mounir Lamouri
9313ece5ef
Bug 759666 - Make :disabled apply on <option> when their parent <optgroup> has @disabled set. r=bz
2012-06-01 11:46:43 +02:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Mounir Lamouri
dc2fab13ef
Bug 754668 - Prevent nsTextEditorState to mark the value as changed when it has been requested otherwise. r=ehsan
2012-05-31 18:01:30 +02:00
L. David Baron
06fa5d4558
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
Chris Double
0e0ad7b069
Bug 758481 - When seeking in an unbuffered range after having ended a media, networkState is NETWORK_IDLE r=chris.double
...
--HG--
extra : rebase_source : e62887187ed20ad6e832bd0211c50392759bb321
2012-05-31 14:30:23 +12:00
Chris Pearce
e47b0e115d
Bug 755533 - Ensure we fire canplaythrough if the media's channel is suspended before metadata is loaded. r=roc
2012-05-28 10:40:06 +12:00
Aryeh Gregor
e6a6919350
Bug 748310 - Return false for invalid createLink/insertImage values instead of throwing; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
c1e77a8721
Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
b2b1a0ad33
Bug 748307 part 4 - Clean up ExecCommand and QueryCommand*; r=ehsan
2012-05-22 12:37:17 +03:00
Vincent LAMOTTE
968e01ae1f
Bug 661256 - Port patch from bug 660200 to content/html/content/test/test_bug657938.html. r=mounir
2011-06-08 20:33:13 +02:00
Yoan TEBOUL
29deb2e218
Bug 657938 (2/2) - Tests. f=mounir r=smaug
2012-05-16 12:23:22 +02:00
Laurent Dulary
09cc80dcb7
Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap
2012-05-16 13:18:33 +02:00
Frank Yan
0a903d1211
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
019cfa6b7f
Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184
2012-05-24 14:12:19 +01:00
Frank Yan
4483e800c1
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Frank Yan
3a95ebf7d5
Bug 757694 - Fix line endings in nsHTMLTextAreaElement.cpp. r=mounir
2012-05-24 03:54:25 -07:00
Robert O'Callahan
a0ecbc68c1
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
a644c2f36d
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Alexander Surkov
9c9cc82f2a
Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz
2012-05-23 12:03:32 +09:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
02e3546a23
Merge m-c to inbound.
2012-05-20 19:12:52 -04:00
Olli Pettay
1d51a7d219
Bug 750109, outerhtml crash, r=hsivonen,sicking
2012-05-20 23:54:22 +03:00
Shawn Landden
7d1e4da5f1
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
e4cafc9e8b
Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan
2012-04-15 15:57:20 +03:00
Benjamin Smedberg
4f91700da9
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
3096edf8d7
Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug.
2012-05-18 15:06:28 +03:00
Ms2ger
cf59f6497e
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
5623a92079
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Ms2ger
53a34d3981
Bug 616401 - nsHTMLCanvasElement::GetContext ignores JS exceptions; r=bz
2012-05-18 10:29:39 +02:00
Aryeh Gregor
794a3e5f1b
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Mounir Lamouri
f86b112efb
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
60316084b6
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Benoit Jacob
17b0e7f92d
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
377eba55e7
Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz
2012-05-15 08:56:51 -04:00
Mounir Lamouri
9a024d4501
Bug 754046 - Fix "ASSERTION: mRequiredRadioCount about to wrap below 0!". r=bz
2012-05-14 22:32:39 +02:00
Ed Morley
8b2dbc3dca
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da
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
a3d49f791d
Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug
2012-05-14 08:24:03 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4
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
a51913e89c
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
d46108bdce
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
1c26aed219
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
905f6c73ba
Whitespace fix for bug 751035. DONTBUILD
2012-05-09 20:23:31 -04:00
Ehren Metcalfe
e4cd7e32d8
Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst
2012-05-09 18:55:56 -04:00
Ehsan Akhgari
d50878a182
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
e15eb3b014
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
783825908b
Bug 722599 - Move change event firing to content from layout r=mounir
2012-05-07 12:27:24 -04:00
Ms2ger
e3adc9f02e
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
1aadf1cb05
Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin
2012-05-04 17:41:49 +03:00
Ed Morley
e0b72fe90a
Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE
2012-05-03 12:32:49 +01:00
Ralph Giles
3adcc0b005
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
6a8c770aec
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
a685451510
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
191aa560e3
Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik
2012-04-30 20:29:24 -04:00
Ehsan Akhgari
ab2060c307
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
233d852e79
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
414ee23496
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
0fab284fc7
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
bcd7b18d5d
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
c3d69642e4
Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce
2012-04-28 11:01:10 -04:00
Ms2ger
9ad96a593c
No bug - Fix buildwarning about nsHTMLDocument::GetPlugins; r=bz
2012-04-27 20:17:22 +02:00
Phil Ringnalda
1f0b033b16
Merge m-c to m-i
2012-04-26 21:40:59 -07:00
Ed Morley
9da8d22547
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-26 13:46:02 +01:00
Olli Pettay
babbc77a31
Bug 740063 - Add nsINode::AsDOMNode(), r=jst
...
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Ehsan Akhgari
39c3edb8ba
Merge the last green PGO changeset from mozilla-inbound to mozilla-central
2012-04-25 10:06:04 -04:00
Ms2ger
eb57ef459a
Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz
2012-04-24 21:04:37 +02:00
Aryeh Gregor
20a2a54fec
Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan
2012-04-24 13:57:46 +03:00
Aryeh Gregor
9b9aa7a4f8
Bug 480647 part 4 - Clean up nsHTMLDocument::ConvertToMidasInternalCommandInner; r=ehsan
2012-04-24 13:57:23 +03:00
Aryeh Gregor
d563cbcbfa
Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz
2012-04-24 13:57:23 +03:00
Ed Morley
9db7f5b9bf
Merge from mozilla-central
2012-04-24 11:46:16 +01:00
Matthew Schranz
8f06779da7
Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle
2012-04-24 12:03:21 +02:00
Aryeh Gregor
6ed928a21d
Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz
2012-04-24 09:06:11 +03:00
Ehsan Akhgari
b6247f2495
Merge from mozilla-central
2012-04-23 19:24:10 -04:00
Ehsan Akhgari
06098487ea
Merge mozilla-central into birch
2012-04-22 16:10:35 -04:00
Daniel Holbert
0436eb0bb9
Bug 747469: Add PRInt32 cast to make bounds-check effective, in nsHTMLDocument::ChangeContentEditableCount. r=ehsan
2012-04-20 16:04:28 -07:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Ehsan Akhgari
b0555ad014
Merge mozilla-central into birch
2012-04-19 10:03:36 -04:00
Aryeh Gregor
4bdccf0da7
Bug 745685 - Parse <font size> per HTML5; r=bz
2012-04-19 11:09:16 +03:00
Chris Pearce
26c7a9a929
Bug 690989 - Ensure we're focused before requesting fullscreen in rollback test. r=smaug a=test-only
2012-04-23 22:48:00 +12:00
Aryeh Gregor
6469be6f64
Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan
2012-04-17 18:37:40 +03:00
Ehsan Akhgari
72c6f1c687
Bug 748216 - Avoid dynamic allocation of nsHTMLTextAreaElement::mState; r=smaug
2012-04-24 00:19:26 -04:00
Alessandro Decina
efe31886e6
Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb
2012-04-18 18:33:13 -04:00
Aryeh Gregor
bf8e85b2d4
Bug 738385 part 2 - queryCommand*() should not throw for commands that don't support them; r=ehsan
2012-04-06 10:42:54 +03:00
Aryeh Gregor
5aa29ebb8c
Bug 738385 part 1 - Refactor some editing logic in nsHTMLDocument.cpp; r=ehsan
2012-04-17 13:18:08 +03:00
Henri Sivonen
c6c8e61892
Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky.
2012-04-17 09:41:49 +03:00
Masatoshi Kimura
95f8a3cace
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
Alice Lieutier
4c6921da8b
Bug 748243 - Move test_bug514437.html and test_bug588683-*.html to content/html/content/tests/forms/. r=mounir
...
--HG--
rename : content/html/content/test/test_bug588683-1.html => content/html/content/test/forms/test_form_attribute-1.html
rename : content/html/content/test/test_bug588683-2.html => content/html/content/test/forms/test_form_attribute-2.html
rename : content/html/content/test/test_bug588683-3.html => content/html/content/test/forms/test_form_attribute-3.html
rename : content/html/content/test/test_bug588683-4.html => content/html/content/test/forms/test_form_attribute-4.html
rename : content/html/content/test/test_bug514437.html => content/html/content/test/forms/test_progress_element.html
2012-04-26 11:39:57 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00
David Humphrey (:humph)
9534b79926
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00