Henri Sivonen
372ce72317
Merged HTML5 parsing with m-c from 2008-12-11
2009-01-03 15:01:17 +02:00
Joe Drew
64bbcf4155
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Jonas Sicking
52bfc6ae03
Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap
2009-04-15 15:34:50 -07:00
Henri Sivonen
bfe0f0b410
Initial attempt at HTML5 parsing in Gecko
2008-12-12 15:10:39 -08:00
Dan Fabulich
b3132f8800
b=347174, implement document.readystate == 'complete'; r=sicking
2009-01-09 09:12:09 -08:00
Martin
04e4c184f3
Bug 353364 - Same-document references in xml-stylesheet PI processed incorrectly. r+sr=peterv, a191=beltzner
2008-11-28 21:21:55 +00:00
Boris Zbarsky
e801383a04
Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking
2008-11-25 20:50:04 -05:00
Patrick McManus
92f594cb63
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner
2008-11-07 18:00:26 -05:00
Justin Dolske
4c397f756a
Backed out changeset e8fd3f4c52b6
2008-11-05 12:54:51 -08:00
Benjamin Smedberg
720c4f5577
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Patrick McManus
346822dba8
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 11:14:29 -05:00
Boris Zbarsky
f3130e5161
Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7
2008-11-04 11:03:10 -05:00
Patrick McManus
7f731cfb6e
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 10:14:50 -05:00
Peter Van der Beken
e743beb9c4
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Blake Kaplan
b91e4a69a6
Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst
2008-10-30 14:31:00 -07:00
Ted Mielczarek
26dab6f284
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Boris Zbarsky
96bd2b29d0
Bug 449219. Don't flush out textnodes unconditionally in the XML sink on packet boundaries. Instead, do smart coalescing like the HTML sink does. Also, always coalesce everything when doing XSLT. r+sr=sicking
2008-10-15 17:29:35 -04:00
Boris Zbarsky
305701b517
Fixing build bustage
2008-10-10 13:52:22 -04:00
Boris Zbarsky
d0177423c2
Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking
2008-10-10 13:44:43 -04:00
Boris Zbarsky
907891133c
But 427779. Make the XML parser not bail out on invalid URI in <xhtml:base>. r+sr=sicking
2008-10-10 13:44:43 -04:00
Jesse Ruderman
4ba2c01335
Update bug number in crashtest list comment
2008-10-09 14:29:09 -07:00
Taras Glek
390adbe464
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Boris Zbarsky
fb22a71be0
Bug 456008. Make sure to not claim nodes are created via parser in the XML fragment sink, just like the HTML fragment sink doesn't claim it. r+sr=jst
2008-09-25 12:58:11 -04:00
Olli Pettay
a2769ead5a
Bug 450160 - DOMImplementation createDocument does not create an HTML document, r+sr=bz
2008-09-20 21:55:04 +03:00
sharparrow1@yahoo.com
d5a8112b79
Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst
2008-09-18 14:15:47 +03:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Mats Palmgren
ff14b5b6ad
Crash test for bug 453278.
2008-09-04 21:47:49 +02:00
Mats Palmgren
6968909cca
Make sure we have a pres context. b=453278 r+sr=bzbarsky
2008-09-04 21:47:36 +02:00
Boris Zbarsky
0b32650b29
imported patch bug431701
2008-08-28 08:56:45 -04:00
Robert O'Callahan
1499813be0
Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst
2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690
Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst
2008-08-16 21:01:52 +12:00
Johnny Stenback
46ea0dc509
Followup cleanup for bug 439034, remove dead code and some silly code too. r+sr=jonas@sicking.cc
2008-08-15 16:01:03 -07:00
Olli Pettay
ed5c851afb
Bug 445330, document.loaded XML documents fire onload before DOMContentLoaded, r+sr=bz
2008-07-19 18:20:22 +03:00
Benjamin Smedberg
906cb69db1
Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst
2008-07-17 11:05:20 -04:00
Bobby Holley
da527d33c3
Viewport meta tag - content tests - bug 436083
2008-07-16 20:18:11 -07:00
Bobby Holley
94dfdbb9db
Viewport meta tag - content - bug 436083 r=jst,sr=sicking
2008-07-16 20:16:23 -07:00
Chris Double
02ccf2851f
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Robert O'Callahan
c29eac2bf6
Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst
2008-06-23 11:12:40 +12:00
Jeff Walden
68d86d0b8c
Bug 421765 - Implement DOM 3 replaceWholeText and wholeText. acid3++ r=smaug, sr=jst
2008-06-04 13:53:34 -04:00
reed@reedloden.com
3cd803c5a8
Bug 431703 - "Crash [@ nsXMLContentSink::HandleEndElement] setting innerHTML with SVG, onload" (null check) [p=longsonr@gmail.com (Robert Longson) r+sr=bzbarsky a1.9=beltzner]
2008-05-07 03:23:08 -07:00
jst@mozilla.org
54ae1d2978
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
jst@mozilla.org
940a11a226
Fixing bug 428847. Don't show an error page if an XML file references an XSLT stylesheet it doesn't have permission to load. r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:22:44 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00
jonas@sicking.cc
b8a008856b
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
jonas@sicking.cc
9b874a6992
Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz
2008-04-08 17:38:12 -07:00
timeless@mozdev.org
d7e775a7be
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-06 05:28:34 -07:00
timeless@mozdev.org
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-03-19 14:19:35 -07:00
gavin@gavinsharp.com
d5b93cf6b0
Bug 422808: remove forwarding of nsIAuthPrompt for XHR and document.load so that users fall back to the more useful docshell prompts, r=sicking, sr=biesi (r=dolske on tests)
2008-03-18 11:18:29 -07:00
jst@mozilla.org
ac13f0ce0c
Fixing bug 415324. Don't change principals on documents during document.load() now that document principals must remain unchanged. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
2008-03-11 16:47:23 -07:00
bent.mozilla@gmail.com
820a55f61d
Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+.
2008-03-06 12:14:33 -08:00
mats.palmgren@bredband.net
336d1b4201
Don't notify when setting text from within the constructor. b=420429 r+sr=jonas a=blocking1.9
2008-03-04 23:14:42 -08:00
jruderman@hmc.edu
3cf63ffb87
Make nsContentSink, instead of subclasses, be responsible for making sure RemoveObserver is called (bug 420835). r+sr=sicking, a=blocking1.9+.
2008-03-04 20:54:21 -08:00
jst@mozilla.org
ca610c2fd7
Backing out fix for bug 419848 due to feed code breakage.
2008-03-03 21:39:09 -08:00
jst@mozilla.org
fbd1cdf2f8
Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc
2008-03-03 20:17:33 -08:00
jonas@sicking.cc
65f4571f58
Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
2008-02-26 19:45:29 -08:00
myk@mozilla.org
b5e898ddd7
backing out fix for bug 416534 as potential cause of mochitest failure
2008-02-26 19:23:36 -08:00
jonas@sicking.cc
84548acb75
Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
2008-02-26 18:17:49 -08:00
benjamin@smedbergs.us
ca89a98e8c
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 12:39:20 -08:00
jag@tty.nl
057bc17743
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
benjamin@smedbergs.us
5e262ed60c
Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking
2008-02-12 11:46:26 -08:00
bent.mozilla@gmail.com
c107df6d22
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
2008-02-08 14:07:51 -08:00
dwitte@stanford.edu
d9595c6e9e
Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep
2008-02-02 15:41:24 -08:00
jst@mozilla.org
918fe24c0f
Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu
2008-01-25 13:49:11 -08:00
roc+@cs.cmu.edu
bc08ac141a
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
bzbarsky@mit.edu
0c3387ec5e
Fix bug 392338. r=mrbkap, sr=jst, a=schrep
2008-01-06 14:07:25 -08:00
Olli.Pettay@helsinki.fi
489154b8b5
Bug 403830, arena for content, r=sicking, sr=jst
2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
2b738b2454
Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst
2007-12-14 21:43:10 -08:00
jruderman@hmc.edu
0f8bfb93f5
Add crashtest.
2007-12-13 20:28:06 -08:00
jonas@sicking.cc
948c2ea354
Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
2007-12-11 18:26:09 -08:00
aaronleventhal@moonset.net
fe7f4d5bdb
Bug 398910. Remove support for namespaced ARIA properties since they are no longer official (we are pre-1.0). r=surkov, r=ginn, r=bienvenu, r=mano, r=mconnor, r+sr=neil
2007-12-11 18:10:26 -08:00
jonas@sicking.cc
903acf3ee6
bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
2007-10-26 18:46:09 -07:00
Olli.Pettay@helsinki.fi
9a98e0b668
Mochitest for bug 399502
2007-10-19 10:42:39 -07:00
Olli.Pettay@helsinki.fi
85880d8ce4
Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
2007-10-01 03:02:32 -07:00
masayuki@d-toybox.com
a17a03f2ea
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
295ac223f1
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu
96ec7b6a69
Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
73073f4f3b
Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking
2007-08-07 18:16:09 -07:00
ginn.chen@sun.com
9a8c1632f4
Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore
2007-08-05 20:22:32 -07:00
jonas@sicking.cc
24c4c1d539
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
2007-07-26 19:49:18 -07:00
jonas@sicking.cc
13974dde1b
backout due to orange
2007-07-26 16:34:22 -07:00
jonas@sicking.cc
29f28d46a0
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
2007-07-26 15:20:29 -07:00
asqueella@gmail.com
41e2af866a
Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
...
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
bzbarsky@mit.edu
a4c90a1d9d
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org
2fb0fc711a
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
40d0244293
Don't start layout for XML just because the root has been opened. And don't
...
start layout until <html:head> closes if <html:head> gets opened. For XHTML
documents, this should prevent flashes of unstyled content.
Also, don't flush tags unless forced to if a sheet is pending.
Bug 380028, r+sr=sicking
2007-07-10 20:42:11 -07:00
jwalden@mit.edu
e3c4baccae
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
db689821bf
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
Olli.Pettay@helsinki.fi
7a515960c9
Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv
2007-06-26 21:22:35 -07:00
sayrer@gmail.com
dd79d4341b
bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
2007-06-18 15:44:11 -07:00
jonas@sicking.cc
5d6d0f52ff
Bug 379959: Add checks to loadBindingDocument. r/sr=jst
2007-06-12 14:56:06 -07:00
peterv@propagandism.org
021a3b60fc
Mochitest for bug 343870.
2007-06-11 06:17:44 -07:00
peterv@propagandism.org
32b1b96921
Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz.
2007-06-11 03:15:17 -07:00
peterv@propagandism.org
b9ab4744f2
Fix for bug 343870 (Line breaks normalized twice). r/sr=bz.
2007-06-11 02:15:23 -07:00