bzbarsky%mit.edu
5e75273cac
Bug 535806. Don't put case-insensitive stylesheets in the XUL prototype cache. r=dbaron, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259383 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-13 16:45:30 +00:00
bzbarsky%mit.edu
93c4cc49f1
Bug 416942. Give user and ua sheets the system principal. r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@256566 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 22:17:51 +00:00
jst%mozilla.org
848e5e4245
Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@248431 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 16:50:49 +00:00
bzbarsky%mit.edu
6c8a73dee7
Change the nsICSSParser::Parse() API so that we don't hand out a stylesheet;
...
require a stylesheet to be set before calling Parse(). Bug 404315,
r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@245761 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 04:21:57 +00:00
sayrer%gmail.com
68e2976099
Bug 387522. Native JSON support. r=crowder/jst, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@242129 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-27 21:34:07 +00:00
dwitte%stanford.edu
b90c2e300d
(final) relanding since this has no Ts impact.
...
git-svn-id: svn://10.0.0.236/trunk@241998 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-22 00:56:28 +00:00
dwitte%stanford.edu
23ed84684d
reverting change.
...
git-svn-id: svn://10.0.0.236/trunk@241911 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 15:02:13 +00:00
dwitte%stanford.edu
0d0a1c333d
reland part of bug 407442.
...
git-svn-id: svn://10.0.0.236/trunk@241898 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 11:22:18 +00:00
dwitte%stanford.edu
d62beece33
relanding part of 407442.
...
git-svn-id: svn://10.0.0.236/trunk@241831 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 07:30:06 +00:00
dwitte%stanford.edu
7094b241c3
back out changes.
...
git-svn-id: svn://10.0.0.236/trunk@241739 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 11:07:42 +00:00
dwitte%stanford.edu
90bc683a3f
reland nsTObserverArray changes only.
...
git-svn-id: svn://10.0.0.236/trunk@241732 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 06:03:06 +00:00
dwitte%stanford.edu
5de2d1ee12
backing out to investigate Ts increase
...
git-svn-id: svn://10.0.0.236/trunk@241730 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 04:12:13 +00:00
dwitte%stanford.edu
50e90b27e7
implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in
...
nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@241726 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 01:06:36 +00:00
jonas%sicking.cc
47f6800731
Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@241203 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 01:41:49 +00:00
bzbarsky%mit.edu
19f3323d77
Make the "href" property of stylesheets reflect the original URI that was
...
reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +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
bzbarsky%mit.edu
6522f5db39
Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@229735 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 19:44:27 +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
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
bzbarsky%mit.edu
c6a333df55
Propagate a stylesheet's principal to the URI and Image CSSValues derived from
...
that sheet. Bug 377091, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
6e86d03b2e
Stylesheets should know what their principal is, and it should be based on the
...
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to. Propagate this
principal as the loading principal to @import loads from stylesheets. Change
sheet access checks to use this principal instead of the sheet URI. Bug
221428, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@225401 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:26:15 +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
asqueella%gmail.com
81e3a0b9ee
decomtaminate nsIXULPrototypeCache (bug 364329)
...
r=smaug, sr=roc
git-svn-id: svn://10.0.0.236/trunk@221763 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 05:53:33 +00:00
joshmoz%gmail.com
c65f7936f7
remove unused variables, other warning fixes. no bug. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@220399 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 08:04:44 +00:00
bzbarsky%mit.edu
eb4de59882
Simplify the posted events setup now that they're owned through dispatch by the
...
target thread. Bug 369247, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219506 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:09:26 +00:00
bzbarsky%mit.edu
8c351facb0
Implement the proposed Web Apps 1.0 API for changing the selected style sheet
...
set, querying the available sets, etc. Bug 200930, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +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
f0caa7c822
Report the right URI in the warning. Bug 360863, patch by Nickolay Ponomarev
...
<asqueella@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215415 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 22:45:52 +00:00
bzbarsky%mit.edu
3d914aab06
Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
...
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@215169 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:27:00 +00:00
bzbarsky%mit.edu
2d7539378c
Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug
...
281153, patch by Son Le <son.le0@gmail.com>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@214092 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 21:47:40 +00:00
roc+%cs.cmu.edu
29cf24ae1d
Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@199937 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:20:19 +00:00
cvshook%sicking.cc
5a27cf2ab0
Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196677 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 15:52:45 +00:00
cvshook%sicking.cc
805a3ca029
Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196676 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 15:50:47 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
dbaron%dbaron.org
a02fd2d2f8
File comments that show up in LXR and provide a quick summary of what's in each file.
...
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
bryner%brianryner.com
1de3fc0366
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
jst%mozilla.jstenback.com
895df6e6ca
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
peterv%propagandism.org
8c33ea74e1
Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
dcb6244b69
Make sure not to access members of deleted SheetLoadDatas. Bug 308766, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@180394 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:38:04 +00:00
bzbarsky%mit.edu
dfe3e9b0bc
Improve the CSSLoader API: make it clear which methods return results
...
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded. Bug 293825, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
e79cce1c42
Allow passing a cached nsIContentPolicy service pointer to
...
NS_CheckContent*Policy if the caller has one. Bug 304845, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
cbiesinger%web.de
12a01dec29
Bug 295047 Want unicode stream readers/writers: Makes nsIUnicharInputStream and
...
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175107 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 19:44:50 +00:00
bzbarsky%mit.edu
5fab1e95f2
Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172224 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:27:16 +00:00
dbaron%dbaron.org
be07cbe034
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
bzbarsky%mit.edu
91c825c2cc
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165646 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:45:37 +00:00
dbaron%dbaron.org
e8bca4edc1
Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
a4ca9058c6
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00