Commit Graph

2592 Commits

Author SHA1 Message Date
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 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
4915a0b128 Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a 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
c484bd36db 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
18041509b8 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
8c21797d95 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
05aa9e9bde Whitespace fix for bug 751035. DONTBUILD 2012-05-09 20:23:31 -04:00
Ehren Metcalfe
db8f0e31ca Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
Ehsan Akhgari
2be6b796b2 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
729c0d0f7e 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
ed5d3bf079 Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Ms2ger
2a096d2084 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
585c02c8bd Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Ed Morley
c112dfced7 Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE 2012-05-03 12:32:49 +01:00
Ralph Giles
daed6b4964 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
b2534fe7f1 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
a6483f6245 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
d674bb8057 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Ehsan Akhgari
a3ff22bf4a 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
1e013d242c 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
04b6d68bcd 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
54a29c01d8 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
135656e0c4 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
70eca6f58d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Ms2ger
c17aecde3c No bug - Fix buildwarning about nsHTMLDocument::GetPlugins; r=bz 2012-04-27 20:17:22 +02:00
Phil Ringnalda
fe946c3539 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Ed Morley
eb2b16513c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
Olli Pettay
083b3ec440 Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Ehsan Akhgari
55fc171cde Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-25 10:06:04 -04:00
Ms2ger
af9b9b29cb Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Aryeh Gregor
6a59021f84 Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan 2012-04-24 13:57:46 +03:00
Aryeh Gregor
2743d1b320 Bug 480647 part 4 - Clean up nsHTMLDocument::ConvertToMidasInternalCommandInner; r=ehsan 2012-04-24 13:57:23 +03:00
Aryeh Gregor
d9fb0a3314 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
352ceec39d Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Matthew Schranz
d4f85eab49 Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Aryeh Gregor
c7d23199c4 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
1e3b159969 Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Daniel Holbert
bc55090eed 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
e089b336f8 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
731cf9d3bd Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Aryeh Gregor
7da47b5f99 Bug 745685 - Parse <font size> per HTML5; r=bz 2012-04-19 11:09:16 +03:00
Chris Pearce
74e8ff12b9 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
61eb102268 Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Ehsan Akhgari
bc2391b0f8 Bug 748216 - Avoid dynamic allocation of nsHTMLTextAreaElement::mState; r=smaug 2012-04-24 00:19:26 -04:00
Alessandro Decina
1c7e653fdb Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Aryeh Gregor
d12d659db6 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
6bb06e2114 Bug 738385 part 1 - Refactor some editing logic in nsHTMLDocument.cpp; r=ehsan 2012-04-17 13:18:08 +03:00
Henri Sivonen
e1d2b4b167 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
Masatoshi Kimura
f17f15dabb Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Alice Lieutier
474f4b91a7 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
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Matt Brubeck
237ec601d2 Back out 14715fd6b81c (bug 677122) because of frequent failures in its test 2012-04-11 08:39:58 -07:00
Scott Downe
5219d0c35f Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-04-11 07:49:20 -04:00
Mark Capella
86d94910f9 Bug 652635 - Fallback missing @longdesc to aria-describedby pointing to <a href>, r=surkov, jonas 2012-04-11 15:16:00 +09:00
Jared Wein
082d8a642b Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao 2012-04-10 16:03:41 -07:00
Henri Sivonen
5beb4f0915 Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug. 2012-04-10 10:02:31 +03:00
Boris Zbarsky
6dcfcf93b7 Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Marco Bonardo
5e1e1bdc0e Backout d83c1ffb7397 (bug 741266) due to Windows M1 failures 2012-04-07 01:34:28 +02:00
Boris Zbarsky
645c85865a Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Aryeh Gregor
ce926d8719 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky
a25922d009 Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Boris Zbarsky
0fca9692ed Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking 2012-04-05 13:14:54 -04:00
Mounir Lamouri
78986af44e Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz 2012-04-03 17:37:15 +02:00
Aryeh Gregor
43cd11357a Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Ms2ger
93421f3fbd Bug 741218 - Don't crash when loading a page with content-type application/json; r=hsivonen 2012-04-03 09:25:38 +02:00
Ed Morley
651aa424a1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Henri Sivonen
990ab1f71d Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug. 2012-03-31 17:10:34 +03:00
Christopher De Cairos
b9bebb8f08 Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce 2012-03-30 20:52:07 -04:00
Ms2ger
1e9b34b2ca Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Phil Ringnalda
62e25bcddc Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Kyle Huey
5639dfdb41 Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Justin Lebar
e118a51dca Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
f4becfb922 Bug 736688 - Part 4: Remove mozbrowser code from nsGenericHTMLFrameElement (undoes changes from bug 710231). r=smaug
--HG--
extra : rebase_source : 3bcc94bca02c4c39fb987c27555ed698c44fe61d
2012-03-28 11:36:04 -07:00
Jared Wein
642a4f48c0 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Henri Sivonen
96fd999a06 Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
e6c1f6da11 Backed out changeset 389eee1cce65 (bug 677122) due to bustage. 2012-03-27 20:04:33 -04:00
Scott Downe
f955145443 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-03-27 19:17:35 -04:00
Jared Wein
e34baf2131 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Tom Schuster
0fe26d128c Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Ryan VanderMeulen
748a97a1ee Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz
6d3d2ebee0 Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Jared Wein
5c1c03e064 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Henri Sivonen
aad2ed2d73 Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Masayuki Nakano
acf546c04a Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
Mounir Lamouri
832858eb8d Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz 2012-03-26 17:52:39 -07:00
Chris Pearce
5d037cdaf0 Bug 726400 - Backed out changeset 4ad6c040729f. r=backout. 2012-03-26 14:41:14 +13:00
Christopher De Cairos
49bf77143e Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce 2012-03-26 14:21:53 +13:00
Matt Brubeck
21e24f0ef9 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Henri Sivonen
4e93a91b3a Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Peter Van der Beken
4c5904d14e Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jared Wein
4920fd9f8d Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Patrick McManus
15a48d8534 bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
589f9135f9 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00