Frédéric Wang
35f627c67b
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
edb717e99d
Update XML Entity Definitions for Characters (bug 603716); r=hsivonen,karlt
2011-04-08 11:56:04 -07:00
Henri Sivonen
e9f116d66d
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
5d947243ad
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
2b19692c02
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
9763f77723
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
06b1dd71c8
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
cccdef8b2f
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
4342d9e7e4
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
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
912845af59
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
699024f868
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)
0ce53bb598
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
97a32d31de
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
4587536cef
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
Josh Matthews
7b809e5997
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
c634f43209
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
timeless@mozdev.org
cca91f9f94
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
85a4d789c4
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
8b2b2d95a7
Merge m-c to bs.
2011-03-04 23:54:03 -05:00
Henri Sivonen
57830d19b6
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
67cd6457cb
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
4734b8d364
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
0f9a6ac204
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
af2e0016e4
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
d18d8f587b
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
46bbea1ce1
Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner.
2011-02-18 13:54:23 +02:00
timeless@mozdev.org
f94aa928dd
Bug 619045 - crash [@ nsHtml5TreeOpExecutor::RunScript(nsIContent*)]
...
r=hsivonen a=jst
2011-02-16 14:14:11 +01:00
Henri Sivonen
f68ddc8cba
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
bbffca4d43
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
68ff640a9e
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
af6b524d43
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
23fdf3025d
Backout of changeset 9acd51502a65 from bug 579846. a=bustage
2011-01-24 14:59:51 -08:00
Honza Bambas
46257e93e3
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
f1f180c5b0
Bug 621260 - Remove ancient and frightening htmlgen, r=hsivonen, a=NPOTB
2010-12-24 15:02:55 -08:00
Robert O'Callahan
e572f26d47
backing out 2d7561bc0cb0
2011-01-17 09:37:09 +13:00
Honza Bambas
9ea9773c0f
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
924854ae00
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
e3fc1672bb
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
d73d2ea19d
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
ae4be142ed
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
993e5f2c47
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
b22f4f1a18
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
137495a7a9
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
3a28b96109
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
116aa5fbdc
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
2478390f1c
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
1f4380b26a
Bug 445171 - add crashtest
2010-12-12 12:54:25 -08:00
Henri Sivonen
85589a6dab
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
69594f3f8f
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
854b09ec25
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
4fb9916a52
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
e6fbe390cb
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
84881910ae
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
3183b3a320
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
f192a73235
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
f6fa927986
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
be4cdc6c1a
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
d2f648de22
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
42f7028cc7
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
4531f71b9a
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
b9038674c6
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
0f8fe8c54a
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
6b69faed33
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
e3bb6ebd56
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
d9402c590c
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
76999c3787
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
e00c8d1067
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
01fa16e8c5
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
e801a7e1ba
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
ad46c1b368
Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.
2010-11-10 12:03:48 +02:00
Henri Sivonen
85432fd75b
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
8648330452
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
68fe250adb
Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg
2010-11-05 11:57:10 +01:00
Ms2ger
a495819ba2
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
05b0e57696
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)
a6e293112f
Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
...
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Mounir Lamouri
06426cc202
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Henri Sivonen
e1e188c334
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
ec0c87ef77
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
541bd617e0
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
d9758ac3ac
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
Ehsan Akhgari
aeb5412ed5
Bug 593758 - Part 2: unit tests for the plaintext serializer; r=bzbarsky a=blocking-betaN+
...
--HG--
rename : parser/htmlparser/tests/outsinks/simplecopy.out => parser/htmlparser/tests/outsinks/simplecopy-formatted.out
2010-10-13 01:34:20 -04:00
Henri Sivonen
90fc2f0f24
Bug 598886 - Relicense HTML5 parser C++ files that are not Gecko-specific. r=gerv, a=NPOTB.
...
--HG--
extra : rebase_source : bc892ef86657a39aac22e3bfc0441586a1b7c254
2010-09-28 10:32:31 +03:00
Henri Sivonen
f8f7ce8b0d
Bug 596180 - Limit the number of iterations in the adoption agency algorithm. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 3fd176ad6b1bddee3c11b9f9002e21c64a5c1927
2010-09-15 11:37:55 +03:00
Henri Sivonen
d714dce68b
Bug 599584 - Do not let nsContentSink process <meta> tags when parsing an HTML fragment. r=bzbarsky, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : f4c169a88f0f61c50a4473c9dab5e9e0257125c2
2010-10-13 10:12:55 +03:00
Dan Witte
bc7e0c6291
Bug 577952 - Deep recursion in Release crashes on double-free in [@ nsHtml5UTF16Buffer::~nsHtml5UTF16Buffer()]. r=hsivonen, a=betaN+
2010-10-07 14:00:17 -07:00
Henri Sivonen
799205353c
Bug 559023 part 3 - Refresh the html5lib test data to include recent WebKit contributions. r=jgriffin, a=test-only.
2010-10-07 10:03:48 +03:00
Henri Sivonen
de036ccfe3
Bug 559023 part 2 - Import all the current tree builder tests from html5lib and adjust the test harness to support the new test features. r=jgriffin, a=test-only.
2010-09-08 11:36:01 +03:00
Henri Sivonen
97a0b2593f
Bug 559023 part 1 - Move html5lib tree builder tests to a directory of their own. r=jgriffin, a=test-only.
...
--HG--
rename : parser/htmlparser/tests/mochitest/html5lib_license.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/html5lib_license.txt
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat1.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests1.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat2.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests2.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat3.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests3.dat
2010-09-01 14:41:12 +03:00
Henri Sivonen
bd2e412583
Bug 559023 part 0 - Revert firefight changeset b439e73f33b7 to make parts 1 and 2 apply. r=jgriffin, a=test-only.
2010-09-21 17:13:44 +03:00
Henri Sivonen
86e071c125
Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
571c7e6f20
Bug 595797 - Add the attributes of an <html> start tag to the root element if the <html> tag is seen after a frameset. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
532db120d1
Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
212a2f8dfc
Bug 580091 - Make the HTML5 parser reconstruct formatting elements properly when text inside table gets foster-parented. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Jonas Sicking
fbc42d690c
Bug 592829: Make parsing code able to deal with element creation failing. r=jst/peterv a=blocker
2010-10-04 18:25:44 -07:00
Henri Sivonen
91f00bd7a1
Remove outdated <button> tests. Correct tests are bug 559023. r&a=orange.
2010-09-20 15:52:33 +03:00
Henri Sivonen
f85eba095c
Bug 590498 - Change popping condition when forcibly breaking out of foreign content in HTML5 parser. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 4b673ba39fd24d120347b9752ba04a4904f764cd
2010-09-15 11:37:55 +03:00
Henri Sivonen
d287487de3
Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
2010-09-09 10:30:07 +03:00
Henri Sivonen
a5d88062d8
Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
...
--HG--
extra : rebase_source : cb0b77f12787278883c3c1ef8d3d0906c86a327a
2010-09-08 19:31:22 +03:00
Henri Sivonen
88a9ce7929
Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
...
--HG--
extra : rebase_source : 97ef3b60edcd87e3a8ebe4fbb0ee9de75d7ab5c9
2010-09-15 11:37:55 +03:00
Henri Sivonen
05a6d294d6
Bug 590874 - Disable test_bug534293.html due to frequent orange until bug 590713 is fixed. r=bzbarsky, a=test-only.
2010-09-15 11:37:55 +03:00
Henri Sivonen
f7dfbc2e7b
Bug 591330 - Make deep nesting prevention code in the HTML5 parser not crash when there are speculations involved. r=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 58f604deb70298bcf6103f7857889990d8d9708d
2010-09-06 10:41:26 +03:00
Mounir Lamouri
06546aad23
Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc
2010-09-10 07:16:56 +02:00
Henri Sivonen
d77d338142
Bug 577508 - Make the HTML5 parser hide the old page from view when the page being loaded shows a dialog. r=bzbarsky, a=blocking2.0-final.
2010-07-21 12:49:36 +03:00
Chris Pearce
3313bd2660
Bug 485288 - Update media load algorithm. r=roc a=blocking2.0
2010-09-03 12:03:03 +12:00
Jonas Sicking
89a993feb6
Bug 579764: Send out notification when the document-element for a document has been created and inserted into the DOM. r=jst a=blocker
2010-08-27 22:54:57 -07:00
Joel Maher
adaba45072
Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB
2010-08-26 14:47:28 -07:00
Clint Talbert
4fa6358e1b
Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
...
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6
Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field
2010-08-25 11:47:39 -07:00
Ms2ger
007a644125
Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-24 09:06:07 +02:00
Mounir Lamouri
1031deaded
Bug 588683 - Implement the form attribute. r=sicking sr=jst a2.0=blocking
2010-08-24 03:11:04 +02:00
Jonas Sicking
32a03526e0
Backout bugs 586754, 574189, 584611 due to orange. a=backout
2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b
Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB
2010-08-20 09:32:58 -07:00
Ms2ger
b00453d727
Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN
2010-08-20 08:05:05 +02:00
Peter Van der Beken
75ba54d84d
Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent.
2011-03-06 12:11:31 +01:00
Henri Sivonen
f4927c17c9
Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking.
2010-07-26 16:13:51 +03:00
Dão Gottwald
bb067882b4
Backed out changeset 783151ff2018
2010-08-10 15:09:01 +02:00
Ms2ger
044234b044
Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-10 14:25:36 +02:00
Phil Ringnalda
c411037f43
Bug 579867 followup, remove stray file
2010-08-08 11:26:39 -07:00
Henri Sivonen
b27e3148a5
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
...
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
2010-07-21 16:10:58 +03:00
Henri Sivonen
e21d71c019
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
ac49929194
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
15b293df08
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
Henri Sivonen
e19b8f27e1
Bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 71cd318e90c56cf8f718fb4a4572d17f3ba1a9f3
2010-07-26 14:18:43 +03:00
Henri Sivonen
79f1ec0ad2
Bug 570309 - Experimentally make -- > not terminate a comment in HTML. r=jonas.
2010-06-19 09:38:41 +03:00
Henri Sivonen
f2738cb6f4
Bug 575175: Make the HTML5 parser deal with Unicode decoder signaling -1 consumed bytes. r=smontagu a=blocking
2010-07-26 12:11:09 -07:00
Olli Pettay
6059821942
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Henri Sivonen
3abf2243f2
Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin.
...
--HG--
extra : rebase_source : 40c885f07cf1f89f5503e0a25b369e5fdb63f719
2010-06-24 11:54:33 +03:00
Olli Pettay
5c45e2d828
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
c21cd9cad1
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
052288b9fa
Bug 574078 - nsHTMLTagList.h calls macros with empty arguments. r=sicking
2010-07-06 06:24:35 +02:00
Ehren Metcalfe
ab19d256ae
Remove dead code in intl. Bug 559489, r=smontagu
2010-07-04 15:42:04 +03:00
Mitchell Field
d0f35f6883
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
a677e5bf91
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
e17740e1ab
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
29e089defb
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
822ccb0789
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Ehsan Akhgari
c36bd4f60a
Bug 572642 - correct the component ID
...
--HG--
extra : rebase_source : 0cbe63fb07d3eea6db003aa295b4abed19602025
2010-06-23 15:52:01 -04:00
Ehsan Akhgari
41f7cf6284
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
96299b3d2f
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)
11aa72f2d4
Implement the mark element. r=jonas+timeless (Bug 485377)
2010-06-23 10:08:56 -07:00
Benjamin Smedberg
0df0345c66
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
Henri Sivonen
6af0b03ee6
Bug 570898 - Defer isindex prompt reading until after startup. r=jonas.
2010-06-11 18:08:13 +03:00
Mounir Lamouri
b19d8dfb73
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
a7e67d32ad
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
d12097cbc9
Disable test for bug 568470 due to consistent orange on Linux. (orange fix)
2010-06-29 12:41:37 +03:00
Henri Sivonen
7451c764a9
Tweak times on the test for bug 568470. (orange fix)
2010-06-29 12:01:43 +03:00
Henri Sivonen
4a041d38ba
Fix reftest fallout from bug 563526. (orange fix)
2010-06-29 11:08:08 +03:00
Henri Sivonen
21a44e6801
Bug 521764 - Warn to console when speculation fails. r=jonas.
...
--HG--
extra : rebase_source : 98c71986f573c0f16cb21ede90eafa31befbfdc5
2010-06-23 11:33:43 +03:00
Henri Sivonen
2dcb455ba6
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
Henri Sivonen
788d95420b
Bug 563526 - Ignore U+0000 in element content when the tree builder is not in the "text" mode or the "in foreign" mode. r=jonas.
...
--HG--
extra : rebase_source : 97a67dc820c9b8ae1265b0c2c7e39c69f1733cee
2010-06-09 09:45:32 +03:00
Henri Sivonen
00f26a48f7
Bug 571389 - Make <basefont> and <bgsound> parse like <link>. r=jonas.
...
--HG--
extra : rebase_source : 3b43f8786744e4164adbc2658f8c30f76a8a9f80
2010-06-11 18:08:13 +03:00
Ms2ger
932f266c80
Bug 573357 - Use the HTMLElement interface for more elements. r=jonas
2010-06-30 23:11:45 +02:00
Mounir Lamouri
cb6351e8e1
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
46234f14c4
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
bb1dfe2f3e
Backed out changeset 2dcce82f9d66 because of mochitest failures
2010-06-16 22:14:11 -04:00
Mounir Lamouri
3765af9b82
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
d35623d3e5
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
8c6be1cd28
merge
2010-06-09 17:17:19 -07:00
Daniel Holbert
b7556c1f5b
Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange.
2010-06-09 17:16:25 -07:00
Henri Sivonen
99037edab1
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
f0a647d566
Bug 568800 - Make &foo= not expand in an attribute value. r=sicking.
...
--HG--
extra : rebase_source : ae54f51fba1896ac1545b003edf379c21e609d47
2010-06-02 14:01:57 +03:00
Henri Sivonen
7c5611b8ca
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
a34b2ccbd0
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
Henri Sivonen
d938851670
Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
...
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Vladimir Vukicevic
1a6ff5fbd5
b=565186; remove NS_ENSURE_TRUE in nsHtml5TreeOpExecutor; r=hsivonen
2010-06-04 12:03:24 -07:00
Henri Sivonen
4f4d4564b1
Bug 561874 - Make the HTML5 parser clip deep trees (similar to the old HTML parser) to avoid crashes in recursive code elsewhere. r=bzbarsky
2010-05-20 12:03:11 +03:00
Ms2ger@gmail.com
91560b026e
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Henri Sivonen
b2ef994efd
Bug 568611 - Remove an unused variable from nsHtml5TreeBuilder. r=dholbert.
2010-05-31 14:46:46 +03:00
Henri Sivonen
e99835531d
Bug 552908 - Implement spec changes to SVG </a> and </font> handling in text/html. rs=sicking.
...
--HG--
extra : rebase_source : fff4bffd4abb06c3ecd93c3bae126ac96aad71f2
2010-05-27 09:27:27 +03:00
Mitchell Field
0fd15d94da
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
9d899e6494
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:51 +02:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper
b08d6c5ef5
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Boris Zbarsky
8ccd3c1fea
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
Mike Hommey
4129f47992
Bug 542460 - Remove executable permission on source files [r=ted.mielczarek]
2010-05-06 09:32:50 +02:00
Peter Van der Beken
ac35089169
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
Olli Pettay
4176cb686d
Bug 562013 - parse innerHTML directly to the destination node, p=smaug+hsivonen, r=sicking
2010-05-04 11:36:42 +03:00
Henri Sivonen
71ad2c794f
Bug 562635 - Set the initial flush timer delay to equal the subsequent delay. r=jonas.
2010-04-29 14:22:27 +03:00
Boris Zbarsky
0ff844ef61
Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst
2010-04-30 09:12:06 -04:00
Mitchell Field
f544d71a9d
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Henri Sivonen
3f683051fc
Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas.
...
--HG--
extra : rebase_source : b89e63cce5869fc0518eacc1102f0d1b4b12d356
2010-04-19 16:25:13 +03:00
Henri Sivonen
79f934beea
Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
...
--HG--
extra : rebase_source : 3f001d62e55a4ecd02c4ab8d1f6997e1547aef4e
2010-04-16 13:52:06 +03:00
Mounir Lamouri
9961147316
Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst]
2010-04-26 03:42:00 -04:00
Henri Sivonen
03d25371b5
Bug 551344 part 4.5 - Drop flush timer safely when the cycle collector unlink nsHtml5Parser before nsHtml5StreamParser. r=jonas.
...
--HG--
extra : rebase_source : 1074aa1d53c749d2cb402abc5d084dfa969c352f
2010-04-27 10:33:06 +03:00
Henri Sivonen
256e7d25ff
Bug 551344 part 4 - Address more review comments from sicking in the C++ parts of the HTML5 parser. r=jonas.
...
--HG--
extra : rebase_source : b15efefa4ba578dead7645770f5ce3fa8becefda
2010-04-16 13:52:06 +03:00
Jonas Sicking
24b255ef47
Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert
2010-04-23 09:10:07 -07:00
Robert O'Callahan
4287f0adea
Backed out changeset 7432d20f5b86
2010-04-23 16:34:06 +12:00
Mounir Lamouri
16217259c1
Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst
2010-04-23 14:43:23 +12:00
Henri Sivonen
e4ead46813
Bug 539210 - Revise the README of the HTML5 parser Java to C++ translator to cover all makefile functionality. r=bnewman. NPOTB.
2010-04-22 11:24:54 +03:00
Olli Pettay
2bd8f8211d
Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=smaug
2010-04-21 14:54:40 +03:00
Henri Sivonen
6f32ee7603
Bug 559819 - Change the string id for the isindex prompt. r=l10n.
...
--HG--
extra : rebase_source : 34212e52674deb7e3c20ef3dab91785d3f70bdf4
2010-04-20 17:19:30 +03:00
Jonas Sicking
45559fc2d9
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
5f8c48051f
Bug 551344 part 5 - Address more sicking's review comments in the Java parts of the HTML5 parser. r=jonas.
2010-04-16 13:52:06 +03:00
Henri Sivonen
b35a238d49
Bug 551344 part 3 supplement - Rename the getter for the length of list of active formatting elements in the HTML5 parser. r=jonas.
2010-04-16 13:52:06 +03:00
Henri Sivonen
9986f24b36
Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas.
2010-03-15 14:04:41 +02:00
Henri Sivonen
c4e48768e8
Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman.
2010-04-16 13:52:06 +03:00
Henri Sivonen
13abe101ac
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
cee4fa1bec
Sync the Java sources of the HTML5 parser with the parser repo. rs=sicking. NPOTB.
2010-04-09 18:48:29 +03:00
Henri Sivonen
76bebeef5d
Bug 500631 part 1 - Make the default isindex prompt use a localized string in the HTML5 parser. r=bnewman.
2010-03-17 10:26:17 +02:00
Henri Sivonen
85b2495de1
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
Henri Sivonen
2c9733fb25
Bug 551344 part 3 - Address sicking's review comments in nsHtml5StreamParser.cpp. r=jonas.
2010-04-09 17:11:56 +03:00
Henri Sivonen
b1b0c735df
Bug 551344 part 2 - Address sicking's review comments in nsHtml5TreeOpExecutor.cpp. r=jonas.
2010-03-15 14:04:42 +02:00
Craig Topper
8b8747d605
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Peter Van der Beken
16c961a14d
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
dc57b86c73
Bug 553121 - Use resource URIs instead of file URIs for DTDs, r+sr=jst
2010-04-02 11:32:38 -07:00
Henri Sivonen
33785c5d2e
Bug 501082 - Use a more efficient data layout for the named character tables in the HTML5 parser. Based on patch by dbaron. r=bnewman.
...
--HG--
extra : rebase_source : abe4519a3eeacdc2f89343b26c7b961f62dfb435
2010-03-29 14:01:18 +03:00
Henri Sivonen
63a2095f47
Bug 555899 - Make the HTML5 parser have a limit of 200 on the stack depth like the old parser. rs=sicking.
2010-03-30 11:21:36 +03:00
Henri Sivonen
282e0eeb8c
Bug 555462 follow-up - Sync HTML5 parser Java sources with the backout. rs=sicking. NPOTB.
2010-03-30 11:21:36 +03:00
Henri Sivonen
470af75f5f
Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun.
2010-03-30 11:21:36 +03:00
Henri Sivonen
d55831dadd
Bug 554513 - Remove buffer growth limits from the HTML5 parser where the old parser did not have the exact corresponding limits. rs=sicking.
...
--HG--
extra : rebase_source : d9de246b1e950dc314a9680a0043b29d576e291e
2010-03-26 09:50:21 +02:00
Henri Sivonen
f39ab57565
Bug 539434 follow-up - Sync the Java sources of the HTML5 parser with the htmlparser repository. rs=sicking. NPOTB.
...
--HG--
extra : rebase_source : 6ff1b377ab4663bc7a34c805da92a5d8e3adaed1
2010-03-26 09:50:20 +02:00
Henri Sivonen
ced01aa917
Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
...
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Ben Newman
c0cfe8183a
Bug 539434 - [HTML5] The translator isn't updating parser/html/javasrc/. r=hsivonen
...
--HG--
extra : rebase_source : c3f47999413d3382720b1ebb108327ea5d67066e
2010-03-22 10:30:07 -07:00
Henri Sivonen
96541f731b
Bug 546641 - Map to CR in the HTML5 parser. rs=sicking.
...
--HG--
extra : rebase_source : 0c021cc263ea7172b0f386be89a6e6d45fba23c0
2010-03-09 15:13:48 +02:00
Henri Sivonen
7b1c11d4a9
Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking.
...
--HG--
extra : rebase_source : 57088761bab23d50aab5bb6b2e5f22f50a48c2e8
2010-02-12 09:49:06 +02:00
Henri Sivonen
d6cc0edab3
Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman.
...
--HG--
extra : rebase_source : bee1464b806dd5b1ce85fe6257ffcad18de61825
2010-02-10 11:23:35 +02:00
Henri Sivonen
c5c79cad7e
Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
...
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Henri Sivonen
deaa1352fa
Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
...
--HG--
extra : rebase_source : 71434258f5a6f330e1e0583826fbb415fb110b0b
2010-03-09 14:39:32 +02:00
Henri Sivonen
84ebaa3d89
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
Henri Sivonen
0697d148a0
Bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. rs=sicking.
...
--HG--
extra : rebase_source : a7effe977998b9fe7dd32abed804a0e3a70df079
2010-03-12 12:27:15 +02:00
Henri Sivonen
381071a7d1
Bug 549591 - Atom staticness checks lack a negation in the HTML5 parser. r=jonas.
...
--HG--
extra : rebase_source : 37591aca16f6e95e1afede9c567232d1fa84e2da
2010-02-26 11:18:35 +02:00
Jonathan Griffin
82cc66d74a
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
34d55df15d
Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch.
2010-03-08 08:03:55 -08:00
Jonas Sicking
e1f58838d3
Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
0e6d5d8188
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
c7c7514f75
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
c24e5442a9
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
a5be3ffde2
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
82662954b8
Bug 546103, Remove remnant MOZ_PERF_METRICS from parser/, r=mrbkap
2010-03-01 23:38:21 -05:00
Henri Sivonen
1d0a08e5af
Bug 545658 - Change the sniffing limit of the HTML5 parser to 1K. r=jst.
2010-02-26 11:18:38 +02:00
Henri Sivonen
f0f3e5872b
Bug 516422 - Copy link prefetching from nsHTMLContentSink to the HTML5 parser. r=bnewman.
...
--HG--
extra : rebase_source : c0a5999b05919fa496ddcee94f7be74d004288f3
2010-02-25 13:37:35 +02:00
Henri Sivonen
8f0087320b
Bug 545402 - Make test_bug42976.html run from onload and make HTML5 createContextualFragment work on DOMs that do not have a docshell. r=Olli.Pettay.
...
--HG--
extra : rebase_source : 74002d7f9936045065406e412477df9b740ee766
2010-02-22 14:17:31 +02:00
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