Commit Graph

916 Commits

Author SHA1 Message Date
5a418fd29c Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv 2008-02-26 18:17:49 -08:00
7b34ae7602 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
69d861c0f7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
172dbf3afc 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
38898aaf1b Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
5107418de6 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
36e749a35a 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
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 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
bebd7a4acd Fix bug 392338. r=mrbkap, sr=jst, a=schrep 2008-01-06 14:07:25 -08:00
d221793400 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst 2007-12-14 21:43:10 -08:00
51f9927503 Add crashtest. 2007-12-13 20:28:06 -08:00
0258b5b872 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
c1e3e863b7 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
41b9dd851e 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
74c5eab13a Mochitest for bug 399502 2007-10-19 10:42:39 -07:00
dd264d096e Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
409d7404ef 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
d0829b5bfc 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
e5dea75a52 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
c7695ee4ba 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
90b8a39a01 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
a8d82214f0 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
37f1910e41 backout due to orange 2007-07-26 16:34:22 -07:00
2a87c31610 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
a396f587dc Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
da6d55cdc6 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
5583e73dde 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
98de634631 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
4bb4d26176 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
d29fc8a964 bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
0d05db7e3d Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
8a674faa38 Mochitest for bug 343870. 2007-06-11 06:17:44 -07:00
de67cea1f9 Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz. 2007-06-11 03:15:17 -07:00
3f86c8de21 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
7a2a2aa71a 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
6216ad7091 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
961c97f4f1 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
81cce4955b Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
541629034f 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
ada9fb3f98 Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking. 2007-05-15 19:52:30 -07:00
7c8750a16c 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
0068e83045 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
1255dcbef5 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
acf8bc7c0f 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
83a6c325f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
fd6692de97 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
faa8e9c35a Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
7e4e3ec68f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
hg@mozilla.com
2ca566cd74 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