Commit Graph

13 Commits

Author SHA1 Message Date
Kris Maglione
dabd327027 Bug 1348442: Part 1 - Allow loading preloaded stylesheets asynchronously. r=heycam
These changes allow us to asynchronously load pre-loaded stylesheets, in a way
that's similar to ChromeUtils.compileScript. The new method returns a Promise
which resolves to the preloaded sheet once it's finished loading.

This will allow us to remove the last remaining use of synchronous channels in
moz-extension: URLs.

MozReview-Commit-ID: 7J52ff93YKT

--HG--
extra : rebase_source : 20fa013cdc7f5fbedb5ce671ede17765a2abbac2
2017-03-19 19:33:49 -07:00
Cameron McCormack
d7971f4aa5 Bug 1328546 - stylo: Support ServoStyleSheets in nsIStyleSheetService::PreloadSheet and nsIDOMWindowUtils::AddSheet. r=bholley
MozReview-Commit-ID: 2KOMrnCf1Ag
2017-01-05 15:32:22 +08:00
Tom Schuster
36fe8c8dc6 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Carsten "Tomcat" Book
e31951a5dd Backed out changeset 6a56c14d382f (bug 1024707) for dt1 and xpshell test bustages on a CLOSED TREE 2014-07-09 13:19:33 +02:00
Tom Schuster
ca7aaa4737 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Gabor Krizsanits
a731451bde Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz 2012-10-16 21:45:50 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
bzbarsky%mit.edu
a100b66f3c Rev the iid. Bug 335689, r+sr=dbaron 2006-06-20 04:21:56 +00:00
bzbarsky%mit.edu
7d1587d182 Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron 2006-06-08 14:32:20 +00:00
dbaron%dbaron.org
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
bzbarsky%mit.edu
482bc40078 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron
2005-08-20 01:24:00 +00:00
bzbarsky%mit.edu
def5902d3e Add methods to the user/agent sheet service to unregister sheets and check
whether a sheet is registered.  Bug 286518, patch by Ted Mielczarek (luser)
<ted.mielczarek@gmail.com>, r+sr=bzbarsky
2005-03-23 02:34:30 +00:00
bryner%brianryner.com
e464405de3 Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky. 2005-01-15 00:10:19 +00:00