Commit Graph

788 Commits

Author SHA1 Message Date
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Chris Leary
b2d9eba98e Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Zack Weinberg
1a37e44f98 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
4528c43578 Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky 2011-05-18 21:22:59 -04:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Timothy Nikkel
8e6d2ba938 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Henri Sivonen
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Ms2ger
b0ed41d802 Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Peter Van der Beken
d007f2048d Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Jonas Sicking
5cf82091f0 Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Mounir Lamouri
db44db0ebe Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00
Ms2ger
4c31d5c78f Bug 619998 - Remove support for Document.strictErrorChecking; r=sicking 2011-04-22 10:38:37 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Ms2ger
c0773e39d2 Bug 585877 - Remove support for document.width and document.height; r=jonas sr=jst
* * *
try: -b do -p all -u mochitest-o -t none
2011-04-17 10:57:17 +02:00
Ms2ger
c50cc444cc Bug 619997 - Remove support for Document.renameNode; r=sicking 2011-04-16 11:14:09 +02:00
Ms2ger
da588aa293 Bug 615509 - Remove nsIDOMDOMConfiguration, Document.domConfig; r=sicking 2011-04-15 16:06:55 +02:00
Ehsan Akhgari
f9088e8fe4 Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky 2011-04-13 18:12:32 -04:00
Ms2ger
330bb49437 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ms2ger
bb2faf4a3d Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz 2011-04-12 14:31:59 +02:00
L. David Baron
b149cd157b Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
This fixes handling of a number of cases:
 1. Modifications to a style rule inside a group rule now trigger
    GetRuleCascades.
 2. A sheet that has been (potentially) modified is reliably marked as
    such, and thus never cloned.
2011-04-11 23:18:43 -07:00
Peter Van der Beken
afdf1551f1 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Boris Zbarsky
f0517db35a Bug 581177 part 6. Make 'has name' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Ms2ger
82697a892d Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Ehsan Akhgari
0ce5440550 Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Ms2ger
cda8ae48ca Bug 587469 - Remove an image map quirk; r=mats 2011-03-26 11:59:54 -04:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Craig Topper
d52db340a6 Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky. 2011-03-10 21:50:20 -05:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
hsivonen@iki.fi
7bf44fded1 Remove the Hotmail-specific hack that forces the old parser for document.open() (bug 636692, r=bz, a=blocker). 2011-03-02 13:15:02 -08:00
Boris Zbarsky
aa3762bd36 Bug 601332. Go back to allowing FOUC on document.written documents. r=jst 2011-03-23 10:45:21 -04:00
Ehsan Akhgari
21d69946e2 Bug 609551 - Move the operations which happen at the script global scope before the document load to the point where the document is fully loaded; r=roc a=test-only 2011-03-12 00:34:56 -05:00
Henri Sivonen
5bc865c4b0 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Henri Sivonen
25669709c5 Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final. 2011-02-26 10:57:00 +02:00
Kyle Huey
f76b74a821 Bug 631421: Teach nsImageDocument to say the magic password to nsImageLoadingContent::RemoveObserver. r=jst a=b 2011-02-20 09:40:45 -05:00
Mounir Lamouri
350253af3e Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final 2011-02-11 01:59:37 +01:00
timeless@mozdev.org
fe23ea42a2 Bug 586603 HTMLContentSink::BeginContext should null check mCurrentContext before creating sc
r=smaug
2011-03-22 11:17:44 -04:00
timeless@mozdev.org
c38e2ca4a1 Bug 586606 NS_NewHTMLParanoidFragmentSink should nsHTMLParanoidFragmentSink::Init before allocating
r=smaug
2011-03-22 11:17:31 -04:00
Boris Zbarsky
6e82217ba2 Bug 613595. Speed up the cache-hit case for getElementsByTagName. r=peterv 2010-11-23 14:10:56 -05:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Hiroyuki Ikezoe
41d35974b2 Bug 559932 - intermittent content/html/document/test/test_bug445004.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uri.match(/^http:\/\/([a-z.0-9]*)/) is null; r=bzbarsky a=test-only
--HG--
extra : rebase_source : 98485b1b2582aef9749377c736f59d2352e1ea78
2011-01-26 13:52:10 -05:00
Hiroyuki Ikezoe
4c83127f20 Bug 628452: Fix invalid tag in test_bug445004.html. r=bz a=tests 2011-01-24 22:38:10 -08:00
Ehsan Akhgari
d48edb3f7d Bug 622371 - Only set the selection to the beginning of the editable document if the editor is being initialized by entering designMode; r=bzbarsky a=blocking-final+ 2011-01-06 17:13:51 -05:00
Boris Zbarsky
c58b055ea9 Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron 2011-01-14 21:14:41 -05:00
Ehsan Akhgari
b3f2d74515 Bug 620906 - Back out part of bug 289384 to make sure that scrollbars work in CKEditor fields again; r=roc a=blocking-final+ 2011-01-11 16:00:44 -05:00
Robert O'Callahan
319edd4ba7 Bug 615794. Part 3: Snap bounds of border and background display items to pixels if we're sure they will be snapped. r=tnikkel a=blocking 2011-01-04 23:39:47 +13:00
Mihai Sucan
6af7fd5fc9 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
215e61a4b2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 3; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Sayre
be7b7e126a Properly check attribute URLs -- Bug 562547, r=jst, a=blocking2.0
Do not inherit principal from embedding doc (often chrome) when checking URIs,
but use NullPrincipal for untrusted content.
2010-12-15 18:14:11 +01:00
Ehsan Akhgari
1935188b81 Bug 616590 - Prevent documents loaded in mail editors to set up their own editors using the designMode or contentEditable APIs; r=bzbarsky a=blocking-final+ 2010-12-06 14:27:14 -05:00
Ehsan Akhgari
1bd8b7c9e7 Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
Ehsan Akhgari
ef612c0f0a Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Kyle Huey
395e7205c3 Bug 614403: Make nsPluginDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:19:37 -05:00
Kyle Huey
ec6e9646f6 Bug 614401: Make nsImageDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:18:51 -05:00
Henri Sivonen
61ad70a824 Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : c4f51cc0d40db3495ba6f56fc72f3afb2da70abd
2010-11-16 09:48:30 +02:00
Henri Sivonen
ea24105625 Bug 592656 part 1 - Use the current parser-inserted script as the insertion point key. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : 92320d48b27c984e25c72be6dafbaef9d6133038
2010-09-06 10:41:26 +03:00
Ehsan Akhgari
cea63fedad Bug 551704 - Part 4: Set the selection to the beginning of the document when we're entering the design mode; r=bzbarsky a=blocking-betaN+ 2010-11-08 18:30:28 -05:00
Ehsan Akhgari
f434f2c01f Bug 372345 - Part 3: Some cleanup code, followup to the first part; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : c2dd67652939e1e9a26a3f0d2671b2b49c32d4d9
2010-11-04 15:00:35 -04:00
Ehsan Akhgari
cc6346ffd2 Bug 372345 - Part 2: Port the fix from bug 289384 to make sure that the editor gets reconstructed correctly when navigating back to an editable page; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 6f92f02d129ca03b6171377eaf6b37a4a9a3325b
2010-10-31 16:10:22 -04:00
Ehsan Akhgari
311cff87c3 Bug 372345 - [Midas] text cursor overrides CSS mouse cursor styles for some elements; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 502e9561f1a91464b8de502eb44098ab126d3930
2010-10-29 12:30:15 -04:00
Ms2ger
f4cdfb893f Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg 2010-11-05 11:57:10 +01:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Mounir Lamouri
7224f2d38d Bug 573524 - Try to run the test on load to see if it fixes the intermittent orange; r=ehsan a=test-only 2010-10-30 01:31:45 +02:00
Michal Novotny
ac7049477a Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Ehsan Akhgari
1acdecd31f Bug 604332 - Whitelist attribute names beginning with "_" when pasting HTML into an editable field; r,a=roc 2010-10-18 13:59:34 -04:00
Mats Palmgren
6a2386e03c Bug 601422 - Crash [@ nsImageDocument::ShrinkToFit] in removed frame. r=Olli.Pettay a=jst 2010-10-15 06:03:33 +02:00
Timothy Nikkel
791652f07c Bug 593491. Add some debugging output to try to diagnose random orange. 2010-10-14 20:03:45 -05:00
Johnny Stenback
bdc693a467 Bug 580128. Make the editor hold on to the window it's operating on in nsHTMLDocument::EditingStateChanged() so that the window doesn't go away in the middle of this method. r=peterv@propagandism.org 2010-10-10 15:46:10 -07:00
Jesse Ruderman
268a575f7a Bug 579244 - attempt to fix an intermittent test timeout by ensuring that onload fires. a=NPOTB 2010-09-24 11:22:30 -07:00
Ehsan Akhgari
855295156d Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -04:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
David Zbarsky
e5944a3eba Bug 499656. Make nsContentList have dual atoms (original case and lowercase) so that we can match non-HTML elements in HTML documents correctly. r=sicking 2010-08-31 19:47:00 -07:00
Neil
6b7202a7df Bug 596237 - [SeaMonkey 2.1] TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/content/html/document/test/browser_bug592641.js; r=bobbyholley a=NPOTB 2010-09-14 15:48:46 -04:00
Bobby Holley
49614ac577 Bug 592641 - Tests.r=Neil,a=tests 2010-09-12 08:22:26 -07:00
Bobby Holley
fe65003f61 Bug 592641 - Image document doesn't show dimensions of cached images.r=Neil,a=blocker 2010-09-12 08:22:26 -07:00
Timothy Nikkel
19b4faee8e Bug 593491. Add some debugging output to diagnose intermittent orange. 2010-09-11 13:24:49 -05:00
Dan Witte
ccd3c28130 Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte
8de0079a42 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Ms2ger
0f41207847 Bug 585877 - Add a warning for document.width and document.height; r=sicking a=jst 2010-08-27 13:44:28 +02:00
Dan Witte
8937bd5738 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
4439f97632 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Gavin Sharp
be5d8bffff Backed out changeset 43b490ef9dab (bug 585877), a=beltzner 2010-08-17 15:27:06 -04:00
Ms2ger
eabbd18c18 Bug 585877 - remove document.height / document.width. r=sicking, sr=jst 2010-08-15 11:02:20 +02:00
Boris Zbarsky
d276f7c756 Bug 564652. Make sure to flush out restyles on our parent before checking for a presshell. r=dbaron 2010-08-13 14:44:39 +12:00
Ehsan Akhgari
5a36ff1530 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
--HG--
extra : rebase_source : 7085d047498e0509f056c8a33d9189e52aaeb077
2010-08-10 11:52:32 -04:00
Kyle Huey
4108bf2819 Backed out changeset 0aa4ad290221 2010-08-10 21:14:51 -07:00
Ehsan Akhgari
d8ca1c0100 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+ 2010-08-10 11:52:32 -04:00
Ms2ger
f44cbdb1a4 Bug 564001 - Should use the first image map in tree order r=bzbarsky a=benjamin
--HG--
extra : rebase_source : 0bd0a6eafd22095fc0621dc294ad95ca7fd1b7d6
2010-08-06 13:08:58 +02:00
Zack Weinberg
6873de67ec Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ehsan Akhgari
7dcf9d424a Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Daniel Holbert
ef7d10cf70 Bug 574430: In nsTextEditorState.cpp, move helper-class declaration outside of function-bodies to fix GCC warnings. r=jst 2010-07-18 15:07:53 -07:00
Craig Topper
dcd5047456 Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz 2010-07-18 16:39:20 +02:00
Henri Sivonen
e985ea0186 Bug 560256 - Ignore document.write() from external scripts when there is no proper insertion point. r=jonas. 2010-06-19 09:38:41 +03:00
Ehsan Akhgari
0ad20714f9 Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky 2010-07-11 17:48:46 -04:00
Peter Van der Beken
1a344e3027 Part 5 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make ResolveName and GetDocumentAllResult return the wrapper cache. r=jst.
--HG--
extra : rebase_source : d36cf87ab26c82bba89998111f872389a1cae754
2010-05-10 18:43:20 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Ehsan Akhgari
f6d555362e Bug 572637 - Paste image into Compose window broken with Shredder; r=bzbarsky
--HG--
extra : rebase_source : 30d81359c13d31a4693c8140ec6ed2b450759a99
2010-06-25 22:22:12 -04:00
Ehsan Akhgari
d288e15ecd Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Ms2ger@gmail.com
0b55de891c Bug 574078 - nsHTMLTagList.h calls macros with empty arguments. r=sicking 2010-07-06 06:24:35 +02:00
Phil Ringnalda
9a967f7fbd Bug 570376 followup, rename the test file to have the right bug number
--HG--
rename : content/html/document/test/test_bug570375.html => content/html/document/test/test_bug570376.html
2010-07-05 20:02:34 -07:00
Ms2ger@gmail.com
6c14d4bcad Bug 489532 - Make document.createElement("<x>") throw in quirks mode. r=sicking 2010-07-04 20:29:14 +02:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Ehsan Akhgari
fb10e0a996 Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
e7064f2be4 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1277056918 -7200
Bug 537164 - e10s HTTP: caching.  r=jduell, sr=biesi
2010-06-23 23:55:19 -07:00
Ehsan Akhgari
fafab966e3 Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc 2010-06-23 14:40:08 -04:00
Ehsan Akhgari
814b9f0c25 Bug 573527 - Correct the test for bug 404320; r=roc 2010-06-23 14:40:08 -04:00
Johnny Stenback
63e3022e0d Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Phil Ringnalda
bcd7a93200 Crash [@ MaybeSetForm] with html5.enable == false and <form><legend> 2010-06-06 16:49:00 -05:00
Ehsan Akhgari
1c4e5eae5f Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay
--HG--
extra : rebase_source : 7d01d90f59e60b63e64b96bb655937fe0d0c879a
2010-06-04 17:03:50 -04:00
Ehsan Akhgari
4ba6d6114b Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay 2010-06-04 17:03:50 -04:00
Peter Van der Beken
26a0e0161a Fix for bug 571981 ("ASSERTION: Got the wrong answer from the custom method call" with frameset root). r=bz.
--HG--
extra : rebase_source : 84ed582dcec4f32644e549a1030df9b7ee64bb85
2010-06-17 17:17:25 +02:00
Olli Pettay
f48d7a4a08 Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Boris Zbarsky
f305d5893c Bug 571298. Avoid flash of unstyled content in document.write-created documents. r=jst 2010-06-18 12:23:05 -04:00
Ehsan Akhgari
1d27c39d4a Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc 2010-04-09 17:06:09 -04:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Boris Zbarsky
2abd027435 Bug 564569. Speed up the cache-hit case of getElementsBy(Class)Name. r=jst 2010-06-08 15:58:26 -04:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Ehsan Akhgari
88a979fa09 Test case for bug 564461; r=roc
--HG--
extra : rebase_source : 8f5bea38964e7175667d9a6354a260773290c83b
2010-05-22 21:04:09 -04:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Ehsan Akhgari
15c2238119 Bug 564461 - Change content editable count from a script runner; r=jst 2010-05-12 18:21:24 -04:00
Peter Van der Beken
a3f0b9002e Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Ms2ger
8b88cb6ee7 Bug 109445. Allow imagemap references by id in text/html. r=jst 2010-05-13 12:56:10 +12:00
Peter Van der Beken
7f4e72d2de Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
00ea1d430a Try to fix orange from e2c5f6be2148
--HG--
extra : rebase_source : 148d9a1eef794af433373002effd47c12cce6e1c
2010-05-11 18:27:44 +02:00
Peter Van der Beken
75ccb33e1a Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Mayank Gupta
f4d9da217b Bug 548828. Implement HTMLDocument.head. r=bzbarsky 2010-05-02 13:32:21 +05:30
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Boris Zbarsky
c1ce657552 Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Henri Sivonen
711ffaef52 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
--HG--
extra : rebase_source : 3f001d62e55a4ecd02c4ab8d1f6997e1547aef4e
2010-04-16 13:52:06 +03:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Jonas Sicking
1a83956b1c Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Timothy Nikkel
c00189dcc3 Bug 502937. Part 0. Make sure onload blocker is in place with document.open(). r=bzbarsky 2010-01-18 03:07:08 -06:00
Jesse Ruderman
8c5e3d85e8 Remove exponential document.write test. parser/htmlparser/tests/crashtests/197052-1.html tests what we actually want to test; this test just takes a long time. See bug 469626. 2010-04-11 16:41:09 -07:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Masatoshi Kimura
87b17f9962 Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
Ms2ger
a267b872ba Bug 554707. Throw the right exception when document.open/close/write/writeln happen on an XHTML document. r=bzbarsky 2010-04-01 22:09:05 -04:00
Ehsan Akhgari
7147e0f1c4 Bug 555851 - nsHTMLFragmentContentSink::AddTextToContent is dead code; r=jst 2010-03-31 17:44:47 -04:00
Peter Van der Beken
a815b0502f Fix for bug 556241 (HTMLContentSink needs to participate in cycle collection). r=jst. 2010-03-31 13:35:20 +02:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Henri Sivonen
2c15d29366 Bug 541078 - Turn editing off in BeginLoad(). r=bzbarsky.
--HG--
extra : rebase_source : 8bb4f1acfb1659d55f48651ff5e236c964c2d01e
2010-03-12 12:29:46 +02:00
Jonas Sicking
986107fb30 Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Henri Sivonen
5e9deb0a76 Bug 539887 - Comment out a test assertion in test_bug255820.html. r=bzbarsky.
--HG--
extra : rebase_source : 8e51292d4d73c2c89088dd278838b9a991f20735
2010-02-25 13:36:14 +02:00
Ms2ger
0d8a8bc9bb imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Boris Zbarsky
6a1a36dba1 Bug 453929. Cache getElementsBy(Class)Name return values. r=jst 2010-02-09 12:09:06 -05:00
Daniel Holbert
020287d441 Bug 543497, Patch B: Fix "warning: suggest parentheses around comparison in operand of !=" in nsHTMLDocument.cpp. r=smaug 2010-02-06 13:33:53 -08:00
Henri Sivonen
eab704aec8 Bug 543959 - Weaken test_bug486741.html not to test if document.open() creates a root element. r=bzbarsky. 2010-02-03 17:39:20 +02:00
Henri Sivonen
f30b1cc096 Bug 543930 - Assertion misplaced after code additions above a disconnected #ifdefed else branch. r=bzbarsky. 2010-02-03 10:53:58 +02:00
Henri Sivonen
c4b0f9199e Bug 533381 - Use the old parser for about:blank when HTML5 parser enabled. r=bzbarsky.
--HG--
extra : rebase_source : 7e1cea763fbb444ab46b4324e2960b34ecd00a9a
2010-02-02 09:39:26 +02:00
Henri Sivonen
5d3057fd75 Bug 539882 - Make test_bug324378.html not expect that attributes on second <head> move to head. r=bzbarsky.
--HG--
extra : rebase_source : 9e8f9d43c6f59751cec60e657b91bcc3422a32f0
2010-01-18 15:38:43 +02:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Henri Sivonen
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Henri Sivonen
f956b447b8 Bug 539891 - test_bug478251.html fails with the HTML5 parser. r=bzbarsky. 2010-01-18 15:38:44 +02:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Saint Wesonga
53aac44029 Bug 340017. Make document.formName work in XHTML. r=bzbarsky 2009-12-11 22:36:33 -08:00
Robert O'Callahan
f5ad5f28f5 Bug 528493 preliminary number 2. Don't call a function that needs to flush while we might be under a scriptblocker. r=bzbarsky 2009-11-19 23:39:11 -05:00
Henri Sivonen
62853870ee Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
--HG--
extra : rebase_source : 0f574695c4d6fad936e9d0960f07261aa192b13d
2009-10-15 14:29:11 +03:00
Jonas Sicking
7892ff1c09 Bug 293347: Disable document.write for XSLT result docs. r/sr=jst 2009-11-05 20:27:30 -08:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Olli Pettay
ef48c1600f Bug 523080 - Unlink HTMLDocument members, r=peterv
--HG--
extra : rebase_source : e8b1faf6f58613826803b101ee314f64ecab3350
2009-10-21 12:41:18 +03:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Robert O'Callahan
7b301159c7 Bug 512367. Don't reset fullZoom level when zooming in/out of an image loaded in an <iframe>. r=smaug 2009-10-15 15:20:50 +13:00
Zelgadis
c42718629c Bug 519926. When the string is an optional argument and isn't passed, pval is null. r=jorendorff 2009-10-14 14:27:34 -04:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Ms2ger@gmail.com
71e3872c70 Bug 516359 - document.(open|write|writeln|close) in XHTML throws the wrong error. r=smaug 2009-09-27 11:20:30 +02:00
Daniel Holbert
0fad456e89 bustage fix for Bug 371976 2009-09-25 14:20:53 -07:00
Neil Rashbrook
f38b37ad3d Bug 371976 Create synthetic plugin document content later (like image documents) r=smaug 2009-09-25 21:58:47 +01:00
Boris Zbarsky
51e7cd5b8d Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff 2009-09-24 13:59:43 -04:00
Henri Sivonen
adce3cb5c8 Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Olli Pettay
f49f941495 Bug 513912, Fix image document zoom handling in FF, r=dao, sr=jst
--HG--
extra : rebase_source : b562f90b4c326a5e40aa31e5bbbd363dd2047c8a
2009-09-09 23:04:05 +03:00
Olli Pettay
f13cd472f1 Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 16:15:33 +03:00
Olli Pettay
231aff3fb5 backout Bug 503729 2009-09-01 15:45:47 +03:00
Olli Pettay
cb8815c98a Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 12:21:55 +03:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Peter Van der Beken
06a3290ed7 Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
David Zbarsky
bef61061f8 Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
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