mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 46cfe0a6aa6c (bug 1027246) for suspicion of causing dt test bustage on a CLOSED TREE
This commit is contained in:
parent
e23633282d
commit
a4b84becee
@ -108,7 +108,7 @@ var LocalStore = Class({
|
||||
return promise.reject(new Error(path + " does not belong to " + this.path));
|
||||
}
|
||||
|
||||
return Task.spawn(function*() {
|
||||
return Task.spawn(function() {
|
||||
let parent = yield this.resourceFor(OS.Path.dirname(path));
|
||||
|
||||
let info;
|
||||
|
@ -123,7 +123,7 @@ let EventsHandler = {
|
||||
_onTabNavigated: function(event, {isFrameSwitching}) {
|
||||
switch (event) {
|
||||
case "will-navigate": {
|
||||
Task.spawn(function*() {
|
||||
Task.spawn(function() {
|
||||
// Make sure the backend is prepared to handle WebGL contexts.
|
||||
if (!isFrameSwitching) {
|
||||
gFront.setup({ reload: false });
|
||||
@ -394,7 +394,7 @@ let ShadersEditorsView = {
|
||||
editor.clearHistory();
|
||||
}
|
||||
|
||||
return Task.spawn(function*() {
|
||||
return Task.spawn(function() {
|
||||
yield view._toggleListeners("off");
|
||||
yield promise.all([
|
||||
view._getEditor("vs").then(e => setTextAndClearHistory(e, sources.vs)),
|
||||
@ -490,7 +490,7 @@ let ShadersEditorsView = {
|
||||
* The corresponding shader type for the focused editor (e.g. "vs").
|
||||
*/
|
||||
_doCompile: function(type) {
|
||||
Task.spawn(function*() {
|
||||
Task.spawn(function() {
|
||||
let editor = yield this._getEditor(type);
|
||||
let shaderActor = yield ShadersListView.selectedAttachment[type];
|
||||
|
||||
|
@ -99,7 +99,7 @@ let StyleSheetsActor = exports.StyleSheetsActor = protocol.ActorClass({
|
||||
* Promise that resolves with an array of StyleSheetActors
|
||||
*/
|
||||
_addAllStyleSheets: function() {
|
||||
return Task.spawn(function*() {
|
||||
return Task.spawn(function() {
|
||||
let documents = [this.document];
|
||||
let actors = [];
|
||||
|
||||
@ -132,7 +132,7 @@ let StyleSheetsActor = exports.StyleSheetsActor = protocol.ActorClass({
|
||||
*/
|
||||
_addStyleSheets: function(styleSheets)
|
||||
{
|
||||
return Task.spawn(function*() {
|
||||
return Task.spawn(function() {
|
||||
let actors = [];
|
||||
for (let i = 0; i < styleSheets.length; i++) {
|
||||
let actor = this.parentActor.createStyleSheetActor(styleSheets[i]);
|
||||
@ -155,7 +155,7 @@ let StyleSheetsActor = exports.StyleSheetsActor = protocol.ActorClass({
|
||||
* A promise that resolves with an array of StyleSheetActors
|
||||
*/
|
||||
_getImported: function(styleSheet) {
|
||||
return Task.spawn(function*() {
|
||||
return Task.spawn(function() {
|
||||
let rules = yield styleSheet.getCSSRules();
|
||||
let imported = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user