Closed
Bug 169789
Opened 22 years ago
Closed 21 years ago
PPEmbed and Chimera fail to save view-source:
Categories
(Core Graveyard :: Embedding: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ccarlen, Assigned: ccarlen)
References
Details
Attachments
(1 file, 1 obsolete file)
2.27 KB,
patch
|
mikepinkerton
:
review+
|
Details | Diff | Splinter Review |
The work the header sniffer does fails on such a URL. We end up with some
fallback file name without a suffix. Since no suffix, we do:
mimeService->GetFromMIMEType(mContentType.get(), ...)
and since the content type is "text/html; x-view-type=view-source", that fails
and we bail.
Assignee | ||
Comment 1•22 years ago
|
||
This fixes it. Need r=/sr=.
Assignee | ||
Comment 2•22 years ago
|
||
Fixing summary.
Summary: PPEmbed as Chimera fail to save view-source: → PPEmbed and Chimera fail to save view-source:
Assignee | ||
Comment 3•22 years ago
|
||
Still looking for r=/sr=.
Comment 4•22 years ago
|
||
Comment on attachment 99891 [details] [diff] [review]
patch
sr=sfraser
Attachment #99891 -
Flags: superreview+
Comment 5•22 years ago
|
||
+ if (Substring(uriSpec, 0, 12).Equals("view-source:")) {
+ const nsACString& srcSpec = Substring(uriSpec, 12,
uriSpec.Length() - 12);
rather than |12| here, i'd like to see you use strlen("view-source:") or a
constant at least -- i'm guessing that's where the 12 comes from ;)
otherwise r=pink
Updated•22 years ago
|
Attachment #99891 -
Flags: review+
Comment 6•22 years ago
|
||
*** Bug 164361 has been marked as a duplicate of this bug. ***
Comment 7•21 years ago
|
||
Mike why was this one not checked in ?
Comment 8•21 years ago
|
||
*** Bug 217708 has been marked as a duplicate of this bug. ***
Comment 9•21 years ago
|
||
conrad, this file is in the attic, what do we need to change for camino to get
it to do the right thing?
Assignee | ||
Comment 10•21 years ago
|
||
Here's a new patch against current camino
Attachment #99891 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138423 -
Flags: review?(pinkerton)
Comment 11•21 years ago
|
||
Comment on attachment 138423 [details] [diff] [review]
patch v2
r=pink
Attachment #138423 -
Flags: review?(pinkerton) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #138423 -
Flags: superreview?(darin)
Assignee | ||
Comment 12•21 years ago
|
||
Comment on attachment 138423 [details] [diff] [review]
patch v2
clearing request for sr= since Camino
Attachment #138423 -
Flags: superreview?(darin)
Assignee | ||
Comment 13•21 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•