Commit Graph
261 Commits
Author SHA1 Message Date
Boris Zbarsky a1899fd72e Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Boris Zbarsky 905f9105fb Bug 486044. Make sure to pass the right principal to CreateSheet even in the non-document sheet case. r+sr=sicking 2009-03-31 15:04:01 -04:00
Boris Zbarsky 663efb7a36 Bug 457809 preliminary. Fix this test so it doesn't fail when we preload the sheet. r+sr=dbaron 2009-03-30 11:25:35 -04:00
Boris Zbarsky bde1b6be58 Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Arpad Borsos af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Neil Rashbrook c31793b654 Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner 2009-01-28 11:22:08 +00:00
Neil Rashbrook 0a99412f0d Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking 2009-01-16 20:52:04 +00:00
Dave Camp a4e977e4bb Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Dave Camp 2884fc6f49 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp 45ee37f507 Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Masatoshi Kimura cace253303 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert 1272b64029 Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura bcbf20570f Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Boris Zbarsky 2f4e3a2e34 Bug 462458. Update @charset detection to spec changes. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Boris Zbarsky 26a9f7e181 Bug 460323. Do a better job of maintaining our invariants. r+sr=peterv 2008-10-20 16:33:03 -04:00
Arpad Borsos 1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky fda5de52e7 Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
95d8ac4def Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
b1fcb76646 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 2008-02-14 20:21:57 -08:00
e8d9e50d55 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
cf68b5ab56 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
f0edc0358b reverting change. 2007-12-21 07:02:13 -08:00
82d19e1afd reland part of bug 407442. 2007-12-21 03:22:18 -08:00
1564bcefff relanding part of 407442. 2007-12-19 23:30:04 -08:00
ab5d10abc9 back out changes. 2007-12-19 03:07:41 -08:00
e9fe6c3fb4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
ebee84c369 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
ec4d8e5431 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-18 17:06:34 -08:00
b9efb12dec Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
676f997747 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 2007-10-23 14:56:41 -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
fa87f33161 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -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
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
9e4b29a9ba Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
7c628ff3ec 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
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
asqueella@gmail.com f5a924fa1d decomtaminate nsIXULPrototypeCache (bug 364329)
r=smaug, sr=roc
2007-03-12 05:53:33 +00:00
joshmoz@gmail.com d9d6e45ab4 remove unused variables, other warning fixes. no bug. r/sr=bz 2007-02-16 08:04:44 +00:00
bzbarsky@mit.edu dea82b2d23 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 8e1f46c3c3 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 f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu 48b32a17be 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 14c2e81e83 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 e3865a1ea0 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 705abd8a75 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 6685713985 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 15:52:45 +00:00
cvshook@sicking.cc b60e5a2ad4 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 15:50:47 +00:00
darin@meer.net 0700b87ece 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