Граф коммитов

2724 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 379b336664 Bug 582940 - Make the HTML5 parser URL unescape <a name> until HTML5-compliant fragment navigation is supported. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 0e4cb540161dfe445d58840618877f97cbe8eba0
2010-07-30 13:08:36 +03:00
Henri Sivonen 800a62c10e Bug 582788 - Treat non-ASCII-superset encoding the same way in late meta handling as in meta prescan. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 53407afad2a7304d77c1faa3e43301db4fa84ff2
2010-07-30 13:03:54 +03:00
Henri Sivonen a40a9dcef6 Test case for bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 7641b185ed8704104f7dfaa4744959da8697537b
2010-07-26 13:55:43 +03:00
Olli Pettay ab72df0fc6 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
--HG--
extra : rebase_source : d23e9583ef631e1a93d6aece9c3543c4b23ed9c2
2010-07-21 19:03:21 +03:00
Henri Sivonen a0c3e9d8c0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Ms2ger@gmail.com 958b97a4e5 Bug 574078 - nsHTMLTagList.h calls macros with empty arguments. r=sicking 2010-07-06 06:24:35 +02:00
Ehren Metcalfe 455dd1728f Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Mitchell Field dae810b5e1 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg dfed11844b Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg 94ef4d2ac3 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg f56445a420 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ehsan Akhgari e318a86bd7 Bug 572642 - correct the component ID
--HG--
extra : rebase_source : 0cbe63fb07d3eea6db003aa295b4abed19602025
2010-06-23 15:52:01 -04:00
Ehsan Akhgari 8399828598 Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc 2010-06-23 14:40:08 -04:00
Ms2ger f764186684 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) cc3200fac2 Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg cae1800556 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Mounir Lamouri 000010ab5d Bug 568515 - xmp and plaintext element should be considered as HTMLElement, not HTMLSpanElement, r=sicking 2010-06-22 02:02:07 +02:00
Benjamin Smedberg 5b338a8304 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Henri Sivonen 8e5e0bf0e5 Disable test for bug 568470 due to consistent orange on Linux. (orange fix) 2010-06-29 12:41:37 +03:00
Henri Sivonen a98ef0903f Tweak times on the test for bug 568470. (orange fix) 2010-06-29 12:01:43 +03:00
Henri Sivonen 8a8f6fe9bf Fix reftest fallout from bug 563526. (orange fix) 2010-06-29 11:08:08 +03:00
Henri Sivonen ca0c812075 Bug 568470 - Flush ops from off-the-main-thread HTML5 tree builder into executor immediately when stopping speculating. r=bnewman.
--HG--
extra : rebase_source : 12abdc2cab8f8e96587ef11ba8b62cabb2b2acbb
2010-05-28 15:20:13 +03:00
Ms2ger 9163dc41fc Bug 573357 - Use the HTMLElement interface for more elements. r=jonas 2010-06-30 23:11:45 +02:00
Mounir Lamouri a4e51660a1 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
Henri Sivonen 792c8ee52a Bug 566879 - Make innerHTML-inserted from controls not restore their state from history. r=Olli.Pettay. 2010-06-09 09:45:32 +03:00
Ehsan Akhgari 2b0f8496a5 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri b5cf90d394 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Ehsan Akhgari 8260291e9e 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
Daniel Holbert 58d13a26ec merge 2010-06-09 17:17:19 -07:00
Daniel Holbert e6561021f9 Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen e7eb986aa9 Bug 563514 - Avoid leaking or misplacing attributes on stray <html> and <body> tokens in the innerHTML case. r=jonas.
--HG--
extra : rebase_source : 174666b3ec6c0a7e6251fe34b6bf23c499ad3575
2010-06-09 09:44:25 +03:00
Henri Sivonen f87ee4a323 Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking.
--HG--
extra : rebase_source : 86afd6adeba2231c526857a19e27e291296f60d1
2010-05-27 16:08:19 +03:00
Henri Sivonen 0e920498cf Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
Mitchell Field 895792930a 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
Michael Kohler c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper 705e44723e Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken 1122c69800 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
Mounir Lamouri 6d277a77df Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Robert O'Callahan 6964434bc1 Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri be21d8caff Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Jonas Sicking 45e936c16d 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
Henri Sivonen bf48dfb18a Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman. 2010-04-16 13:52:06 +03:00
Henri Sivonen 7add467de8 Bug 555906 - </datalist> does not implicitly close an <option> in the HTML5 parser. r=bnewman. 2010-04-09 18:48:30 +03:00
Henri Sivonen 7f24fefdb8 Test adjustment for bug 500631 - Update html5lib tree builder test data to reflect the new isindex prompt from the spec. r=bnewman. 2010-04-09 17:11:56 +03:00
Peter Van der Beken 87a59a8f66 Fix for bug 555496 ( XML invalid character error is reported on a completely unrelated location). r=bz.
--HG--
extra : rebase_source : 5db24ca46d2204efc961ab3b21c7a2ea48dc669c
2010-03-30 12:45:59 +02:00
Michael Wu 0bf408fe38 Bug 553121 - Use resource URIs instead of file URIs for DTDs, r+sr=jst 2010-04-02 11:32:38 -07:00
Henri Sivonen 227f308009 Test for bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. r=jmuizelaar.
--HG--
extra : rebase_source : afca17c363c02d8e8594ea0eee4d435fdd500732
2010-03-12 12:27:15 +02:00
Jonathan Griffin aeeeddb480 Bug 546635. Update html5 parser tests from html5lib sources. r=hsivonen
--HG--
extra : rebase_source : 9f59fb08aba7a3cf9cc1b5c3ba4a1ba5c357dd0a
2010-03-08 14:40:53 -08:00
Jonas Sicking 225616b6c1 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 ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking b2f8c249b3 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Zack Weinberg da29eb0489 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Justin Wood 76a49ba9cd Bug 546103, Remove remnant MOZ_PERF_METRICS from parser/, r=mrbkap 2010-03-01 23:38:21 -05:00
Henri Sivonen 3837a0d6a1 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
Frédéric Wang b2c04b2b0c Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang 0b7dbc207c 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
Geoff Lankow f7815561ca Bug 295506 - Variable tabulator width instead of fixed width of 4 spaces. r=mrbkap 2010-02-03 13:59:01 +01:00
Palo Misik 60650cb614 Bug 530505: Rev IID on parser interfaces for Gecko 1.9.3 r=mrbkap 2010-01-23 11:31:17 -05:00
Jae-Seong Lee-Russo 3118b47839 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 2513ec59bf Bug 467477 - View Source should linkify xlink:href. r=mrbkap 2009-12-12 14:37:22 +00:00
Henri Sivonen d27b5b5370 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 a8072cadb6 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
Jesse Ruderman a9520e1158 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman a1790abb65 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Henri Sivonen 22b726b794 Fix the bad orange fix in the previous push. 2009-11-19 17:24:20 +02:00
Henri Sivonen 7687284add 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 4be5b90306 Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap.
--HG--
extra : rebase_source : 95833f94665e2c9c64a34b7e1bd827ef85a074db
2009-10-21 15:00:29 +03:00
Henri Sivonen 5de0e85447 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 dc3deccfd7 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 2dfb194873 Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Blake Kaplan 45dd90d5d2 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 e42a844dc1 Add bug 515816's testcase as a crashtest 2009-10-17 19:35:08 -07:00
Taras Glek c3ba7e3dde Bug 522229 - XML Pretty-Print no longer colored r=bz
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Taras Glek a39d7b167b 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 223502e19f Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek 9ec79636b9 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Jonas Sicking d4e43d8000 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 52785de197 Bug 519337 - Don't read the sentinel value from a string. r=sicking 2009-09-30 15:15:51 -07:00
Henri Sivonen 1ef1cf99db 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 29a18e5ff3 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg 28fb767bd1 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 f3a868f55f 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
Dão Gottwald fbbad69d7d Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin 41af2e759c 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 791d7da8f7 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
Henri Sivonen 40f7e75207 Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen f1a8715a61 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 2884293699 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 06427bb90e Bug 497013 - Fix some re-entrancy bugs in the parser. r+sr=sicking 2009-08-04 14:32:46 -07:00
Jonathan Griffin 7c7c6355ba Add mochitest for bug 502091. 2009-08-05 10:32:20 -07:00
Robert O'Callahan 295f0a0785 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin a055cf97b3 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Henri Sivonen d99eaa3e57 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
bjarne@runitsoft.com c4597cd89c Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Henri Sivonen 0734590f00 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback a1ab92afdf Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen 323c609259 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Ben Newman b52f1a3db4 Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman 4b2bfda961 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 42756208c1 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 26258f7667 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 3295d504dd 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 a56545afcb Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen b463512709 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen 2f9b15be79 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Jonas Sicking 7bab1a2f04 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 05c306c800 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan e59ec69faf 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 38067fa903 Adjust nsParser to implement the HTML5 ParseFragment stub 2009-04-23 13:18:19 +03:00
Henri Sivonen d64ce31ef2 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 63e8fc9cee Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Blake Kaplan 5444674499 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 71620616d7 Bug 488730 - Count newlines correctly when skipping whitespace. r+sr=sicking 2009-06-01 20:44:37 -07:00
Jesse Ruderman 57691a473d Add crashtests 2009-05-26 11:53:12 -07:00
Henri Sivonen a57fa9cb98 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Arpad Borsos 1b3033b9f2 Bug 474369 - get rid of nsVoidArray, parser part; r+sr=mrbkap 2009-03-25 09:13:05 +01:00
Peter Van der Beken ed2e3f411e Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman e8e85d2d88 imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman e6c0a03afd imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Boris Zbarsky 93df337d3f Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com 6231feb4e9 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 a71256ca6d Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Boris Zbarsky c4e1b94fda Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron bd3965a189 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary c3b56484df bug 328751 - crash test by Tom Ferris. 2009-04-24 10:08:11 -07:00
Jonas Sicking 503055b176 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 98c5f67890 back out changes that weren't supposed to be checked in 2009-03-10 00:03:48 -07:00
Jonas Sicking 47266550e3 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 42e8a59d84 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Chris Pearce 34dc76f943 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 dd50a1a676 Backed out changeset fdbe218cdcc7 - Causing crashtest hangs on linux. Tracked by bug 479499. 2009-03-03 09:43:47 -05:00
Blake Kaplan 67953c594d Add a crashtest for bug 460706. 2009-02-26 17:01:10 -08:00
Blake Kaplan cf874a3f93 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 b0768c53c3 Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Doug Turner 40317376cc Bug 479480 - drop the XP_MAC specific MAX_REFLOW_DEPTH. r=josh, sr=dbaron 2009-02-20 13:28:15 -08:00
Blake Kaplan 4eb814724d 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 06b38294c1 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 81b4a03e38 Add crashtests 2009-02-13 14:54:17 -08:00
Henri Sivonen d7136633ab Restart HTML5 parser on meta charset; release stack and list memory in tree builder 2009-01-16 15:21:48 +02:00
Jesse Ruderman 387fe3db67 Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Jesse Ruderman e0ff240014 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Jesse Ruderman d10d1967a8 Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Blake Kaplan fbb947a384 Disable this test since it's randomly crashing on tinderbox. 2009-02-04 14:35:25 -08:00
Jonas Sicking 3288d78acd 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 ec4b13de4b Test for bug 364188 - param closes open div elements. r+sr=mrbkap 2009-04-11 10:56:13 +02:00
Boris Zbarsky c2aeda131e 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 6d10c04983 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 765216df58 [mq]: sinkstuff 2009-04-03 18:25:13 -07:00
Boris Zbarsky 35a3dc897f Bug 457810 - Speculatively load stylesheets from preloading. r=mrbkap, sr=bzbarsky 2009-04-03 10:15:56 -04:00
Boris Zbarsky 26aa2f646c Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com 66952db85d Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Boris Zbarsky 48bae52837 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 583047f2d3 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 b41b768d70 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan 043b8105e1 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 7eae188d33 Bug 475480 - Fix warnings created by the speculative parsing landing. r+sr=sicking 2009-01-27 15:30:31 -08:00
Jonas Sicking ff4ca98c26 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 17c6f6fbe1 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 63ff9c1ed0 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking 8eff5ccd59 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 0ce0a1edf8 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking 08bac1dd43 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 c755eee8e7 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 25620980f3 Bug 364188. <param> should not close open <div> elements. r+sr=mrbkap 2009-01-19 21:42:00 +13:00
Fred Jendrzejewski 9bd9de1b83 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Curtis Bartley 2eb2f2a2e4 Bug 473540 - Fix leak in nsViewSourceHTML.cpp, r+sr=mrbkap 2009-01-17 21:44:32 +01:00
Curtis Bartley 1b6de4370d Bug 464314 - view-source link-browsing doesn't decode entities. r+sr=mrbkap 2009-01-16 16:07:12 +01:00
Robert O'Callahan 730e65f154 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 6e7f270ba9 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 1c352210ae Bug 316582 - Clean up this function. r+sr=jst 2009-01-15 16:34:55 -08:00
Curtis Bartley fad6ff606e 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 aec1c7b615 Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking f0950b7ad7 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 bc4191356a Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Blake Kaplan 0772820a24 Bug 466765 - Don't start the speculative parser twice. r+sr=jst 2008-12-11 14:20:44 -08:00
Ben Turner 5f408697cb 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 bfab5cf2f0 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 31b72193f5 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 1992e6113a 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 07b1a07af9 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 0dc253dbe4 Backed out changeset e62d412d6251. The crashtest is randomly crashing. 2009-01-09 15:56:03 -08:00
Blake Kaplan e351ee17f6 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Jesse Ruderman 10c6ec54aa Add 19 crashtests 2009-01-01 14:18:58 -08:00
Ben Turner ef0674e4a6 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 c7f49ca472 Backed out changeset: 9990da98d7b7 2008-12-20 05:05:42 +01:00
Blake Kaplan 065c5d1780 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan 55de50f939 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 8a5c35a132 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 ef4a3dee2c 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 877281f873 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 304a909ea9 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 5ac69655c0 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 3c993bcc89 Backed out changeset 2c00478d356a (bug 458563) for orange 2008-11-01 18:16:40 -04:00
Mats Palmgren bf8c297a67 Add tag soup HTML parser tests to mochitest suite. b=458563 r+sr=mrbkap 2008-11-01 21:27:18 +01:00
Blake Kaplan 5ac270730d 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 e7bf6a78e3 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-14 09:55:57 -07:00
Ben Newman 986e6eec49 Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
Arpad Borsos 4460c617be 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 230de3c9c0 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-09 13:46:16 -07:00
Doug Turner 69aaa5d4ac Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Blake Kaplan e2950d097a Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan 6e81baaf53 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 d5306af8af 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 21177b761e 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 fe270762e4 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Matthew Gregan 130ef3bded 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 c882af5f38 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Dave Townsend 20f676faa3 Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan 9537f05c31 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 9ac9b99775 Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Olli Pettay 7dc48d7c5a 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 63d743a441 bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
Ted Mielczarek f4576958c6 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Benjamin Smedberg dd6e056c87 Bug 445570 - parser autostring allocated on the heap, r=mrbkap 2008-07-17 11:23:00 -04:00
Blake Kaplan 4558d5bd01 Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky 2008-07-15 11:35:07 +02:00
timeless 63f70dcea2 Protect the scanner from OOM when appending new data. bug 430574, r=mrbkap sr=jst 2008-07-14 15:05:15 +02:00
Blake Kaplan bdaf00bdc1 Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking 2008-07-14 15:00:43 +02:00
Chris Double cdd819182f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Robert O'Callahan b3925ae6b5 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
jruderman@hmc.edu 96343700a8 Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner 2008-04-10 21:38:25 -07:00
timeless@mozdev.org 7450957199 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org e2c269222e reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 5da68b2430 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
mrbkap@gmail.com b9d70a48f3 Ensure that CanPropagate and CreateContextStackFor are consistent. bug 423373, r+sr=sicking a=beltzner 2008-03-17 13:24:00 -07:00
timeless@mozdev.org fb403adbb5 Bug 3004 Remove debug robot from build removed robot from the build, this removes it from cvs NPOB toolkit changes r=luser, a=luser 2008-03-16 13:30:40 -07:00
reed@reedloden.com b4a8392719 Bug 311366 - "should make custom elements able to contain blocks (<section>)" [p=mrbkap@gmail.com (Blake Kaplan) r=sicking sr=jst a1.9=beltzner] 2008-03-14 08:15:29 -07:00
timeless@mozdev.org b418f8fdd6 Bug 3004 Remove debug robot from build r=mrbkap sr=jag a=dsicore So Long, and Thanks for All the Fish 2008-03-12 01:15:55 -07:00
reed@reedloden.com 2393c211f6 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
bent.mozilla@gmail.com 62a4b44fdb Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
bzbarsky@mit.edu ac133e4b7a Revert the change to RequiresBody. In particular, an <input type="Hidden"> needs to not require it, for now... Bug 418464, r+sr=mrbkap, a=jonas 2008-03-05 12:46:21 -08:00
reed@reedloden.com aa8206b53b Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+] 2008-03-05 02:29:32 -08:00
reed@reedloden.com 467c7ae9fb Bug 418119 - "nsIContentPolicy not called for external DTDs of XML documents" [p=trev.moz@adblockplus.org (Wladimir Palant) r=sicking sr=peterv a1.9=beltzner a=blocking1.9+] 2008-02-22 03:32:24 -08:00
bzbarsky@mit.edu 4118c1820e Adding test 2008-02-18 23:52:14 -08:00
jwalden@mit.edu c8d980c83c Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jst@mozilla.org 5a4d5f2857 Landing fix for bug 414764. Fixing problem with tokens being freed too many times. Patch by mrbkap@gmail.com, sr=jst@mozilla.org 2008-02-11 17:45:03 -08:00
bent.mozilla@gmail.com 2fe7c744c4 Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
Olli.Pettay@helsinki.fi 6b6fca7591 Bug 414637, createContextualFragment() throws NS_ERROR_NOT_AVAILABLE (allow contextfragments when container is document) r+sr=sicking a=blocking1.9+ 2008-02-07 07:11:29 -08:00
bent.mozilla@gmail.com bf15550415 Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9. 2008-01-29 14:12:22 -08:00
mats.palmgren@bredband.net f4e7dcb088 <!DOCTYPE> parsing tests. b=363883 2008-01-16 04:44:03 -08:00
dwitte@stanford.edu 0e22a5e08e update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
mrbkap@gmail.com ceb847c60b Always free the curren token at the end of HandleToken. bug 408939, r=bzbarsky sr=jst 2007-12-24 11:30:36 -08:00
mrbkap@gmail.com 9375a18476 Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst 2007-12-21 10:57:16 -08:00
bzbarsky@mit.edu bcaf4e9514 Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore 2007-12-04 21:02:28 -08:00
bzbarsky@mit.edu 54c21bf764 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
mrbkap@gmail.com a49d04f0f7 Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep 2007-11-27 17:06:34 -08:00
mrbkap@gmail.com 8ef298c17c Don't deal with misplaced content when we're in the head. bug 401169, r=sicking sr=jst a=blocking-1.9 2007-11-27 16:59:27 -08:00
peterv@propagandism.org 18d54c1d66 Fix for bug 401613 (Intermittent XML parsing errors with this valid SVG file). r/sr=bz. 2007-11-19 02:57:29 -08:00
mats.palmgren@bredband.net 27128a8e93 Don't crash when ParseFragment() is called with an empty |aTagStack|. b=403877 r+sr=mrbkap a=jonas 2007-11-16 15:56:51 -08:00
jonas@sicking.cc bbc05b782c Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart 2007-11-12 17:41:40 -08:00