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

4 Коммитов

Автор SHA1 Сообщение Дата
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
Daniel Holbert d8d1de0c33 Bug 1336223 followup: Use forward-decl rather than #include to provide mozilla::StyleSheet, in PreloadedStyleSheet.h. (no review)
MozReview-Commit-ID: B7CzULCByvr
2017-02-03 14:00:05 -08:00
Daniel Holbert 9992dc8e16 Bug 1336223 part 1: Add some missing #includes to PreloadedStyleSheet.cpp and .h. r=xidorn
MozReview-Commit-ID: 1YKRjJiSUiI

--HG--
extra : rebase_source : 3991ff8ace9f466a07e1dba8aaf49b596458f97a
2017-02-02 15:18:36 -08: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