Closed
Bug 1118768
Opened 8 years ago
Closed 8 years ago
PopupNotifications.transitionsEnabled doesn't do anything but is still used by tests
Categories
(Toolkit :: Notifications and Alerts, defect)
Toolkit
Notifications and Alerts
Tracking
()
People
(Reporter: florian, Assigned: Skandan, Mentored)
References
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 2 obsolete files)
14.41 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
Bug 1079309 removed the transitionsEnabled setter from PopupNotifications but there are still 21 lines using it in tests: http://mxr.mozilla.org/mozilla-central/search?string=PopupNotifications.transitionsEnabled&tree=mozilla-central
Reporter | ||
Comment 1•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #0) > Bug 1079309 I meant bug 1079303 of course.
Comment 2•8 years ago
|
||
Judging by the lack of intermittent-failure armageddon, we can probably just nuke all the uses.
Updated•8 years ago
|
Mentor: florian
Whiteboard: [good first bug]
Assignee | ||
Comment 3•8 years ago
|
||
Please let me know if I missed something or did something wrong.
Attachment #8546446 -
Flags: feedback?(florian)
Assignee | ||
Comment 4•8 years ago
|
||
Sorry first patch did not have my user name tag in it.
Attachment #8546446 -
Attachment is obsolete: true
Attachment #8546446 -
Flags: feedback?(florian)
Attachment #8546448 -
Flags: feedback?(florian)
Comment 5•8 years ago
|
||
Comment on attachment 8546448 [details] [diff] [review] Bug-1118768.diff (Removed redundant code) Review of attachment 8546448 [details] [diff] [review]: ----------------------------------------------------------------- Almost there! I noted some more comments / empty lines to remove; after that I think it's ready for a review request. :-) ::: browser/base/content/test/popupNotifications/head.js @@ -87,5 @@ > > function setup() { > // Disable transitions as they slow the test down and we want to click the > // mouse buttons in a predictable location. > - PopupNotifications.transitionsEnabled = false; Nit: please remove the comment above this as well. ::: browser/base/content/test/social/head.js @@ -78,5 @@ > finish(); > } > > function runSocialTestWithProvider(manifest, callback, finishcallback) { > - PopupNotifications.transitionsEnabled = false; Nit: Please remove the empty line after this line as well. @@ -171,5 @@ > let providersAtStart = Social.providers.length; > info("runSocialTests: start test run with " + providersAtStart + " providers"); > window.focus(); > > - PopupNotifications.transitionsEnabled = false; Nit: Please remove the empty line after this line as well. ::: browser/modules/test/browser_SignInToWebsite.js @@ -276,5 @@ > finish(); > return; > } > > - PopupNotifications.transitionsEnabled = false; Nit: please remove the empty line after this line as well. @@ -315,5 @@ > function cleanUp() { > info("cleanup"); > resetState(); > > - PopupNotifications.transitionsEnabled = true; Nit: please remove the empty line after this line as well.
Attachment #8546448 -
Flags: feedback?(florian) → feedback+
Assignee | ||
Comment 6•8 years ago
|
||
Sorry I didn't clean up the code properly everywhere! :) Here is a patch with the changes.
Attachment #8546448 -
Attachment is obsolete: true
Attachment #8546555 -
Flags: review?(gijskruitbosch+bugs)
Comment 7•8 years ago
|
||
Comment on attachment 8546555 [details] [diff] [review] Bug-1118768.diff (nits cleaned up) Review of attachment 8546555 [details] [diff] [review]: ----------------------------------------------------------------- Awesome, thanks for the quick turnaround! I'll land this shortly.
Attachment #8546555 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 8•8 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/569130fd40b5
Assignee: nobody → prathikcoding167
Status: NEW → ASSIGNED
Iteration: --- → 37.2
Points: --- → 1
Flags: qe-verify-
Flags: in-testsuite+
Flags: firefox-backlog+
Comment 9•8 years ago
|
||
Nice work on this patch - maybe you want to take a look at, say, bug 1119682 next? :-)
Updated•8 years ago
|
Iteration: 37.2 → ---
Assignee | ||
Comment 10•8 years ago
|
||
Anything else I must do here? Like add the reviewer tag in the commit message?
Comment 11•8 years ago
|
||
(In reply to Prathik Sai [:Skandan] from comment #10) > Anything else I must do here? Like add the reviewer tag in the commit > message? Nah, I did that for you when I landed it (see comment #8). :-)
Assignee | ||
Comment 12•8 years ago
|
||
Thank You! :-) Having an amazing time as a newbie here.
Comment 13•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/569130fd40b5
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•8 years ago
|
Iteration: --- → 37.3 - 12 Jan
You need to log in
before you can comment on or make changes to this bug.
Description
•