bzbarsky%mit.edu
685d329d8a
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-10 05:35:09 +00:00
bzbarsky%mit.edu
7b4500d354
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-08 01:16:12 +00:00
bzbarsky%mit.edu
3c5c154175
Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv
2007-07-11 19:44:27 +00:00
jwalden%mit.edu
ef68fcf595
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 07:08:56 +00:00
bzbarsky%mit.edu
5506a6ac4f
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
2007-05-31 01:42:48 +00:00
bzbarsky%mit.edu
27fdff6596
Propagate a stylesheet's principal to the URI and Image CSSValues derived from
...
that sheet. Bug 377091, r+sr=dbaron
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
d979f584e1
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
2007-05-01 19:26:15 +00:00
bzbarsky%mit.edu
ee773f7a7d
Stop blocking the parser on CSS stylesheet loads. We still block script
...
execution on them, however. Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
asqueella%gmail.com
3a81e465a2
decomtaminate nsIXULPrototypeCache (bug 364329)
...
r=smaug, sr=roc
2007-03-12 05:53:33 +00:00
joshmoz%gmail.com
94eb54893c
remove unused variables, other warning fixes. no bug. r/sr=bz
2007-02-16 08:04:44 +00:00
bzbarsky%mit.edu
f159f65687
Simplify the posted events setup now that they're owned through dispatch by the
...
target thread. Bug 369247, r+sr=peterv
2007-02-05 18:09:26 +00:00
bzbarsky%mit.edu
821f6c70bc
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
2007-01-11 19:32:31 +00:00
timeless%mozdev.org
abc256e3da
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
c28647146c
Report the right URI in the warning. Bug 360863, patch by Nickolay Ponomarev
...
<asqueella@gmail.com>, r+sr=bzbarsky
2006-11-17 22:45:52 +00:00
bzbarsky%mit.edu
570e4c2513
Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
...
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
2006-11-11 22:27:00 +00:00
bzbarsky%mit.edu
b0b0fcc6e4
Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug
...
281153, patch by Son Le <son.le0@gmail.com>, r=biesi, sr=darin
2006-10-24 21:47:40 +00:00
roc+%cs.cmu.edu
8c3f0278d7
Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky
2006-06-15 03:20:19 +00:00
cvshook%sicking.cc
e207f41e6f
Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
2006-05-16 15:52:45 +00:00
cvshook%sicking.cc
78b593ffc9
Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
2006-05-16 15:50:47 +00:00
darin%meer.net
7d3e7d7acd
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
dbaron%dbaron.org
668f9730a4
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
bryner%brianryner.com
c28e6a9665
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.
2006-03-22 18:36:36 +00:00
cbiesinger%web.de
a898e666b8
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
jst%mozilla.jstenback.com
7a5af690c6
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
2005-11-28 23:56:44 +00:00
peterv%propagandism.org
ef98abb585
Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
fda7b65362
Make sure not to access members of deleted SheetLoadDatas. Bug 308766, r+sr=jst
2005-09-16 15:38:04 +00:00
bzbarsky%mit.edu
025c02e44e
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
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
f849415a9e
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
6919fc19ec
Allow passing a cached nsIContentPolicy service pointer to
...
NS_CheckContent*Policy if the caller has one. Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
cbiesinger%web.de
4de61d291b
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
2005-06-24 19:44:50 +00:00
bzbarsky%mit.edu
89e40bbf0f
Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan
2005-04-14 15:27:16 +00:00
dbaron%dbaron.org
70322f91af
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
bzbarsky%mit.edu
35e3f1fd67
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
2004-11-23 17:45:37 +00:00
dbaron%dbaron.org
a7d98f183c
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
2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
4c36660044
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
2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
311b293f7d
Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky
2004-09-09 17:32:35 +00:00
timeless%mozdev.org
1441c4fcda
Bug 253539 Report origin url for css mime warnings/errors
...
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
neil%parkwaycc.co.uk
d85ecd00f9
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +00:00
dbaron%dbaron.org
fa4808301b
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu
4f6dfefbdd
Switch context back to being nsISupports, but make it clear that it's expected
...
to be an nsIDOMNode or nsIDOMWindow. Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
dbaron%dbaron.org
e3ba5b3f4f
Ensure chrome: URLs stay that way so theme switching code doesn't get confused, even though most chrome: stylesheet loads don't come through this codepath. b=226791 r+sr=bzbarsky
2004-07-14 22:21:07 +00:00
dbaron%dbaron.org
fd0831d70a
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
2004-07-14 21:52:19 +00:00
roc+%cs.cmu.edu
52092297fe
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bsmedberg%covad.net
14bf5bab31
Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin
2004-06-09 18:36:25 +00:00
roc+%cs.cmu.edu
b8ecbc84da
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
mvl%exedo.nl
2f908209a7
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
gerv%gerv.net
692411203a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
darin%meer.net
1d2d419885
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu
ccd7a90165
Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
...
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00