Commit Graph

14709 Commits

Author SHA1 Message Date
Peter Van der Beken
793e298b9f Fix for bug 499910. r/sr=bz.
--HG--
extra : rebase_source : 923016caa3c0b3a4dd04ff14eedd512b2ed2706b
2009-06-25 15:13:38 +02:00
jlebar
8e7e8ce329 Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Mats Palmgren
2b7ac9cf79 Fix --enable-canvas3d build error with gcc 4.3.3. b=501004 r=vlad 2009-07-02 11:57:36 +02:00
Mats Palmgren
edbe62438a Remove unnecessary #includes. b=500988 r=roc 2009-07-02 11:57:35 +02:00
Matthew Gregan
3c8596b473 Bug 495794 - Fix crash when destroying audio stream that failed to open cleanly. r=chris.double 2009-07-02 16:38:26 +12:00
Josh Aas
74fc2cc535 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Henri Sivonen
168f13774e Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Olli Pettay
80837507f7 Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Josh Aas
92354e3fc0 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
David Bolter
047c8ca2a3 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Jonathan Griffin
f090c43a7f Actually run the test for bug 493881 2009-06-29 20:26:57 +02:00
Jonathan Griffin
63c2af7e08 Test for bug 493881. r=zweinberg 2009-06-29 18:25:38 +02:00
Robert O'Callahan
765ebd47dd Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Henri Sivonen
c9c0683ced Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 01:28:32 +02:00
Olli Pettay
a28a2a8928 Bug 500243 - range.surroundContents() adds an extraneous empty text node, r=ajvincent@gmail.com, sr=sicking 2009-06-28 22:48:05 +03:00
Olli Pettay
153114284b Bug 497780 - onmouseout's MouseEvent.relatedTarget is a chrome element and is completely inaccessible, r=mrbkap@gmail.com, sr=bz 2009-06-28 22:46:52 +03:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Henri Sivonen
c37125bbd5 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-28 20:19:05 +03:00
Jonas Sicking
ff259aceaf Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00
Henri Sivonen
fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Henri Sivonen
ec7a74cb9e Documentation for nsHtml5Parser.h 2009-06-26 17:19:28 +03:00
Henri Sivonen
dd674095e3 Put more stuff in static const in HTML5 parser, fix UnblockParser on HTML5 parser 2009-06-26 16:05:35 +03:00
Henri Sivonen
2a07b68820 Address review comments on the HTML5 parser 2009-06-26 14:13:46 +03:00
Henri Sivonen
adeb7c2f61 Clean up whitespace in the HTML5 parser; add some docs 2009-06-26 11:22:12 +03:00
Henri Sivonen
af13c6de04 Address HTML5 parser review comments (partially); fix static jArray lengths 2009-06-25 15:28:48 +03:00
Henri Sivonen
f14a1e7e6f Add a readme file for the .java files 2009-06-24 15:37:31 +03:00
Henri Sivonen
8be21b0430 Use less parentheses in assertions in HTML5 parser 2009-06-24 15:32:53 +03:00
Henri Sivonen
fb8e881c05 Include the .java sources for translated files in the HTML5 parser 2009-06-24 15:27:43 +03:00
Henri Sivonen
1bea387bfb Move the initialization of primitive static jArrays to initializeStatics in HTML5 parser 2009-06-24 14:42:50 +03:00
Henri Sivonen
031e581e54 Null out jArray after releasing. 2009-06-24 13:41:18 +03:00
Henri Sivonen
b01c3bdb49 Try to avoid crashing in HTML5 parser cycle collection 2009-06-24 13:38:11 +03:00
Henri Sivonen
d88f6b6525 Remove legacy comments 2009-06-24 11:08:39 +03:00
Henri Sivonen
4cd1a3ac60 #ifdef out a variable only used for debugging. 2009-06-24 10:58:47 +03:00
Henri Sivonen
fe91fa32db Add comments to the HTML5 parser explaining buffer chain key holders 2009-06-24 10:56:40 +03:00
Henri Sivonen
f1577c4c26 Use NS_PRECONDITION instead of NS_ASSERTION for asserting the start condition of HTML5 parser 2009-06-24 10:45:43 +03:00
Henri Sivonen
780d316021 Tweak assertions in HTML5 parser 2009-06-24 10:26:30 +03:00
Henri Sivonen
c27c098156 Make GetChannel nicer in HTML5 parser 2009-06-24 10:22:51 +03:00
Henri Sivonen
ad44605576 Use NS_ERROR instead of asserting true in HTML5 parser 2009-06-24 10:21:17 +03:00
Henri Sivonen
282e1bc1d6 Fix GetCommand in HTML5 parser to return "view" 2009-06-24 10:20:13 +03:00
Henri Sivonen
0101b8870f Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
0a5ee2be2b Make test_bug417255.html use <div> instead of <p> because HTML5 parser closes <p> earlier than the test needs 2009-06-24 09:56:37 +03:00
Henri Sivonen
1ac3458182 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
66a7942699 Merge trunk into HTML5 repo 2009-06-23 10:17:29 +03:00
Henri Sivonen
21e6dfb226 Bug 497865 - Make serializer not reverse attributes when HTML5 parser used (patch by Mats Palmgren) 2009-06-22 12:16:37 +03:00
Henri Sivonen
f857815fde Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
49255e583e Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
bbf153f97c Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
fe65dfaaf9 Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Boris Zbarsky
0412ff6b6c Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
88849d1f27 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
02a6bfd0e8 Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
c12c39f59c Fix bad automatic trunk merge. 2009-06-17 10:51:23 +03:00
Henri Sivonen
4108e0ae0f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
b963bfd95a Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
4533ccdc75 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Neil Deakin
d430acae31 Bug 497562, accesskeys on radio don't focus properly, r+sr=neil 2009-06-15 11:08:41 -04:00
Henri Sivonen
ee29ae33ce Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
40382651ff Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
16e2287315 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Henri Sivonen
5802f70246 Make HTML5 createContextualFragment support text nodes and documents as context 2009-06-12 17:31:55 +03:00
Henri Sivonen
566e463f3c Avoid using HTML5 contextual fragment code path when context is not nsIContent 2009-06-12 16:42:35 +03:00
Henri Sivonen
e7328c6532 Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Henri Sivonen
2d33f6a092 Fixing bad automatic merge 2009-06-11 17:11:05 +03:00
Henri Sivonen
5cad7e2a33 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Serge Gautherie
770b7d9955 Bug 494769 - [MacOSX] mochitest-plain: test_wav_trailing.html (and others) intermittently triggers "malloc: *** error: can't allocate region"; (Fv1) reorder file list 2009-06-09 16:07:22 +02:00
Henri Sivonen
79c88c457e Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
82e13c145b Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
f93baf7cb6 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
2a38c0ddfc Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
34a9141081 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Dirk Schulze
cc13d7d5c0 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jonathan Watt
a743705ded Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Robert Longson
b5cd3e8fef Bug 327756 - ASSERTION: can't find nsISVGValue interface on mMatrix. r=roc 2009-06-17 22:39:59 +01:00
Robert Longson
69944ad434 Bug 496420 - ASSERTION: no presShell' changing currentScale in display:none iframe. r=jwatt 2009-06-17 22:35:49 +01:00
Robert Longson
ac050d8a8d Bug 393832 - svg circle with infinite radius causes hang. r=jwatt 2009-06-17 21:58:38 +01:00
Jeff Muizelaar
596af96df4 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson
d2e6298370 Bug 495135 - nsSMILValue forward declared as a struct in one place. r=jwatt 2009-06-17 21:38:15 +01:00
Robert Longson
8a18a5a87c Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze
b8ea13fb7a Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Olli Pettay
4e1d24ee7e backout Bug 486990
--HG--
extra : rebase_source : 5947dd5fcc29bfb333c53cc2f60a00895910e9bb
2009-06-17 16:22:37 +03:00
Olli Pettay
6e6975e220 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
--HG--
extra : rebase_source : a425f116d1350ff1204f1b031754a262ec73f8b1
2009-06-17 13:26:21 +03:00
Olli Pettay
c1e420fdbe Bug 496317 - Remove nsPopupBlockedEvent, r+sr=sicking
--HG--
extra : rebase_source : 354385de35d48a6f2c911c20175b1715c89c9196
2009-06-16 19:07:56 +03:00
L. David Baron
44a6267b1d Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Christian Biesinger
1a8d7a9703 bug 498433 Add [ ] to the EscapeURI whitelist, so that IPv6 literals get
serialized correctly.
r+sr=bz
2009-06-16 15:15:57 +02:00
Olli Pettay
b4eaa5f247 reuse etci pool, r+sr=sicking
--HG--
extra : rebase_source : 698eae6de79ab094c978cf06f938dd2240a31bc8
2009-06-16 12:15:46 +03:00
timeless@mozdev.org
43c3beda71 Bug 494688 nsCanvasRenderingContext2D::CreateImageData warning: comparison between signed and unsigned
r+sr=vlad
2009-06-27 18:42:51 -07:00
timeless@mozdev.org
7bf681b0c4 Bug 494687 txEXSLTFunctionCall::evaluate warning: comparison between signed and unsigned
r+sr=sicking
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
71af9f521c Bug 494685 nsMathMLElement::MapMathMLAttributesInto comparison between signed and unsigned
r+sr=roc
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
2f8320929a Bug 494684 nsXBLStreamListener::~nsXBLStreamListener warning: comparison between signed and unsigned
r+sr=neil
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
e87be57598 Bug 493716 gEventIdTable is unused
r=smaug sr=smaug
2009-06-27 18:42:50 -07:00
Vladimir Vukicevic
ff48501472 fixup for msvc 2009-06-27 17:33:06 -07:00
Vladimir Vukicevic
e904e6da92 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Vladimir Vukicevic
a33acd773d b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07:00
Henri Sivonen
194b899472 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
5f070d1f64 Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
604f0b133c Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
5306ae71d6 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
612191c82d Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
48ef76f77c Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Robert O'Callahan
244c6d80b4 Since test_load.html waits for load events, make sure it autobuffers and set the cache size to something large so loads aren't suspended. No bug, test-only change. 2009-05-25 12:51:01 +12:00
Chris Double
197958c8d1 Bug 494035. Never enable tracks we don't use. r=roc
--HG--
extra : rebase_source : ceffc78e6473273893fd1ad000799b32023f5c76
2009-05-25 12:45:47 +12:00
Robert O'Callahan
4c5f1dc42a Bug 494336. In DECODER_STATE_DECODING state, if mBufferExhaused is set then stop waiting for the next frame to become available. r=doublec
--HG--
extra : rebase_source : 8b9a35e65cd0ddde311a493b4762fbd58fa2abf6
2009-05-25 12:44:45 +12:00
Robert O'Callahan
8a7e78d507 Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Olli Pettay
861ae41fba Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r=neil,kairo,mossop
--HG--
extra : rebase_source : 165c6eac689cbffc2007519d5202711017f49edd
2009-05-22 12:04:02 +03:00
Zack Weinberg
b51c4c3b13 Bug 494225: correct check for property-not-set in nsHTMLDocument::Get*LinkColor, r+sr=bzbarsky 2009-05-21 15:42:17 -04:00
Olli Pettay
ca454dd82e backout Bug 492037 2009-05-21 22:35:49 +03:00
Chris Pearce
07fd01c8f8 Bug 493958. When decoding ahead to the desired seek position, save up the audio data as we go, because some of it might be needed for the destination frame and later frames. Also, if we reach the end of the frames without finding our destination position, keep the last frame and display it. r=doublec,roc 2009-05-21 17:55:12 +12:00
Jonas Sicking
124a6f937e Add prefs to disable CORS, as well as fix compliance issue in Access-Control-Request-Headers header. r/sr/a=jst 2009-05-20 16:07:18 -07:00
Chris Double
2ad9f5251f Fix another FrameData leak (Bug 463358). Fixes intermittent orange. 2009-05-21 03:17:21 +12:00
enndeakin@gmail.com
668663815c Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r+sr=smaug
--HG--
extra : rebase_source : 1fe10dd0ee2b7af313f80bdeb8241cd0d7757141
2009-05-20 13:57:01 +03:00
Robert O'Callahan
fa8b7ff6dc Fix FrameData leak (bug 463358) 2009-05-20 21:11:48 +12:00
Olli Pettay
46c509ef15 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Henri Sivonen
e8d8ea388a HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +03:00
Robert O'Callahan
cb30f65532 Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
--HG--
extra : rebase_source : 4af72350a51255e7e8748c726a17f9e88e1a540b
2009-05-19 11:08:08 +12:00
Chris Pearce
5e17d6a960 Bug 463358. Seek to any desired frame without visual artifacts by seeking to the previous keyframe and then decoding forward to the desired frame. r=doublec,roc
--HG--
extra : rebase_source : 602a8f9feb74a1ef88e86424028d8da7bcf57b58
2009-05-20 15:50:44 +12:00
Boris Zbarsky
6882e705e1 Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Boris Zbarsky
bda41245f7 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Zack Weinberg
c8a52af86a Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Jim Mathies
b7f1e1335d Bug 485101 - Implement panning feedback for touch enabled displays with win7. r+sr=smaug r=blassey. 2009-05-19 21:05:59 -05:00
Jonas Sicking
7ac1da9ded Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Robert O'Callahan
038ef03387 Backing out bug 493109 on suspicion of causing crashes in linux tests 2009-05-20 00:24:37 +12:00
Robert O'Callahan
7534c33770 Backed out changeset 4b86cbae2846 2009-05-20 00:23:51 +12:00
Robert O'Callahan
d8d488ca5a Bug 486922. Clamp out-of-bounds seek requests. r=doublec
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Robert O'Callahan
075fbf3ff1 Fix test_media_selection.html to handle IDLE network states, since the cache size limit can suspend its loads
--HG--
extra : rebase_source : a90486545fbb993c48dba3ee0025418b7bdc915f
2009-05-19 21:53:38 +12:00
Robert O'Callahan
017c3d03e8 Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
--HG--
extra : rebase_source : 3a1a053308fc209181f7f23b234ba2f396de2a6e
2009-05-19 11:08:08 +12:00
Robert O'Callahan
2a3bc2dc98 Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
--HG--
extra : rebase_source : 0a43b053b52a9b1e300f7f516517722c44040992
2009-05-19 11:07:19 +12:00
Chris Double
507f48d89a Bug 493673. If a video frame has an audio track but no audio data at all, assume the audio has ended and stuff silence into the audio stream. We need this so that video will keep playing synced to the audio clock. r=roc
--HG--
extra : rebase_source : a1684fbd769ae48602335d312a33aa87ca17b8aa
2009-05-19 17:39:40 +12:00
Robert O'Callahan
1f03994614 Bug 493431. When a frame has no video data, don't try to use the video time. r=doublec
--HG--
extra : rebase_source : 985b41ec426c1cc793634c9f40f6924fbd33ed9b
2009-05-19 17:30:36 +12:00
Chris Pearce
5bf110bcd3 Bug 487612. Let the start time of all media be 0 even if the internal timestamps start with something nonzero. r=doublec,roc
--HG--
extra : rebase_source : ee419a06388a5230cddd79c78ddb86ed99fb6400
2009-05-19 17:25:51 +12:00
Matthew Gregan
07f0682802 Bug 454971. Support 'new Audio()' constructor. r+sr=roc
--HG--
extra : rebase_source : 1738d65cd16a79d69408055a8d9feb5ab5d97923
2009-05-19 17:18:41 +12:00
Robert O'Callahan
97e33b8c4d Bug 492420. Delay a little before playing a live stream to try to reduce the likelihood we'll have to buffer. r=doublec
--HG--
extra : rebase_source : 022aa4d89644b3cfef62f95b4349932594de734f
2009-05-19 17:14:20 +12:00
Robert O'Callahan
fc6c9fa798 Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
--HG--
extra : rebase_source : 762e10566ae85d0f73d7080ccb090533d50bfe66
2009-05-19 11:07:19 +12:00
Robert O'Callahan
43bd7e6097 Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
6ee870e86b Bug 487659. Make sure we never pass a playback rate of 0 to the media cache. r=doublec
--HG--
extra : rebase_source : af86613bb5283e777acf1ca01d67eaa734cb8a0f
2009-05-19 11:05:13 +12:00
Robert O'Callahan
b641e771c8 Bug 493187. Call nsOggDecoder::UpdateReadyStateForData more often so we don't fail to notice state changes, and make it smarter about examining the frame queue. r=doublec
--HG--
extra : rebase_source : 9a45e7cf9dc048956971ecf83b0bcc9bb2e45491
2009-05-19 10:47:08 +12:00
Robert O'Callahan
08a4384325 Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Benjamin Smedberg
6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Olli Pettay
a3215e3235 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
Robert O'Callahan
039e8b80e2 Fix test_media_selection.html; its video resource needs to be autobuffer so it doesn't stop loading
--HG--
extra : rebase_source : 937602951c6a8c9831f6a73adc913457e913a7d6
2009-05-18 20:18:43 +12:00
Robert O'Callahan
961c9fc99a Fix test_autobuffer2 to handle the case when a suspend happens when all the data is already loaded.
--HG--
extra : rebase_source : 7923d3fde3e4aef1723e424631f65a64d663f2a3
2009-05-18 16:37:10 +12:00
Robert O'Callahan
c6f26b735c Relax time constraint in test_buf482461 a bit.
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
06e3105812 Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
41e2671e96 Bug 479863. Add ability to close and reopen suspended streams, and recover from server-side disconnect of suspended streams. r=doublec
--HG--
extra : rebase_source : 5ed7825cd919ad3f997f58dafb61c2d4249b60d4
2009-05-18 14:02:20 +12:00
Robert O'Callahan
aafedc777d Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Robert O'Callahan
12cba926fb Fix seeking tests to avoid false assumptions 2009-05-18 12:25:05 +12:00
Robert O'Callahan
7ec7418b2e Fix test_seek5; it should not depend on reading currentTime for the first seek during the asynchronous 'seeking' event, since the second seek may well have already happened. 2009-05-18 12:15:32 +12:00
Chris Pearce
f3be9df7f6 Bug 485471. nsHTMLMediaElement's mChannel should be updated when redirects happen. r=bzbarsky,sr=roc 2009-05-18 10:20:37 +12:00
Chris Pearce
0719504584 Bug 469408. Make seeking in bufferred ranges fast by trying a 'bounded seek' in each buffered data range before falling back to a seek over the whole resource. r=doublec,sr=roc 2009-05-18 10:15:57 +12:00
Robert O'Callahan
14fd51447e Bug 489008. Destroy anonymous content off a script-runner. r=bzbarsky 2009-05-18 10:08:08 +12:00
Robert O'Callahan
97c6b9c07b Bug 476973. Don't get confused by repeated seeks in the Ogg decoder. r=doublec 2009-05-18 10:03:03 +12:00
Boris Zbarsky
b3ddab0df3 Fixing test
--HG--
rename : content/base/test/test_bug490760.xhtml => content/base/crashtests/490760-1.xhtml
2009-05-17 13:12:20 -04:00
Boris Zbarsky
2e785549a0 Add the crashtest for bug 490760 2009-05-17 10:22:55 -04:00
Boris Zbarsky
48862631f2 Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking 2009-05-17 10:22:55 -04:00
Boris Zbarsky
4c2a5712cb Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Olli Pettay
17fce9cd66 Bug 496308 - Crash [@ nsDOMPopupBlockedEvent::GetRequestingWindow], r+sr=jonas 2009-06-15 13:27:54 +03:00
Olli Pettay
c793d0d750 Bug 493266 - Optimize setting currentTarget, r+sr=bz 2009-06-15 13:21:06 +03:00
Olli Pettay
0b62d46a84 Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay
acbff4f66d Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03:00
Olli Pettay
281b4ca4dc Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay
fd6786da5d Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
Phil Ringnalda
cbc3c0c493 Bug 495025 - content/xul/content builds its tests unconditionally, r=ted 2009-06-13 11:53:37 -07:00
Mats Palmgren
ed9eb2214d Test for bug 322588. 2009-06-13 15:51:25 +02:00
Laurent Jouanneau
5cd51dca4d Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
Mats Palmgren
ec3e79fa2e Test for bug 299673. 2009-06-13 01:11:55 +02:00
Neil Deakin
b8523ccc63 Bug 494113, wait for datasources to load in test for bug 441785, r=smaug
--HG--
rename : content/xul/templates/src/crashtests/441785-1.rdf => content/xul/templates/tests/bug441785-1.rdf
rename : content/xul/templates/src/crashtests/441785-2.rdf => content/xul/templates/tests/bug441785-2.rdf
rename : content/xul/templates/src/crashtests/441785-1.xul => content/xul/templates/tests/test_bug441785.xul
2009-06-12 14:23:15 -04:00
Neil Deakin
9820b08314 Bug 378893, fix template tests so that they wait for the datasource to load first, r=smaug 2009-06-12 14:23:14 -04:00
Peter Van der Beken
b64b14221a Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Josh Aas
1aad2522fd Disable test "test_videoDocumentTitle.html" due to random failures. b=492821 2009-05-15 23:20:39 -04:00
Peter Van der Beken
19f5997758 Merge backout. 2009-05-15 16:39:20 +02:00
Peter Van der Beken
a13d3e8fd0 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Olli Pettay
61994c29ad Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Robert O'Callahan
5f9dd68899 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
4c03f490b2 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
--HG--
extra : rebase_source : 2551f25e1828939dbb1619c31d3cedc2217a6623
2009-05-14 09:52:50 +12:00
Chris Double
bb96e85ae7 Bug 474540 - Moves oggplay decoder to separate thread for better playback performance in big videos - r=kinetik sr=roc
--HG--
extra : rebase_source : 8f6925b3dc3a50e8bb02f39d76d2b2444b089b6d
2009-05-13 11:47:52 +12:00
Robert O'Callahan
f88d86a439 Disable test_autobuffer2.html for now, it fails a lot (bug 493692 filed) 2009-05-19 17:44:23 +12:00
Robert O'Callahan
aded9b0e65 Make test_autobuffer2.html more informative to try to narrow down the failures 2009-05-19 16:10:08 +12:00
Robert O'Callahan
9a81729d41 Backing out bug 480058 since it seems to have caused reftest failures on Windows 2009-05-19 16:04:16 +12:00
Robert O'Callahan
4f35f8e467 Backed out changeset 49f254a4390e 2009-05-19 16:03:49 +12:00
Chris Double
cc33d9fa6a Bug 461286. Don't try to get more frames if we've completed decoding. r=roc
--HG--
extra : rebase_source : 11346f044176fdaba753e5a4ce5d74ef91ffc493
2009-05-19 12:07:27 +12:00
Chris Double
db0c99f1ca Bug 493494. Stop playback when a seek occurs so that A/V sync doesn't get confused. r=roc
--HG--
extra : rebase_source : 8dd4c7d5e95472cb17f7523db56446966f11f704
2009-05-19 11:11:59 +12:00
Chris Double
dd020ab03a Bug 496456. When we seek to the end, we should only fire end stuff if we're not playing, otherwise playing should be responsible for ending. Set the current frame time at the end of the stream to the duration, if it's longer than our end time estimate, because the duration can include more than one frame-time's worth of audio. Also, don't replicate a frame of audio in DecodeToFrame when seeking. r=cpearce,sr=roc
--HG--
extra : rebase_source : e34cc28482e2b0ced5ec0774ce73865501400ca6
2009-06-12 14:14:28 +12:00
Matthew Gregan
6ed2191af1 Bug 495163. Trivial code removal, r=roc
--HG--
extra : rebase_source : 5dee5799025c99cad5f7ae8ca7cc4ade3f650a89
2009-06-12 14:08:32 +12:00
Robert O'Callahan
f020867639 Bug 496581. If we seek to the end, enter COMPLETED state instead of trying to decode more. r=doublec
--HG--
extra : rebase_source : 16d4e604e40384221b148bf8939339179a93d96c
2009-06-12 14:07:08 +12:00
Robert O'Callahan
c41a58c04d Bug 494322. nsMediaCache verification code is super slow in debug builds, so turn it off during seeking so we don't get O(N^2) slowdowns. r=doublec
--HG--
extra : rebase_source : a088ef84206eeb7e6e77d42fecb1bbd8f0721c60
2009-06-12 13:43:23 +12:00
Chris Pearce
373b3baa8d Bug 496147 - Ensure ended is true when video playback is ended. r=doublec,sr=roc
--HG--
extra : rebase_source : dc04fe505e75d91e5e1f694728aba8f5be0e32b2
2009-06-12 12:56:50 +12:00
Shawn Wilsher
4f55fcf37a Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. 2009-06-11 16:57:09 -07:00
Jonathan Watt
a955b81011 Bug 119061. SVG elements to which the :hover pseudo class apply do not restyle when moved under the mouse pointer. r=roc 2009-06-11 21:49:34 +02:00
Bernd
1220485428 Bug 192902 - "Words wrap in nowrap cell when width=0 and next cell have width=100%". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Jonathan Watt
496c0e4796 Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr 2009-06-11 17:21:03 +02:00
Boris Zbarsky
b21221fdc8 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Zack Weinberg
d5488e072b Bug 493881: ignore attempts to set legacy color props on a HTML document object before its body element exists. r+sr=bzbarsky 2009-06-11 10:35:40 -04:00
Arpad Borsos
e7721484f4 Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Arpad Borsos
e6fe766c98 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Henri Sivonen
9e0d9098c6 Bug 468708 - Fix serializer code to live in the XHTML namespace world 2009-05-04 11:19:56 -07:00
Henri Sivonen
1f9455f387 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Henri Sivonen
20df79d12f Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
e26f7e19c7 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
f228834a96 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00