742 Commits

Author SHA1 Message Date
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
asqueella%gmail.com
cf57b4c15a Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas


git-svn-id: svn://10.0.0.236/trunk@230140 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:15:50 +00:00
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
3906ef0e33 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


git-svn-id: svn://10.0.0.236/trunk@229666 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:42:12 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
f918f74635 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@228812 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 04:22:36 +00:00
sayrer%gmail.com
d143b58aff bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228268 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:44:12 +00:00
jonas%sicking.cc
51a63ab07f Bug 379959: Add checks to loadBindingDocument. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@227915 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 21:56:07 +00:00
peterv%propagandism.org
57e63c2b8e Mochitest for bug 343870.
git-svn-id: svn://10.0.0.236/trunk@227813 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 13:17:44 +00:00
peterv%propagandism.org
544621f0d2 Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@227812 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 10:15:17 +00:00
peterv%propagandism.org
7f92d79182 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@227809 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 09:15:27 +00:00
bzbarsky%mit.edu
829c92df27 Add an API to observe all loads in a CSSLoader. Change XML prettyprinting to
not start layout till after the prettyprinter stylesheet is loaded, so we don't
reflow and reconstruct the whole thing twice.  Bug 380612, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@227308 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-31 01:42:48 +00:00
jonas%sicking.cc
8aac19d83c 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
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
bzbarsky%mit.edu
1fd9b3275d SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt and
smaug, sr=tor


git-svn-id: svn://10.0.0.236/trunk@226902 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 20:05:53 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
mrbkap%gmail.com
5b0afeed77 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226590 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 23:54:35 +00:00
bzbarsky%mit.edu
d11ee5752e Fix bug introduced into collapsing of long PIs and comments. Bug 379683
followup, r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@226496 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 02:52:30 +00:00
bzbarsky%mit.edu
336e5d5940 Push the new content on the stack before calling BindToTree, since some
BindToTree implementations apparently flush out the sink (!).  Bug 372323,
r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@226495 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 02:21:55 +00:00
bzbarsky%mit.edu
cd70f7ed7e Make use of the wonders of inline-block to produce a much smaller DOM for XML
prettyprinting (fewer nodes, fewer frames, etc).  Speeds up prettyprinting by a
factor of 2 or so over here, with a 25% memory usage decrease.  Bug 379683,
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226370 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:00:14 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(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


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
b230f09954 Don't unblock onload on the document if we no longer have a parser. Bug
375051, r=mbkap, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@225123 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:05:08 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
bzbarsky%mit.edu
9b9e29922e Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu
c11b9496d3 Make sure to end our update before we decrement mSink->mInNotification. Bug
373669, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@224288 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-07 00:20:09 +00:00
Olli.Pettay%helsinki.fi
6de13cdbca 375196, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +00:00
bzbarsky%mit.edu
22cd821e27 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
1646da9ee6 Back out bug 267833 to test performance effect.
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
dc7b70aa9c Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me


git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
a1877f412d Add testcase for bug 232004
git-svn-id: svn://10.0.0.236/trunk@221215 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 07:39:53 +00:00
tor%cs.brown.edu
cd7fb65143 Bug 370210 - SVG onload attribute broken since incremental XML landing.
r=hsivonen, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@221077 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 17:28:17 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
jonas%sicking.cc
465b8fad66 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220080 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 21:18:25 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
Olli.Pettay%helsinki.fi
e9ed4c38ab Bug 369753, remove nsIXMLContent, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@219798 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 00:15:14 +00:00
bzbarsky%mit.edu
4f7460d6df Make sure to process any pending exceptions the security manager has set if
we're not called from JS.  Bug 369157, r+sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@219479 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 22:06:49 +00:00
bzbarsky%mit.edu
93e3b51055 Add test for bug 355213.
git-svn-id: svn://10.0.0.236/trunk@219442 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:37:48 +00:00
bzbarsky%mit.edu
5d122039d9 Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219436 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:48:29 +00:00
bzbarsky%mit.edu
a4c17fc701 Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219372 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:12:48 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
sayrer%gmail.com
eeec08e8d4 Bug 348447. feed sanitizer whitelist accessibility and i18n.
git-svn-id: svn://10.0.0.236/trunk@214970 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:20:55 +00:00
cvshook%sicking.cc
0b9688294e Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
ted.mielczarek%gmail.com
51fffcb118 bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@213642 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
b6bee32b30 Bug 221335: Speed up output by using internal methods and interfaces rather than nsIDOMNode and friends. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@213051 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 02:22:22 +00:00