Commit Graph

5375 Commits

Author SHA1 Message Date
Henri Sivonen
ae1d3f694e Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
7aa8302d18 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
f6e5e19ce1 Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written() 2009-04-17 15:54:59 +03:00
Henri Sivonen
55d6e97529 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
f6c5f201b8 Fix bad merge of bug 468708. 2009-04-17 12:33:20 +03:00
Henri Sivonen
192c8324f2 Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
7d40733856 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
3ee895d930 Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Henri Sivonen
db106d13aa Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
296874d7d8 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
b7f4025746 Add null check to removing elements from the list of active formatting elements in the HTML5 parser 2009-04-07 17:58:37 +03:00
Henri Sivonen
76f41e0f80 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
477438e93b Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
3a07ccc4a3 Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
f7212b589f Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
f94917473c Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Zack Weinberg
abd160c2af Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Matthew Gregan
0c254a71d7 Bug 475110. Stop advertising browser support for loading Wave formats as documents. r=roc 2009-05-31 22:05:17 +12:00
Henri Sivonen
27ccc45764 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Henri Sivonen
6283a3c22e Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html 2009-03-26 13:50:24 +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
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
Henri Sivonen
3780f9e4ca Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Mats Palmgren
8ad57c75dc Bug 382369. Distinguish click from click-drag on a <label> so text selection works. r+sr=roc, help from Zack Weinberg 2009-03-24 13:55:29 +13:00
Henri Sivonen
99a8cc5f1a Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Henri Sivonen
281b2086b6 Take mScriptsExecuting behavior from nsParser to nsHtml5Parser 2009-03-20 16:59:51 +02:00
Henri Sivonen
0f8172224f More comprehensive fix for HTML nodes in XHTML namespace (bug 468708) 2009-03-20 16:58:37 +02:00
Boris Zbarsky
227c077f37 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
38f7b78d75 Bug 484820. When closing the head context, flush out notifications on its kids, so we won't forget to notify on them. r+sr=mrbkap 2009-03-23 18:10:12 -04:00
Henri Sivonen
aeb7393726 Fix comment in nsHtml5Atoms.cpp not to talk about gklayout 2009-03-19 10:16:19 +02:00
Henri Sivonen
a8e77a6858 Restore some of the debugging code to fix link errors (bug 468708) 2009-03-17 15:48:55 +02:00
Henri Sivonen
0ac237addb Remove obsolete debugging code (bug 468708) 2009-03-17 15:24:17 +02:00
Henri Sivonen
f8f7fb2393 Try to avoid crashing in a timer callback in the HTML5 tree builder 2009-03-17 11:38:08 +02:00
Henri Sivonen
0a585dd859 Eliminate table taint from the HTML5 tree builder 2009-03-16 18:16:26 +02:00
Henri Sivonen
e3e8dd01f6 Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie 2009-03-16 17:40:59 +02:00
Henri Sivonen
167cf2e297 Avoid an accidental deletion of a static atom in the HTML5 tree builder 2009-03-16 17:12:21 +02:00
Henri Sivonen
da5e154b03 Add a check to see that HTML5 modula has been initialized properly before use 2009-03-13 14:41:55 +02:00
Henri Sivonen
63bf6755ae Bug 468708 - Missed two HTML namespace URI cases in previous commit 2009-03-13 12:32:32 +02:00
Henri Sivonen
a53c8f897c Bug 482923, bug 468692, bug 468708 - Make HTML namespaceURI and localName HTML5-compliant 2009-03-13 10:48:05 +02:00
Boris Zbarsky
4ce33a6c6d Bug 486741. Remove hack around broken scrollbars, since it's not needed anymore. r+sr=jst 2009-05-11 22:04:58 -04:00
Matthew Gregan
1bc6593cf3 Bug 488287. When playback ends, readyState should change to HAVE_CURRENT_DATA. r=doublec,sr=roc
--HG--
extra : rebase_source : ea224af1634304c40d7e4ea0f564e72ccab65caa
2009-05-08 14:25:13 +12:00
Robert O'Callahan
c3f383ceb7 Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Patrick McManus
d8ac17d88c Fixing bug 488162. Disable prefetches on proxy config and pref, r+sr=bzbarsky@mit.edu 2009-05-06 14:26:33 -07:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Boris Zbarsky
346daa82d1 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Matthew Gregan
30d18e814f Bug 489830 - Make MediaListener's mNextListener assertion a non-fatal error to avoid crashing in the face of a listener that breaks nsIRequest's contract. r+sr=roc
--HG--
extra : rebase_source : d88fd679bbb532193782f75a8e0cbdff43e602f2
2009-05-05 18:13:26 +12:00
L. David Baron
3d247d2320 Mark the tests that were just disabled more clearly in the makefiles. 2009-04-24 15:45:34 -07:00
Bob Clary
c3ca5e7df9 bug 435128 - disable test since it takes too long. 2009-04-24 14:54:24 -07:00
Bob Clary
58aa4b1061 bug 435128 - mochikit test by Martijn Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
20cc38d003 bug 382568 - crash test by Vlad Sukhoy. 2009-04-24 10:08:19 -07:00
Olli Pettay
32dfaef124 Bug 489965, r+sr=bz 2009-04-24 16:36:58 +03:00
Matthew Gregan
f6c6e67fbc Bug 483570 - Initialize nsHTMLMediaElement::mCurrentLoadID and mPausedBeforeFreeze in ctor. r+sr=roc
--HG--
extra : rebase_source : 2f63abfd4a761ec680cd9ac321d20d2d4191d256
2009-03-16 19:05:28 +13:00
Chris Pearce
d66eb0fa3e Bug 483324. Don't create a decoder for loads that have already failed. r+sr=roc
--HG--
extra : rebase_source : 3a9cbe5b463f30bbddc9acf66b51325783b77b01
2009-03-18 13:34:48 +13:00
Chris Pearce
f5000389a7 Bug 478652 - [Windows] Intermittent Mochitest "test_access_control.html | Test timed out"; r=chris sr=roc 2009-03-19 00:59:34 +01:00
Boris Zbarsky
a5e5911cc3 Bug 482659. Disabling part of the test to work around bug 483818. 2009-03-17 13:06:55 -04:00
Boris Zbarsky
7919f69bbf Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dave Townsend
f1b372e8db Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
0c6cf95474 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Graeme McCutcheon
3003c9a317 Bug 483217. Don't return an nsresult as a PRBool. r+sr=bzbarsky 2009-03-13 16:29:57 -04:00
Olli Pettay
b6cf78a6a8 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Benjamin Smedberg
555ae1b325 Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Henri Sivonen
70026e93ce Merge a newer trunk with HTML5 parsing in hope of avoiding imgCache crashes 2009-03-11 11:22:07 +02:00
Henri Sivonen
82beb935c0 Merge a newer trunk to HTML5 parsing 2009-03-10 16:07:49 +02:00
Boris Zbarsky
8b2e29fc7f Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron 2009-03-10 09:51:34 -04:00
Boris Zbarsky
eb4ceff899 Bug 481335. Cache the href URI of <html:a> once we resolve it. r+sr=sicking 2009-03-10 09:51:34 -04:00
Boris Zbarsky
6729a2f70e Bug 481318. Don't serialize then reparse the URI on anchor property mutations. r+sr=jst 2009-03-09 22:32:09 -04:00
Henri Sivonen
7792f6dd89 Make HTML5 parser not crash in AAA on cnn.com 2009-03-09 15:18:23 +02:00
Henri Sivonen
948c3f9874 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Henri Sivonen
067d36cea7 Make the HTML5 parser manage formatting element list marker memory properly and not crash 2009-03-09 10:35:45 +02:00
Henri Sivonen
49a87d28b1 Run less code when notifying appends in the HTML5 parser; make node removals notify layout 2009-03-06 11:56:23 +02:00
Henri Sivonen
4f97752f7b Make the HTML5 tree builder do its flushing often enough and when coming from event loop rather than when yielding to it 2009-03-05 17:32:32 +02:00
Henri Sivonen
5fdb82029a Be smarter about searching the array of elements seen in this append batch in HTML5 parsing 2009-03-04 16:36:52 +02:00
Henri Sivonen
0f7f470d67 Implement frameset-ok for HTML5 parsing 2009-03-04 12:23:12 +02:00
Henri Sivonen
89fbecd79b Plug leaks in HTML5 parser; fix bug where the doctype was semi-randomly lost 2009-03-03 14:21:15 +02:00
Henri Sivonen
3e559d71fd Add notification batching to HTML5 2009-03-02 16:02:31 +02:00
Chris Pearce
b37dae2092 Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event 2009-03-09 10:01:03 +13:00
Chris Pearce
035c54d22e Chris Pearce - Bug 479859 - Implement new new load algorithm r+ doublec sr+ roc. 2009-03-09 09:59:08 +13:00
Boris Zbarsky
35c2b8fb20 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
L. David Baron
aafe2d425d Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
Stuart Parmenter
cf576e6934 bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Boris Zbarsky
410533bcd6 Wallpaper for bug 480300. 2009-03-04 13:58:43 -05:00
Olli Pettay
ebc7af93d9 Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Henri Sivonen
fb89a672c3 Prevent infinite mutual recursion in HTML5 tree builder flush 2009-02-27 19:04:46 +02:00
Henri Sivonen
3ff19a777e Add insertion batching to HTML5 tree builder 2009-02-27 18:37:47 +02:00
Henri Sivonen
b392ec7305 Really remove code related to HTML5 tree builder reading back from the DOM 2009-02-26 17:09:44 +02:00
Henri Sivonen
c158d28802 Make HTML5 innerHTML setter not crash; Change the tree builder interface never to read from the DOM 2009-02-26 16:05:43 +02:00
Matthew Gregan
0dea2b79f9 Bug 470662 - Don't set paused to true when playback ends. Fix handling of playing/suspend attrs. r=chris.double, sr=roc
--HG--
extra : rebase_source : f5161f9a699015b41c4947b52624901786adc852
2009-02-27 00:55:30 +13:00
Henri Sivonen
a66d5e247c Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Henri Sivonen
29d969d36a Count CTOR/DTOR in HTML5 parser; remove debug NS_WARNINGS 2009-02-12 10:30:41 +02:00
Boris Zbarsky
19f39c20dc Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
823c113aa0 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Henri Sivonen
b906b94283 Make HTML5 parser WriteStreamBytes type modifiers between .h and .cpp match on Windows 2009-02-09 13:18:54 +02:00
Henri Sivonen
ca80b70b7d Add charset sniffing and make standards mode work in the HTML5 parser 2009-02-09 11:20:13 +02:00
Matthew Gregan
bb97faface Merge backout of 59d848818fd8. 2009-02-26 22:06:11 +13:00
Matthew Gregan
d033eb22af Backed out changeset 59d848818fd8 2009-02-26 21:59:39 +13:00
Robert O'Callahan
13cb33fda3 Bug 479936 - Correctly handle sizing of video elements 2009-02-26 20:04:42 +13:00
Matthew Gregan
1b87322c07 Bug 470662 - Don't set paused to true when playback ends. r=chris.double, sr=roc 2009-02-25 14:41:42 +13:00
Matthew Gregan
668578fa43 Bug 471024 - volume or mute set early in media load ignored. r=chris.double, sr=roc 2009-02-25 23:59:00 +13:00
Mats Palmgren
c5bb5f60b5 Reset the editing state when the document is removed from the docshell. b=446483 r+sr=peterv 2009-02-21 03:51:48 +01:00
L. David Baron
3a120c56d3 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
Nochum Sossonko
3adf87ea38 b=478982 Gecko users may need to prevent autoplay for video/audio content in messages r=roc,dolske sr=roc 2009-02-20 17:05:07 +13:00
Chris Pearce
f95265dfc7 b=465458 Media selection algorithm changed in r2403 of HTML5 spec r=doublec sr=roc
--HG--
extra : rebase_source : 09a091ebb5c7a42480a423ac304aacedfa286c4c
2009-02-20 15:49:00 +13:00
Chris Double
9526cb0970 b=478108 Remove Debug log messages for video/audio buffering and rate r+sr=roc 2009-02-20 15:29:23 +13:00
L. David Baron
da21efddd5 Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
bd25838a7a Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
c936720f0a Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
11e12c4425 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
3d090560b0 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
7ee7fbc33f Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Boris Zbarsky
a5d5876901 Bug 400226. Do text redisplay as soon as it's safe, not after a trip to the event loop. r+sr=mats 2009-02-17 22:27:25 -05:00
Neil Rashbrook
1dd09e631a Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Robert O'Callahan
b1216361ee Fixing bustage 2009-02-16 14:35:02 +13:00
Chris Pearce
318f45146f Bug 462455. Initiate media load when appending <source> child elements to media elements. r=doublec,sr=roc
--HG--
extra : rebase_source : b9bca050ef528705c08988d3677bf9bd8c865f33
2009-02-16 14:05:28 +13:00
Chris Pearce
c2986c75ec Bug 476731 - Media element should fire error event when src is a 404; r=chris.double sr=roc 2009-02-15 17:26:32 +01:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Henri Sivonen
d9f997707e Restart HTML5 parser on meta charset; release stack and list memory in tree builder 2009-01-16 15:21:48 +02:00
Henri Sivonen
edff88db0c HTML5: implement recent spec changes, fix isindex attribute behavior, manage head and form pointer memory properly 2009-01-14 13:52:21 +02:00
Mike Kaplinskiy
194202d83d Bug 468353 - designmode.css is not removed after designMode is turned off; r=bzbarsky sr=(bzbarsky + peterv) 2009-02-12 05:15:59 +01:00
Robert O'Callahan
861235b3f7 Bug 476811. Fire 'waiting' event when the decoder starts buffering. r=doublec
--HG--
extra : rebase_source : 1ac5d728e4f3f3e83de61d0806b20f328cdf380c
2009-02-11 14:43:45 +13:00
Robert O'Callahan
d042cc37c7 Bug 469272. Get rid of mPlayRequested since it's not needed; just use mPaused to remember whether we should be playing or not, if play() is called before the stream is loaded. r=doublec,r=kinetik
--HG--
extra : rebase_source : 2753730346f3159f07214e0116a9a32bc45a348d
2009-02-11 14:23:19 +13:00
Michael Ventnor
8ddfeb2aa2 Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman
c8c7f6b3bb Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Jim Chen
b3c9d6eb8e Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
b80ec96efd Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Jim Chen
8623f5fcc5 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
Jesse Ruderman
313514226b Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Chris Double
288d609824 Backed out changeset 364777bc90b5 due to test failures 2009-02-09 15:51:16 +13:00
Chris Pearce
01de168e48 Bug 476731 - Media element should fire error event when src is a 404 - r=doublec sr=roc 2009-02-09 14:04:10 +13:00
Justin Dolske
c757caeb97 Bug 467680 - volumechange events are fired synchronously. r=doublec, sr=roc 2009-02-07 13:43:43 -08:00
L. David Baron
02c9a9592a Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
c997843b00 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Robert O'Callahan
06f9f3850c Bug 476771. 'load', 'emptied' and 'ended' events should be asynchronous as per spec; it's safer anyhow. r=doublec 2009-02-07 21:42:32 +13:00
Robert O'Callahan
f0ff9de335 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Robert O'Callahan
b4f66d939a Backed out changeset ba595db2b681 2009-02-05 23:51:24 +13:00
Robert O'Callahan
546a3091e1 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Olli Pettay
b3d63f9e91 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
L. David Baron
7ff4066a5c Clear back-pointer in more cases. (Bug 475136) r+sr=bzbarsky 2009-01-29 12:39:21 -08:00
Boris Zbarsky
ff8ff59c94 Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc 2009-01-29 14:46:17 -05:00
Jonas Sicking
38592a65d1 More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap 2009-01-26 21:41:25 -08:00
Jonas Sicking
8093e5d81b Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Chris Pearce
ae5a3d959f Bug 451958 - Implement same-origin check plus Access Controls for video Part 2a - r+sr=roc 2009-01-27 15:32:33 +13:00
Jonas Sicking
41679160f6 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
39b948d125 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Robert O'Callahan
5a3b1d43cb Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows. 2009-01-26 20:44:15 +13:00
Chris Pearce
84330009ff Bug 451958. Add more CheckLoadURIs. r+sr=roc
--HG--
extra : rebase_source : 395434811dafef97681e881995327d845a59d70b
2009-01-25 21:06:54 +13:00
Chris Pearce
7be8b69a04 Bug 451958. Implement content policy checks for media elements. r+sr=roc 2009-01-25 12:30:57 +13:00
Chris Pearce
9068fac007 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Jonas Sicking
d25702e3ce Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
c4c9640ef1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00