Commit Graph

492 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
90307f56e2 Test for bug 620664 - Add tests for HTML5 void elements. r=jgriffin, a=test-only. 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
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
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
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
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
Ms2ger
f4cdfb893f Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg 2010-11-05 11:57:10 +01: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
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
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
Ehsan Akhgari
4c6c291f65 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
f60fcd6d07 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
Henri Sivonen
00430f301c 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
1a92abc4f1 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
8bc14b6092 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
d85fd1a0c3 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
Jonas Sicking
dcce0d0b40 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
c7cc215395 Remove outdated <button> tests. Correct tests are bug 559023. r&a=orange. 2010-09-20 15:52:33 +03:00
Henri Sivonen
68c2f9968e 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
6409d09046 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
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Ms2ger
a2c049c1fc 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
afdf1551f1 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
Phil Ringnalda
a40d14797f Bug 579867 followup, remove stray file 2010-08-08 11:26:39 -07:00
Henri Sivonen
7ac580bedd 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
39b513d6f4 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
6c54a1e646 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
bc763f9bb1 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
8d289f0549 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
5bf17b6fc0 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
0b55de891c Bug 574078 - nsHTMLTagList.h calls macros with empty arguments. r=sicking 2010-07-06 06:24:35 +02:00
Ehren Metcalfe
40edafab25 Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 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
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ehsan Akhgari
eda5dc1515 Bug 572642 - correct the component ID
--HG--
extra : rebase_source : 0cbe63fb07d3eea6db003aa295b4abed19602025
2010-06-23 15:52:01 -04:00
Ehsan Akhgari
fafab966e3 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
27a3b29543 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)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg
45af085fff 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
8ec44938fc 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
f13550a209 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
66c9c312ce Disable test for bug 568470 due to consistent orange on Linux. (orange fix) 2010-06-29 12:41:37 +03:00
Henri Sivonen
76669c69fe Tweak times on the test for bug 568470. (orange fix) 2010-06-29 12:01:43 +03:00
Henri Sivonen
0ad277522e Fix reftest fallout from bug 563526. (orange fix) 2010-06-29 11:08:08 +03:00
Henri Sivonen
f6c27604a6 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
efa1edce8f Bug 573357 - Use the HTMLElement interface for more elements. r=jonas 2010-06-30 23:11:45 +02:00
Mounir Lamouri
21c25202c6 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
1a4896bded 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
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de 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
1d27c39d4a 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
00d625e66a merge 2010-06-09 17:17:19 -07:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
7fa5b05a40 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
977ed6243c 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
8a99f75610 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
6ad77bd6db 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
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken
abd7f913e0 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
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Jonas Sicking
1a83956b1c 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
8bfa38a78e Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman. 2010-04-16 13:52:06 +03:00
Henri Sivonen
1601c4c313 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
28a25f85ce 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
5ee0f2a342 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
c7af30faed Bug 553121 - Use resource URIs instead of file URIs for DTDs, r+sr=jst 2010-04-02 11:32:38 -07:00
Henri Sivonen
c325b81e27 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
ed46314fb5 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
3175f89133 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
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf 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
1e69ee7cc3 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
02a4e81b4f Bug 546103, Remove remnant MOZ_PERF_METRICS from parser/, r=mrbkap 2010-03-01 23:38:21 -05:00
Henri Sivonen
4ed8dd0ba9 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
e55eb6a822 Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang
8b46e8bd69 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
480c28af9d Bug 295506 - Variable tabulator width instead of fixed width of 4 spaces. r=mrbkap 2010-02-03 13:59:01 +01:00
Palo Misik
1cab8b3389 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
f7d2537752 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
ecadcf59af Bug 467477 - View Source should linkify xlink:href. r=mrbkap 2009-12-12 14:37:22 +00:00
Henri Sivonen
8e383819dc 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
9c5afe21fa 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
b4b916d596 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Henri Sivonen
374fb3dd3e Fix the bad orange fix in the previous push. 2009-11-19 17:24:20 +02:00
Henri Sivonen
4c86f702bb 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
6159e111f3 Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap.
--HG--
extra : rebase_source : 95833f94665e2c9c64a34b7e1bd827ef85a074db
2009-10-21 15:00:29 +03:00
Henri Sivonen
62853870ee 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
07bfcef872 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
4ee2e4bdb1 Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Blake Kaplan
bc48a0588d 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
25cd932599 Add bug 515816's testcase as a crashtest 2009-10-17 19:35:08 -07:00
Taras Glek
b0e277f707 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
45c73c60d8 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
c7f069ab70 Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Jonas Sicking
0d2f92b52e 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
04aac79f62 Bug 519337 - Don't read the sentinel value from a string. r=sicking 2009-09-30 15:15:51 -07:00
Henri Sivonen
adce3cb5c8 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
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg
2e9438fd2f 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
24d627f9cf 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
0b99c9dd72 Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin
c38d2d7030 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
de9537d4f0 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
9fd5b6b79a Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen
2b3ede7ed7 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
db59ca0328 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
95fa693563 Bug 497013 - Fix some re-entrancy bugs in the parser. r+sr=sicking 2009-08-04 14:32:46 -07:00
Jonathan Griffin
e83c1d8b93 Add mochitest for bug 502091. 2009-08-05 10:32:20 -07:00
Robert O'Callahan
a3ed732448 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin
ab00cb4b56 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
bjarne@runitsoft.com
6687250282 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Ben Newman
2baeab87c0 Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman
15437233b4 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
d0673daedb 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
b009474f4b 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
94f19e102d 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
38ce0e67f1 Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Jonas Sicking
d378472c28 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
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan
ae947363e1 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
7daea6f8df Adjust nsParser to implement the HTML5 ParseFragment stub 2009-04-23 13:18:19 +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
e096617179 Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Blake Kaplan
c1dd12b814 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
ed18be0cf5 Bug 488730 - Count newlines correctly when skipping whitespace. r+sr=sicking 2009-06-01 20:44:37 -07:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Arpad Borsos
46a23fbb59 Bug 474369 - get rid of nsVoidArray, parser part; r+sr=mrbkap 2009-03-25 09:13:05 +01:00
Peter Van der Beken
7ffc24f45e Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman
5f8644e892 imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman
3f5a61bc5e imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Boris Zbarsky
1c1a3affbf Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3 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
d4a2fbc016 Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary
5ceb37fc14 bug 328751 - crash test by Tom Ferris. 2009-04-24 10:08:11 -07:00
Jonas Sicking
53e008e58c 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
c9c9ae21d9 back out changes that weren't supposed to be checked in 2009-03-10 00:03:48 -07:00
Jonas Sicking
e59a5b673b 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
a895ed96a7 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Chris Pearce
ce9746ec0f 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
bb9eab1dc1 Backed out changeset fdbe218cdcc7 - Causing crashtest hangs on linux. Tracked by bug 479499. 2009-03-03 09:43:47 -05:00
Blake Kaplan
5db7a023ea Add a crashtest for bug 460706. 2009-02-26 17:01:10 -08:00
Blake Kaplan
d74a4498d3 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
9dd56634ea Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Doug Turner
32ff514c95 Bug 479480 - drop the XP_MAC specific MAX_REFLOW_DEPTH. r=josh, sr=dbaron 2009-02-20 13:28:15 -08:00
Blake Kaplan
979e570cb8 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
545bdd7ff2 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
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00