Commit Graph

485 Commits

Author SHA1 Message Date
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