Closed
Bug 309132
Opened 19 years ago
Closed 18 years ago
Disable view-source when window/tab contains binary content
Categories
(Camino Graveyard :: Toolbars & Menus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: sugar.waffle, Assigned: bugzilla-graveyard)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
5.73 KB,
patch
|
nick.kreeger
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
The same problem as bug294383 is also in Camino. I think that it should view-source disable when image etc. are displayed of Camino. Reproducible: Always Mac OS X 10.3.9 2005091722 (v1.0+)
This would also prevent bug 300320 and the like.
Summary: Follow to bug294383 → Disable view-source when window/tab contains binary content
Assignee | ||
Comment 2•19 years ago
|
||
In reply to Wevah's bug 300320 comment 2, I have a suggestion for how we could disable the view source consistently: If the server sends a MIME type that is not text/plain, text/HTML, etc., disable it. I'm not saying I have any idea how to implement that, exactly. ;) But that seems to be a fairly logical way to go about it. cl
Updated•19 years ago
|
Target Milestone: --- → Camino1.1
Blocks: 316835
Blocks: 341853
No longer blocks: 316835
Assignee | ||
Updated•18 years ago
|
Assignee: mikepinkerton → nobody
QA Contact: toolbars
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → bugzilla
Assignee | ||
Comment 3•18 years ago
|
||
This uses the same overall approach Gavin used when he fixed this in Firefox. I hope the patch applies, cause it's mildly hand-edited (my tree is dirty from several related bugs). Apologies if it doesn't. cl
Attachment #226273 -
Flags: review?(nick.kreeger)
Comment 4•18 years ago
|
||
Comment on attachment 226273 [details] [diff] [review] same approach Firefox took sr=pink, i'd still like to see a r= as well before it lands.
Attachment #226273 -
Flags: superreview+
Comment 5•18 years ago
|
||
Comment on attachment 226273 [details] [diff] [review] same approach Firefox took Looks fine to me, there is a few spacing issues in |isTextBasedContent:| that I will take care of on checkin.
Attachment #226273 -
Flags: review?(nick.kreeger) → review+
Comment 6•18 years ago
|
||
fixed on 1.8 branch and trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Keywords: fixed1.8.1
Comment 7•18 years ago
|
||
This patch disables the menu-item and associated keyboard shortcut when viewing binary content. However, the contextual menu still contains an *active* view-source menu item. Is this the expected behaviour ?
Assignee | ||
Comment 8•18 years ago
|
||
(In reply to comment #7) > This patch disables the menu-item and associated keyboard shortcut when viewing > binary content. However, the contextual menu still contains an *active* > view-source menu item. Is this the expected behaviour ? No. I forgot that one. :-\ File a followup bug, please, and I'll fix that too. cl
Comment 9•18 years ago
|
||
D(In reply to comment #8) > (In reply to comment #7) > > This patch disables the menu-item and associated keyboard shortcut when viewing > > binary content. However, the contextual menu still contains an *active* > > view-source menu item. Is this the expected behaviour ? > > No. I forgot that one. :-\ > > File a followup bug, please, and I'll fix that too. Done: bug 342237.
You need to log in
before you can comment on or make changes to this bug.
Description
•