Commit Graph

2790 Commits

Author SHA1 Message Date
Henri Sivonen
73a90b044e Bug 547685 - Weaken test_bug418464.html to make both the old and the HTML5 parser pass. r=bzbarsky.
--HG--
extra : rebase_source : 36fb899487e57618e50b697a75c659c89defb4b7
2010-02-23 15:58:17 +02:00
Henri Sivonen
464cad1a78 Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Doug Turner
65a60aa6f3 Adding new line to the end of nsHtml5SpeculativeLoader.h to avoid dozens of compiler warnings. trivial fix, no bug
--HG--
extra : rebase_source : c32715faff9ea1c2e06b41ffa9ca1f1e316c68f8
2010-02-23 16:36:30 -08:00
Frédéric Wang
fb7cd7fdfd Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang
aea2f1e996 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Timothy Nikkel
895e60343d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9 Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Henri Sivonen
6b8df8aef8 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Henri Sivonen
d65182d038 Bug 539895 - Flush tree ops in the HTML5 parser upon </select> and </textarea> to make form state restoration work. r=bnewman. 2010-01-20 15:43:58 +02:00
Geoff Lankow
a12e1a5def Bug 295506 - Variable tabulator width instead of fixed width of 4 spaces. r=mrbkap 2010-02-03 13:59:01 +01:00
Henri Sivonen
cf81aa1f24 Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 31f125d0e833aaea2c1bd4755c16d5e7fd5f2e83
2010-01-14 15:58:27 +02:00
Henri Sivonen
1c5a4d21e9 Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Palo Misik
9a8e6b641f Bug 530505: Rev IID on parser interfaces for Gecko 1.9.3 r=mrbkap 2010-01-23 11:31:17 -05:00
Henri Sivonen
f383990c62 Bug 539917 - document.writes parsed in reverse order when document.open()ed HTML5 parser gets blocked. r=bnewman. 2010-01-18 15:39:17 +02:00
Henri Sivonen
6df8158e59 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Robert Longson
2d6a644d32 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Henri Sivonen
1598b5d14d Bug 537683 - No longer break out of doc update batch upon nsIParser::Terminate() in the HTML5 parser. r=bnewman. 2010-01-05 14:37:05 +02:00
Henri Sivonen
8ddc3f1247 Bug 538193 - Copy over content model element and content model element name when loading state from another HTML5 tokenizer. rs=sicking. 2010-01-11 15:18:37 +02:00
Henri Sivonen
7ac218e0c1 Bug 514602 - Restore frameset-ok properly when the HTML5 tree builder has left the "in body" insertion mode and comes back. rs=sicking.
--HG--
extra : rebase_source : 42788e58309762098b4b9bb6efadff07335c011b
2009-12-23 10:31:48 +02:00
Henri Sivonen
c84fa7ac3b Bug 535810 - Avoid deleting the empty attribute holder in the isindex case. rs=sicking. 2009-12-21 13:18:34 +02:00
Henri Sivonen
563270e831 Backing out a change set with a faulty commit message. 2009-12-21 14:03:14 +02:00
Henri Sivonen
b4e8212596 Avoid deleting the empty attribute holder in the isindex case. rs=sicking.
--HG--
extra : rebase_source : fe35acd60c7f9bbb7512bc931288ee93338872b9
2009-12-21 13:38:58 +02:00
Zbyszek Skowron
ef3a7d0f4a Bug 530090 - Memory leaks in jArray in HTML5 parser. r=hsivonen.
--HG--
extra : rebase_source : 01c86f02f90ebff4bbd173b766b4ce4798751aa8
2009-12-21 13:38:58 +02:00
Henri Sivonen
436944fe2e Bug 535499 - Copy the return state over when loading HTML5 tokenizer state from another tokenizer. rs=sicking. 2009-12-17 12:15:08 +02:00
Henri Sivonen
7cc2431e42 Bug 535134 - Make <table><form> in HTML5 tree builder sensitive to the form pointer. rs=sicking.
--HG--
extra : rebase_source : 05a5700c04e31be9d88e3675065b0ad7043665c4
2009-12-16 16:07:06 +02:00
Henri Sivonen
55e6c4be33 Bug 535126 - Fix text flushing and EOF bugs in script data states in the HTML5 tokenizer. rs=sicking.
--HG--
extra : rebase_source : 4f62b7ce50fcd4e6224b628f159075a01adf28d3
2009-12-16 15:35:34 +02:00
Henri Sivonen
e4f44ea018 Bug 535116 - EOF handling after <xmp>< in wrong in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 707323bc1dbdf085d202aa3a14914eb9e1f9a362
2009-12-16 14:14:02 +02:00
Henri Sivonen
0609f873d9 Bug 525094 - Avoid shadowing member fields with local variables in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : bb52f6d5f9e335a7473524c6acc410b62b3c0863
2009-12-15 15:19:09 +02:00
Henri Sivonen
113801fed9 Bug 531106 - Crash in [@ nsHtml5Parser::DropStreamParser] triggered by Softpedia framebreaker. r=bnewman. 2009-11-30 17:34:51 +02:00
Henri Sivonen
7219ed0db4 Bug 534546 - Script with defer attribute never runs in the HTML5 parser. Part of the patch for bug 515610 (r=bnewman) but not landed due to a bad merge.
--HG--
extra : rebase_source : 9a6d14b2147370d16bd27b206e12b05037279d83
2009-12-14 15:51:15 +02:00
Jae-Seong Lee-Russo
48cece3011 Bug 530364 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /parser, r=mrbkap 2009-12-13 09:32:10 -08:00
Robert Longson
7fc3cdc6a9 Bug 467477 - View Source should linkify xlink:href. r=mrbkap 2009-12-12 14:37:22 +00:00
Henri Sivonen
9126f32030 Bug 515610 - Make defer and async work with the speculating HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 19dc4eaddf51c50cb416d62081fcef4ecd8d11c4
2009-11-17 10:52:30 +02:00
Henri Sivonen
188dff41f7 Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Henri Sivonen
4c7a1e7306 Bug 497848 - HTML5 parser fails layout/reftests/bugs/376532-1.html. rs=sicking.
--HG--
extra : rebase_source : 77f3601b318c191626e3dfe8718d2841528cdbbd
2009-12-10 16:27:48 -08:00
Henri Sivonen
f7e733583b Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman.
--HG--
extra : rebase_source : f1de8b7729f1570bf859578bf04192a4c5b6df05
2009-11-17 10:52:30 +02:00
Henri Sivonen
0f1b837b09 Bug 529829 - Crash [@ nsHtml5HtmlAttributes::getLocalName] with isindex attribute. rs=sicking.
--HG--
extra : rebase_source : 302169406834433818327cd19e81938e6569d48c
2009-12-10 16:27:48 -08:00
Henri Sivonen
d59ce1f9f5 Bug 510648 - Delete attribute holder upon emitting an end tag token in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 6586cf2e40a86a77ba4b72f132676d6b1e50516f
2009-12-10 16:27:48 -08:00
Henri Sivonen
36a4d0a1db Bug 531373 - Script between head and body is not executed by HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 074c8ea07bec9bcc0dfde3e2ad95cb0d8e49ea6f
2009-12-10 16:27:48 -08:00
Henri Sivonen
5d28b83605 Bug 503632 - Script containing <!-- in a string never ends up closed in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 688505ad32f1e88d07ee31bf62f302c131d7f2bb
2009-11-30 17:34:51 +02:00
Henri Sivonen
888d6846dc Bug 509009, bug 497848 - Update the HTML5 tokenizer to spec (excluding script changes) as of 2009-11-24. rs=sicking.
--HG--
extra : rebase_source : 1ea9013dcd1a4a4b4d0000f810916d3569cd0172
2009-11-30 17:34:51 +02:00
Henri Sivonen
8447be2850 Bug 502804, bug 510063 - Update the HTML5 tree builder to spec as of 2009-11-24. rs=sicking.
--HG--
extra : rebase_source : 3707836f9ad9d61921bf7455d74ee0844f6a4d02
2009-11-30 17:34:51 +02:00
Henri Sivonen
f002552428 Bug 528442 - Call WillCallDoneAddingChildren for SVG scripts in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 7fef8d4a9ac5fcc442229ea7c3349944c5d4ecef
2009-11-17 10:52:30 +02:00
Henri Sivonen
5127042e1d Bug 509666 - Notify the right document in the HTML5 parser when nodes have been moved between documents during the parse. r=bnewman.
--HG--
extra : rebase_source : ecf04f12b213b6be84887b83c98e15817074d374
2009-11-11 10:37:35 +02:00
Henri Sivonen
7023e10038 Bug 497861 - Wrong form state preservation on reparse in HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 841506bea91507339e89eefa95cde68ca2d9a5dd
2009-11-06 15:06:48 +02:00
Henri Sivonen
5fa10d54cc Crashtest for bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman.
--HG--
extra : rebase_source : 706b0fd3c4eadfc39d984eee4d71288d7b8c46e2
2009-11-11 10:37:34 +02:00
Henri Sivonen
461f05b3f0 Bug 529544 - Shut down the HTML5 parser thread from an observer (random crash [@ mozilla::storage::Connection::Close()]). r=sdwilsh.
--HG--
extra : rebase_source : b63735cb935261066b0836d451967a87a5c22929
2009-11-24 14:28:18 +02:00
Boris Zbarsky
b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Jesse Ruderman
38f061b3b9 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman
8fadba32e8 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Henri Sivonen
d73344abd4 Bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman, a=beltzner. 2009-10-30 13:47:17 +02:00
Henri Sivonen
9e62053310 Bug 483015 - Expose HTML line number to JS and CSS parsers in the HTML5 parser. r=bnewman, a=beltzner. 2009-10-28 15:48:37 +02:00
Henri Sivonen
ea48df9d29 Bug 500616 - Remove continue event from nsHtml5Parser. r=bnewman, a=beltzner. 2009-10-27 10:00:22 +02:00
Henri Sivonen
7a369c970d Fix the bad orange fix in the previous push. 2009-11-19 17:24:20 +02:00
Henri Sivonen
2ade4acf10 Bug 529544 - Make the HTML5 parser not participate on Mochitest. (orange fix)
--HG--
extra : rebase_source : 95fd43ff5dbc85b48750bfd17f9f802506c92925
2009-11-19 17:13:19 +02:00
Henri Sivonen
ce8e737c2b Bug 529544 - Avoid creating parser thread when HTML5 parser not enabled. (orange fix) 2009-11-19 13:53:32 +02:00
Henri Sivonen
d1c2785f51 Bug 524447 - Make the HTML5 parser tokenize on document.close(). (Spec svn r4241.) r=bnewman.
--HG--
extra : rebase_source : 5c67523de012c36e4327a37e3b1b29b43b745f0d
2009-10-27 09:44:17 +02:00
Henri Sivonen
a712081a1d Bug 513194 - HTML5 parser ends up parsing inline stylesheets twice. r=bzbarsky.
--HG--
extra : rebase_source : 05024b13a00ce55280da965a27a3fe33d18147c6
2009-10-30 10:31:57 +02:00
Henri Sivonen
32775f16dd Bug 515255 - Comment out assertion until <keygen> and <output> are supported as form-associated elements. r=bnewman.
--HG--
extra : rebase_source : c5595bca53a47b4b2617a803b989247340ee9cdf
2009-10-21 15:28:18 +03:00
Henri Sivonen
4677252e87 Bug 522326 - Make meta prescanner in the HTML5 parser use the canonical alias for UTF-8. r=bnewman.
--HG--
extra : rebase_source : a266ec64fc109ce914ba243286c9fc438890eba0
2009-10-21 15:21:27 +03:00
Henri Sivonen
23d994b5a7 Bug 516186 - Make late charset switch in HTML5 not trigger assertions. r=bnewman.
--HG--
extra : rebase_source : 9b2b847f5e0c94567c4ce65f0199cb00d4b4420b
2009-10-21 15:12:50 +03:00
Henri Sivonen
c49652133c Bug 523087 - Check for termination before every tree op in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 8dea5208332e6aefd18416bce4533455c4a3c981
2009-10-21 15:10:14 +03:00
Henri Sivonen
40b5f2a2c0 Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap.
--HG--
extra : rebase_source : 95833f94665e2c9c64a34b7e1bd827ef85a074db
2009-10-21 15:00:29 +03:00
Henri Sivonen
78c76786eb 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
Henri Sivonen
98a6ad4f84 Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d8b0840910d47aadee767fcbecf6832d244b1c4b
2009-10-12 16:08:04 +03:00
Henri Sivonen
213aca73bc Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03:00
Henri Sivonen
fb7c33c862 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d49df0ed8f2c205d97d3023ee88a62e5f8afb91f
2009-09-21 16:18:20 +03:00
Henri Sivonen
c2979194d3 Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman.
--HG--
extra : rebase_source : 955eb137d96a4ea1461417ada9809404a1218dd1
2009-09-21 14:43:43 +03:00
Henri Sivonen
3ad04b51a7 Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Jonas Sicking
835b9bac4e Bug 521668: Don't parse more data from the network, even if pumping the event loop from a event handler rather than from a <script>. r=mrbkap 2009-11-06 15:30:24 -08:00
Phil Ringnalda
d5b8092f6f Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Jonas Sicking
db58890767 Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
Blake Kaplan
ffe8a3055b Attempting to wallpaper over the topcrash reported in bug 408116. r+sr=jst@mozilla.com 2009-10-23 14:50:40 -07:00
Jesse Ruderman
43754a3bce Add bug 515816's testcase as a crashtest 2009-10-17 19:35:08 -07:00
Taras Glek
afa866e990 Bug 522229 - XML Pretty-Print no longer colored r=bz
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Henri Sivonen
72d461b556 Bug 509851 - Flash object does not appear with HTML5 parser enabled. r=bzbarsky. 2009-10-12 16:08:04 +03:00
Taras Glek
1d126be6cd Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Taras Glek
387de8cf2e Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
d07c55d805 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Jonas Sicking
243d32f0ea 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
Blake Kaplan
5aa8d4f549 Bug 519337 - Don't read the sentinel value from a string. r=sicking 2009-09-30 15:15:51 -07:00
Ben Newman
5d8ed1e95f [HTML5] Remove unneeded parser/html/java/translator directory (bug 518224). r=hsivonen
--HG--
extra : rebase_source : 2d3d248bb554f66206568e55690fe1b0cd198515
2009-09-25 12:57:09 -07:00
Ben Newman
79b17fcb3c Bug 518224 - [HTML5] Update parser/html/java Makefiles to sync from hg.mozilla.org/projects/htmlparser. r=hsivonen
--HG--
rename : parser/html/java/translator/manifest.txt => parser/html/java/manifest.txt
rename : parser/html/java/translator/named-character-references.html => parser/html/java/named-character-references.html
extra : rebase_source : 261b948d700b5fac5a2ad15f2b8114da97800ad2
2009-09-22 19:46:51 -07:00
Henri Sivonen
d2e28c3cf5 Bug 515142 - Make HTML5 parser never clone nodes. WHATWG spec SVN rev 2947. rs=sicking. 2009-09-21 10:00:10 +03:00
Henri Sivonen
217db1634c 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
Taras Glek
5cee56363b Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Henri Sivonen
731a5370a6 Bug 502973 - Suppress EOF upon Terminate() in HTML5 parser. r=mrbkap. 2009-08-27 10:57:57 +03:00
Benjamin Smedberg
ba372f3a4c 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
Mats Palmgren
c66b89dbed Fix reorderToMatchExpected by maintaining the inAttrList state correctly. Extend the test file syntax with comment and todo features. b=462701 r=sayrer 2009-08-24 01:22:22 +02:00
Ben Newman
3fcfcc0d93 Bug 505602 - [HTML5] Reduce amount of nsHtml5NamedCharacters generated code. r=hsivonen sr=mrbkap 2009-08-20 10:37:48 -07:00
Ben Newman
bbb92eb58e Bug 505599 - [HTML5] GenerateNamedCharactersCpp.java should generate static member declarations for VALUES and WINDOWS_1252 as well as NAMES. r=hsivonen sr=mrbkap 2009-08-20 10:37:52 -07:00
Ben Newman
bd5c411661 Bug 504968 - [HTML5] "###!!! ASSERTION: QueryInterface needed" in nsHtml5Parser::FinalizeSniffing. r=hsivonen sr=mrbkap 2009-08-20 10:37:44 -07:00
Henri Sivonen
d481094346 Bug 502869 - Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster]. r=bnewman 2009-08-18 10:48:59 +03:00
Dão Gottwald
8f8e6c6fd3 Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin
68f13c00ee Add html5 parser tests: tree construction, tokenizer, and comparison beteween Gecko and JS parsers. bug 373864; r=sayrer 2009-08-14 15:02:39 -07:00
Tommy Fogwell
e9d5620d31 Bug 484898 - Remove unused *_TIMER macros in CNavDTD and nsViewSourceHTML. r=bnewman sr=jst
--HG--
extra : rebase_source : f84584ede02f022edeb4b073c598a812134f5d1d
2009-08-14 09:56:03 -07:00
Peter Van der Beken
bf3da94043 Backing out 410eb23d33c7 to restore accidentaly deleted file (parser/html/javasrc/README.txt).
--HG--
extra : rebase_source : cd514c9544e20eacef1bbf40a0a369788801711a
2009-08-13 10:02:48 +02:00
Henri Sivonen
2c52a80c5f Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:51:06 +03:00
Henri Sivonen
eb232d9281 Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen
f131d2faa2 Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:45:24 +03:00
Jonathan Griffin
1ae091f04f Add test for bug 502600; cause parser compatibility mode tests to be run with and without the HTML5 parser enabled. r=hsivonen, sr=bz 2009-08-06 13:22:01 -07:00
Blake Kaplan
75e69499cc Bug 497013 - Fix some re-entrancy bugs in the parser. r+sr=sicking 2009-08-04 14:32:46 -07:00
Jonathan Griffin
d69bdaaef2 Add mochitest for bug 502091. 2009-08-05 10:32:20 -07:00
Robert O'Callahan
2c969d8724 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin
c5041f44f7 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Ben Newman
62f17a63ea Bug 505594 - [HTML5] Actually place java translator files under Mercurial revision control. r+sr=jst 2009-07-27 16:42:45 -07:00
Peter Van der Beken
f5f42d9fb3 Fix for bug 500349 (DOMParser no longer available in Greasemonkey scripts). r/sr=jst.
--HG--
extra : rebase_source : e42a5ad4bc82ef7b6933e9420840f83548ecde2c
2009-07-22 20:50:24 +02:00
Ben Newman
aec2dfcacd Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Ben Newman
e7540fc5b0 Bug 504646 - Get rid of the parser/html/javasrc symlink. r=hsivonen 2009-07-17 13:50:20 -07:00
Ben Newman
f543edcf42 Refactor repetitive makefile shell commands into external scripts (bug 504444). r+sr=jst 2009-07-17 13:50:20 -07:00
Henri Sivonen
a56ada6c11 Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap 2009-07-17 13:46:33 +03:00
Henri Sivonen
e992cbe005 Bug 503067 - New warnings from HTML5 parser: suggest parentheses around assignment used as truth value. r=benjamin 2009-07-15 14:32:58 +03:00
Henri Sivonen
aa9004b48b Bug 501106 - Implement Comment end bang state. rs=sicking 2009-07-15 14:31:57 +03:00
Henri Sivonen
00382e3718 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Henri Sivonen
57d0ba40a7 Bug 502091 - Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML. r+sr=jonas 2009-07-15 14:28:27 +03:00
Ben Newman
425a713997 Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst 2009-07-14 17:39:30 -07:00
Henri Sivonen
a78ee7ddae Bug 502600 - Make quirky doctype list comparisons work. r+sr=mrbkap 2009-07-08 09:40:21 +03:00
bjarne@runitsoft.com
136ecf84de Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Johnny Stenback
20c8cb9449 Fixing bug 501725. Use nsDependentSubstring() on strings that are not null terminated. r+sr=mrbkap@gmail.com
--HG--
extra : rebase_source : 7f657cd0465c3a568f6cfc534d6fbd4876e0776d
2009-07-06 14:00:23 -07:00
Henri Sivonen
379dedb7f6 Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap 2009-07-06 15:11:14 +03:00
timeless@mozdev.org
a33943492e Bug 501113 - HTML5 Crash EXCEPTION_INT_DIVIDE_BY_ZERO [@ _aulldiv - nsHtml5TreeBuilder::Flush]. r+sr=jonas 2009-07-02 09:41:59 +03:00
Henri Sivonen
2bcc709a30 Bug 501083 - Release the Windows 1252 array at shutdown. r+sr=jonas 2009-06-30 13:53:58 +03:00
Henri Sivonen
168f13774e Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Henri Sivonen
35e7e1301a Bug 501073 - Remove debug addref loop that never should have been checked in r&sr=jonas 2009-06-29 15:26:35 +03:00
Gavin Sharp
75292af342 Add bug # reference for workaround 2009-06-29 05:09:27 -04:00
Gavin Sharp
3abc754bdd Work around strange MSVC bug with the new html5 parser that's causing Windows CE build timeouts (and longer build times with msvc in general) by disabling optimization for nsHtml5NamedCharacters::initializeStatics, r=timeless on IRC 2009-06-29 04:54:40 -04:00
Johnny Stenback
11b9deebb4 Fixing build order issue. 2009-06-28 11:18:21 -07:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
24e3afaf8f Add a newline to the end of nsHtml5Parser.cpp 2009-06-28 20:09:15 +03:00
Jonas Sicking
ff259aceaf Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00
Henri Sivonen
fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Ben Newman
b5b32ea103 Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman
fbb427a992 Bug 484121 (5/6) - Avoid needlessly passing nsIContentSink parameters to nsIDTD methods. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman
c35c094d47 Bug 484121 (4/6) - Let the parser call nsIContentSink::{Will,Did}BuildModel directly. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
cf8369dfe8 Bug 484121 (3/6) - Get rid of nsIDTD::Will{Resume,Interrupt}Parse. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
be66be8cc9 Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
6589761eac Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
34a9141081 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
612191c82d Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Jonas Sicking
7ac1da9ded Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Henri Sivonen
1f9455f387 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan
7f46f44eb5 Bug 490937 - Eagerly start prefetching URIs that we've found when we're done with our section of the document. Don't wait for the parser to tell us to go ahead. r+sr=jst 2009-05-14 13:02:13 -07:00
Henri Sivonen
94ba813332 Adjust nsParser to implement the HTML5 ParseFragment stub 2009-04-23 13:18:19 +03:00
Henri Sivonen
4aa0608b18 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
524846eeac Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Blake Kaplan
7b882b1cc1 Bug 495663 - Count newlines correctly if we have an alternate ending position. r+sr=sicking 2009-06-01 20:44:37 -07:00
Blake Kaplan
984f190863 Bug 488730 - Count newlines correctly when skipping whitespace. r+sr=sicking 2009-06-01 20:44:37 -07:00
Jesse Ruderman
b89227c825 Add crashtests 2009-05-26 11:53:12 -07:00
Henri Sivonen
27ccc45764 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Arpad Borsos
fee39dcf30 Bug 474369 - get rid of nsVoidArray, parser part; r+sr=mrbkap 2009-03-25 09:13:05 +01:00
Peter Van der Beken
3afc804584 Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman
ad89dbd67c imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman
c2610d97bf imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Boris Zbarsky
7fbe6ae71f Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
28637b1d1c Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Henri Sivonen
99a8cc5f1a Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Boris Zbarsky
ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary
af0f1bccbe bug 328751 - crash test by Tom Ferris. 2009-04-24 10:08:11 -07:00
Jonas Sicking
b6ff240427 Bug 478889: Make script-defer work in xhtml. r/sr=peterv
--HG--
extra : rebase_source : 4e2abc2b35c72f7c5831f58b0f1c6940b1824de7
2009-03-15 17:53:09 -07:00
Jonas Sicking
7fdf2000fd back out changes that weren't supposed to be checked in 2009-03-10 00:03:48 -07:00
Jonas Sicking
86a18a593a Bug 475636: Disallow refresh to javascript uris. r/sr=bz
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Henri Sivonen
948c3f9874 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Chris Pearce
54d00f000e Chris Pearce - Bug 480889 - Nested <source> elements appear in video's childNodes. r+/sr+ mrbkap 2009-03-09 09:53:58 +13:00
Johnathan Nightingale
5bc5ebd6c0 Backed out changeset fdbe218cdcc7 - Causing crashtest hangs on linux. Tracked by bug 479499. 2009-03-03 09:43:47 -05:00
Blake Kaplan
dbf08aae22 Add a crashtest for bug 460706. 2009-02-26 17:01:10 -08:00
Blake Kaplan
6ec60d390e Bug 479499 - Gracefully handle receiving more data while inside the expat driver. r+sr=peterv 2009-02-25 17:38:28 -08:00
Henri Sivonen
a66d5e247c Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Doug Turner
2ace694588 Bug 479480 - drop the XP_MAC specific MAX_REFLOW_DEPTH. r=josh, sr=dbaron 2009-02-20 13:28:15 -08:00
Blake Kaplan
42dec6a621 Bug 478699 - Tell the scanner it's incremental so we don't preload partial tokens. r+sr=jst 2009-02-17 14:59:49 -08:00
Makoto Kato
6c49622ac3 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Henri Sivonen
d9f997707e Restart HTML5 parser on meta charset; release stack and list memory in tree builder 2009-01-16 15:21:48 +02:00
Jesse Ruderman
c8c7f6b3bb Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Jesse Ruderman
397e21afab Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
Jesse Ruderman
313514226b Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Blake Kaplan
70a04d49f5 Disable this test since it's randomly crashing on tinderbox. 2009-02-04 14:35:25 -08:00
Jonas Sicking
67d8b7206a 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
Nochum Sossonko
1ab37ad4c8 Test for bug 364188 - param closes open div elements. r+sr=mrbkap 2009-04-11 10:56:13 +02:00
Boris Zbarsky
973f44492a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Boris Zbarsky
339dd2bc38 Backing out changeset ec2bec209571 and changeset 140f64990c51 (fix for bug 481566) due to test failures. 2009-04-04 01:55:51 -04:00
Jonas Sicking
74d960d045 [mq]: sinkstuff 2009-04-03 18:25:13 -07:00
Boris Zbarsky
814eb91d33 Bug 457810 - Speculatively load stylesheets from preloading. r=mrbkap, sr=bzbarsky 2009-04-03 10:15:56 -04:00
Boris Zbarsky
d71fb0a959 Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
9bfb0c43c0 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Boris Zbarsky
b8d1090f67 Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression 2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
46b3066e19 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky 2009-03-30 11:31:16 -04:00
Blake Kaplan
aaf23f4056 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan
b684f12449 Bug 474537 - Don't use a static array, since this can be called on multiple threads. r+sr=jst
--HG--
extra : rebase_source : 7926ab4fd9a5e141edfdd571ae82c8223bee5d37
2009-02-02 17:37:03 -08:00
Blake Kaplan
95348e2620 Bug 475480 - Fix warnings created by the speculative parsing landing. r+sr=sicking 2009-01-27 15:30:31 -08:00
Jonas Sicking
38592a65d1 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
8093e5d81b 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
41679160f6 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
39b948d125 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
d25702e3ce Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
c4c9640ef1 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
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Martijn Wargers
c2cbb08d97 Bug 364188. <param> should not close open <div> elements. r+sr=mrbkap 2009-01-19 21:42:00 +13:00
Fred Jendrzejewski
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Curtis Bartley
c2305a06bf Bug 473540 - Fix leak in nsViewSourceHTML.cpp, r+sr=mrbkap 2009-01-17 21:44:32 +01:00
Curtis Bartley
66c5c3d3df Bug 464314 - view-source link-browsing doesn't decode entities. r+sr=mrbkap 2009-01-16 16:07:12 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Blake Kaplan
c8bc6e40b5 Bug 316582 - Clean up this function. r+sr=jst 2009-01-15 16:34:55 -08:00
Curtis Bartley
35bf4e9d80 View Source Linkification should only linkify "safe" URLs. p=cbartley, r=mrbkap, sr=bzbarsky, b=467852 2009-01-15 15:07:53 -05:00
Ben Turner
97fdc15bb2 Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
583673c3ab 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
Blake Kaplan
c057310e01 Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Blake Kaplan
62348da33d Bug 466765 - Don't start the speculative parser twice. r+sr=jst 2008-12-11 14:20:44 -08:00
Ben Turner
f08f233265 Bug 460437 - 'innerHtml doesn't update DOM when Html markup goes from Invalid to Valid'. r+sr=mrbkap. 2008-12-07 16:15:52 -08:00
Masatoshi Kimura
3a3a37f47d Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert
61f320aa9d Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
31c5df869e Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
L. David Baron
aefe9fb399 Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap 2009-01-10 08:28:16 -08:00
Blake Kaplan
e791611ec9 Backed out changeset e62d412d6251. The crashtest is randomly crashing. 2009-01-09 15:56:03 -08:00
Blake Kaplan
d019260b3a Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Jesse Ruderman
e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Ben Turner
b3e8d42490 Bug 468538 - 'Crash [@ nsParser::ParseFragment] setting innerHTML in mixed-content document'. r+sr=mrbkap, a=blocking1.9+ 2008-12-28 17:42:33 -05:00
Serge Gautherie
05e2fb4ab8 Backed out changeset: 9990da98d7b7 2008-12-20 05:05:42 +01:00
Blake Kaplan
79c27c74b1 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan
50dec62271 Bug 460706 - Handle misplaced ContinueInterruptedParsing calls during synchronous XMLHttpRequest. r+sr=sicking
--HG--
extra : rebase_source : 2852f7f9f0283bc6971dab6dd2ec92234fab302a
2008-12-19 15:45:55 -08:00
Neil Rashbrook
2ada5a0db5 Follow-on fixes for bug 17612 r+sr=mrbkap a=beltzner (grudgingly given that I should have filed a new bug) 2008-11-14 11:16:18 +00:00
Curtis Bartley
0b465581dc Bug 464727. Skip newlines too, instead of skipping tabs twice and newlines not at all. r+sr=mrbkap, a=beltzner 2008-11-13 22:05:05 -05:00
Blake Kaplan
49eb1a7511 Bug 458440 - Turn speculative parsing back on and clean up the code a little. r+sr=jst 2008-11-11 10:52:40 -08:00
Curtis Bartley
a20f5060d4 SRC and HREF attributes turned into clickable links in view source. p=cbartley r+sr=mrbkap a=beltzner b=17612 2008-11-10 16:18:39 -05:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Shawn Wilsher
79a89addfa Backed out changeset 2c00478d356a (bug 458563) for orange 2008-11-01 18:16:40 -04:00
Mats Palmgren
a2ce44f7b7 Add tag soup HTML parser tests to mochitest suite. b=458563 r+sr=mrbkap 2008-11-01 21:27:18 +01:00
Blake Kaplan
61503583ca Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07:00
Taras Glek
ae50073263 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-14 09:55:57 -07:00
Ben Newman
2e879f3987 Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
5c451361b8 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-09 13:46:16 -07:00
Doug Turner
8137791649 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Blake Kaplan
a52a78014b Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan
32a0c9d395 Bug 458145 - Don't allow random tags to close the body unexpectedly. r+sr=jst 2008-10-03 17:36:29 -07:00
Blake Kaplan
c2c3c2f8eb Bug 458440 - Don't create a speculative parser for an empty string. Also, avoid doing work that the scanner will happily do for us. r+sr=jst 2008-10-03 14:11:12 -07:00
Blake Kaplan
7810144cb5 Bug 364315 - Fix threadsafety assertions and crashes by only releasing documents on the main thread and not starting two speculative parsers for the same nsParser. r+sr=jst 2008-10-01 17:09:21 -07:00
Blake Kaplan
109b544036 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Matthew Gregan
b94c620992 Bug 457806 - "<source> child of <audio> causes HTML parser to enter infinite loop" [r+sr=mrbkap] 2008-09-30 23:58:02 -05:00
Daniel
02e96ca633 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Dave Townsend
b687587e84 Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan
428671d01a Bug 364315 - Speculatively look for URLs in the document while the parser waits for a script to download and execute. This should show a decent speedup, especially on mobile. Currently, this only finds other <script>s to preload, but hopefully we'll extend it to images and stylesheets as well. r+sr=jst 2008-09-29 21:19:43 -07:00
Blake Kaplan
84beef638b Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Olli Pettay
600428c42f Bug 433533 - Attributes stored using enum value don't keep the 'caseness', r+sr=sicking 2008-09-26 13:39:18 +03:00
Taras Glek
15ba12b39c bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
Ted Mielczarek
ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00