Commit Graph

8782 Commits

Author SHA1 Message Date
Brandon Sterne
8462252cd3 Add missing tests for Bug 702439, r=bz 2011-12-02 16:56:40 -08:00
Brandon Sterne
f79bb5d11f Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Robert O'Callahan
c81f0548a8 Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec 2011-12-02 17:43:42 +13:00
Robert O'Callahan
7bbc460e15 Bug 687972. Even more logging... 2011-12-02 10:19:43 +13:00
Boris Zbarsky
bd8d6674cc Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05:00
Boris Zbarsky
83bd6bb9a4 Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Jan Bambach
1984c5a018 Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao 2011-12-08 10:21:32 +01:00
Mounir Lamouri
094d224262 Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug 2011-12-08 16:31:14 +08:00
Boris Zbarsky
2bef075226 Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo. 2011-12-08 03:05:41 -05:00
Masayuki Nakano
b26f243504 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Brian O'Keefe
5717da0395 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Brian O'Keefe
c1feaca018 Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Masayuki Nakano
67ab8bc88a Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Masayuki Nakano
5b6d43ea11 Bug 665677 test_bug330705-2.xul should ensure that the first box gets focus before doing test r=smaug 2011-12-08 09:58:26 +09:00
Christian Legnitto
72fefb3b42 Backout 223d4f4bd252 (bug 463491) due to a regression (bug 679961). a=LegNeato 2011-10-31 16:39:32 -07:00
Andrew Quartey
782713b602 Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik 2011-12-03 13:04:03 +01:00
Tobias Markus
e5a8e25dbc [Bug 706113] Removing null checks from VideoDocument.cpp 2011-11-30 20:06:33 +01:00
Robert O'Callahan
b22f626880 Bug 687952. Fix bustage 2011-12-01 23:32:11 +13:00
Robert O'Callahan
30ee186c84 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Ed Morley
a115603d38 Merge mozilla-central and mozilla-inbound 2011-12-01 04:14:57 +00:00
Brad Lassey
fb38b7fab8 Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
b1c2e62040 Bug 687972. Remove logging code now that we've fixed the bug. 2011-12-01 15:49:50 +13:00
Robert O'Callahan
5549f1b115 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-11-30 21:14:26 -05:00
Boris Zbarsky
24607a6f09 Bug 706528. Remove vestigial beforepaint event stuff. r=smaug 2011-11-30 19:45:32 -05:00
Henri Sivonen
ced0005834 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Brian Birtles
7e4679553e Bug 703992 - Fix parsing of indefinite times; r=dholbert 2011-12-01 08:45:28 +09:00
Robert O'Callahan
cc9cc9085f Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce 2011-12-01 12:09:10 +13:00
Matt Brubeck
a2398505d6 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Ed Morley
13c27f3c4f Bug 703889 - Remove |ifndef DISABLE_XFORMS_HOOKS| since it's never defined; r=ted 2011-11-30 18:37:57 +00:00
Henri Sivonen
559bf46562 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Robert O'Callahan
4ef340dbbe Bug 687972. Add a little bit more logging. 2011-12-01 00:16:19 +13:00
Robert O'Callahan
508f509754 Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce 2011-11-30 18:05:49 +13:00
Marco Bonardo
1a826c7453 Merge mozilla-central to mozilla-inbound 2011-11-30 00:02:46 +01:00
julian.reschke@gmx.de
bbb8546eeb Bug 700589 - Fix Content-Type parser to treat single quote as regular character instead of a delimiter. r=jduell r=bz 2011-11-29 14:06:32 -08:00
Daniel Holbert
3d36b12a2b Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt 2011-11-29 14:06:30 -08:00
Robert O'Callahan
1171f7cdd0 Bug 687972. Make sure that if ResourceLoaded fires before MetadataLoaded, we go to HAVE_ENOUGH_DATA when MetadataLoaded eventually fires. r=cpearce 2011-11-30 11:04:38 +13:00
Chris Pearce
8e92cfdc4c Bug 705994 - Ensure test_preload_actions doesn't try to finish test cases multiple times. r=roc 2011-11-30 11:01:14 +13:00
Olli Pettay
bb5ca20cca Bug 705272 - [CC] Don't traverse the hidden window, r=jst
--HG--
extra : rebase_source : 06cd14f11d9a43fa2b44a5b09a019962c03d16e0
2011-11-29 19:19:08 +02:00
Marco Bonardo
dd6bdf768a Merge mozilla-central and mozilla-inbound 2011-11-29 13:03:03 +01:00
Olli Pettay
29ea5932ff Bug 702036 - JSEventListener could have weak mTarget to reduce CC overhead, r=bz 2011-11-29 11:44:06 +02:00
Benoit Jacob
82379d20c5 Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel 2011-11-28 14:30:28 -05:00
Olli Pettay
faa2652e7a Bug 705651, simplify message manager, and remove certainly useless comment about OMIT_COMPONENTS_OBJECT, r=mrbkap 2011-11-30 17:51:40 +02:00
Daniel Holbert
95abd71c71 Bug 704482: Don't register for 'accessKey' events in SVG animation elements when scripting is disabled. r=birtles 2011-11-23 17:49:26 -08:00
Masayuki Nakano
4747609569 Bug 685395 part.6 Notify mouse click event on editor to widget r=roc+smaug+doug.turner 2011-11-27 20:51:53 +09:00
Masayuki Nakano
10df4c7960 Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
8d53240d2b Bug 685395 part.4 IME open state should be able to set/get by InputContext r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
56793bf089 Bug 685395 part.3 Rename SetInputMode()/GetInputMode() to SetInputContext()/GetInputContext() and make SetInputContext() take the reason by a separated argument r=roc, sr=matspal 2011-11-27 20:51:52 +09:00
Masayuki Nakano
bc964af0e3 Bug 685395 part.2 Move IMEContext to mozilla::widget::InputContext r=roc 2011-11-27 20:51:52 +09:00
Robert O'Callahan
f5d5e833e0 Adding more logging to try to track down bug 687972. 2011-11-29 16:12:40 +13:00
Chris Pearce
eb3d8c40bf Bug 687972 - Add some verification to MediaTestManager. r=roc 2011-11-29 12:17:09 +13:00
Ryan VanderMeulen
c99172b952 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Boris Zbarsky
6c0d48e059 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
736d324733 Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Ms2ger
1afa52a375 Bug 648171 - Ensure to call JS_DestroyIdArray in nsHTMLCanvasElement::GetContext; r=gal 2011-11-26 11:22:28 +01:00
Ms2ger
ba9bc745cb Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Ms2ger
62e976e8ba Bug 698406 - Make nsXULPrototypeAttribute::mEventHandler a JSObject; r=sicking 2011-11-26 11:18:51 +01:00
Ms2ger
d75f195dee Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Ms2ger
3236046d99 Bug 698399 - Use nsScriptObjectHolder::getObject in some more places; r=mounir 2011-11-26 11:12:54 +01:00
Ms2ger
b744235be1 Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking 2011-11-26 11:11:35 +01:00
Ms2ger
b6ae58dbc7 Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
0c30f5bf0f Bug 698386 - Pass JSObject to nsXBLProtoImplMember::CompileMember; r=sicking 2011-11-26 11:06:40 +01:00
Mounir Lamouri
aedbfbe488 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Robert O'Callahan
7cda52b8aa Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-25 15:06:22 +13:00
Robert O'Callahan
882adb220d Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Masayuki Nakano
435f4bcaac Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
Henri Sivonen
a1e5e9988d Bug 705072 - Limit HTML support in XHR to responseType == "document" to avoid changing the behavior for legacy users. r=smaug. 2011-11-24 17:28:12 +02:00
Boris Zbarsky
947ce13fde Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Andrew McCreight
250806422b Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Ed Morley
47f9c8e83e Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00:00
Matt Brubeck
d742cbe60a Back out da3319e4987c (bug 704482) because of test_smilAccessKey.xhtml failure 2011-11-23 19:02:43 -08:00
L. David Baron
f7abcf04bc Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
4fc409e924 Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
Masatoshi Kimura
b9f694ca5a Bug 704284 - Crashtest, r=hsivonen 2011-11-23 10:22:41 +02:00
Matthew Gregan
47a096373a Bug 695986 - Fix bug 669556 on Android. r=cpearce 2011-11-22 13:17:38 +13:00
Daniel Holbert
38fb982b29 Bug 704482: Reject 'accessKey' time specifications in SVG animation elements when scripting is disabled. r=birtles r=roc 2011-11-23 17:49:26 -08:00
Jeff Gilbert
5d2abca505 Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob 2011-11-23 16:49:02 -08:00
Jeff Walden
ae17ec2da9 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Patrick McManus
defb404ca8 bug 704004 websockets null check of channel before calling close on it r=jduell 2011-11-22 18:42:59 -05:00
Robert O'Callahan
e5c5e6b988 Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
f734db7521 Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-24 12:05:13 +13:00
Robert O'Callahan
84b2fe0e79 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Robert O'Callahan
4422937668 Bug 703379. Fire CacheClientNotifyDataEnded when we clone a decoder which has already reached the end of the download. r=doublec 2011-11-24 12:05:12 +13:00
Robert O'Callahan
a9dfd68f0f Bug 703379. Part 3: Ensure that we can extract the data from any partially-read blocks held by any stream for a given resource. r=doublec 2011-11-24 12:01:50 +13:00
Robert O'Callahan
71e8a8e2cf Bug 680275. Fix test to ensure that window always gets closed. r=doublec 2011-11-24 12:01:20 +13:00
Michael Wu
8ded2a05cd Bug 703307 - Fix build/crash in gonk, r=cjones 2011-11-22 11:51:51 -08:00
Masayuki Nakano
27c741ccf6 Bug 704049 Restore radio button state when click event is prevented default and there was no checked radio button r=smaug 2011-11-22 21:38:37 +09:00
Henri Sivonen
d4c4dd4cf8 Bug 704284 - Null check mResponseXML in nsXMLHttpRequest::IsWaitingForHTMLCharset(). r=smaug. 2011-11-22 13:23:46 +02:00
Chris Pearce
011644c901 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Robert Longson
44824c6d1e Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Alex Pakhotin
6954faa820 Bug 618921 - the chat capability of etherpad application doesn't work with fennec. r=smaug 2011-10-28 17:05:02 -07:00
Chris Pearce
b3d1462d40 Bug 687687 - Log helpful messages to web-console when full-screen is denied/revoked. r=bz 2011-11-22 10:23:48 +13:00
Jonathan Watt
33b6ea8299 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Masatoshi Kimura
7e8871955f Bug 703380 - Test fix & added a new test; r=smaug
--HG--
extra : rebase_source : adddf8781b55c797ca15139cbc1e5a9c5032494a
2011-11-21 12:07:27 -06:00
Masatoshi Kimura
7f072394e6 Bug 703380 - XMLHttpRequest can fire an abort event after a load event, but should not; r=smaug
--HG--
extra : rebase_source : 07e72b23cfad23e0ea1e860fa48b1f6ed0587412
2011-11-21 12:07:12 -06:00
Neil Deakin
afa7e2eaae Bug 703260, part 3, remove nsIViewObserver, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
9e0f3e82fe Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Fabien Cazenave
bb3ae888f0 Bug 690372 - Give an IID to dom::Element. r=ehsan 2011-11-21 16:32:14 +01:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matthew Gregan
37527f99d1 Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Ginn Chen
41a1c76a75 Bug 701273 Fix prototype mismatch for nsXBLProtoImplProperty and nsXBLProtoImplField (bool vs const bool) r=enndeakin 2011-11-21 11:09:16 +08:00