Commit Graph

454 Commits

Author SHA1 Message Date
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
f1f0d74e5a Bug 503226 r=jst,sicking, sr=jst
--HG--
extra : rebase_source : c45e2f0926bc2e27e298d8a46d14f5acab053484
2009-08-15 11:51:37 +03:00
Olli Pettay
1e82a3f9fe Bug 502168, r=bz
--HG--
extra : rebase_source : a5ee5c40d26bc654b05d94205273dc51c9cfa0fc
2009-08-13 23:27:37 +03:00
Peter Van der Beken
dd5bda7f79 Fix for bug 502730 (ASSERTION: Wrong scope, this is really bad!: 'JS_GetGlobalForObject(cx, obj) == newScope').
--HG--
extra : rebase_source : dbd409d54e6ecad801953d4cf76a57f95c419f94
2009-07-25 13:27:42 +02:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Vivien Nicolas
bf4c343a15 Bug 506641: Click image resizing for nsImageDocument should be disabled, r=bzbarsky 2009-07-28 23:02:55 -04:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Henri Sivonen
43e0fcb133 Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
fc7407d5c6 Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Boris Zbarsky
3878fd4be6 Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
057b4f1b12 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
fa3e4b55a2 Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Ben Newman
94f19e102d Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
bb1733dfd5 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03: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
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
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
Henri Sivonen
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07: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
51bb8f55eb Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Zack Weinberg
0412a0974c Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02: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
d4a2fbc016 Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +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
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
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
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
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
Olli Pettay
9307ea0958 Bug 489965, r+sr=bz 2009-04-24 16:36:58 +03: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
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
a895ed96a7 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02: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
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
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
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
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08: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
Jesse Ruderman
46006e4349 Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02: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
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
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
Daniel Holbert
b91b56aa62 trivial comment-only typo fix in nsHTMLDocument.cpp: s/presumeably/presumably/ 2009-01-22 07:13:59 -08: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
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
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
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
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
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
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
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
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
be3b05cfd1 Bug 463424 - Make nsImageDocument/nsPluginDocument participate better in cycle collection, r+sr=peterv 2008-12-03 12:30:26 +02: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
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
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
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
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
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
3b9e8dca75 Backed out changeset b873bd70913f
--HG--
extra : rebase_source : 5edfb17304688d81579eca39df35f1a71f622f62
2008-12-18 23:16:09 +13:00
Chris Pearce
5d0abd204d Bug 463830. Make the window title for standalone video/audio documents be useful. r+sr=roc
--HG--
extra : rebase_source : afeb3c793fb8756901ee6ef16782f3a288ed106c
2008-12-18 21:07:24 +13:00
Jesse Ruderman
4605e42d95 Disable test for bug 353713 due to timeouts (bug 469557) 2008-12-14 21:36:46 -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
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
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -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
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
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
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
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
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
Jonas Sicking
83bda6d42d Reland old Access-Control implementation. b=389508 r/sr=jst 2008-09-30 17:49:30 -07: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
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
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
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
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
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
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
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
2d2bf351aa Adding test for bug 227263 and bug 196523 2008-08-29 20:36:46 -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
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
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
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
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
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
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
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12: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
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
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
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
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
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
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
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
Olli.Pettay@helsinki.fi
0201fb1fef Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv 2008-03-19 12:44:08 -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
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
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
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
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
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -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
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