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
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