Commit Graph

7287 Commits

Author SHA1 Message Date
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
Ms2ger
5079979c3a No bug - Fix buildwarning about nsHTMLDocument::GetPlugins; r=bz 2012-04-27 20:17:22 +02:00
Phil Ringnalda
1d52ee7a7b Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Ed Morley
371b6292ff Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
Olli Pettay
fab0bd775f Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Ehsan Akhgari
b3edff00ce Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-25 10:06:04 -04:00
Ms2ger
f87b924f25 Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Aryeh Gregor
7be1137313 Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan 2012-04-24 13:57:46 +03:00
Aryeh Gregor
3764f99635 Bug 480647 part 4 - Clean up nsHTMLDocument::ConvertToMidasInternalCommandInner; r=ehsan 2012-04-24 13:57:23 +03:00
Aryeh Gregor
6bc478db8b 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
dcdf030a23 Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Matthew Schranz
9a181354aa Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Aryeh Gregor
143bcd05b7 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
906c0d876d Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Ehsan Akhgari
313c5f8453 Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Daniel Holbert
7a2d634fcc 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
5c0d118456 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
5af9f61b94 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Aryeh Gregor
4e988704fc Bug 745685 - Parse <font size> per HTML5; r=bz 2012-04-19 11:09:16 +03:00
Chris Pearce
f48b124c6f 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
3bdac8e24b Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Ehsan Akhgari
3b1c4ed726 Bug 748216 - Avoid dynamic allocation of nsHTMLTextAreaElement::mState; r=smaug 2012-04-24 00:19:26 -04:00
Alessandro Decina
7280dac94a Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Aryeh Gregor
17fb537275 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
988c464a01 Bug 738385 part 1 - Refactor some editing logic in nsHTMLDocument.cpp; r=ehsan 2012-04-17 13:18:08 +03:00
Henri Sivonen
f809f0bb17 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Alice Lieutier
87c98a3c26 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
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
859ca74e56 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
David Humphrey (:humph)
e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Matt Brubeck
840bca261e Back out 14715fd6b81c (bug 677122) because of frequent failures in its test 2012-04-11 08:39:58 -07:00
Scott Downe
6f97512de5 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-04-11 07:49:20 -04:00
Mark Capella
ea01acd86f 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
3fb7686724 Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao 2012-04-10 16:03:41 -07:00
Henri Sivonen
914678b308 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
89af98f875 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
41864ff3a8 Backout d83c1ffb7397 (bug 741266) due to Windows M1 failures 2012-04-07 01:34:28 +02:00
Boris Zbarsky
bb8e5969a5 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
58500691c7 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky
ee79d7d84b 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
a25824bd5d 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
7dce10b04f Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz 2012-04-03 17:37:15 +02:00
Aryeh Gregor
770ebbde43 Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Ms2ger
f72d8ff462 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
18b9148c4f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
c7a649ab35 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Henri Sivonen
e1c9589023 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
b40034d6f4 Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce 2012-03-30 20:52:07 -04:00
Ms2ger
2754f9e3ff Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Phil Ringnalda
16b8634b73 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
33073664dc Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Justin Lebar
a3a4cffe1f 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
1c274793d6 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
ab34b8f798 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
c47e91dbfa Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
47c4df35c2 Backed out changeset 389eee1cce65 (bug 677122) due to bustage. 2012-03-27 20:04:33 -04:00
Scott Downe
68367edb87 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-03-27 19:17:35 -04:00
Jared Wein
726d85a760 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Tom Schuster
886fac49f9 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
b0b9f6af4c Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz
43713e6cef Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Jared Wein
daa64bde94 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
f05ff8b40b Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Masayuki Nakano
2aa958ea0f 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
410f3342be Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz 2012-03-26 17:52:39 -07:00
Chris Pearce
34453514e9 Bug 726400 - Backed out changeset 4ad6c040729f. r=backout. 2012-03-26 14:41:14 +13:00
Christopher De Cairos
25e946ae06 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
626f101539 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Henri Sivonen
342883de53 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
cba2d2e2ac Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jared Wein
500e229e25 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Patrick McManus
5090fe4d7b bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
97c6f75ef3 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
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Henri Sivonen
d51764b632 Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Mounir Lamouri
972d90ca7e Bug 673853 - Fix "ASSERTION: Form control should have a parent". r=bz 2012-03-21 15:47:04 +01:00
Paul O’Shannessy
0f018487d9 Bug 639705 (Lion Full Screen) Part 4: Fix content tests [r=cpearce]
--HG--
extra : rebase_source : 52bafed68c81c56aab0fe520dc51cb4a04103886
2012-03-20 16:21:15 -07:00
Matt Brubeck
40f3f77d22 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Mats Palmgren
addd9dcfb4 Bug 732951 - Propagate nsContentUtils::ASCIIToLower/ASCIIToUpper error. r=bz 2012-03-20 19:02:38 +01:00
Patrick McManus
28c3c87c12 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Adam Dane [:hobophobe]
a4e77c0d40 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Robert O'Callahan
5bfbed0b5b Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce 2012-03-20 20:55:40 +13:00
Diogo Golovanevsky Monteiro
24485f6c5c Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Jeff Gilbert
f23bc53c69 Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Jared Wein
e8d8a40761 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Ehsan Akhgari
2df3a82068 Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc 2012-03-23 11:35:40 -04:00
Ehsan Akhgari
45a106cae1 Bug 738649 - Incorrect return value check in nsHTMLDocument::EditingStateChanged; r=khuey 2012-03-23 11:19:57 -04:00
Nathan Froyd
70907fb5f2 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Blake Kaplan
662d0db31b Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Peter Van der Beken
d17b094076 Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
2671cc336a Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Boris Zbarsky
333a19ad97 Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking 2012-03-10 10:13:52 -06:00
Boris Zbarsky
c2df5aab29 Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Mounir Lamouri
8f30f0a12c Bug 729845 - Disabled attribute shouldn't apply to all HTML elements. r=bz 2012-03-10 11:57:19 +01:00
Emanuel Hoogeveen
bdce617c30 Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey 2012-03-09 21:50:34 -08:00
Mounir Lamouri
43949c6bb1 Bug 729854 - Improve test_bug353415-1.html and test_bug353415-2.html. r=Ms2ger 2012-03-09 15:26:56 +01:00
Jacob Holzinger
6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Rob Campbell
3bf1f57058 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
3b808f9c61 Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Makoto Kato
b6e9c4d7bb Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Justin Lebar
7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Justin Lebar
fd4cfccc63 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Frank Yan
6334901e7a Bug 726402 - Fix intermittent test_bug369370.html. r=bz 2012-02-18 03:42:44 -08:00
Frank Yan
3968117192 Bug 717143 - Remove bogus margins when force-reloading standalone image. r=bz 2012-03-07 22:11:45 -08:00
Peter Van der Beken
6ebfe4a8d3 Fix for bug 717013 (Add new DOM binding for DOMTokenList). r=jst.
--HG--
extra : rebase_source : 6ae0abe3bbe33a140c62c193685e23529d44e6d4
2011-08-22 11:14:13 +02:00
Nicholas Nethercote
d73f98344b Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Boris Zbarsky
93deda78c2 Bug 615595. Set the form submission's mCharset to the charset we're actually using to encode the data. r=sicking 2012-03-02 00:19:30 -05:00
Nicholas Nethercote
da738c5677 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Ryan VanderMeulen
6adc508f04 Backout bug 492921 due to mochitest crashing. 2012-02-29 20:29:49 -05:00
Emanuel Hoogeveen
4fe3346b5d Bug 492931 - Part 1b: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:32:13 -05:00
Emanuel Hoogeveen
1679154578 Bug 492931 - Part 1a: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:31:45 -05:00
Mounir Lamouri
4a74e7d9a1 Bug 618876 - Support internationalized <input type="email">. r=sicking 2012-02-29 23:35:47 +01:00
Mounir Lamouri
99a6d0d0fc Bug 670883 - Add UTF-8 tests for <input type=url>. r=sicking 2012-02-29 23:37:38 +01:00
Henri Sivonen
60b9bb42d0 Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02:00
Jeff Muizelaar
4c6fea1353 Bug 730508. Clip canvas invalidations to the content area of the canvas. r=roc
Previously, operations like drawImage() could invalidate areas outside of the
canvas. This hurt performance of runfield on maple.
2012-02-27 01:05:10 -05:00
Masayuki Nakano
b37485e0fc Bug 728132 test_bug583533.html shouldn't use nsIDOMNSEvent::*_MASK r=smaug 2012-02-27 12:02:35 +09:00
Matthew Gregan
4bf67123b1 Bug 634564 - Don't reset load-in-background flag when moving completed media load into the foreground. r=cpearce 2012-02-24 14:07:35 +13:00
Nathan Froyd
da98e3c58e Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
Mounir Lamouri
9148b5f58f Bug 729854 - Fix intermittent failure in test_bug353415-2.html. r=Ms2ger 2012-02-24 14:11:30 +01:00
Mounir Lamouri
d9d374aaf9 Bug 720385 - Make option.index follows the specifications. r=Ms2ger 2012-02-24 21:30:54 +01:00
Rafael Ávila de Espíndola
7de7de1cff Bug 723534 - Remove dead default cases. r=ehsan. 2012-02-24 08:36:53 -05:00
Richard Newman
e7b436563b Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Matthew Schranz
e6f5aa8906 Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Olli Pettay
752943f421 Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan 2012-02-23 22:47:37 +02:00
Ms2ger
fba40a3061 Bug 725977 - Update table cellpadding / cellspacing to spec; r=bz 2012-02-21 10:34:01 +01:00
David Seifried
e8d2c835e3 Bug 680321 - Media preload state should reset in resource selection algorithm. r=cpearce 2012-02-20 10:02:08 +13:00
Chris Pearce
75e3ace854 Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc 2012-02-20 10:02:08 +13:00
Rafael Ávila de Espíndola
001629a164 Bug 727222 - mark some classes in content/html/content/src/ final. r=smaug. 2012-02-15 10:42:34 -05:00
Robert O'Callahan
872bbcb297 Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Robert O'Callahan
3bf55cada3 Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec 2012-02-15 17:35:01 +13:00
Jonathan Kew
b93bca669c bug 726981 - remove stray instances of PRBool in content. r=mounir 2012-02-14 16:17:19 +00:00
Brian Birtles
aa6bce14d2 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Brian Birtles
dc787a847e Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Neil Deakin
56733ed31b Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Mounir Lamouri
c3c33b0a58 Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz 2011-12-21 18:03:52 +01:00
Marco Bonardo
d4a30f3fd9 Backout 683c21514e28, c22a4f1815c6, adb8a322cbe3, 415f3b807d45, 25edb41d0119 (bug 629200) for Dromaeo(DOM) regressions 2012-02-07 15:57:03 +01:00
Jignesh Kakadiya
5a00f148ec Bug 596515 - Add a possibility of styling form:invalid. r=mounir 2012-02-07 13:51:49 +01:00
Mounir Lamouri
0d6331d5af Bug 720130 - Tab key shouldn't focus plugins unless tabindex is set. r=smaug 2012-02-07 13:52:45 +01:00
Marco Bonardo
bf207e9f01 Merge central to inbound 2012-02-07 14:25:00 +01:00
Mats Palmgren
4912b653ef merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren
10fd500a82 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Brian Birtles
aa5883568a Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Brian Birtles
72c7ad3870 Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Ed Morley
74e1a0f7ab Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-05 11:10:53 +00:00
Tim Taubert
ffc8a188fa merge m-c to fx-team 2012-02-04 11:28:09 +01:00
Tim Taubert
ac44d7254e Bug 723852 - Use a runnable for canvas.mozFetchAsStream(); r=khuey 2012-02-03 15:23:18 +01:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Tim Taubert
71edb76c65 merge m-c to fx-team 2012-02-02 10:03:01 +01:00
Tim Taubert
97bb2ea404 Bug 720697 - Provide internal API to get canvas image data as nsIInputStream; r=khuey 2012-02-01 01:13:44 +01:00
Josh Aas
bfed8cb272 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Michal Novotny
7302ff3ce0 Bug 649778 - document.write may cause a document to be written to disk cache even when the page has Cache-Control: no-store 2012-01-30 18:03:52 +01:00
Mats Palmgren
d79b04f5a7 Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00