Henri Sivonen
137e64c272
Make HTML5 tree builder match the scripting state.
2009-05-28 17:17:42 +03:00
Henri Sivonen
94393e75e1
Make document-initiated flushes no-ops in HTML5 parser
2009-05-26 12:00:37 +03:00
Henri Sivonen
7b8db88561
Merge trunk into HTML5 repo
2009-05-25 19:16:57 +03:00
Henri Sivonen
498d1488eb
Inline read() method in HTML5 tokenizer
2009-05-25 11:59:22 +03:00
Robert O'Callahan
3d39f15314
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
Zack Weinberg
6a08d287a7
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
1d0c8384b8
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
15213180ab
HTML5 (and other browsers) do not infer <select> on <optgroup>
2009-05-19 15:41:00 +03:00
Boris Zbarsky
bc7e96f36d
Fixing bug 488649 build bustage
2009-05-19 22:40:07 -04:00
Zack Weinberg
d1ad418dbf
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
Robert O'Callahan
f843370660
Bug 486922. Clamp out-of-bounds seek requests. r=doublec
...
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Matthew Gregan
f201fe7c68
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
bb3c7fc0f9
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
0855ba8432
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
a3f433b1b3
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
Robert O'Callahan
9ae2cf2709
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
a2a28c523b
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
Chris Pearce
58241ba80b
Bug 485471. nsHTMLMediaElement's mChannel should be updated when redirects happen. r=bzbarsky,sr=roc
2009-05-18 10:20:37 +12:00
Boris Zbarsky
0f6dae2977
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
6f4f48e0e7
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
Henri Sivonen
fee082ae9f
Merge the trunk into HTML5 parsing repo
2009-05-04 11:19:16 -07:00
Henri Sivonen
802b683c22
Bug 490941 - Fix visual Hebrew in HTML5 parser
2009-05-04 10:25:29 -07:00
Henri Sivonen
91398b9466
Bug 479774 - Process cache manifests in the HTML5 parser
2009-04-30 15:41:50 -07:00
Henri Sivonen
00e19536e2
Bug 489530 - Make meta refresh work in the HTML5 parser
2009-04-30 15:08:35 -07:00
Henri Sivonen
bafd95b750
Bug 490271 - Make form state pick up input state in HTML5 parser
2009-04-30 14:45:05 -07:00
Robert O'Callahan
54052b20f1
Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
2009-05-14 09:52:50 +12:00
Robert O'Callahan
bb0f8610f9
Backed out changeset eb93563530d5
2009-05-14 12:38:33 +12:00
Robert O'Callahan
9926956f04
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
Henri Sivonen
fd39702cad
Make the HTML5 parser deal with files under 512 bytes that do not have an encoding declaration
2009-04-23 15:19:10 +03:00
Henri Sivonen
5c1801d482
Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content.
2009-04-22 12:17:08 +03:00
Henri Sivonen
d8642cb637
Fix unicode conversion error recovery in HTML5 parser
2009-04-21 14:35:02 +03:00
Henri Sivonen
05cfc0ab33
Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure
2009-04-17 18:55:09 +03:00
Henri Sivonen
797e7e764b
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
eed73a0439
Bug 488267 - Flush appends before starting layout
2009-04-17 13:05:19 +03:00
Henri Sivonen
c6a0307a21
Fix bad merge of bug 468708.
2009-04-17 12:33:20 +03:00
Henri Sivonen
458a64c0ce
Merge in patch for bug 468708.
2009-04-16 13:36:59 +03:00
Henri Sivonen
027ef67503
Inline obvious candidates in the HTML5 parser
2009-04-16 13:30:09 +03:00
Henri Sivonen
51bb8f55eb
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
7c4afa67c2
Get rid of nsHtml5StringLiterals (b=482945)
2009-04-15 12:40:48 +03:00
Henri Sivonen
0eb04fe085
Support keygen, fix refcounting of stack nodes in the HTML5 parser
2009-04-10 20:27:09 +03:00
Henri Sivonen
de40e2dc85
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
6542f8acb8
Make HTML5 tree builder state snapshots not call a method on null
2009-04-07 15:29:22 +03:00
Henri Sivonen
83996972d9
Temporarily make the HTML5 parser leak instead of crashing.
2009-04-07 15:09:39 +03:00
Henri Sivonen
eba1d8fecf
Fix crasher fallout from deferring HTML5 parser life cycle start.
2009-04-07 14:06:28 +03:00
Henri Sivonen
a602adb4a9
Add nsHtml5StateSnapshot.*
2009-04-02 12:06:29 +03:00
Henri Sivonen
5712cc9dc6
Avoid regressing bug 321781 in the HTML5 parser
2009-04-01 18:29:23 +03:00
Zack Weinberg
0412a0974c
Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky
2009-06-01 14:40:14 -04:00
Matthew Gregan
1c90a953a3
Bug 475110. Stop advertising browser support for loading Wave formats as documents. r=roc
2009-05-31 22:05:17 +12:00
Henri Sivonen
4a6930f177
Merge the trunk into HTML5 parsing repo
2009-03-26 14:10:18 +02:00
Henri Sivonen
07ebe81fb3
Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html
2009-03-26 13:50:24 +02:00
Bernd
5f442c604e
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
a6f28c8853
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
f34870fa9e
Fix case-insensitivy in attribute manipulations (bug 468708)
2009-03-24 18:42:03 +02:00
Mats Palmgren
d04121109e
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
d4a2fbc016
Merge trunk into HTML5 parsing repo
2009-03-20 17:09:05 +02:00
Henri Sivonen
a39509c245
Take mScriptsExecuting behavior from nsParser to nsHtml5Parser
2009-03-20 16:59:51 +02:00
Henri Sivonen
973b99cba4
More comprehensive fix for HTML nodes in XHTML namespace (bug 468708)
2009-03-20 16:58:37 +02:00
Boris Zbarsky
1d325109b3
Bug 481440. Make our id table always live. r=jst, sr=roc
2009-03-23 10:04:40 -04:00
Boris Zbarsky
1dce1d2ebf
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
56e3cf051d
Fix comment in nsHtml5Atoms.cpp not to talk about gklayout
2009-03-19 10:16:19 +02:00
Henri Sivonen
af5a6d7e8d
Restore some of the debugging code to fix link errors (bug 468708)
2009-03-17 15:48:55 +02:00
Henri Sivonen
d3ed56d492
Remove obsolete debugging code (bug 468708)
2009-03-17 15:24:17 +02:00
Henri Sivonen
9936094021
Try to avoid crashing in a timer callback in the HTML5 tree builder
2009-03-17 11:38:08 +02:00
Henri Sivonen
564b78820e
Eliminate table taint from the HTML5 tree builder
2009-03-16 18:16:26 +02:00
Henri Sivonen
53cb8896a8
Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie
2009-03-16 17:40:59 +02:00
Henri Sivonen
4a1c16d1a1
Avoid an accidental deletion of a static atom in the HTML5 tree builder
2009-03-16 17:12:21 +02:00
Henri Sivonen
b8ec0e3dcd
Add a check to see that HTML5 modula has been initialized properly before use
2009-03-13 14:41:55 +02:00
Henri Sivonen
12316bb6fe
Bug 468708 - Missed two HTML namespace URI cases in previous commit
2009-03-13 12:32:32 +02:00
Henri Sivonen
501448fc33
Bug 482923, bug 468692, bug 468708 - Make HTML namespaceURI and localName HTML5-compliant
2009-03-13 10:48:05 +02:00
Boris Zbarsky
090012235c
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
016153f95a
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
0d7d241faf
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
47f5a5ed6b
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
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Matthew Gregan
de4d11bea5
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
d02e7ef8c8
Mark the tests that were just disabled more clearly in the makefiles.
2009-04-24 15:45:34 -07:00
Bob Clary
6356294e9c
bug 435128 - disable test since it takes too long.
2009-04-24 14:54:24 -07:00
Bob Clary
0c02c7021b
bug 435128 - mochikit test by Martijn Wargers.
2009-04-24 10:08:25 -07:00
Bob Clary
8e9d3f6710
bug 382568 - crash test by Vlad Sukhoy.
2009-04-24 10:08:19 -07:00
Olli Pettay
9307ea0958
Bug 489965, r+sr=bz
2009-04-24 16:36:58 +03:00
Matthew Gregan
e694f71dd3
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
60c9219116
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
90c099d082
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
9ba769e98c
Bug 482659. Disabling part of the test to work around bug 483818.
2009-03-17 13:06:55 -04:00
Boris Zbarsky
4df63aaac7
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
36de5ef33a
Backed out changeset 55d159b75f41 from bug 482659.
2009-03-17 11:08:59 +00:00
Boris Zbarsky
1f8b3851ba
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
5d95edbfb7
Bug 483217. Don't return an nsresult as a PRBool. r+sr=bzbarsky
2009-03-13 16:29:57 -04:00
Olli Pettay
68a0322fcd
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Benjamin Smedberg
ca96f9405e
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
d58c043926
Merge a newer trunk with HTML5 parsing in hope of avoiding imgCache crashes
2009-03-11 11:22:07 +02:00
Henri Sivonen
4c5eac28c5
Merge a newer trunk to HTML5 parsing
2009-03-10 16:07:49 +02:00
Boris Zbarsky
4a887e84bf
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
61feda8487
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
1e935ef8ae
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
e15c8561f6
Make HTML5 parser not crash in AAA on cnn.com
2009-03-09 15:18:23 +02:00
Henri Sivonen
a895ed96a7
Merge HTML5 work with trunk
2009-03-09 12:24:48 +02:00
Henri Sivonen
7f73feee28
Make the HTML5 parser manage formatting element list marker memory properly and not crash
2009-03-09 10:35:45 +02:00
Henri Sivonen
012bff4d07
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
383d2e57bc
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
c1c7b938f9
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
2c98cfad79
Implement frameset-ok for HTML5 parsing
2009-03-04 12:23:12 +02:00
Henri Sivonen
a4f701ccfe
Plug leaks in HTML5 parser; fix bug where the doctype was semi-randomly lost
2009-03-03 14:21:15 +02:00
Henri Sivonen
cbb69f56c4
Add notification batching to HTML5
2009-03-02 16:02:31 +02:00
Chris Pearce
8504bb216c
Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event
2009-03-09 10:01:03 +13:00
Chris Pearce
bec4c67a63
Chris Pearce - Bug 479859 - Implement new new load algorithm r+ doublec sr+ roc.
2009-03-09 09:59:08 +13:00
Boris Zbarsky
2423744439
Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug
2009-03-06 13:12:20 -05:00
L. David Baron
2a6e824389
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
75e52ee8cb
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
6d09b292f6
Wallpaper for bug 480300.
2009-03-04 13:58:43 -05:00
Olli Pettay
486b27fd0a
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
fc40a573c7
Prevent infinite mutual recursion in HTML5 tree builder flush
2009-02-27 19:04:46 +02:00
Henri Sivonen
7705308a38
Add insertion batching to HTML5 tree builder
2009-02-27 18:37:47 +02:00
Henri Sivonen
c56149a406
Really remove code related to HTML5 tree builder reading back from the DOM
2009-02-26 17:09:44 +02:00
Henri Sivonen
e25067fc50
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
9f3a5b2f76
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
9dd56634ea
Add innerHTML parsing with HTML5 parser
2009-02-20 18:13:48 +02:00
Henri Sivonen
3cb0e1a7ca
Count CTOR/DTOR in HTML5 parser; remove debug NS_WARNINGS
2009-02-12 10:30:41 +02:00
Boris Zbarsky
dceb36b6b7
Backing out bug 481440 (revision 8fddfa5d2748)
2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c
Bug 481440. Make our id table always live. r=jst, sr=roc
2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9
Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking
2009-03-20 09:15:35 +01:00
Henri Sivonen
c26597853c
Make HTML5 parser WriteStreamBytes type modifiers between .h and .cpp match on Windows
2009-02-09 13:18:54 +02:00
Henri Sivonen
5ee2e0c5a7
Add charset sniffing and make standards mode work in the HTML5 parser
2009-02-09 11:20:13 +02:00
Matthew Gregan
3facbf1d48
Merge backout of 59d848818fd8.
2009-02-26 22:06:11 +13:00
Matthew Gregan
241ed4b214
Backed out changeset 59d848818fd8
2009-02-26 21:59:39 +13:00
Robert O'Callahan
0e9a1e6846
Bug 479936 - Correctly handle sizing of video elements
2009-02-26 20:04:42 +13:00
Matthew Gregan
51b1c1c5aa
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
620e25b404
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
44d057623f
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
fa9a21c33d
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
1aafbb746e
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
74bfee1398
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
da2940fce6
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
2eb748571c
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
d9ac02ed8c
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
a91aa25ab0
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
51ef1de194
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
8b207bcc51
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
366992262c
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
b0794d1840
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
2b7a424a9b
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
5890e02de9
Fixing bustage
2009-02-16 14:35:02 +13:00
Chris Pearce
9375bb735b
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
0528fe151f
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
f154077a31
Add crashtests
2009-02-13 14:54:17 -08:00
Henri Sivonen
77c2b73306
Restart HTML5 parser on meta charset; release stack and list memory in tree builder
2009-01-16 15:21:48 +02:00
Henri Sivonen
130638ff7b
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
b4deb6f35f
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
a60bcefab7
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
af7e712e3f
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
a9bf64c109
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
46006e4349
Use 'skip' instead of commenting-out to disable crashtests
2009-02-11 00:17:29 -08:00
Jim Chen
6513b5e77c
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
4755de05c7
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
41a1a807d6
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
5f1cc5c3ce
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
Chris Double
cb749708f5
Backed out changeset 364777bc90b5 due to test failures
2009-02-09 15:51:16 +13:00
Chris Pearce
8d5bc5908a
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
455ed37ff6
Bug 467680 - volumechange events are fired synchronously. r=doublec, sr=roc
2009-02-07 13:43:43 -08:00
L. David Baron
ef5fe05834
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
e53087b660
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
f4d857085f
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
c94a302481
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
c752fcbe22
Backed out changeset ba595db2b681
2009-02-05 23:51:24 +13:00
Robert O'Callahan
3c26c1d1a0
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
b9593d2535
Bug 471166, r+sr=sicking
2009-01-31 14:53:01 +02:00
L. David Baron
f5c868d3c6
Clear back-pointer in more cases. (Bug 475136) r+sr=bzbarsky
2009-01-29 12:39:21 -08:00
Boris Zbarsky
3574872d3a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Jonas Sicking
41e86fb4e9
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
8d2deed13d
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
0e32326db3
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
6a95c287a3
Backed out changeset e8023bc83264 due to orange
2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1
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
57feb73e0d
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
45181319ed
Bug 451958. Add more CheckLoadURIs. r+sr=roc
...
--HG--
extra : rebase_source : 395434811dafef97681e881995327d845a59d70b
2009-01-25 21:06:54 +13:00
Chris Pearce
25b0b69cb2
Bug 451958. Implement content policy checks for media elements. r+sr=roc
2009-01-25 12:30:57 +13:00
Chris Pearce
3b0b1c6e28
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
cd13cb89e5
Backed out changeset 41045faa0ef6 due to leaks
2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7
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
Daniel Holbert
31c18a6827
Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst
2009-01-23 01:02:09 -08:00
Robert O'Callahan
876f275609
Backed out changeset a87563d6594e
...
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Chris Pearce
f816163290
Bug 451958. Support Access-Controls for media loads. r+sr=roc
...
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Daniel Holbert
b91b56aa62
trivial comment-only typo fix in nsHTMLDocument.cpp: s/presumeably/presumably/
2009-01-22 07:13:59 -08:00
Daniel Holbert
2a7d88e05a
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00
Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
...
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Michael Ventnor
2351d2a4b0
Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc
2009-01-22 13:07:44 +13:00
Chris Double
c8da86bd29
Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc
2009-01-22 12:54:40 +13:00
Fred Jendrzejewski
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Chris Pearce
dd26dee475
Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
...
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Robert O'Callahan
b77d06a80b
Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
...
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Patrick McManus
a6550e3070
Bug 473974. Don't DNS-prefetch nodes whose document went away. r+sr=bzbarsky
2009-01-16 14:21:32 -05:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Chris Double
525b4dcecb
Bug 464376 - Dispatch progress events while media resource is downloading - r+sr=roc
2009-01-16 09:26:51 +13:00
Ben Turner
9853f8d27d
Backed out changeset 4c4d0bf8622e for failing unit tests.
2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd
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
Boris Zbarsky
00e66d09cf
Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking
2009-01-14 07:49:18 -05:00
Henri Sivonen
6923a94737
Release memory in the HTML5 parser
2009-01-08 16:34:29 +02:00
Henri Sivonen
dfcd870490
Make each switch-case a block for variable scoping
2009-01-05 17:13:30 +02:00
Henri Sivonen
22db9003f8
Omit unused labels in HTML5 parser
2009-01-05 16:10:23 +02:00
Henri Sivonen
a2b9980280
Remove comma after last enum item to please newer GCC defaults
2009-01-05 15:52:46 +02:00
Henri Sivonen
976036b7a0
Fix build breakage caused by previous merge
2009-01-04 21:49:10 +02:00
Henri Sivonen
372ce72317
Merged HTML5 parsing with m-c from 2008-12-11
2009-01-03 15:01:17 +02:00
Joe Drew
64bbcf4155
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Jonas Sicking
52bfc6ae03
Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap
2009-04-15 15:34:50 -07:00
Chris Pearce
ee8c4eae0d
Bug 482885. Ensure media channels are in the document loadgroup. r=bzbarsky,r+sr=roc
...
--HG--
extra : rebase_source : da14c85f0efd3eda24739161f8195d24117da261
2009-04-10 13:28:24 +12:00
Robert O'Callahan
6c4ea4b6e4
Bug 486673. <object> elements containing video document should scale the video to fill the document. r+sr=bzbarsky
...
--HG--
extra : rebase_source : c56e1a7c507f5532dacf2c1589428b5b10f0611d
2009-04-10 13:14:34 +12:00
Dão Gottwald
2b158c4a2f
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2009-04-10 10:24:24 +02:00
Boris Zbarsky
c5784fb1a5
Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst
2009-04-09 21:36:42 -04:00
L. David Baron
d72622c8a1
Remove nsCSSOMFactory/nsICSSOMFactory. (Bug 376111) r+sr=bzbarsky
2009-04-08 13:52:37 -07:00
Vladimir Vukicevic
008463d971
b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc
2009-04-08 13:27:20 -07:00
Robert Longson
b2f8e75361
Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc
2009-04-06 12:05:29 +01:00
Boris Zbarsky
bf289146de
Bug 485553. Fix issue with mutating anchor uri properties and visited state, and cache the resulting URI when the URI is mutated instead of just reparsing it later. r+sr=jst
2009-04-04 00:14:59 -04:00
Robert O'Callahan
742c2cd62e
Bug 475441. Implement media data cache. r=doublec,kinetik
2009-04-01 13:52:56 +13:00
Robert O'Callahan
693437fc2e
Backed out changeset b6a1093e5814
2009-04-01 16:19:00 +13:00
Robert O'Callahan
7476df2627
Bug 475441. Implement media data cache. r=doublec,kinetik
...
--HG--
extra : rebase_source : 3907c84869b1c8bad2279295858ff77ab159d6ee
2009-04-01 13:52:56 +13:00
Chris Pearce
ae111168f6
Bug 481488. Report HAVE_ENOUGH_DATA when we load the entire file before we even have a decoded frame. r=doublec,sr=roc
...
--HG--
extra : rebase_source : 45c5ebfcab187ae1b04cbe489e113781f61d43b8
2009-03-30 13:55:04 +13:00
Robert O'Callahan
d0c58fb22f
Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
...
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Henri Sivonen
bfe0f0b410
Initial attempt at HTML5 parsing in Gecko
2008-12-12 15:10:39 -08:00
Boris Zbarsky
b88062639a
Bug 465806. Use all of our security information from a single place. r+sr=jst
2008-12-11 16:00:37 -05:00
Patrick McManus
757343b9cf
Bug 467648. Fix shutdown leak by making sure to clear out the deferred DNS prefetch queue at shutdown. r+sr=bzbarsky
2008-12-11 14:16:00 -05:00
Boris Zbarsky
d49131ad24
Fix parent class name. Followup to bug 368773, r+sr=peterv
2008-12-09 12:38:33 -05:00
Chris Double
0d6fa2a241
Bug 465459. totalBytes is no longer part of the HTML5 video spec. r+sr=roc
2008-12-09 13:47:31 +13:00
Dan Fabulich
b3132f8800
b=347174, implement document.readystate == 'complete'; r=sicking
2009-01-09 09:12:09 -08:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Chris Double
cb0b0c4a77
Backed out changeset 34f6eb1300f1 due to test failure
2008-12-06 19:53:23 +13:00
Chris Double
b094bb85bd
bug 464376 - Fire media progress events as needed - r+sr=roc
2008-12-06 18:25:16 +13:00
Patrick McManus
36e0dca600
Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz
2008-12-05 12:53:24 -08:00
Serge Gautherie
d6255d3171
Backed out changeset: d98cdb0cdd15
2008-12-05 19:26:52 +01:00
Mike Kaplinskiy
b51abf4b07
Bug 440614 - text entry field unable to take focus; r=(bzbarsky + jst + peterv) sr=peterv
2008-12-05 17:27:02 +01:00
Graeme McCutcheon
db7058c5de
Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky
2008-12-03 12:55:14 -05:00
Boris Zbarsky
f7532247af
Merging backout
2008-12-03 12:20:32 -05:00
Boris Zbarsky
13333e839e
Backed out changeset d351bde7a804
2008-12-03 12:19:47 -05:00
Boris Zbarsky
b99f5c612c
Bug 466084. Fix reframing of plugin documents to reinstantiate the plugin correctly. r+sr=jst
2008-12-03 09:41:09 -05:00
Boris Zbarsky
0a75872a01
Bug 465806. Use the principal that corresponds to our securityInfo in document.open. r+sr=jst
2008-12-02 11:01:47 -05:00
Olli Pettay
1da8ce7514
Bug 430214, patch1, r+sr=sicking
2008-12-03 13:09:42 +02:00
Olli Pettay
8cf1e6c4bd
Bug 464009, patch1, r+sr=sicking
2008-12-03 12:38:15 +02:00
Olli Pettay
be3b05cfd1
Bug 463424 - Make nsImageDocument/nsPluginDocument participate better in cycle collection, r+sr=peterv
2008-12-03 12:30:26 +02:00
Robert O'Callahan
76e539e029
Backed out changeset 3f5a6da199fc
2008-12-03 13:26:55 +13:00
Matthew Gregan
d3e8426e8c
Bug 464158. Implement media type switching based on the MIME type of the loaded resouce. r=doublec,sr=roc
2008-12-03 10:16:15 +13:00
Jesse Ruderman
8a194aa3fe
Add bug 353713 crashtest to CLOSED TREE. This test takes about 2 seconds on my machine as it tests mTooDeepWriteRecursion code, making it the slowest crashtest; hopefully this doesn't cause problems.
2008-11-29 18:43:45 -08:00
Blake Kaplan
1871e9b443
Bug 465626 - Fix GCC warning about using rv uninitialized. r+sr=jst, a191=beltzner.
2008-11-28 11:10:24 +01:00
Boris Zbarsky
757f481a59
Bug 462979. Fix synthesizeMouse to send events to the right place. r=enn, sr=roc, a=beltzner
2008-11-26 16:52:42 -05:00
Olli Pettay
a20e91fb88
Bug 464197, r+sr=roc, a=blocking1.9.1+
2008-11-26 12:52:48 +02:00
Patrick McManus
160a5690a3
Bug 473089. Make sure that our DNS listener (which may be released on random threads) doesn't hold refs to Elements. r+sr=bzbarsky
2009-01-12 10:38:32 -05:00
Patrick McManus
fbf86e6cfb
Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIs, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). Now with leak fixes. r+sr=bzbarsky
2009-01-12 10:36:55 -05:00
Boris Zbarsky
e4836796ec
Bug 472239. Make sure to set up our listener before trying to call OnStartRequest on it. r+sr=jst
2009-01-09 12:54:23 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Robert O'Callahan
38b1afff17
Backed out changeset ab6c0cda36b2 to fix test failures
2008-11-19 16:21:08 +13:00
Chris Pearce
21090b1054
Bug 451958. Implement access checks for media elements. r+sr=roc,a=beltzner
2008-11-19 14:08:39 +13:00
Boris Zbarsky
127c0998fe
Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp
2008-11-18 17:54:36 -05:00
Patrick McManus
92f594cb63
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner
2008-11-07 18:00:26 -05:00
Boris Zbarsky
9e8cad72b1
Bug 460713. Sanity-check the length. r+sr=jst, a=beltzner
2008-11-11 22:36:20 -05:00
Matthew Gregan
873fa1824f
b=449315 Support WAV format in <audio> element. r+sr=roc
2008-11-07 09:53:20 +13:00
Justin Dolske
c16718dbda
Backout 30bfb150da06 (bug 449315) due to unit test timeouts.
2008-11-05 16:37:51 -08:00
Justin Dolske
f701f9d7f5
Backed out changeset 30bfb150da06
2008-11-05 16:36:12 -08:00
Chris Pearce
cb992e4544
b=462953 Remove unimplemented media attributes/methods from media IDL r=doublec,sr=roc
2008-11-06 11:53:29 +13:00
Matthew Gregan
c39fd04c4a
b=449315 Support WAV format in <audio> element. r+sr=roc
2008-11-06 11:25:04 +13:00
Justin Dolske
b851587e76
Investigating leaks in bug 463263, backout bug 453403.
2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a
Backed out changeset e8fd3f4c52b6
2008-11-05 12:54:51 -08:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Boris Zbarsky
4718bf7b4a
Backed out changeset b73e063a3f99 (bug 464838)
2009-01-08 14:58:33 -05:00
Patrick McManus
7d2d500eb0
Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIS, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). r+sr=bzbarsky
2009-01-08 13:08:20 -05:00
Matthew Gregan
a854c4ee45
Bug 471590. Update wave-decoder Pause to handle possible asynchyronous loading. r=doublec,sr=roc
...
--HG--
extra : rebase_source : 4146cd1a399875992e44769d752effc4f312841f
2009-01-08 21:44:38 +13:00
Chris Double
cdee3a861f
Backed out changeset f155c8f39715
2009-01-07 16:33:42 +13:00
Chris Double
508543fa18
Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc
2009-01-07 14:48:52 +13:00
Taras Glek
b9f921376d
Bug 472167 - nsIForm outparamdel didn't change IID r+sr=bz
2009-01-05 14:50:04 -08:00
Robert O'Callahan
c149ac33a2
Backed out changeset a5587354082a
2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815
Bug 451958. Implement load policy for media elements. r+sr=roc
...
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Chris Double
f225c83ebc
Bug 470636 - Audio doesn't stop after navigating away from page - r+sr=roc
2009-01-05 13:09:40 +13:00
timeless
5ba3872917
Bug 466384 - "ASSERTION: OnDataAvailable implementation consumed no data" loading standalone video from local file; r+sr=bzbarsky
2009-01-04 09:31:42 +01:00
Mats Palmgren
cd1c6303ff
Setting selectedIndex to an out-of-bounds value should have the same effect as setting it to -1. b=471741 r+sr=roc
2009-01-02 16:54:48 +01:00
Olli Pettay
28e3d7cf73
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
L. David Baron
43923a2427
DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Ben Newman
5a5c94ecb3
Bug 468562 - "ASSERTION: Inserting multiple children without flushing"; r+sr=mrbkap
2008-12-20 01:49:08 +01:00
Robert O'Callahan
d7e2ae3261
Backed out changeset 1a4e7f55120d
2008-12-18 23:17:30 +13:00
Chris Double
fd9291b7fe
Bug 464376. Fire progress events reliably and especially be sure to fire a final progress event when the resource finishes loading. r+sr=roc
...
--HG--
extra : rebase_source : 387866a3c9ad9f05e35e9876ebd1db1224237798
2008-12-18 20:56:32 +13:00
Robert O'Callahan
f4013df6e7
Backed out changeset 70b57b58afe2
2008-12-18 16:55:38 +13:00
Chris Double
9e493d5b6d
Bug 464376. Fire progress events more consistently, especially being sure to fire a progress event at the end of a load. r+sr=roc
2008-12-18 14:48:44 +13:00
Robert O'Callahan
50bd83420a
Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
...
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Matthew Gregan
fd9f596d87
Bug 464158 - nsHTMLMediaElement::PickMediaElement does not do media type switching - r=doublec sr=roc
2008-12-16 16:32:03 +13:00
Jesse Ruderman
4605e42d95
Disable test for bug 353713 due to timeouts (bug 469557)
2008-12-14 21:36:46 -08:00
Masayuki Nakano
229283883c
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Chris Pearce
bae9b8c1a5
Bug462570 - Change Network state and Ready state names in HTMLMediaElement to match spec - r=doublec sr=roc
2008-12-15 16:38:16 +13:00
Matthew Gregan
d69380b6d1
Bug 469598 - nsHTMLMediaElement::MetadataLoaded calls nsMediaDecoder::Seek(0) - r=doublec sr=roc
2008-12-15 15:12:52 +13:00
Matthew Gregan
1d1cb9373a
Bug 468190 - ended reports true when seeking after playback ended; r=chris.double sr=roc
2008-12-14 19:02:54 +01:00
Serge Gautherie
ee2fed5dfe
Bug 469513 - 453406-1.html : missing |dump('\n');| at end; r+sr=bzbarsky
2008-12-14 16:11:18 +01:00
Boris Zbarsky
4e90868638
Bug 468263. Handle the src attribute being removed or set to by dropping the image. r+sr=sicking
2008-12-12 14:41:11 -05:00
Graeme McCutcheon
4d0acd8eae
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Robert O'Callahan
8786ac7740
Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky
2008-12-12 21:17:57 +13:00
Doug Turner
7ae65dfa00
Merge to tip
2008-11-04 11:39:05 -08:00
Doug Turner
3a17255902
Quick follow up to 461827. Removing unneeded ifdef WINCE in the last file that has wince specific stuff wrt GetClassName. r=me
2008-11-04 10:15:02 -08:00
Patrick McManus
346822dba8
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 11:14:29 -05:00
Boris Zbarsky
f3130e5161
Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7
2008-11-04 11:03:10 -05:00
Patrick McManus
3df57bb663
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 10:22:04 -05:00