910 Commits

Author SHA1 Message Date
bent.mozilla%gmail.com
49d5e2fb0d Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@247231 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:14:35 +00:00
mats.palmgren%bredband.net
6f73a70f02 Don't notify when setting text from within the constructor. b=420429 r+sr=jonas a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@247077 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 07:14:44 +00:00
jruderman%hmc.edu
ff28d9eca0 Make nsContentSink, instead of subclasses, be responsible for making sure RemoveObserver is called (bug 420835). r+sr=sicking, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@247070 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 04:54:21 +00:00
jst%mozilla.org
5112a86b56 Backing out fix for bug 419848 due to feed code breakage.
git-svn-id: svn://10.0.0.236/trunk@246976 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 05:39:10 +00:00
jst%mozilla.org
125666cd14 Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@246975 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 04:17:34 +00:00
jonas%sicking.cc
35f305467d Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
myk%mozilla.org
425e84676b backing out fix for bug 416534 as potential cause of mochitest failure
git-svn-id: svn://10.0.0.236/trunk@246615 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:23:38 +00:00
jonas%sicking.cc
05e58d7ee2 Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246608 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:17:52 +00:00
benjamin%smedbergs.us
3968e1b42d Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
git-svn-id: svn://10.0.0.236/trunk@246221 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 20:39:23 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
benjamin%smedbergs.us
ff50720044 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
git-svn-id: svn://10.0.0.236/trunk@245507 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 19:46:50 +00:00
bent.mozilla%gmail.com
e21a2262ee Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
dwitte%stanford.edu
35e5785d50 Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep
git-svn-id: svn://10.0.0.236/trunk@244802 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-02 23:41:26 +00:00
jst%mozilla.org
c420b69437 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
git-svn-id: svn://10.0.0.236/trunk@244015 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 21:49:11 +00:00
roc+%cs.cmu.edu
7caf8b7991 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
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae 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
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
bzbarsky%mit.edu
2833078749 Fix bug 392338. r=mrbkap, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@242513 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-06 22:07:26 +00:00
Olli.Pettay%helsinki.fi
a9ca3bc287 Bug 403830, arena for content, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@241344 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 09:45:37 +00:00
bzbarsky%mit.edu
99ede78674 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@241331 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 05:43:12 +00:00
jruderman%hmc.edu
9373c56941 Add crashtest.
git-svn-id: svn://10.0.0.236/trunk@241217 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 04:28:06 +00:00
jonas%sicking.cc
fd6424c7ed Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@240892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:26:10 +00:00
aaronleventhal%moonset.net
48e252115c 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
git-svn-id: svn://10.0.0.236/trunk@240891 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:10:31 +00:00
jonas%sicking.cc
5233d883cd 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
git-svn-id: svn://10.0.0.236/trunk@238237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 01:46:11 +00:00
Olli.Pettay%helsinki.fi
6e560aa496 Mochitest for bug 399502
git-svn-id: svn://10.0.0.236/trunk@237924 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:42:39 +00:00
Olli.Pettay%helsinki.fi
5deadb060c Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@236978 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 10:02:34 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
bzbarsky%mit.edu
b9d92a233a 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


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 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


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
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
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +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
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +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