Commit Graph

273 Commits

Author SHA1 Message Date
Craig Topper
bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Craig Topper
b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
55e9fbfa98 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Brandon Sterne
65e8b587bd Bug 561449 - checking in forgotten style portion of CSP redirect patch, r=jst, a=dholbert_sheriff 2010-04-23 15:05:32 -07:00
Ehren Metcalfe
a791e19cc4 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
Ginn Chen
a152895374 Bug 550405: [Sun Studio] Mangled name mismatch for LoadInlineStyle and LoadStyleLink (release build only) r=bzbarsky 2010-03-08 17:34:55 +08:00
Zack Weinberg
6ce13b76a5 Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1fdb0388ba Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Zack Weinberg
b7cf0bd89e Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg
f2ada08b52 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Zack Weinberg
d86ade967d Bug 524223: Even in quirks mode, ignore linked stylesheets which were served with an inappropriate MIME type, if they're from a different origin than the requesting document or stylesheet. 2009-12-23 10:01:51 -08:00
David Zbarsky
c16525f18a Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Boris Zbarsky
973f44492a 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
0181f90e3d 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
2c0514ea69 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
9d28a2337d Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Arpad Borsos
c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Neil Rashbrook
dc21ccccd5 Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner 2009-01-28 11:22:08 +00:00
Neil Rashbrook
bef510fdab Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking 2009-01-16 20:52:04 +00:00
Dave Camp
1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Dave Camp
36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Masatoshi Kimura
3a3a37f47d 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
61f320aa9d 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
31c5df869e 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
8ea614368d Bug 462458. Update @charset detection to spec changes. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Boris Zbarsky
900f6e646f Bug 460323. Do a better job of maintaining our invariants. r+sr=peterv 2008-10-20 16:33:03 -04:00
Arpad Borsos
c72ef7d248 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
8d14173742 Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
jst@mozilla.org
a4d3a2e2e3 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
bzbarsky@mit.edu
4ef415a509 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
sayrer@gmail.com
bf0d4a7536 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
dwitte@stanford.edu
1f9e2d27d8 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
dwitte@stanford.edu
e49c50fc32 reverting change. 2007-12-21 07:02:13 -08:00
dwitte@stanford.edu
2083c9f479 reland part of bug 407442. 2007-12-21 03:22:18 -08:00
dwitte@stanford.edu
d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
8345ef1233 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
jonas@sicking.cc
390f6ff8c2 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
bzbarsky@mit.edu
26d7ccd742 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
bzbarsky@mit.edu
bd826c03d9 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
bzbarsky@mit.edu
16e6040261 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
bzbarsky@mit.edu
0a0534efd5 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu
6d7584839a 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
bzbarsky@mit.edu
1a0dfc58b9 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
bzbarsky@mit.edu
51671d60c6 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
bzbarsky@mit.edu
63aeadb19b 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
75d0ec2b2f 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