Commit Graph

133 Commits

Author SHA1 Message Date
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Henri Sivonen
67be401de2 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Ed Morley
0228a9bd8b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
270eca9657 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
d697fdc8ec Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
Daniel Holbert
f49ddde18d Bug 743404: In nsHtml5TreeOperation::Perform, store the return-value of nsINode::IndexOf in a PRInt32 instead of a PRUint32, so we can range-check it. r=hsivonen 2012-04-10 10:44:49 -07:00
Ms2ger
99b825674e Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Henri Sivonen
71efda6e2b Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug. 2012-03-24 13:34:42 +02:00
Henri Sivonen
43610b6da3 Bug 717488 part 1. r=smaug. 2012-03-21 14:39:25 +02:00
Jacob Holzinger
bfaddb970e Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden 2012-03-08 18:22:57 -08:00
Ms2ger
5aaaad9380 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Henri Sivonen
2c9c468406 Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug. 2012-01-20 14:03:49 +02:00
Gabor Krizsanits
d1e1ae9f59 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Ms2ger
926b9f3912 Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Henri Sivonen
b251f508a4 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
d3c0af9751 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
4aac5fe9f6 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
df4f37165e Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
a42c6e14db 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
6d5bbec2af 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
Olli Pettay
1cdbb1b884 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst 2011-10-18 13:53:36 +03:00
Ehsan Akhgari
478ad1a412 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
Henri Sivonen
1cde100e2a 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
Jared Wein
d6c31068db 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
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Gabor Krizsanits
44b682e438 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Olli Pettay
f8b451d821 Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking 2011-09-17 06:32:32 -07:00
Olli Pettay
e26255bb80 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
4f25c3f655 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.
2011-08-22 15:35:19 -04:00
Henri Sivonen
1fa592b573 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
Mats Palmgren
0ecb2755a7 Bug 672438 - Notify only if AppendChildTo succeeds. r=hsivonen 2011-07-20 22:22:27 +02:00
Ed Morley
44c5c3868e Bug 665387 - Remove unused variable document from nsHtml5TreeOperation::Perform; r=hsivonen 2011-06-21 17:37:41 +02:00
Jonas Sicking
572a8d4beb Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ed Morley
6e443492c7 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Jonas Sicking
b3f3996b2d Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Ms2ger
61cb1bf906 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Henri Sivonen
cfd0030c38 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
Boris Zbarsky
ba87ca5c66 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Henri Sivonen
200d06cfa8 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
Ms2ger
997891ab60 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas. 2010-10-25 15:17:38 +03:00
Mounir Lamouri
ac3ffbbd48 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Jonas Sicking
c7cb0db3eb 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
Ms2ger
96d1354051 Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:06:07 +02:00
Mounir Lamouri
8f4863a5a0 Bug 588683 - Implement the form attribute. r=sicking sr=jst a2.0=blocking 2010-08-24 03:11:04 +02:00
Henri Sivonen
65f2ada335 Bug 582940 - Make the HTML5 parser URL unescape <a name> until HTML5-compliant fragment navigation is supported. r=bzbarsky, a=blocking2.0-betaN. 2010-07-30 13:08:36 +03:00
Olli Pettay
8a001762d4 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Henri Sivonen
6c34f708a5 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
Henri Sivonen
ba3526f337 Bug 570898 - Defer isindex prompt reading until after startup. r=jonas. 2010-06-11 18:08:13 +03:00
Daniel Holbert
5b78c1fcbe Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00