Commit Graph

39 Commits

Author SHA1 Message Date
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
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
d4cb1b7d7b Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -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