Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu d1aea320f7 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu 9a2d9fdbe7 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
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
dwitte%stanford.edu 8e78727416 (final) relanding since this has no Ts impact. 2007-12-22 00:56:28 +00:00
dwitte%stanford.edu 1eeb378ebd reverting change. 2007-12-21 15:02:13 +00:00
dwitte%stanford.edu 4d9cd8d1bd reland part of bug 407442. 2007-12-21 11:22:18 +00:00
dwitte%stanford.edu ff1801fc3e relanding part of 407442. 2007-12-20 07:30:06 +00:00
dwitte%stanford.edu 74ca1dddc8 back out changes. 2007-12-19 11:07:42 +00:00
dwitte%stanford.edu fc96d0299b reland nsTObserverArray changes only. 2007-12-19 06:03:06 +00:00
dwitte%stanford.edu 6d7ab720e9 backing out to investigate Ts increase 2007-12-19 04:12:13 +00:00
dwitte%stanford.edu f0e0d60f6b 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
2007-12-19 01:06:36 +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 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
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 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
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
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
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
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
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
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
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 6635d16530 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +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
bzbarsky%mit.edu 4f04752672 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
bzbarsky%mit.edu ca7587571d Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
bsmedberg%covad.net 117dcd4d23 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
caillon%returnzero.com 01645eaf4b Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu 9421911eb3 Make the URI of a sheet be its final URI after all the redirects, not the URI
linked to from the original document.  Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
bzbarsky%mit.edu fdcc28ae82 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv 2003-04-04 23:57:06 +00:00
bzbarsky%mit.edu 6f6b961031 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00