mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8
This commit is contained in:
parent
7f1285ea6f
commit
8f749faf68
@ -1405,6 +1405,7 @@ pref("loop.debug.twoWayMediaTelemetry", false);
|
||||
pref("loop.feedback.dateLastSeenSec", 0);
|
||||
pref("loop.feedback.periodSec", 15770000); // 6 months.
|
||||
pref("loop.feedback.formURL", "https://www.mozilla.org/firefox/hello/npssurvey/");
|
||||
pref("loop.feedback.manualFormURL", "https://www.mozilla.org/firefox/hello/feedbacksurvey/");
|
||||
#ifdef DEBUG
|
||||
pref("loop.CSP", "default-src 'self' about: file: chrome: http://localhost:*; img-src * data:; font-src 'none'; connect-src wss://*.tokbox.com https://*.opentok.com https://*.tokbox.com wss://*.mozilla.com https://*.mozilla.org wss://*.mozaws.net http://localhost:* ws://localhost:*; media-src blob:");
|
||||
#else
|
||||
|
@ -230,7 +230,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
*/
|
||||
handleSubmitFeedback: function(event) {
|
||||
event.preventDefault();
|
||||
var helloFeedbackUrl = this.props.mozLoop.getLoopPref("feedback.formURL");
|
||||
var helloFeedbackUrl = this.props.mozLoop.getLoopPref("feedback.manualFormURL");
|
||||
this.props.mozLoop.openURL(helloFeedbackUrl);
|
||||
this.closeWindow();
|
||||
},
|
||||
|
@ -230,7 +230,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
*/
|
||||
handleSubmitFeedback: function(event) {
|
||||
event.preventDefault();
|
||||
var helloFeedbackUrl = this.props.mozLoop.getLoopPref("feedback.formURL");
|
||||
var helloFeedbackUrl = this.props.mozLoop.getLoopPref("feedback.manualFormURL");
|
||||
this.props.mozLoop.openURL(helloFeedbackUrl);
|
||||
this.closeWindow();
|
||||
},
|
||||
|
@ -493,7 +493,7 @@ describe("loop.panel", function() {
|
||||
beforeEach(function() {
|
||||
feedbackUrl = "https://example.com";
|
||||
fakeMozLoop.getLoopPref = function(pref) {
|
||||
if (pref === "feedback.formURL") {
|
||||
if (pref === "feedback.manualFormURL") {
|
||||
return feedbackUrl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user