Commit Graph

1145 Commits

Author SHA1 Message Date
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
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Chris Double
b36c898984 Back out commit for bug 449316 2008-11-04 21:55:41 +13:00
Chris Double
0f3552d820 Backed out changeset 18403769ec19 2008-11-04 21:54:41 +13:00
Chris Pearce
e1cdc545f3 Bug 462373 - Code simplifications for Media elements - r+sr=bzbarsky 2008-11-04 21:50:24 +13:00
Matthew Gregan
243e1e2e70 Bug 449315 - Support WAV format in <audio> element - r+sr=roc 2008-11-04 21:29:10 +13:00
Shawn Wilsher
5dc62bd1a7 backout of changeset b0dc837c20fa and 73350927f5f1 due to test failures 2008-11-03 18:55:15 -05:00
Boris Zbarsky
30a5c2b827 Fixing mochitest to round, not truncate, coords when trying to dispatch mouse events relative to nodes which are positioned at fractional pixels. Reenabling the test that was failing because of the truncation 2008-11-03 10:43:00 -05:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Boris Zbarsky
fb4aca9f23 Disabling this part of the test for now, until I can figure out why it's broken in so many different ways on different machines 2008-11-03 00:50:10 -05:00
Boris Zbarsky
705276452e Fixing linux orange and hoping for the best; on my local Mac setup it came out that way, but maybe tinderbox will be happier 2008-11-02 23:12:38 -05:00
Boris Zbarsky
644555dba0 Adding test file too 2008-11-02 21:33:04 -05:00
Boris Zbarsky
3f4a2c5c2f Bug 388794. Send 0,0 as the x,y values of the click if there was no click, or if there's no imageframe for the image input. Aligns with HTML5. r+sr=sicking 2008-11-02 21:25:11 -05:00
Peter Van der Beken
9a338d486e Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 14:40:35 -07:00
Peter Van der Beken
71167e05be Backed out changeset 5d65342d7287 to fix orange 2008-10-31 11:07:26 -07:00
Peter Van der Beken
155edafd57 Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 08:55:59 -07:00
Blake Kaplan
b91e4a69a6 Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Robert O'Callahan
c98e2689e7 Bug 448603. Support direct loading of Ogg audio and video files by creating a synthetic <video> document. r=doublec,sr=bzbarsky 2008-10-29 22:20:08 -07:00
Boris Zbarsky
e275a6b622 Bug 439965. Make sure to flush frames on our parent before checking whether editing is on, since editing depends on the presshell. r+sr=peterv 2008-10-29 13:12:24 -07:00
Chris Double
dd7fc2d9fd Bug 457964 - changed media paused type to boolean - r+sr=roc 2008-10-29 10:54:17 +13:00
Chris Double
b9fbf2e7c2 Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc 2008-10-29 07:48:39 +13:00
Benjamin Smedberg
4862de1d3d Bug 461186 - nsTextControlFrame should not implement nsIPhonetic: there's only one caller, and that caller can use nsITextControlFrame directly. This is one less frame that implements an nsISupports-derived interface. r+sr=roc 2008-10-27 20:27:55 -04:00
Masayuki Nakano
4d1d7c9551 Bug 460568 removeAttribute('contenteditable') doesn't work fine r+sr=peterv 2008-10-26 01:21:56 +09:00
Peter Van der Beken
75e0eede36 Fix for bug 461278 ("ASSERTION: Uh, fix QI!" loading a bug list). r/sr=bz. 2008-10-24 15:58:33 +02:00
Chris Double
29028931ea Bug 460871 - fire timeupdate event when playback position changes - r+sr=roc 2008-10-23 21:02:18 +13:00
Boris Zbarsky
772fea1f1f Removing stray trailing ';' 2008-10-22 17:17:49 -04:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Boris Zbarsky
604af67734 Bug 460803. Start layout more like the content sinks do. r+sr=sicking 2008-10-21 16:17:11 -04:00
Boris Zbarsky
ab786f9a30 Remove bogus assertion and comment 2008-10-21 16:09:54 -04:00
Chris Double
d01400799c Bug 449154 - nsHTMLMediaElement::play() doesn't reset properly - s+sr=roc 2008-10-21 22:19:33 +13:00
Robert O'Callahan
6f7497e454 Bug 421662. Remove unused files. 2008-10-20 15:14:50 +13:00
Chris Double
d8f279addd Bug 449159 - Refactor Ogg backend and implement seeking - r+sr=roc 2008-10-19 20:39:21 +13:00
Jesse Ruderman
78f3fed8e8 Add crashtest for bug 257818 2008-10-18 21:10:39 -07:00
Justin Dolske
f797fdd19e Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Taras Glek
f217b27ac5 Bug 454469: prbool issues in content/ r+sr=sicking 2008-10-14 12:00:08 -07:00
Ben Newman
4fd213f46d Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
arno
ea69499568 Bug 442801 - No caret or wrongly positioned caret within contenteditable=inherit element; r+sr=peterv 2008-10-10 18:09:37 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
aeff3cbe81 Bug 455742: outparamdel nsIForm r+sr=jst 2008-10-09 16:31:40 -07:00
Zack Weinberg
1b9f5190da Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron] 2008-10-01 00:50:52 -05:00
Chris Pearce
af37ffa177 Bug 454683 - "Media element setVolume should fail on invalid values" [r+sr=roc] 2008-10-01 00:44:16 -05:00
Chris Double
7df02ed7e4 Backout bug 454971 - Support creation of Audio objects outside of the document 2008-10-01 16:53:29 +13:00
Chris Double
1155ec25d9 Backed out changeset 477309013214 2008-10-01 16:52:51 +13:00
Jonas Sicking
83bda6d42d Reland old Access-Control implementation. b=389508 r/sr=jst 2008-09-30 17:49:30 -07:00
Chris Double
87416154b2 Bug 454971 - Support creation of Audio objects outside of the document - r+sr=roc 2008-09-30 12:49:30 +13:00
Chris Double
0ca49699b8 Bug 455500 - Enormous memory usage with fieldset, legend, audio and DOMAttrModified event listener - s+sr=roc 2008-09-30 12:05:06 +13:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00
Boris Zbarsky
164afa9a0a Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst 2008-10-07 14:53:23 -04:00
Boris Zbarsky
7059b35b94 Bug 456617. Refactor some ugly code to only live in one spot. r+sr=jst 2008-10-07 14:53:23 -04:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Robert O'Callahan
a63964617e Backing out 454683 due to test failure 2008-09-29 17:06:34 +13:00
Chris Pearce
88294184fe Bug 454683 - Media element setVolume should fail on invalid values; r+sr=roc 2008-09-29 00:28:26 +02:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Chris Double
5ac113d948 Bug 451457 - <video> seems to download from net even if the document has been closed/unloaded - r+sr=roc 2008-09-27 00:56:21 +12:00
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Boris Zbarsky
47da238178 Bug 456896. Need to flush here. r+sr=jst 2008-09-25 14:29:39 -04:00
Chris Double
cb014a3623 Backed out changeset c7c42974317d 2008-09-25 19:33:10 +12:00
Chris Double
5a9cd82fac Bug 449159 - Implement seeking in the Ogg backend - r+sr=roc 2008-09-25 16:25:15 +12:00
Arpad Borsos
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Olli Pettay
a2769ead5a Bug 450160 - DOMImplementation createDocument does not create an HTML document, r+sr=bz 2008-09-20 21:55:04 +03:00
sharparrow1@yahoo.com
d5a8112b79 Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst 2008-09-18 14:15:47 +03:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Robert O'Callahan
0649e7c116 Bug 454114. Avoid infinite recursion due to nsHTMLEditor::AddOverrideStyleSheet triggering a mozAutoDocUpdate that reenters nsHTMLDocument::EndUpdate. r+sr=jst 2008-09-18 14:32:44 +12:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
add1db71eb Missing * bad. Bug 453858 2008-09-11 02:13:34 -04:00
Boris Zbarsky
507b4fb216 Still need this cast. Bug 453858 2008-09-11 02:04:09 -04:00
Boris Zbarsky
6c8521851e Removing code that can't possibly work. Bug 453858 2008-09-11 01:56:20 -04:00
Boris Zbarsky
164837763d Bug 453858 followup to fix orange. Hurray for tests! 2008-09-11 01:37:09 -04:00
Boris Zbarsky
6d5d39a41d Fixing typo leading to build bustage. Bug 453496 2008-09-10 23:29:59 -04:00
Boris Zbarsky
f232a8d549 Bug 453496. Split up SetForm() into SetForm and ClearForm and rationalize the args. r+sr=jst 2008-09-10 23:21:33 -04:00
Boris Zbarsky
e3295081e1 Bug 453858. Get rid of some XPCOM-ness in nsArraySH::GetItemAt. r+sr=jst 2008-09-10 23:15:29 -04:00
Jesse Ruderman
d8e83fc0c2 Fix bug 393802 for HTML links: remove them from the link map when they stop being links due to removeAttribute. r+sr=bz 2008-09-10 15:12:43 -07:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Boris Zbarsky
8b42832c23 Bug 453406. Make sure to properly update our bits. r+sr=jst 2008-09-08 09:19:49 -04:00
Vladimir Vukicevic
787a337e0f b=451938; ensure correct principal is used in case of <video> and drawImage; r=bz 2008-09-06 16:47:28 -07:00
Boris Zbarsky
d080316010 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
L. David Baron
2cf88dfb3f Make spacer attribute mapping code not depend on data in the style context (which attribute mapping code should not do). (Bug 449435) r+sr=bzbarsky 2008-09-04 13:02:08 -07:00
Boris Zbarsky
2d2bf351aa Adding test for bug 227263 and bug 196523 2008-08-29 20:36:46 -04:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Gavin Sharp
d9b7a7a51b Backed out changeset 7fdbccdc1e94 2008-08-26 19:40:21 -04:00
Gavin Sharp
6b325928cd Bug 452135: add nsBadCertHandler to packages-static, patch by Manish Singh <manish@flock.com>, r=me 2008-08-26 19:39:16 -04:00
Jonas Sicking
2ac0cf8903 Bugs 393629 and 436094. Fix document.all.length and make us honor the name attribute for the same set of elements as IE in the document.all implementation. r/sr=jst 2008-08-25 16:48:37 -07:00
Boris Zbarsky
80b4f68258 Bug 448166 test 2008-08-25 13:21:29 -04:00
Boris Zbarsky
3cfa360533 Bug 424238. Make sure to guard against mutations happening while we notify on opening the <body> and <frameset> tags, just like we do in FlushTags. r+sr=sicking 2008-08-25 13:21:29 -04:00
Boris Zbarsky
b6b47902ef Bug 451123. Make sure to not call SetValueInternal on file inputs. r+sr=sicking 2008-08-25 13:21:28 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Blake Kaplan
6c3e237ac0 bug 449712 - Deal with a carriage return at our 4096 character boundary. r+sr=bzbarsky 2008-08-19 12:07:15 -07:00
Boris Zbarsky
867c17a2a5 bug 449712 - Handle trailing carriage returns at the end of parser text tokens. r+sr=mrbkap 2008-08-19 11:33:57 -07:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Neil Deakin
a3d15d68b0 Bug 111034, add clientXXX, scrollXXX properties, attempt 2, r+sr=roc, attempt 2 with microformat fix 2008-08-15 18:26:37 -04:00
Ted Mielczarek
7118a4b9e3 Backed out changeset 2e8dfe209f09 due to unit test bustage 2008-08-15 12:59:30 -04:00
Neil Deakin
a31ad2e174 Add clientXXX and scrollXXX properties to XUL elements, also add width/height properties to ClientRect, r+sr=roc 2008-08-15 11:17:17 -04:00
Ben Newman
ea3db456a4 Bug 441930 – Page refresh of textarea disabled via Javascript fails to display content. r=bz 2008-08-14 12:06:40 +02:00
Boris Zbarsky
baa891763c Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-11 09:38:43 +01:00
Dave Townsend
3af4f7166c Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Boris Zbarsky
1b9a4caf46 Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-07 19:15:40 -04:00
Jonas Sicking
cfd4e7f824 Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
Chris Double
1d47d66f07 Bug 448534. Make sure that the video stops when the element is removed from the document. r+sr=roc 2008-08-04 13:51:01 +12:00
Chris Double
053f31fd82 Bug 448714. Remove Ogg decoder's observer listener when playback stops. r+sr=roc 2008-08-04 13:31:33 +12:00
Serge Gautherie
a8898e629c Bug 344789 – "WARNING: Asked to remove non-existent observer" in <nsImageLoadingContent.cpp> |RemoveObserver()|
p=sgautherie r/sr=bzbarsky
2008-08-01 21:58:59 +01:00
Chris Double
225262e936 Bug 422538. Integrate Ogg decoders. r=ted,r+sr=roc 2008-07-29 23:50:14 -07:00
Chris Double
04f0124c61 Bug 447639. Update <video> and <audio> elements for spec changes, and add tests. r+sr=roc 2008-07-29 21:55:27 -07:00
Boris Zbarsky
ff9c8b57a8 A few more tests 2008-07-24 15:28:12 -07:00
Boris Zbarsky
e56f669c40 Oh, and add this file 2008-07-24 15:21:31 -07:00
Boris Zbarsky
66a549e7a3 Bug 418756. When inserting a radio, default its "checked changed" state to its existing "checked changed" state. r+sr=sicking 2008-07-24 15:19:30 -07:00
Boris Zbarsky
8d3c02600f Fix test bustage 2008-07-21 19:26:08 -07:00
Boris Zbarsky
c7378afe4c Bug 424698. Don't treat it as a value set if a text input with a default value has its frame go away. r+sr=sicking 2008-07-21 12:44:31 -07:00
Boris Zbarsky
ed05f2d53f Bug 424698. Don't treat it as a value set if a text input with a default value has its frame go away. r+sr=sicking 2008-07-21 12:15:18 -07:00
Boris Zbarsky
c00a3cd87a Bug 424698. Don't treat it as a value set if a text input with a default value has its frame go away. r+sr=sicking 2008-07-21 12:09:00 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bobby Holley
da527d33c3 Viewport meta tag - content tests - bug 436083 2008-07-16 20:18:11 -07:00
Bobby Holley
94dfdbb9db Viewport meta tag - content - bug 436083 r=jst,sr=sicking 2008-07-16 20:16:23 -07:00
Bernd
8346cb9495 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02:00
Mike Hommey
35ed02d3ae Bug 398810 - "Remove MOZILLA_1_8_BRANCH ifdefs from core on trunk" [r=sicking r=brendan r=bsmedberg] 2008-07-12 17:26:52 -05:00
romaxa
33839661cd Bug 440975 - "MOZ_SVG define required for some includes" [p=romaxa@gmail.com (romaxa) r+sr=jst] 2008-07-12 03:50:05 -05:00
Blake Kaplan
e66a6ef9c5 Deal with a dead docshell during document.open. bug 435128, r+sr=jst 2008-07-09 15:48:02 +02:00
Chris Double
1605a36d6f Bug 382267. Addressing jst review comments. r+sr=roc 2008-07-09 21:50:08 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Ted Mielczarek
3d3ad6bf55 remove user-debug code that no longer compiles. r=shaver (no bug) 2008-07-08 11:34:49 -04:00
Ted Mielczarek
51d2738e42 remove user-debug code that no longer compiles. r=shaver (no bug) 2008-07-08 11:31:38 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Robert O'Callahan
efc2f0abe2 Bug 438981. The canonical 'body element' must be the first 'body' child. 2008-06-23 10:38:29 +12:00
Robert O'Callahan
a2f0160f4c Fixing testcase 2008-06-17 11:41:12 +12:00
Robert O'Callahan
62af0d9ad8 Bug 287465. Support getSVGDocument on 'iframe' and 'object', and allow it to return on-SVG documents. r+sr=jst. acid3++ 2008-06-17 09:53:12 +12:00
Robert O'Callahan
cafdc05f67 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
Jesse Ruderman
4bdbd36193 Make standalone image zoom shortcuts not activate when you use normal zoom shortcuts (bug 434948). r=smaug, sr=jst. 2008-06-10 17:22:03 -07:00
Olli Pettay
cad96875eb Bug 433758, Crash [@ nsContentList::Item], r+sr=jst 2008-06-04 23:18:58 +03:00
Vladimir Vukicevic
c8def3e75f b=430906; add moz-opaque attribute to <canvas>; r+sr=roc 2008-06-03 17:00:32 -07:00
bzbarsky@mit.edu
f458c78171 Adding test. 2008-05-06 12:21:39 -07:00
crowder@fiverocks.com
3812353f6f Bug 318906 : issue with event-handler attached to an outer window, patch by mrbkap, r/sr=jst, a=mtschrep 2008-05-03 21:29:12 -07:00
peterv@propagandism.org
bd715db358 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
peterv@propagandism.org
89c81498b3 Fix for bug 430392 (Pressing enter in div w/ contenteditable = true causes text nodes to move unexpectedly) . r/sr=jst, a=damon. 2008-04-30 11:13:11 -07:00
vladimir@pobox.com
8b63862466 b=430873; fast path drawImage with a canvas as source ; r+sr=roc/stuart; a=damon 2008-04-30 10:04:46 -07:00
joshmoz@gmail.com
f7176e7caa Stop variable from being used uninitialized which messes with focus acceptance. Patch by peterv. b=430351 r=jonas sr=bz a=beltzner 2008-04-29 17:11:04 -07:00
Olli.Pettay@helsinki.fi
5aa41247ac back out bug 430873 to fix test failures 2008-04-29 07:43:35 -07:00
vladimir@pobox.com
7ae1a599b7 b=430873; avoid copy when doing canvas-canvas drawImage ops ; r+sr=roc,a=damon 2008-04-28 20:49:50 -07:00
ajschult@verizon.net
99c541cca1 Bug 431003 bustage fix for Firefox 2008-04-27 10:24:09 -07:00
ajschult@verizon.net
e01072ae3d Bug 431003: Enable auto image resize for bug 369370 mochitest, r=dolske 2008-04-27 09:21:43 -07:00
roc+@cs.cmu.edu
521c4a52ea Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner 2008-04-23 14:36:17 -07:00
dolske@mozilla.com
f322c40652 Bug 369370 - pop-up window image zoom-out leads to wrong (broken) display. r=jst, a.19=damons 2008-04-21 21:41:38 -07:00
jst@mozilla.org
54ae1d2978 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:30:51 -07:00
Olli.Pettay@helsinki.fi
f17abb16db Bug 428135, form submission event shouldn't bubble to parent forms, r=jst,sr=sicking,a=beltzner 2008-04-17 15:15:07 -07:00
peterv@propagandism.org
e19f1d2b9c Try to make test more robust. 2008-04-16 01:35:44 -07:00
peterv@propagandism.org
1e48bb7c4a Reenable test. 2008-04-16 00:27:19 -07:00
peterv@propagandism.org
66401bb237 Try to make test more robust. 2008-04-16 00:26:38 -07:00
peterv@propagandism.org
a49cf25b96 Disable test_bug406596.html for now to fix orange. 2008-04-15 12:20:18 -07:00
peterv@propagandism.org
6484cf40bb Fix for bug 406596 (Link/anchor elements are focused within an contentEditable element). r/sr=jst, a=beltzner. 2008-04-15 11:40:38 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
masayuki@d-toybox.com
b9c61197fc Bug 427245 IME is enabled on non text editable input element (re-landing, the previous test failure is not related this patch.) r=peterv, sr=roc, a1.9=beltzner 2008-04-11 04:31:13 -07:00
masayuki@d-toybox.com
4c89e70f45 b=427245 backing-out the previous patch, because qm-centos5-01 becomes oragne. 2008-04-11 03:16:18 -07:00
masayuki@d-toybox.com
6b0f5042f9 Bug 427245 IME is enabled on non text editable input element r=peterv, sr=roc, a1.9=beltzner 2008-04-11 01:47:16 -07:00
roc+@cs.cmu.edu
f5291de857 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner 2008-04-10 15:47:01 -07:00
roc+@cs.cmu.edu
f6fec4f83f Bug 423371. Make sure we use a non-null reference frame to compute the size of the element in GetOffsetRect. r+sr=bzbarsky,a=beltzner 2008-04-10 15:36:10 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
gavin@gavinsharp.com
ef70d4df15 Fix bug # typo in comment 2008-04-01 12:46:25 -07:00
peterv@propagandism.org
14a390a55a Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
jruderman@hmc.edu
a1082d24fb Add crashtest 2008-03-26 18:13:31 -07:00
reed@reedloden.com
f75b8cca91 Bug 424304 - "Create Mochitest for bug 417760" [p=marco.zehe@googlemail.com (Marco Zehe) r+sr=mats.palmgren] 2008-03-25 21:52:30 -07:00
jonas@sicking.cc
ae0bc39fab Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes 2008-03-25 19:46:08 -07:00
surkov.alexander@gmail.com
264ba27fcb Bug 417760 - cannot focus() img elements with tabindex=-1, patch=aaronlev, r,sr = mats, a=mtschrep 2008-03-19 23:33:57 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
Olli.Pettay@helsinki.fi
0201fb1fef Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv 2008-03-19 12:44:08 -07:00
reed@reedloden.com
90f1ce8139 Bug 375457 - "toDataURL has incorrect type-checking logic" [p=joe@drew.ca (Joe Drew [JOEDREW!]) r+a1.9=vlad] 2008-03-16 14:02:05 -07:00
jwalden@mit.edu
22cd61f532 Bug 199692 - Update and reenable the document.elementFromPoint tests that didn't work when initially committed due to window sizing issues; there may still be some issues, but we'll todo aggressively in followup commits if necessary -- better halfway in than not at all. Patch is partly me, partly Ben Karel <web+moz@eschew.org>, r from Ben and r=roc. a=itsatest 2008-03-14 11:45:32 -07:00
roc+@cs.cmu.edu
05ecd33c39 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:51:12 -07:00
bent.mozilla@gmail.com
820a55f61d Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
jruderman@hmc.edu
3cf63ffb87 Make nsContentSink, instead of subclasses, be responsible for making sure RemoveObserver is called (bug 420835). r+sr=sicking, a=blocking1.9+. 2008-03-04 20:54:21 -08:00
roc+@cs.cmu.edu
0689f4c34f Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron 2008-02-27 01:26:15 -08:00
dbaron@dbaron.org
a6ec36aaa1 Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:20 -08:00
peterv@propagandism.org
e9ba9613cb Fix bug 406596 (Link/anchor elements are focused within an contentEditable element) for designMode. r/sr=jst. 2008-02-26 06:09:52 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
Olli.Pettay@helsinki.fi
d9c6b362ae bug 380454, r=benjamin, sr=sicking 2008-02-21 04:47:26 -08:00
reed@reedloden.com
20e2548916 Rev IID from bug 412920 changes. 2008-02-20 02:54:19 -08:00
reed@reedloden.com
f3bc201d42 Bug 412920 - "[contenteditable] editable elements cannot be edited anymore after page refresh" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) / peterv@propagandism.org (Peter Van der Beken) r+sr=jst a=blocking1.9+] 2008-02-20 01:54:52 -08:00
roc+@cs.cmu.edu
407f4669ea Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
dbaron@dbaron.org
fb9e7d706d Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 10:47:34 -08:00
dbaron@dbaron.org
b4df875a18 Back out for now, until I have a chance to fix reftests depending on old behavior. 2008-02-19 09:28:00 -08:00
dbaron@dbaron.org
36854cf843 Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 08:48:09 -08:00
Olli.Pettay@helsinki.fi
4fb70691e9 Back out Bug 380454 2008-02-19 05:47:15 -08:00
Olli.Pettay@helsinki.fi
5d3036c034 Bug 380454, r=benjamin, sr=sicking 2008-02-19 05:06:22 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
mats.palmgren@bredband.net
39d5fb2f8c Remove remaining support for proportional length values (unused). b=341683 r+sr=dbaron r=sicking a=mtschrep 2008-02-16 18:50:44 -08:00
bzbarsky@mit.edu
a183f5e853 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
bzbarsky@mit.edu
b868c2220d Make sure that changes to the "span" attribute on a colgroup actually work. Bug 404309, r=bernd, sr=dbaron, a=beltzner 2008-02-14 20:19:28 -08:00
reed@reedloden.com
24fbf5fb3f Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+] 2008-02-09 22:16:30 -08:00
bent.mozilla@gmail.com
c107df6d22 Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
jwalden@mit.edu
ddfc96b454 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep 2008-02-07 12:58:56 -08:00
Olli.Pettay@helsinki.fi
13f701cdaa Bug 389756, make full page zoom interact a bit better with image auto zoom, r+sr=jst, a=blocking1.9+ 2008-02-07 11:58:05 -08:00
Olli.Pettay@helsinki.fi
84584f0fee Bug 389756, backout, tree is burning 2008-02-07 10:21:18 -08:00
Olli.Pettay@helsinki.fi
58d90ee6d8 Bug 389756, make full page zoom interact a bit better with image auto zoom, r+sr=jst, a=blocking1.9+ 2008-02-07 10:13:52 -08:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
jst@mozilla.org
918fe24c0f Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
benjamin@smedbergs.us
e8c45488e3 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
bzbarsky@mit.edu
3e5918cd2d When showing a document viewer, don't start layout on the documnt unless it's already had layout started once. Otherwise, just wait for the sink, or whoever is responsible for it, to start layout once they're ready. Bug 404470, r+sr=jst 2008-01-20 10:02:02 -08:00
peterv@propagandism.org
b39d07f875 Fix for bug 390278 (Shift+tab no longer navigates out of MIDAS area). r/sr=jst. 2008-01-20 08:53:08 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
reed@reedloden.com
12edce41c9 Disable part of a test from bug 408231 that seems to fail on Linux, at least. 2008-01-14 02:13:22 -08:00
reed@reedloden.com
e78164a3a7 Bug 408231 - "queryCommandEnabled( "formatblock" ) throws NS_ERROR_NOT_IMPLEMENTED" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a=blocking1.9+] 2008-01-14 01:26:22 -08:00
martijn.martijn@gmail.com
eae7b40112 Mochitest for bug 332246, r=roc 2008-01-09 11:04:26 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
reed@reedloden.com
568455ba83 Bug 330676 - "leak network mime input stream (nsIMIMEInputStream) object" [p=bernard.alleysson@gmail.com (Bernard Alleysson) r=dbaron a1.9=schrep] 2008-01-08 23:05:34 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
peterv@propagandism.org
310edb54b2 Add crashtest for bug 407053. 2008-01-08 12:06:24 -08:00
peterv@propagandism.org
cdd6ff7a39 Fix for bug 407053 ("Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread" with document.execCommand('copy', ...)). r/sr=jst, a=sicking. 2008-01-08 10:41:08 -08:00
martijn.martijn@gmail.com
7660408729 Mochitest for bug 332246 backed out for now, because of failure on the mac 2008-01-07 06:23:35 -08:00
martijn.martijn@gmail.com
3f5d8bd395 Mochitest for bug 332246, r=roc 2008-01-07 05:37:24 -08:00
martijn.martijn@gmail.com
9788faa035 Bug 332246 - scrollIntoView(false) doesn't work correctly for inline elements that wrap at multiple lines, r+sr+a=roc 2008-01-07 05:36:28 -08:00
bzbarsky@mit.edu
e988f1f7ae Handle session history navigation across a document.open with nothing written. Bug 376064, r=biesi, sr=jst, a=schrep 2008-01-04 22:48:12 -08:00
mrbkap@gmail.com
4dfe6493da Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst r=brendan for some last-minute changes added in this version. 2008-01-04 20:45:16 -08:00
jruderman@hmc.edu
8a25f3a779 Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291. 2008-01-03 20:12:48 -08:00
bzbarsky@mit.edu
18894258b2 Backing out bug 409885, since this part of Necko happens not to exist. 2007-12-30 19:43:42 -08:00
bzbarsky@mit.edu
7c105d2cfb Fix bug 409885: don't do string-manipulation to set the domain on a URI. r+sr+a=jst 2007-12-30 15:35:42 -08:00
mrbkap@gmail.com
67bcba4a97 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst 2007-12-29 20:34:49 -08:00
mrbkap@gmail.com
fbf39a90ae Don't lose exceptions when weird objects are passed to us. bug 407019, r+sr=sicking a=beltzner 2007-12-26 14:20:31 -08:00
jruderman@hmc.edu
0c73d17d17 Add crashtests. 2007-12-23 17:06:42 -08:00
jst@mozilla.org
ffa1fe233e Fixing bug 408792. Remove some expensive QI calls from frequently called code. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2007-12-21 05:44:58 -08:00
bzbarsky@mit.edu
7e31dfdf30 Changing the alt or value attribute of an image input should change the text shown when the image is broken. Bug 408782, r+sr=dbaron, a=schrep 2007-12-19 09:46:54 -08:00
jruderman@hmc.edu
9eb3c380da Add a crashtest 2007-12-16 17:01:29 -08:00
jruderman@hmc.edu
955f0ff9ce Free crashtests with $5 S&H while supplies last! 2007-12-16 16:57:31 -08:00
jruderman@hmc.edu
3247d6c6a6 Add a crashtest 2007-12-16 14:05:46 -08:00
Olli.Pettay@helsinki.fi
489154b8b5 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
2b738b2454 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst 2007-12-14 21:43:10 -08:00
jruderman@hmc.edu
7264d51dff Fix test bustage. 2007-12-14 21:36:36 -08:00
jruderman@hmc.edu
6b999fa25f Add a crashtest. 2007-12-14 21:25:04 -08:00
dcamp@mozilla.com
f06d7e35bd Bug 405741: rename fileList to files on the file input element. r/sr=sicking 2007-12-12 10:32:55 -08:00
Olli.Pettay@helsinki.fi
12aa4ddec4 Bug 403168, r=jonas, sr=jst, a=blocking1.9 2007-12-12 00:33:32 -08:00
jonas@sicking.cc
948c2ea354 Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz 2007-12-11 18:26:09 -08:00
jst@mozilla.org
b23a26124d Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc 2007-12-10 17:19:18 -08:00
jonas@sicking.cc
26df8a45d6 Bug 406852: Fix docshell leak by properly killing the frameloaders in object-loading-content when the document is destroyed. r/sr=peterv 2007-12-04 23:11:00 -08:00
peterv@propagandism.org
cf4884e56f Trying to fix orange. 2007-12-04 21:35:10 -08:00
peterv@propagandism.org
1d73b91846 Fix for bug 390278 (Shift+tab no longer navigates out of MIDAS area). r/sr=jst. 2007-12-04 21:03:56 -08:00
bzbarsky@mit.edu
165bff4bff Fix comment too. Bug 395107 2007-12-04 09:14:20 -08:00
bzbarsky@mit.edu
079ff160bc Fix build bustage. Bug 395107 2007-12-04 09:09:31 -08:00
bzbarsky@mit.edu
5c98500ba4 Make <select> handle changes to defaultSelected on node for which selected has not been set. Bug 395107, r+sr=sicking. 2007-12-04 08:50:32 -08:00
jonas@sicking.cc
602f378db3 Bug 397828: Make window.document and document.open no longer be allAccess 2007-12-02 22:35:47 -08:00
bzbarsky@mit.edu
16a72a6a85 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
jonas@sicking.cc
71184d5d37 backing out due to test failures 2007-12-01 10:56:00 -08:00
jonas@sicking.cc
e6e8403c41 Bug 397828: Make window.document and document.open no longer be allAccess 2007-12-01 10:24:24 -08:00
jonas@sicking.cc
712951ab6c Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-30 09:57:03 -08:00
jonas@sicking.cc
2dce87330b Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
a6bf2b9522 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-29 00:41:25 -08:00
peterv@propagandism.org
ebc14cd2ab Fix for bug 404320 (FormatBlock doesn't work correctly will break existing Midas implementations). r/sr=jst, a=beltzner. 2007-11-28 15:38:20 -08:00
mrbkap@gmail.com
34b134b80d Propagate exceptions when they occur to avoid assertions. bug 393813, r+sr=jst a=schrep 2007-11-27 16:52:37 -08:00
dcamp@mozilla.com
7e50b9e738 fix test bustage from bug 369814. 2007-11-26 22:40:07 -08:00
bzbarsky@mit.edu
cc5ba1b527 Make getElementById in HTML always return the first node in document order. Bug 403868, r+sr=sicking 2007-11-21 18:28:47 -08:00
bzbarsky@mit.edu
fff5ab679b Fix very long-standing bug with incorrect insertion indices reported by the HTML content sink. Bug 404553, r+sr=peterv, a=schrep 2007-11-21 12:57:49 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
mats.palmgren@bredband.net
ab3cb86244 Add a flag to protect SetFocus() from recursive calls on the same element. b=401160 r+sr=peterv a=mtschrep 2007-11-16 16:30:53 -08:00
bzbarsky@mit.edu
9af276f16a Fix build bustage 2007-11-15 19:58:27 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
bzbarsky@mit.edu
c667bcaf6e Fix privacy leak where script could get the path to the file selected in a file input. Bug 143220, r+sr=sicking, a=schrep. 2007-11-14 22:16:06 -08:00
peterv@propagandism.org
57decd655d Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst. 2007-11-12 06:47:03 -08:00
Olli.Pettay@helsinki.fi
81061b1ed0 Bug 402680, document.activeElement returns wrong node, r+sr=bz, a=mtschrep 2007-11-12 04:45:39 -08:00
dwitte@stanford.edu
f9a3bc65c3 Bug 400552 - setting document.domain inconsistent in face of IDN whitelist. r+sr+a1.9=jst 2007-11-11 23:58:16 -08:00
bzbarsky@mit.edu
62c606de98 HTMLAppletElement.code should not be an absolute URI. Bug 400485, r+sr=sicking 2007-11-07 09:18:44 -08:00
bzbarsky@mit.edu
8e4bab3632 Fix bug 390975: when a form that is not an ancestor of a form control is removed, clear the control's mForm pointer if it points to the now-removed form. r+sr=jst, a=damons 2007-11-07 09:01:23 -08:00
jruderman@hmc.edu
1d384e219d Fix bug 313984 by turning this bogus assertion into a warning. r=peterv, sr=jst, a=debug-only change. 2007-11-06 22:44:02 -08:00
peterv@propagandism.org
6569759f62 Fix for bug 402284 (Switching between designMode and contentEditable broken). r=cpearce, sr=roc, a=beltzner. 2007-11-05 13:19:52 -08:00
roc+@cs.cmu.edu
586cd70499 Bug 389350. Making a display:none IFRAME editable doesn't work. patch by Chris Pearce, r=brade,sr=roc,a=damon 2007-11-01 17:51:08 -07:00
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
peterv@propagandism.org
86ecd29446 Fix for bug 401288 (Crash in Composer [@ PresShell::GetSelection][@ nsCOMArray_base::InsertObjectAt]). r/sr=bz, a=endgame. 2007-10-29 11:22:48 -07:00
peterv@propagandism.org
c22071e55e Fix for bug 395340 (Crash [@ nsINode::GetNodeParent] with CSS counters and contentEditable). r/sr=bz, a=endgame. 2007-10-26 03:30:44 -07:00
dwitte@stanford.edu
91a72f29e8 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:14:26 -07:00
jst@mozilla.org
911b85904a Backing out second part of the fix for bug 116346 to fix regression bug 392982. a=dsicore@mozilla.com 2007-10-24 15:49:12 -07:00
jst@mozilla.org
ca4e63c851 Backing out fix for bug 116346 to fix regression bug 392982. a=dsicore@mozilla.com 2007-10-24 15:21:01 -07:00
bzbarsky@mit.edu
feaf83ff90 Put the notification about root removal in document.open inside an update batch. Bug 399803, r+sr+a=jst 2007-10-19 09:01:09 -07:00
roc+@cs.cmu.edu
bd6f1fc294 Backing out fix for bug 345339 because of test failures 2007-10-09 20:39:16 -07:00
roc+@cs.cmu.edu
a92c012e1a Bug 345339. Stop using a generic hashtable to store element session history state in nsPresState. patch by Karthik Sarma, r+sr=roc,a=sicking 2007-10-09 19:15:23 -07:00
bzbarsky@mit.edu
55cdff892c Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron 2007-10-09 19:10:00 -07:00
bugzilla@standard8.plus.com
78473044fa Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
dbaron@dbaron.org
1c49aa6978 Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc 2007-10-08 14:58:22 -07:00
bzbarsky@mit.edu
b2f334ff8c adding test 2007-10-05 21:02:29 -07:00
bzbarsky@mit.edu
87724c6b26 Make sure to notify on the root if a flush happens before we've done so. Bug 397856, r=peterv, sr=sicking 2007-10-03 22:16:35 -07:00
jonas@sicking.cc
bbf61f58f0 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
f0a388873a Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-10-02 11:20:02 -07:00
Olli.Pettay@helsinki.fi
a6b454f086 Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor 2007-10-02 09:56:07 -07:00
dbaron@dbaron.org
f670c849e4 Back out sicking's patch from bug 348156 (remove unbinds from nsDocument::Destroy) due to crashing during talos test (probably tp test). 2007-09-28 21:14:42 -07:00
jonas@sicking.cc
acfcebebbc Bug 348156: Remove unbinds from nsDocument::Destroy as they cause badness. Break cycles using cycle collector instead. r/sr/a=jst 2007-09-28 16:57:00 -07:00
bent.mozilla@gmail.com
e974d54046 Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
jst@mozilla.org
df7831eb06 Fixing bug 391777. Make window.close() work on a modal content dialogs. r+sr+a=jonas@sicking.cc 2007-09-27 14:53:25 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
longsonr@gmail.com
dee95ff531 Bug 395155 - Changing CSS text inside svg:style has no effect. r=tor,sr=roc,a=roc 2007-09-25 02:11:12 -07:00
bzbarsky@mit.edu
3ca9091c29 Slight code simplification. 2007-09-20 20:42:59 -07:00
reed@reedloden.com
b9cabd0e97 Bug 392567 - "Impossible to submit forms to JAR URLs" [p=trev.moz@adblockplus.org (Wladimir Palant) r=bzbarsky sr=sicking a1.9=sicking] 2007-09-05 21:29:17 -07:00
Olli.Pettay@helsinki.fi
a8001bd18a Bug 394700, update selectedIndex when mutation event listener modifies option list, r+sr+a=sicking 2007-09-04 12:35:04 -07:00
bzbarsky@mit.edu
1629ea8f55 Checking in test for bug 324378 and bug 214577 2007-08-31 20:42:19 -07:00
cbarrett@mozilla.com
41d03dfc0f Bustage fix. Backslash in a comment in a makefile, Bad Waldo! No Cookie! irl-r=biesi 2007-08-29 15:06:14 -07:00
jwalden@mit.edu
128440f16f So this test also fails when run inside an iframe, so I'm just disabling it entirely, still followup to bug 199692 commit. 2007-08-29 14:52:31 -07:00
jwalden@mit.edu
08b40f42af I'm stupid, followup to bug 199692 commit. 2007-08-29 14:43:57 -07:00
jwalden@mit.edu
ef93f59265 Use ok(a === b) since we're getting null in one of the test failures, actually, followup to bug 199692 commit. 2007-08-29 14:37:54 -07:00
jwalden@mit.edu
6d0942bae4 Convert an is to a todo until we figure out what's wrong here, followup to bug 199692 commit. 2007-08-29 14:36:13 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
Olli.Pettay@helsinki.fi
57325958ce Bug 339501, r=bz, sr=sicking, a=1.9+ 2007-08-28 00:09:32 -07:00
bzbarsky@mit.edu
ee50c0fc2c Fix orange from bug 390168 by adopting a slightly different approach. Reviews from jst pending. 2007-08-24 18:45:15 -07:00
bzbarsky@mit.edu
99dad3c6fe Make sure to store the security info correctly for wyciwyg. Bug 390168, r+sr=jst 2007-08-24 17:25:41 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu
b20e634109 Don't make getting .selected change what .selected returns in the future. Bug 391994, r+sr+a=sicking 2007-08-20 20:24:11 -07:00
bzbarsky@mit.edu
03372522d9 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking. 2007-08-20 15:55:06 -07:00
Olli.Pettay@helsinki.fi
2eb6dc5b73 Bug 277890, disabling BUTTON after form.submit() prevents submission, r+sr=bz, a=1.9+, mochitest by ispiked@gmail.com 2007-08-16 14:10:29 -07:00
smontagu@smontagu.org
30e73a1db8 Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst 2007-08-11 11:37:16 -07:00
bzbarsky@mit.edu
c466dc3f79 Switch the order of Content-Disposition and Content-Type headers for non-file parts of multipart form submissions to match that for files. Apparently some server software depends on the order of the MIME headers! Bug 116346 followup, r+sr=jst 2007-08-10 17:32:33 -07:00
peterv@propagandism.org
e503287f65 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron. 2007-08-10 06:19:13 -07:00
bzbarsky@mit.edu
96ec7b6a69 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
e95c66ecef Fixing test 2007-08-09 12:54:25 -07:00
bzbarsky@mit.edu
0905dde51a Another test. 2007-08-09 11:58:37 -07:00
bzbarsky@mit.edu
385015ba6e Remove windows newlines that snuck in 2007-08-09 11:45:32 -07:00
bzbarsky@mit.edu
b73c8f1a0e Adding tests contributed by jlurz24@gmail.com 2007-08-09 11:43:35 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
mats.palmgren@bredband.net
07a2d5f8f3 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
bzbarsky@mit.edu
0781ce3df5 Keep track of both the first submit in elements and the first submit not in elements, to speed up some operations. Bug 352980, r+sr+a=jst 2007-08-06 19:07:24 -07:00
bzbarsky@mit.edu
d85872ea5d Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore 2007-08-06 08:27:19 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
f2e98e5085 Bug 389694, r+sr=jst, a=dbaron 2007-08-05 06:24:30 -07:00
bzbarsky@mit.edu
8fd955912f Make debug code not assert when it shouldn't. Bug 388712, r+sr=jst, a=dbaron 2007-08-02 15:46:36 -07:00
bzbarsky@mit.edu
40f1f36bf8 Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst
2007-08-02 10:54:36 -07:00