Commit Graph

70 Commits

Author SHA1 Message Date
Henri Sivonen
9f40c21137 Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
c2f88d2327 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
5c2176286d Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Henri Sivonen
0730ae2a8f Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
34f853a2de Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
d1ad385038 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Henri Sivonen
b045a5d8bf Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
1313b37fa2 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Henri Sivonen
3aede6927e Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Henri Sivonen
044238db06 Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
8887124861 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
d839728b28 Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
f09b30c3b5 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
137e64c272 Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
94393e75e1 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
498d1488eb Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Henri Sivonen
802b683c22 Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
91398b9466 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
00e19536e2 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00
Henri Sivonen
bafd95b750 Bug 490271 - Make form state pick up input state in HTML5 parser 2009-04-30 14:45:05 -07:00
Henri Sivonen
fd39702cad Make the HTML5 parser deal with files under 512 bytes that do not have an encoding declaration 2009-04-23 15:19:10 +03:00
Henri Sivonen
5c1801d482 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
d8642cb637 Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
05cfc0ab33 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
797e7e764b Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written() 2009-04-17 15:54:59 +03:00
Henri Sivonen
eed73a0439 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
027ef67503 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
7c4afa67c2 Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
0eb04fe085 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
de40e2dc85 Add null check to removing elements from the list of active formatting elements in the HTML5 parser 2009-04-07 17:58:37 +03:00
Henri Sivonen
6542f8acb8 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
83996972d9 Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
eba1d8fecf Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
a602adb4a9 Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
5712cc9dc6 Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Henri Sivonen
07ebe81fb3 Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html 2009-03-26 13:50:24 +02:00
Henri Sivonen
f34870fa9e Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Henri Sivonen
a39509c245 Take mScriptsExecuting behavior from nsParser to nsHtml5Parser 2009-03-20 16:59:51 +02:00
Henri Sivonen
56e3cf051d Fix comment in nsHtml5Atoms.cpp not to talk about gklayout 2009-03-19 10:16:19 +02:00
Henri Sivonen
9936094021 Try to avoid crashing in a timer callback in the HTML5 tree builder 2009-03-17 11:38:08 +02:00
Henri Sivonen
564b78820e Eliminate table taint from the HTML5 tree builder 2009-03-16 18:16:26 +02:00
Henri Sivonen
53cb8896a8 Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie 2009-03-16 17:40:59 +02:00
Henri Sivonen
4a1c16d1a1 Avoid an accidental deletion of a static atom in the HTML5 tree builder 2009-03-16 17:12:21 +02:00
Henri Sivonen
b8ec0e3dcd Add a check to see that HTML5 modula has been initialized properly before use 2009-03-13 14:41:55 +02:00
Henri Sivonen
e15c8561f6 Make HTML5 parser not crash in AAA on cnn.com 2009-03-09 15:18:23 +02:00
Henri Sivonen
7f73feee28 Make the HTML5 parser manage formatting element list marker memory properly and not crash 2009-03-09 10:35:45 +02:00
Henri Sivonen
012bff4d07 Run less code when notifying appends in the HTML5 parser; make node removals notify layout 2009-03-06 11:56:23 +02:00
Henri Sivonen
383d2e57bc Make the HTML5 tree builder do its flushing often enough and when coming from event loop rather than when yielding to it 2009-03-05 17:32:32 +02:00