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
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
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
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
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
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
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
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
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
bzbarsky@mit.edu
f5f6fbc39c
Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking
2007-05-30 18:42:48 -07:00
jonas@sicking.cc
a8a2928a3a
Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
2007-05-30 13:43:41 -07:00
bzbarsky@mit.edu
6a49a8fccf
SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt andsmaug, sr=tor
2007-05-23 13:05:53 -07:00
Olli.Pettay@helsinki.fi
da84b4a799
Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
2007-05-22 14:45:03 -07:00
mrbkap@gmail.com
9669228ea9
Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
2007-05-17 16:54:35 -07:00
bzbarsky@mit.edu
fcd6592fc2
Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking.
2007-05-15 19:52:30 -07:00
bzbarsky@mit.edu
26ddd49bca
Push the new content on the stack before calling BindToTree, since someBindToTree implementations apparently flush out the sink (!). Bug 372323,r+sr=sicking.
2007-05-15 19:21:55 -07:00
bzbarsky@mit.edu
64d30dda04
Make use of the wonders of inline-block to produce a much smaller DOM for XMLprettyprinting (fewer nodes, fewer frames, etc). Speeds up prettyprinting by afactor of 2 or so over here, with a 25% memory usage decrease. Bug 379683,r+sr=sicking
2007-05-13 20:00:14 -07:00
bzbarsky@mit.edu
32d3d359f4
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
ff1caef5dc
Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking
2007-04-26 21:05:08 -07:00
peterv@propagandism.org
f61971e016
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
c585c92179
Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking
2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
51ae229c59
Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking
2007-04-06 17:20:09 -07:00
Olli.Pettay@helsinki.fi
cf1ccace7f
375196, r+sr=roc
2007-03-25 22:38:22 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00