Henri Sivonen
7766a5c929
Bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting. r=bzbarsky.
2011-05-19 11:42:01 +03:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Henri Sivonen
60d7c6c445
Bug 656881 - Make timer in file_bug534293-slow.sjs not suspectible to early GC. r=jwalden.
2011-05-17 10:15:48 +03:00
Henri Sivonen
f5d2683307
Bug 651441 - Make sure the HTML5 application cache selection algorithm runs properly when there is no manifest attribute. r=honzab.moz.
2011-05-13 11:31:12 +03:00
Timothy Nikkel
8e6d2ba938
Backed out changeset ed867467d35b (bug 645075) because it doesn't build.
2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4
Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking
2011-05-12 10:36:21 -05:00
Henri Sivonen
4fe663e3bc
Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek.
2011-05-12 10:56:37 +03:00
Mounir Lamouri
7211c91c57
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132
Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE.
2011-05-09 19:38:05 -07:00
Mounir Lamouri
dd977ba6ef
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Zack Weinberg
66c29ada9f
Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen
2011-05-06 08:45:33 -07:00
Henri Sivonen
35f3c40695
Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky.
2011-05-04 09:35:14 +03:00
Niklas Bölter
5526d5c6ad
Bug 502644. Correctly append UTF8 data to an nsAString when linkifying things in view-source; don't use AppendWithConversion. r=mrbkap
2011-05-02 09:08:38 -04:00
Henri Sivonen
c8bde33d64
Test for bug 642908 - Make the <noscript> handling state in the speculative document.write tree builder match the state of the non-speculative document.write tree builder. r=bzbarsky.
2011-04-28 10:01:13 +03:00
Henri Sivonen
9fbed8e805
Bug 642908 - Make the <noscript> handling state in the speculative document.write tree builder match the state of the non-speculative document.write tree builder. r=bzbarsky.
2011-04-28 10:01:13 +03:00
Henri Sivonen
183870ea59
Bug 650501 - Avoid assuming that a parser object has a non-null content sink when an attempt to execute a script is made. r=Olli.Pettay.
2011-04-19 10:10:48 +03:00
Ms2ger
330bb49437
Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking
2011-04-14 14:04:21 +02:00
Ehsan Akhgari
a6cda7cb5c
Merge cedar into mozilla-central
2011-04-08 22:28:05 -07:00
Frédéric Wang
ded01a4e68
Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt
2011-04-08 11:56:43 -07:00
Frédéric Wang
0249fa2fca
Update XML Entity Definitions for Characters (bug 603716); r=hsivonen,karlt
2011-04-08 11:56:04 -07:00
Henri Sivonen
a55871f828
Bug 642145 - Avoid firing document-element-inserted for non-element insertions to the document node. r=jonas.
2011-04-08 09:07:28 +03:00
Henri Sivonen
2e75146b33
Bug 643410 - Reconstruct active formatting elements on text in an HTML integration point; handle U+0000 per spec in a MathML text integration point. r=jonas.
2011-04-08 09:07:28 +03:00
Henri Sivonen
e887966c40
Bug 643395 - Update the HTML parser Java code to the state in the htmlparser repo (NPOTB). rs=jonas.
2011-04-08 09:07:27 +03:00
Henri Sivonen
53260527a8
Bug 645115 - Flush tree ops in the fragment case when the tree builder yields due to a script. r=bzbarsky.
2011-04-06 08:42:09 +03:00
Josh Matthews
f2c97366a5
Bug 619026 - Scope timer variable so it is not at risk of being garbage collected. r=hsivonen
2010-12-14 13:24:49 -08:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Peter Van der Beken
b514d86770
Fix for bug 607721 (XML_Parse returns undefined value in test_bug592829.html). r=jst.
...
--HG--
extra : rebase_source : 5f538c119c5dfc5bd7fbe5070d5949561dae7a2e
2011-03-10 11:08:22 +01:00
Simon Montagu
be96a9dc94
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
Josh Matthews
596ea375ff
Bug 619026 - Scope timer variable so it is not at risk of being garbage collected. r=hsivonen
2010-12-14 13:24:49 -08:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
timeless@mozdev.org
32cd8e3562
Bug 618800 MOZ_XMLIsNCNameChar and MOZ_XMLIsLetter should have /* fall through */ comments for switches
...
r=sicking
2011-03-28 17:18:21 -04:00
timeless@mozdev.org
9cda45b61f
Bug 577130 xmlparser should tell channels that it expects the content to be xml
...
r=peterv
2010-07-07 10:38:56 +03:00
Kyle Huey
ee2b740dd2
Merge m-c to bs.
2011-03-04 23:54:03 -05:00
Henri Sivonen
4adfdb83a7
Bug 638318 - Require all zero bytes to be in either odd or even position when sniffing for UTF-16BE/LE-encoded Basic Latin. r=bz, a=beltzner
2011-03-03 08:52:47 +02:00
hsivonen@iki.fi
7bf44fded1
Remove the Hotmail-specific hack that forces the old parser for document.open() (bug 636692, r=bz, a=blocker).
2011-03-02 13:15:02 -08:00
Henri Sivonen
5bc865c4b0
Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst.
2011-02-25 18:23:02 +02:00
Henri Sivonen
25669709c5
Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final.
2011-02-26 10:57:00 +02:00
Mats Palmgren
9480a83bd3
Test for bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen, a=test-only.
2011-02-23 11:32:19 +02:00
Mats Palmgren
76ed992dba
Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver
2011-02-22 00:06:27 +01:00
Henri Sivonen
733f033f26
Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner.
2011-02-18 13:54:23 +02:00
timeless@mozdev.org
ce0354d032
Bug 619045 - crash [@ nsHtml5TreeOpExecutor::RunScript(nsIContent*)]
...
r=hsivonen a=jst
2011-02-16 14:14:11 +01:00
Henri Sivonen
9dadb8ba9d
Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky.
2011-02-16 08:40:35 +02:00
Henri Sivonen
c2e0c3291c
Bug 620106 - Allow chardet (if enabled) reload the page during load. r=sicking, a=blocking2.0-final.
2011-02-11 12:33:32 +02:00
Justin Wood
bd3654e3bd
Bug 589506 - Scrub the codebase of MOZ_VIEW_SOURCE and MOZ_JSLOADER. r+=ted
2010-08-24 23:27:34 -04:00
timeless@mozdev.org
56b3a85905
Bug 577918 - mark DEBUG only variables as ifdef DEBUG in parser r=mrbkap a=jst
2010-07-11 15:55:52 +03:00
Dave Townsend
e51597dabb
Backout of changeset 9acd51502a65 from bug 579846. a=bustage
2011-01-24 14:59:51 -08:00
Honza Bambas
63032f8fb3
Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+
2011-01-23 23:49:30 +01:00
Phil Ringnalda
5493e6b76d
Bug 621260 - Remove ancient and frightening htmlgen, r=hsivonen, a=NPOTB
2010-12-24 15:02:55 -08:00
Robert O'Callahan
fd366b0489
backing out 2d7561bc0cb0
2011-01-17 09:37:09 +13:00
Honza Bambas
4d98a79ca9
Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky, a=betaN+
2011-01-16 17:58:49 +01:00
Henri Sivonen
3a1b3ddb19
Bug 619220 addendum - Make speculative loads use the first <base> in the document instead of the first <base> in <head>. r=sicking, a=blocker.
2011-01-03 18:18:23 +02:00
Henri Sivonen
90307f56e2
Test for bug 620664 - Add tests for HTML5 void elements. r=jgriffin, a=test-only.
2011-01-12 10:05:09 +02:00
Michael(tm) Smith
35eaa66b2e
Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst.
2011-01-12 10:05:09 +02:00
Henri Sivonen
9619ed85e5
Bug 490916 - Trim space characters from encoding names in the HTML5 parser. r=jonas, a=jst.
2011-01-12 10:05:09 +02:00
Henri Sivonen
d379610255
Tests for bug 620267 - Test CRLF, CR and escaped LF immediately following <pre>. r=jgriffin, a=test-only.
2011-01-07 10:57:03 +02:00
Neil Rashbrook
76524634bb
Bug 620267 Certain LFs following a <pre> or <textarea> get erroneously stripped r=hsivonen a=bz
2011-01-05 23:49:55 +00:00
Henri Sivonen
f07c686762
Bug 619497 - Use the WHATWG license in the license header of files transformed from the WHATWG spec. r=lvilla, r=gerv, a=comment-only. DONTBUILD
2011-01-05 14:40:55 +02:00
Mounir Lamouri
f7a4ba5fa3
Bug 569399 - autofocus sometimes does not work because the element has no frame yet. r=hsivonen a=blocking-betaN
2011-01-03 13:57:45 +01:00
Mihai Sucan
176912a7c2
Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0
2010-12-20 12:21:58 -04:00
Mihai Sucan
b1290b879d
Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0
2010-12-20 12:21:58 -04:00
Jesse Ruderman
b971fb0b4f
Bug 445171 - add crashtest
2010-12-12 12:54:25 -08:00
Henri Sivonen
0df9c7d005
Bug 614241 - Make a late <body> start tag set frameset-ok to "not ok". rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
143c3bdadc
Bug 612528 - Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option". rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
60b0cda8cc
Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
b91c3491b4
Bug 606925 - Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
6402200a37
Bug 612529 part 3 - Make <annotation-xml> an HTML integration point depending on the encoding attribute. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
7cc7276fad
Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
9c3299bd5c
Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:57 +02:00
Henri Sivonen
088379e8dd
Bug 592366 - Do not execute scripts whose owner doc is not the doc of the inserter parser or not the owner doc at the time of starting the script load. r=jonas, a=blocking2.0-betaN.
2010-12-08 14:37:19 +02:00
Henri Sivonen
c7f50eb9e3
Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN.
2010-12-08 14:37:19 +02:00
Henri Sivonen
f2e3279690
Bug 610345 - Add MathML named characters that expand to two code points to the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-11-23 13:49:27 +02:00
Henri Sivonen
76af5ed80d
Bug 543062 - When document.write() blocks, pre-parse the tail of the buffer for speculative loads. r=jonas, a=blocking2.0-beta8.
2010-11-18 10:23:48 +02:00
Henri Sivonen
fa141d61fd
Bug 612568 - Drop nsIContent handles when finished parsing a fragment. r=Olli.Pettay, a=jst.
2010-11-18 10:19:59 +02:00
Henri Sivonen
4634c5a351
Bug 607573 - Make <input type=hidden> not set frameset-ok to "not ok". r=jonas, a=blocking2.0-betaN.
2010-11-18 10:19:59 +02:00
Henri Sivonen
1737e2cf10
Bug 612530 - Sync html5lib tree builder tests into m-c. r=jgriffin, a=test-only.
2010-11-17 11:06:12 +02:00
Henri Sivonen
61ad70a824
Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : c4f51cc0d40db3495ba6f56fc72f3afb2da70abd
2010-11-16 09:48:30 +02:00
Henri Sivonen
037d45c4a7
Bug 599588 addendum - Revert change to nsIParser and introduce a new abstract class instead to avoid changing the interface during an interface freeze. r=jonas, a=blocking2.0-final.
...
--HG--
extra : rebase_source : 3272dc97668c262945b91809a918ac5c013d8569
2010-11-16 09:47:10 +02:00
Simon Montagu
3f62db7a8e
Don't propagate error getting a Unicode decoder to caller. Bug 603423, r=hsivonen, a=bsmedberg
2010-11-14 06:40:14 -08:00
Mounir Lamouri
246e184d7a
Bug 611352 - Create a HTMLElement when createElement('isindex') is called and the html5 parser is enabled. r+a=sicking
2010-11-13 00:29:25 +01:00
Henri Sivonen
0e5c39fc7b
Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
...
--HG--
extra : rebase_source : cfe476ed6ac2b1ee4cc243034659290d1226bd42
2010-11-01 11:50:01 +01:00
Henri Sivonen
1fef2e7679
Bug 605466 - Implement new spec-based limits for formatting element proliferation in the HTML5 parsing algorithm. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : b8d9c7fb5c4ef094af89ed9c29d49bd38d8fcca1
2010-10-15 12:23:42 +03:00
Henri Sivonen
ea24105625
Bug 592656 part 1 - Use the current parser-inserted script as the insertion point key. r=jonas, a=blocking2.0-final.
...
--HG--
extra : rebase_source : 92320d48b27c984e25c72be6dafbaef9d6133038
2010-09-06 10:41:26 +03:00
Henri Sivonen
781be41918
Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN.
2010-10-07 10:27:16 +03:00
Henri Sivonen
31069d1370
Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.
2010-11-10 12:03:48 +02:00
Henri Sivonen
51828f4951
Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst.
...
--HG--
extra : rebase_source : d201cbad639f7ce87caa04f4260d1a9f3b3da867
2010-09-28 10:32:31 +03:00
Henri Sivonen
b846ef5736
Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
...
--HG--
extra : rebase_source : c9dbde959b76c019df87b83c551dd97e3ad7d311
2010-09-28 10:32:31 +03:00
Ms2ger
f4cdfb893f
Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg
2010-11-05 11:57:10 +01:00
Ms2ger
024d857be8
Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
...
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Henri Sivonen
4ae25f8cb9
Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 179fc95e1ed00bc85ea6245ece49ec3944507d62
2010-10-25 12:22:59 +03:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
8b20bfbcec
Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
...
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Mounir Lamouri
66067bcb7b
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Henri Sivonen
4818f161a8
Bug 602727 - Split HTML5 tree builder tests into two mochitests to avoid timeouts on slow computers. r=jgriffin, a=test-only.
...
--HG--
rename : parser/htmlparser/tests/mochitest/test_html5_tree_construction.html => parser/htmlparser/tests/mochitest/test_html5_tree_construction_part2.html
2010-10-15 12:23:42 +03:00
Henri Sivonen
ef1fbb192a
Bug 482921 part 0 - Make preparations for enabling transition reporting in the HTML5 tokenizer. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : 2e5ae5e2a6498d7b956d8e39d1ed3c6c09dce7fa
2010-09-28 10:32:31 +03:00
Henri Sivonen
6536590161
Bug 596168 - Make non-space characters in the "in foreign content" insertion mode set frameset-ok to not OK. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : e87024a6536be71b1670cb834e4d675523bb8c93
2010-09-15 11:37:55 +03:00
Henri Sivonen
69bbbc433f
Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : 8f83d4a619ff8893976db75f63b9ed81e4292e2f
2010-10-07 10:27:16 +03:00