Closed
Bug 881576
Opened 11 years ago
Closed 11 years ago
Convert storage quota notifications test to use in-content preferences
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
VERIFIED
FIXED
Firefox 32
People
(Reporter: markh, Assigned: peregrino)
References
Details
(Whiteboard: [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.3 [qa-])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Bug 857868 introduces a new test for storage quota notifications, which ensures the correct Preferences tab is opened when the notification is clicked on. That bug should gracefully detect when in-content prefs are enabled but will then hit some "todo" calls instead of actually checking the correct preference is visible.
This bug is to track replacing these todo() calls in browser/base/content/test/browser_offlineQuotaNotification.js with appropriate checks.
Reporter | ||
Comment 1•11 years ago
|
||
In theory, the fix should be to replace the single todo call (there aren't multiple calls as I implied in comment 0) with:
gBrowser.addEventListener("Initialized", function PrefInit() {
gBrowser.removeEventListener("Initialized", PrefInit, true);
checkPreferences(gBrowser.contentWindow);
}, true);
Updated•11 years ago
|
Blocks: fxdesktopbacklog
Whiteboard: p=0
Updated•11 years ago
|
Whiteboard: p=0 → p=0 [mentor=markh]
Updated•11 years ago
|
Whiteboard: p=0 [mentor=markh] → [mentor=markh] p=0
Updated•11 years ago
|
Whiteboard: [mentor=markh] p=0 → [mentor=markh] p=2
Updated•11 years ago
|
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog+
Comment 2•11 years ago
|
||
Unassigned after triage, flagging as diamond. Markh, are you still willing to mentor this bug?
Flags: needinfo?(mhammond)
Whiteboard: [mentor=markh] p=2 → [mentor=markh] p=2 [diamond]
Updated•11 years ago
|
Whiteboard: [mentor=markh] p=2 [diamond] → [mentor=markh] [diamond] p=2
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Mike Hoye [:mhoye] from comment #2)
> Unassigned after triage, flagging as diamond. Markh, are you still willing
> to mentor this bug?
Sure!
Flags: needinfo?(mhammond)
Assignee | ||
Comment 4•11 years ago
|
||
I think I can take this one. Seems a good thing to get back on track :)
Comment 5•11 years ago
|
||
Hernan, I think you should go for it.
Updated•11 years ago
|
Blocks: ship-incontent-prefs
Assignee | ||
Updated•11 years ago
|
Assignee: mhammond → colmeiro
Assignee | ||
Comment 6•11 years ago
|
||
I'm attaching a proposed patch for this, let me know if it needs polishing. Jared, Mark said to ask you for review as he never touched the new in-content preferences, but feel free to push it back to him.
Attachment #8426809 -
Flags: review?(jaws)
Comment 7•11 years ago
|
||
Comment on attachment 8426809 [details] [diff] [review]
proposed patch
Review of attachment 8426809 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good. I double-checked that gBrowser.selectedBrowser would be OK to use right after clicking the popup notification's button.
::: browser/base/content/test/general/browser_offlineQuotaNotification.js
@@ +36,5 @@
> });
> });
> }
> +// Same as the other one, but for in-content preferences
> +function checkIncontentPreferences(win) {
nit, checkInContentPreferences (capital C) (here and below)
@@ +42,5 @@
> + let doc = win.document;
> + let tab = doc.getElementById("advancedPrefs").selectedTab.id;
> + is(gBrowser.currentURI.spec, "about:preferences", "about:preferences loaded");
> + is(sel, "paneAdvanced", "Advanced pane was selected");
> + is(tab,"networkTab", "Network tab is selected");
nit, space after ','
Attachment #8426809 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8426809 -
Attachment is obsolete: true
Comment 9•11 years ago
|
||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [mentor=markh] [diamond] p=2 → [mentor=markh] [diamond] p=2[fixed-in-fx-team]
Comment 11•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [mentor=markh] [diamond] p=2[fixed-in-fx-team] → [mentor=markh] [diamond] p=2
Target Milestone: --- → Firefox 32
Updated•11 years ago
|
Whiteboard: [mentor=markh] [diamond] p=2 → [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.2 [qa?]
Updated•10 years ago
|
Whiteboard: [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.2 [qa?] → [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.3 [qa?]
Updated•10 years ago
|
Whiteboard: [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.3 [qa?] → [mentor=markh] [diamond] p=0 s=it-32c-31a-30b.3 [qa-]
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•