Closed
Bug 652542
Opened 13 years ago
Closed 13 years ago
"Ignore warning" link on view source pages no longer works
Categories
(Toolkit :: View Source, defect)
Toolkit
View Source
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
Attachments
(1 file)
2.68 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
Bug 546857 changed the browser.js handler to click (since blockedSite.xhtml no longer uses a xul:button, so command events are no longer fired), but didn't update the similar code in viewSource.js.
Assignee | ||
Comment 1•13 years ago
|
||
I figured there's no need to try be smart about when to attach the listener the way browser.js does, view-source is used less and it's OK to just always have a click listener on it, I think.
Comment 2•13 years ago
|
||
Comment on attachment 528107 [details] [diff] [review] patch Review of attachment 528107 [details] [diff] [review]: ::: toolkit/components/viewsource/content/viewSource.js @@ +276,5 @@ } } /** * Handle command events bubbling up from error page content Nit: comment needs changing @@ -324,5 @@ } } else if (target == errorDoc.getElementById('ignoreWarningButton')) { - // Allow users to override and continue through to the site, - // but add a notify bar as a reminder, so that they don't lose - // track after, e.g., tab switching. I can't comment on this comment change, since I have no idea why you're changing it.
Assignee | ||
Comment 3•13 years ago
|
||
The view source window doesn't add the notification bar. Compare it to the browser.js code from where that comment was copied.
Assignee | ||
Comment 4•13 years ago
|
||
(I updated the comment with s/command/click/ locally)
Comment 5•13 years ago
|
||
Comment on attachment 528107 [details] [diff] [review] patch Ah, that makes sense then, thanks.
Attachment #528107 -
Flags: review?(neil) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 6•13 years ago
|
||
(In reply to comment #4) > (I updated the comment with s/command/click/ locally) This change still needs to be applied before pushing the patch.
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/661247ec9748
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → mozilla6
You need to log in
before you can comment on or make changes to this bug.
Description
•