https://bugs.webkit.org/show_bug.cgi?id=69954
Also renamed the action and associated event name to address an FIXME.
Reviewed by Adam Barth.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Renamed event name.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js: Renamed the action.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js: Removed action temporarily.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@97302
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
$(this._view).bind('next', this.onNext.bind(this));
$(this._view).bind('previous', this.onPrevious.bind(this));
$(this._view).bind('rebaseline', this.onRebaseline.bind(this));
- $(this._view).bind('updateexpectations', this.onUpdateExpectations.bind(this));
+ $(this._view).bind('expectfailure', this.onUpdateExpectations.bind(this));
},
onNext: function()
{
$(failure).bind('rebaseline', function() {
this.onRebaseline(failure);
}.bind(this));
- $(failure).bind('updateexpectations', function() {
+ $(failure).bind('expectfailure', function() {
this.onUpdateExpectations(failure);
}.bind(this));
}
}
});
-// FIXME: Rename all the code to match the user-visible name.
-ui.actions.UpdateExpectations = base.extends(Action, {
+ui.actions.ExpectFailure = base.extends(Action, {
init: function() {
this.textContent = 'Expect Failure';
- this._eventName = 'updateexpectations';
+ this._eventName = 'expectfailure';
}
});
var header = document.createElement('h3');
$(header).append(new ui.actions.List([
new ui.actions.Rebaseline().makeDefault(),
- new ui.actions.UpdateExpectations(),
])).append(link);
this.appendChild(header);
this.appendChild(this._delegate.contentForTest(testName));
+2011-10-12 Dimitri Glazkov <dglazkov@chromium.org>
+
+ garden-o-matic's "Expect Failure" button does not work correctly, so we should remove it until the plumbing is fixed to avoid landmines.
+ https://bugs.webkit.org/show_bug.cgi?id=69954
+
+ Also renamed the action and associated event name to address an FIXME.
+
+ Reviewed by Adam Barth.
+
+ * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Renamed event name.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js: Renamed the action.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js: Removed action temporarily.
+
2011-10-12 Tony Chang <tony@chromium.org>
stop spamming 'stopping test driver timed out, killing it' when running rwt