Commit Graph
504 Commits
Author SHA1 Message Date
Henri Sivonen 8ee8640d4d Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen 153b928d57 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan 3693249036 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 9c086de40b Adjust nsParser to implement the HTML5 ParseFragment stub 2009-04-23 13:18:19 +03:00
Henri Sivonen cbd259b8d1 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Peter Van der Beken 4791b7137f Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman 2657237b2f imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman 270c5e690f imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Henri Sivonen 41dcc407ac Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Henri Sivonen 72f87ec010 Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Blake Kaplan 159b87a140 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
Blake Kaplan 79e8ee907a Bug 475480 - Fix warnings created by the speculative parsing landing. r+sr=sicking 2009-01-27 15:30:31 -08:00
Jonas Sicking 65d34bcc5b 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 0bb9188ef4 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 1b8e94ce23 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking 75ac3676a2 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 696d5a9092 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking b3eb7d9ace 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 e3e5cefa61 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
Boris Zbarsky a1899fd72e 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 fb536cd0ea Bug 457810 - Speculatively load stylesheets from preloading. r=mrbkap, sr=bzbarsky 2009-04-03 10:15:56 -04:00
Boris Zbarsky 7699834e99 Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
7c1295a02e Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Boris Zbarsky 051582ec86 Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression 2009-03-30 20:21:32 -04:00
e9842b4482 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky 2009-03-30 11:31:16 -04:00
Boris Zbarsky 725f665a23 Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
b553d2c052 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Blake Kaplan f01b4daf9c Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Blake Kaplan 001264bc32 Bug 466765 - Don't start the speculative parser twice. r+sr=jst 2008-12-11 14:20:44 -08:00
Ben Turner 14c18384db 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 cace253303 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 1272b64029 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 bcbf20570f 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
Robert Sayre bf2142c4cf Turn spec parsing back on. 2008-11-14 02:37:42 -05:00
Robert Sayre 3cbb13d470 Disable speculative parsing to check regression. bug 464495. 2008-11-12 14:58:31 -05:00
Blake Kaplan 8b7aa979a4 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
Ben Turner 580ab6308a 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
Blake Kaplan c3ca1673a2 Bug 460706 - Handle misplaced ContinueInterruptedParsing calls during synchronous XMLHttpRequest. r+sr=sicking 2008-12-19 15:45:55 -08:00
Blake Kaplan 8545946bcf 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
Blake Kaplan d572d83117 Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan 3e396ee0a0 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 6676b2fdc4 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 c5086f2b41 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Dave Townsend 555f3803ea Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan a08a0df39d 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 05459fcc86 Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Blake Kaplan fe1d89789f Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky 2008-07-15 11:35:07 +02:00
5a3f9516a0 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
38898aaf1b Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
6e95d92d88 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