Граф коммитов

3083 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen bfd12e9877 Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug. 2011-11-30 15:11:37 +02:00
Henri Sivonen 9d7069b25e Bug 704667 - Take transitions from the comment start state to the data state into account when doing syntax highlighting. r=smaug. 2011-11-29 08:55:09 +02:00
Henri Sivonen d696e10314 Bug 704034 - Replace old pre-interned looping attributes with a single loop attribute in the HTML parser. rs=smaug. 2011-11-22 10:29:14 +02:00
Henri Sivonen cd526842be Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD 2011-11-21 16:12:15 +02:00
Henri Sivonen d0e7917901 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Andrew 7d5ceec903 Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Phil Ringnalda d5c846d024 Bug 696670, bug 696671, bug 696672, bug 696673, bug 696674, bug 703201 - annotate failing tests in Win7 reftest-no-accel 2011-11-17 20:24:25 -08:00
Matt Brubeck 7f057e55ca Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley eebf034614 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger 1b4576d111 Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger 7a2427565d Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger a4b3879d21 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Henri Sivonen ce7111c6b4 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen 7b0e2c38bf Bug 700260 - Honor the view_source.tab_size pref in a way that actually works. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen 842658b909 Bug 700042 - Support turning off View Source syntax highlighting. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen 992fa4f91a Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen 868ff5b7f8 Bug 699750 - Fix accidental use of int instead of PRInt32. r=smaug. 2011-11-07 11:29:17 +02:00
Ed Morley b4eeea3edf Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev a2113b4d42 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen 3b83c07a1c Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen 7e954ee940 Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen 34742f7833 Bug 699347 - Avoid crashing when viewing source of XML files that have an XML declaration without the encoding pseudo-attribute. r=smaug. 2011-11-03 16:31:27 +02:00
Henri Sivonen eb68be40fe Test for bug 659763 - Make document.open("text/plain") work with the new parser. r=bzbarsky. 2011-11-01 17:27:36 +02:00
Henri Sivonen 2fdb3c73eb Bug 659763 - Make document.open("text/plain") work with the new parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen 509e2178fb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen ff0a60c9f7 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen b72448c92e Bug 482921 part 12 - Reftests for View Source reimplementation. rs=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 28dee770d2 Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen f34be0dcd5 Bug 482921 part 10 - Support parametrized error messages in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen d82c23bb7c Bug 482921 part 8 - Start a new <pre> occasionally in View Source refixing bug 86355. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen bf66821602 Bug 482921 part 7 - Add an id for each line in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen f437a89795 Bug 482921 part 6 - Use the internal encoding declaration in the XML View Source case. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen e87115d31d Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen de986e2f1d Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 9ec08fd781 Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 8ff76c9b75 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen aa8cafb38c Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Henri Sivonen 3e5a97a7af Bug 482921 part 0.5 - Restore support for using tree op queue to set document charset. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen de7520799d Bug 696651 part 3 - Refine part 2. r=Olli.Pettay. 2011-10-31 16:28:23 +02:00
Henri Sivonen 74436aa9c9 Test for bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:32 +03:00
Henri Sivonen 6364621c41 Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen ff8306a9aa Back out changeset fc4ddddf142d and changeset d1766aec3d7e due to jsreftest orange. 2011-10-30 00:10:33 +03:00
Henri Sivonen 6e82d6285c Test for bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:32 +03:00
Henri Sivonen e8fb282c79 Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen 5ac86dd20d Test for bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen 807da802f5 Bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen 4cec9ffbcc Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay. 2011-10-29 13:51:52 +03:00
Olli Pettay d30d7c0831 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay c3c86f516c Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari 1deb9f1504 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden 1bb2d1626a Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Henri Sivonen 7fc0a72b61 Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay. 2011-09-28 15:45:17 +03:00
Henri Sivonen 829893b520 Bug 619043 - Check for parser termination after flushing speculative loads. r=bzbarsky. 2011-10-14 13:39:19 +03:00
Johnny Stenback 8f9b468d75 Fixing bug 618643. r=hsivonen 2011-09-30 11:27:22 -07:00
Jeff Walden 1872189eac Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 37f2b96015 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Jared Wein acbb8081e3 Backout revision 379147b5215f due to video controls not showing when viewing standalone videos (bug 689106). r=jonas 2011-10-03 20:46:40 -07:00
Michael Wu ac54b41b01 Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Gabor Krizsanits cd94872103 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Olli Pettay e6263e038b Bug 682886 - menuitem should be serialized as a container, r=sicking 2011-09-20 08:50:43 +03:00
Henri Sivonen cb8d541480 Bug 685581 - Do not treat the empty string as a speculatively preloadable URL. r=bzbarsky. 2011-09-19 17:37:04 +03:00
Olli Pettay 1be1f28ff7 Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger de459df995 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Felix Fung 15053fd69e Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Henri Sivonen 5e72c4f4d1 Bug 657389 - nsHtml5MetaScanner should use PR_INT32_MAX instead of -1 as a special marker value for indeces. r=jonas. 2011-09-07 12:50:15 +03:00
Ms2ger cecbef53f7 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Ms2ger ad2ed96c67 Bug 684469 - Various cleanup in nsHtml5TreeOpExecutor; r=hsivonen 2011-09-04 12:49:29 +02:00
Ed Morley e93c221d99 Bug 683416 - C: Remove #ifdef TX_EXE codepaths now that it is never defined; r=khuey 2011-09-01 17:49:25 +01:00
Michael Wu f1450f55a0 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Rob Campbell c97ad1dabe merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Matheus Kerschbaum b4d5606c80 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Mihai Sucan dfbf0350aa Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Olli Pettay 5ad50ec627 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Rafael Ávila de Espíndola 827e56d87c Bug 678209 - Fix c++0x initializer list error found by clang. r=jonas
The aLength argument is used in

CharacterDataChangeInfo info = {
  PR_TRUE,
  oldLength,
  oldLength,
  aLength
};

and the last field of CharacterDataChangeInfo is a PRUint32, so
aLength should be one to for this to be valid c++0x.

--HG--
extra : rebase_source : 267982352c7075a1189555cb6e0b8f025c57b036
2011-08-22 15:35:19 -04:00
Marco Castelluccio 622ca58757 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Malini Das 61b2c7d0dd Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das 840353c068 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das 5227ab39be Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Ehsan Akhgari 6baad35fd7 Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga e8159617e4 Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Marco Bonardo 39c11868d1 Merge mozilla-central and mozilla-inbound 2011-08-06 11:34:03 +02:00
Jan Varga 19734c6ec6 Bug 676236 - Add support for the <menuitem> element to the HTML parser (not enabled by default) r=hsivonen 2011-08-06 08:41:36 +02:00
Henri Sivonen 35b1c34c63 Tests for bug 613662 tweak - Comment out the part of the test that fail due to bug 676808. r=Olli.Pettay. 2011-08-05 15:56:34 +03:00
Henri Sivonen c047b56d61 Tests for bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Marco Bonardo cbabd646d0 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Robert Sesek 9783ce3df4 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Marco Castelluccio 2b841ab5ea Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Daniel Holbert e13b95722a Bug 482919 followup: Add newline at end of nsHtml5Speculation.h to fix build warning. [whitespace-only] 2011-08-02 12:10:29 -07:00
Daniel Holbert 6a7a74ef96 Bug 675499 followup: Remove comma at end of enum list, to fix maemo build bustage. 2011-08-02 12:10:23 -07:00
Henri Sivonen 92c0e14f91 Bug 675499 - Transfer initially sniffed document charset through the speculative load queue to avoid race conditions. r=bzbarsky. 2011-08-02 20:45:38 +03:00
Henri Sivonen 54f558ce0e Back out rev 7e84bd591246 due to mutation event behavior changes having invalidated the test. 2011-08-01 12:51:21 +03:00
Henri Sivonen d8374650ca Tests for bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Henri Sivonen 94c21798db Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen c73bb85f1b Test for bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen 737855c256 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Boris Zbarsky 96741d1100 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky 2fb5ce03cb Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky d5db66e419 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Henri Sivonen a76e3c768c Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Henri Sivonen 1265cea771 Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky. 2011-07-28 13:45:29 +03:00