[Bps-public-commit] Net-Google-Code branch, master, updated. 2bd97c815b19452198e044ef44a16ee87c743713
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Dec 21 22:30:42 EST 2009
The branch, master has been updated
via 2bd97c815b19452198e044ef44a16ee87c743713 (commit)
via 0b328b565fcb2f361d2496a2c3711b56058fd7bd (commit)
via 6feeaa675e9f81233be670eeb91d322308877e15 (commit)
via 6ff8f4df5417e3471f827e6041052cd43a610890 (commit)
via d7a039ff1932bb71d81fe8ccc268b5309e3825dc (commit)
via d360943ddd099ec5b57cd57c907ca6f938874ade (commit)
from 128c08a7677af2530c93c0bf4a9a786b5c005158 (commit)
Summary of changes:
Makefile.PL | 12 +-
lib/Net/Google/Code/Issue/Attachment.pm | 41 +-
lib/Net/Google/Code/Issue/Util.pm | 7 +-
t/02.issue.t | 77 +-
t/03.comment.t | 108 ++-
t/04.attachment.t | 47 +-
t/live/01.issue.t | 19 +
t/sample/02.issue.html | 1715 ++++------------------------
t/sample/02.issue_without_attachments.html | 426 -------
9 files changed, 411 insertions(+), 2041 deletions(-)
create mode 100644 t/live/01.issue.t
delete mode 100644 t/sample/02.issue_without_attachments.html
- Log -----------------------------------------------------------------
commit d360943ddd099ec5b57cd57c907ca6f938874ade
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 09:34:23 2009 +0800
warning fix
diff --git a/lib/Net/Google/Code/Issue/Util.pm b/lib/Net/Google/Code/Issue/Util.pm
index 751c7e4..1115d05 100644
--- a/lib/Net/Google/Code/Issue/Util.pm
+++ b/lib/Net/Google/Code/Issue/Util.pm
@@ -55,9 +55,10 @@ sub translate_from_xml {
my $text;
if ( $ref->{$k}{-type} eq 'html' ) {
my $tree =
- Net::Google::Code::Role::HTMLTree->html_tree(
- html => '<pre>' . $ref->{$k}->{'#text'} . '</pre>' );
- $text = $tree->as_text;
+ Net::Google::Code::Role::HTMLTree->html_tree( html => '<pre>'
+ . ( $ref->{$k}->{'#text'} || '' )
+ . '</pre>' );
+ $text = $tree->as_text if $tree;
}
else {
$text = $ref->{$k}->{'#text'};
commit d7a039ff1932bb71d81fe8ccc268b5309e3825dc
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 09:34:42 2009 +0800
google changed attachments snippet
diff --git a/lib/Net/Google/Code/Issue/Attachment.pm b/lib/Net/Google/Code/Issue/Attachment.pm
index 3cf83a7..48bb481 100644
--- a/lib/Net/Google/Code/Issue/Attachment.pm
+++ b/lib/Net/Google/Code/Issue/Attachment.pm
@@ -27,20 +27,17 @@ sub parse {
my $self = shift;
my $html = shift;
- my ( $tr1, $tr2 );
+ my $tr;
if ( blessed $html ) {
- ( $tr1, $tr2 ) = $html->find_by_tag_name( 'tr' );
- }
- elsif ( ref $html eq 'ARRAY' ) {
- ( $tr1, $tr2 ) = @$html;
+ $tr = $html->find_by_tag_name( 'tr' );
}
else {
my $tree = $self->html_tree( html => $html );
- ( $tr1, $tr2 ) = $tree->find_by_tag_name( 'tr' );
+ $tr = $tree->find_by_tag_name( 'tr' );
}
- my $b = $tr1->find_by_tag_name('b'); # name lives here
+ my $b = $tr->find_by_tag_name('b'); # name lives here
if ($b) {
my $name = $b->content_array_ref->[0];
$name =~ s/^\s+//;
@@ -55,17 +52,22 @@ sub parse {
}
}
- my $td = $tr2->find_by_tag_name('td');
- if ($td) {
- my $size = $td->content_array_ref->[0];
- $size =~ s/^\s+//;
- $size =~ s/\s+$//;
- $self->size($size);
-
- $self->url( $td->find_by_tag_name('a')->attr('href') );
+ my @tds = $tr->find_by_tag_name('td');
+ if (@tds) {
+ $self->url( $tds[0]->find_by_tag_name('a')->attr('href') );
if ( $self->url =~ /aid=([-\d]+)/ ) {
$self->id( $1 );
}
+
+ if ( $tds[1] ) {
+ my $size = $tds[1]->content_array_ref->[2];
+ if ( $size && $size =~ /([\d.]+)\s*(\w+)/ ) {
+ $self->size("$1 $2");
+ }
+ else {
+ warn 'failed to parse size' unless $size;
+ }
+ }
}
return 1;
@@ -80,11 +82,10 @@ sub parse_attachments {
my @items = $element->find_by_tag_name('tr');
while ( scalar @items ) {
- my $tr1 = shift @items;
- my $tr2 = shift @items;
+ my $tr = shift @items;
my $a = Net::Google::Code::Issue::Attachment->new;
- if ( $a->parse( [ $tr1, $tr2 ] ) ) {
+ if ( $a->parse( $tr ) ) {
push @attachments, $a;
}
}
commit 6ff8f4df5417e3471f827e6041052cd43a610890
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 10:14:43 2009 +0800
update issue tests
diff --git a/t/02.issue.t b/t/02.issue.t
index 3055b1e..25eb3be 100644
--- a/t/02.issue.t
+++ b/t/02.issue.t
@@ -1,12 +1,9 @@
use strict;
use warnings;
-use Test::More tests => 23;
+use Test::More tests => 20;
use Test::MockModule;
-# $content is a real page: http://code.google.com/p/chromium/issues/detail?id=14
-# we faked something to meet some situations, which are commented below
-
use FindBin qw/$Bin/;
use File::Slurp;
@@ -25,42 +22,22 @@ $mock_att->mock( 'fetch', sub { '' } );
use Net::Google::Code::Issue;
my $issue = Net::Google::Code::Issue->new( project => 'test' );
isa_ok( $issue, 'Net::Google::Code::Issue', '$issue' );
-$issue->load(14);
-
-my $description = <<"EOF";
-What steps will reproduce the problem?
-
-Attempt to install chrome behind a firewall blocking HTTP/HTTPS traffic.
-
-What is the expected result?
-
-Options for proxy settings to allow the installer to retrieve the necessary
-data via a proxy.
-
-What happens instead?
-
-Installer simply fails, notifying the user to adjust their firewall settings.
-EOF
-
-$description =~ s/\s+$//;
+$issue->load(8);
my %info = (
- id => 14,
- summary => 'Proxy settings for installer',
- description => $description,
- cc => 'thatan... at google.com',
- owner => 'all-bugs-test at chromium.org',
- reporter => 'seanamonroe',
- status => 'Available',
+ id => 8,
+ summary => 'issue 8',
+ description => 'test the hack of file field',
+ cc => 'sunnavy',
+ owner => 'sunnavy',
+ reporter => 'sunnavy',
+ status => 'Accepted',
closed => undef,
merged => undef,
- stars => 34,
+ stars => 1,
);
-my @labels = (
- 'Type-Bug', 'Pri-2', 'OS-All', 'Area-Installer',
- 'intext', 'Mstone-X', 'Foo-Bar-Baz',
-);
+my @labels = ( 'Test-fine', );
for my $item (
qw/id summary description owner cc reporter status closed merged
@@ -77,35 +54,15 @@ for my $item (
is_deeply( $issue->labels, \@labels, 'labels is extracted' );
-is( scalar @{$issue->comments}, 51, 'comments are extracted' );
+is( scalar @{$issue->comments}, 5, 'comments are extracted' );
is( $issue->comments->[0]->sequence, 0, 'comment 0 is for the actual create' );
is( scalar @{ $issue->comments->[0]->attachments },
- 3, 'comment 0 has 3 attachments' );
-is_deeply(
- $issue->comments->[0]->updates,
- {
- 'owner' => 'all-bugs-test at chromium.org',
- 'summary' => 'Proxy settings for installer',
- 'labels' =>
- [ 'Area-Unknown', 'Type-Bug', 'Pri-2', 'OS-All', 'Foo-Bar-Baz' ]
- },
- 'comment 0 updates'
-);
-
+ 2, 'comment 0 has 2 attachments' );
is( $issue->comments->[1]->sequence, 1, 'sequence of comment 1 is 1' );
-# seems comments 2 and 3 are deleted
-is( $issue->comments->[2]->sequence, 4, 'sequence of comment 2 is 4' );
-
-# attachments part are faked from
-# http://code.google.com/p/chromium/issues/detail?id=683
-is( scalar @{ $issue->attachments }, 3, 'attachments are extracted' );
-is( $issue->attachments->[0]->size, '11.7 KB', 'size of the 1st attachment' );
+is( $issue->comments->[2]->sequence, 2, 'sequence of comment 2 is 4' );
-is( $issue->updated, '2008-12-20T01:59:29', 'updated' );
+is( scalar @{ $issue->attachments }, 2, 'attachments are extracted' );
+is( $issue->attachments->[0]->size, '223 bytes', 'size of the 1st attachment' );
+is( $issue->updated, '2009-10-14T12:07:40', 'updated' );
-$content = read_file("$Bin/sample/02.issue_without_attachments.html");
-utf8::downgrade( $content, 1 );
-$issue->load(14);
-is( $issue->updated, '2008-12-20T01:59:29', 'updated' );
-is_deeply( $issue->attachments, [], 'no attachments are extracted' );
diff --git a/t/sample/02.issue.html b/t/sample/02.issue.html
index ad14474..4abffa9 100644
--- a/t/sample/02.issue.html
+++ b/t/sample/02.issue.html
@@ -1,31 +1,55 @@
+
+
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
+ <script type="text/javascript">
+
+
+
+ var codesite_token = null;
+
- <title>Issue 14 -
- chromium -
+ var logged_in_user_email = null;
- Google Code</title>
+ </script>
+
+
+ <title>Issue 8 -
+ net-google-code -
+
+ issue 8 - Project Hosting on Google Code</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
- <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/3596478537346627501/css/d_20081117.css">
+ <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/9780382801487167851/css/ph_core.css">
+
+ <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/9780382801487167851/css/ph_detail.css" >
+
<!--[if IE]>
- <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/3596478537346627501/css/d_ie.css" >
+ <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/9780382801487167851/css/d_ie.css" >
<![endif]-->
+ <style type="text/css">
+ .menuIcon.off { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -42px }
+ .menuIcon.on { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -28px }
+ .menuIcon.down { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 0; }
+ .results th a, .results th a:visited { background: url(http://www.gstatic.com/codesite/ph/images/downarrow.gif) no-repeat top right }
+ </style>
</head>
<body class="t3">
<div id="gaia">
- <font size="-1">
- <a href="/p/support/wiki/WhatsNew" style="color:#a03">What's new?</a>
- | <a href="/p/support/">Help</a>
- | <a href="/more/">Directory</a>
- | <a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14">Sign in</a>
+ <span>
+
- </font>
+ <a href="#" id="projects-dropdown" onclick="return false;">My favorites</a>
+
+ | <a href="https://www.google.com/accounts/ServiceLogin?service=code<mpl=phosting&continue=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8" onclick="_CS_click('/gb/ph/signin');">Sign in</a>
+
+ </span>
</div>
<div class="gbh" style="left: 0pt;"></div>
@@ -33,16 +57,35 @@
<div style="height: 1px"></div>
+<!--[if IE 6]>
+<div style="text-align:center;">
+Support browsers that contribute to open source, try <a href="http://www.firefox.com">Firefox</a> or <a href="http://www.google.com/chrome">Google Chrome</a>.
+</div>
+<![endif]-->
<table style="padding:0px; margin: 20px 0px 0px 0px; width:100%" cellpadding="0" cellspacing="0">
- <tr>
- <td style="width:153px"><a href="/"><img src="http://www.gstatic.com/codesite/ph/images/code_sm.png" width="153" height="55" alt="Google"></a></td>
+ <tr style="height: 58px;">
+
+ <td style="width: 55px; text-align:center;">
+ <a href="/p/net-google-code/">
+
+
+
+ <img src="http://www.gstatic.com/codesite/ph/images/defaultlogo.png"
+ alt="Project Logo">
+
+
+
+ </a>
+ </td>
+
<td style="padding-left: 0.8em">
<div id="pname" style="margin: 0px 0px -3px 0px">
- <a href="/p/chromium/" style="text-decoration:none; color:#000">chromium</a>
+ <a href="/p/net-google-code/" style="text-decoration:none; color:#000">net-google-code</a>
</div>
+
<div id="psum">
- <i><a href="/p/chromium/" style="text-decoration:none; color:#000">An open-source browser project to help move the web forward.</a></i>
+ <i><a id="project_summary_link" href="/p/net-google-code/" style="text-decoration:none; color:#000">a simple client library for google code</a></i>
</div>
</td>
@@ -50,22 +93,24 @@
<form action="/hosting/search">
<input size="30" name="q" value="">
- <input type="submit" name="projectsearch" value="Search Projects" >
+ <input type="submit" name="projectsearch" value="Search projects" >
</form>
</tr>
</table>
+
+
<table id="mt" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
- <th onclick="if (!cancelBubble) _go('/p/chromium/');">
+ <th onclick="if (!cancelBubble) _go('/p/net-google-code/');">
<div class="tab inactive">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/">Project Home</a>
+ <a onclick="cancelBubble=true;" href="/p/net-google-code/">Project Home</a>
</div>
</div>
</th><td> </td>
@@ -73,15 +118,28 @@
+ <th onclick="if (!cancelBubble) _go('/p/net-google-code/downloads/list');">
+ <div class="tab inactive">
+ <div class="round4"></div>
+ <div class="round2"></div>
+ <div class="round1"></div>
+ <div class="box-inner">
+ <a onclick="cancelBubble=true;" href="/p/net-google-code/downloads/list">Downloads</a>
+ </div>
+ </div>
+ </th><td> </td>
+
- <th onclick="if (!cancelBubble) _go('/p/chromium/w/list');">
+
+
+ <th onclick="if (!cancelBubble) _go('/p/net-google-code/w/list');">
<div class="tab inactive">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/w/list">Wiki</a>
+ <a onclick="cancelBubble=true;" href="/p/net-google-code/w/list">Wiki</a>
</div>
</div>
</th><td> </td>
@@ -90,13 +148,13 @@
- <th onclick="if (!cancelBubble) _go('/p/chromium/issues/list');">
+ <th onclick="if (!cancelBubble) _go('/p/net-google-code/issues/list');">
<div class="tab active">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/issues/list">Issues</a>
+ <a onclick="cancelBubble=true;" href="/p/net-google-code/issues/list">Issues</a>
</div>
</div>
</th><td> </td>
@@ -104,6 +162,19 @@
+
+ <th onclick="if (!cancelBubble) _go('/p/net-google-code/source/checkout');">
+ <div class="tab inactive">
+ <div class="round4"></div>
+ <div class="round2"></div>
+ <div class="round1"></div>
+ <div class="box-inner">
+ <a onclick="cancelBubble=true;" href="/p/net-google-code/source/checkout">Source</a>
+ </div>
+ </div>
+ </th><td> </td>
+
+
<td width="100%"> </td>
</tr>
</table>
@@ -120,7 +191,7 @@
<span class="inIssueEntry">
- <a href="entry">New Issue</a>
+ <a href="entry">New issue</a>
</span> |
<span class="inIssueList">
@@ -128,18 +199,18 @@
<form action="list" method="GET" style="display:inline">
<select id="can" name="can" style="font-size:92%">
-<option disabled="disabled">Search Within:</option>
-<option value="1" > All Issues</option>
-<option value="2" selected=selected> Open Issues</option>
+<option disabled="disabled">Search within:</option>
+<option value="1" > All issues</option>
+<option value="2" selected=selected> Open issues</option>
-<option value="6" > New Issues</option>
-<option value="7" > Issues to Verify</option>
+<option value="6" > New issues</option>
+<option value="7" > Issues to verify</option>
</select>
<span>for</span>
- <input type="text" size="32" id="q" name="q" value="" style="font-size:92%" >
+ <span id="qq"><input type="text" size="32" id="q" name="q" value="" style="font-size:92%" ></span>
- <input type="hidden" name="colspec" id="search_colspec" value="ID Stars Pri Area Type Status Summary Modified Owner" >
+ <span id="search_colspec"><input type="hidden" name="colspec" value="ID Type Status Priority Milestone Owner Summary" ></span>
@@ -148,10 +219,10 @@
</form>
</span> |
<span class="inIssueAdvSearch">
- <a href="advsearch">Advanced Search</a>
+ <a href="advsearch">Advanced search</a>
</span> |
<span class="inIssueSearchTips">
- <a href="searchtips">Search Tips</a>
+ <a href="searchtips">Search tips</a>
</span>
</div>
</div>
@@ -175,118 +246,17 @@
function _go(url) { document.location = url; }
</script>
-<div id="maincol">
-<!-- IE -->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<div id="maincol"
+>
+<!-- IE -->
-
-
-
-
@@ -297,28 +267,35 @@
<style type="text/css">
- .attachments { width:33%; border-top:2px solid #999; padding-top: 3px}
+ .attachments { width:33%; border-top:2px solid #999; padding-top: 3px; margin-left: .7em;}
.attachments table { margin-bottom: 0.75em; }
.attachments table tr td { padding: 0; margin: 0; font-size: 95%; }
+ .preview { border: 2px solid #c3d9ff; padding: 1px; }
+ .preview:hover { border: 2px solid blue; }
.label { white-space: nowrap; }
.derived { font-style:italic }
+ tr.cursor_on .author {
+
+ background: #fff url(http://code.google.com/images/show-arrow.gif) no-repeat 2px;
+ }
</style>
<div id="issueheader">
<table cellpadding="0" cellspacing="0" width="100%"><tbody>
<tr>
<td class="vt h3" nowrap="nowrap" style="padding:0 5px">
- Issue <a href="detail?id=14">14</a>:
+
+ Issue <a href="detail?id=8">8</a>:
</td>
<td width="90%" class="vt">
- <span class="h3" >Proxy settings for installer</span>
+ <span class="h3" >issue 8</span>
</td>
<td>
<div class="pagination">
-
- 1 of 2665
- <a href="detail?id=17" title="Next">Next ›</a>
+ <a href="detail?id=7" title="Prev">‹ Prev</a>
+ 5 of 18
+ <a href="detail?id=9" title="Next">Next ›</a>
</div>
</td>
</tr>
@@ -327,26 +304,29 @@
<td nowrap="nowrap">
- 34 people starred this issue and may be notified of changes.
+ 1 person starred this issue and may be notified of changes.
+
</td>
<td align="center" nowrap="nowrap">
- <a href="http://code.google.com/p/chromium/issues/list">Back to list</a>
+ <a href="http://code.google.com/p/net-google-code/issues/list?cursor=8">Back to list</a>
</td>
</tr>
</tbody></table>
-</div><table width="100%" cellpadding="0" cellspacing="0" border="0" class="issuepage">
-<tbody class="collapse">
- <tr>
- <td id="issuemeta" rowspan="1000">
+</div>
+<table width="100%" cellpadding="0" cellspacing="0" border="0" class="issuepage" id="meta-container">
+<tbody id="cursorarea" class="collapse">
+ <tr class="cursor_off">
+ <td id="issuemeta" rowspan="6">
+ <div id="meta-float">
<table cellspacing="0" cellpadding="0">
<tr><th align="left">Status: </th>
<td width="100%">
- Available
+ <span title="Problem reproduced / Need acknowledged">Accepted</span>
</td>
</tr>
@@ -355,7 +335,7 @@
<tr><th align="left">Owner: </th><td>
- <a href="/u/all-bugs-test at chromium.org/">all-bugs-test at chromium.org</a>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a>
</td>
</tr>
@@ -364,61 +344,20 @@
<tr><th class="vt" align="left">Cc: </th><td>
- <a href="/u/@VxJfQ1RWABBAXQE%3D/">thatan... at google.com</a>
-
- </td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Type-Bug"
- title=""
- class="label"><b>Type-</b>Bug</a>
- </td></tr>
-
-
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a>, <a style="white-space: nowrap" href="/u/@WBlRQ1ZSBBVFVwN4/">t... at example.com</a>
- <tr><td colspan="2">
- <a href="list?q=label:Pri-2"
- title=""
- class="label"><b>Pri-</b>2</a>
</td></tr>
<tr><td colspan="2">
- <a href="list?q=label:OS-All"
+ <a href="list?q=label:Test-fine"
title=""
- class="label"><b>OS-</b>All</a>
+ class="label"><b>Test-</b>fine</a>
</td></tr>
- <tr><td colspan="2">
- <a href="list?q=label:Area-Installer"
- title=""
- class="label"><b>Area-</b>Installer</a>
- </td></tr>
-
-
-
- <tr><td colspan="2"><a href="list?q=label:intext"
- title=""
- class="label">intext</a></td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Mstone-X"
- title=""
- class="label"><b>Mstone-</b>X</a>
- </td></tr>
-
- <tr><td colspan="2">
- <a href="list?q=label:Foo-Bar-Baz"
- title=""
- class="label"><b>Foo-</b>Bar-Bug</a>
- </td></tr>
</table>
@@ -426,885 +365,108 @@
- <div style="white-space:nowrap"><a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14"
+ <div style="white-space:nowrap"><a href="https://www.google.com/accounts/ServiceLogin?service=code<mpl=phosting&continue=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8"
>Sign in</a> to add a comment</div>
- <br>
+ <div class="rel_issues">
+ </div>
+ </div>
</td>
<td class="vt issuedescription" width="100%">
<div class="author">
- Reported by <a href="/u/seanamonroe/">seanamonroe</a>,
- <span class="date" title="Tue Sep 2 12:19:25 2008">Sep 02, 2008</span>
+ Reported by <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a>,
+ <span class="date" title="Fri Feb 20 00:46:06 2009">Feb 20, 2009</span>
</div>
<pre>
-<b>What steps will reproduce the problem?</b>
-
-Attempt to install chrome behind a firewall blocking HTTP/HTTPS traffic.
-
-<b>What is the expected result?</b>
-
-Options for proxy settings to allow the installer to retrieve the necessary
-data via a proxy.
-
-<b>What happens instead?</b>
-
-Installer simply fails, notifying the user to adjust their firewall settings.
+test the hack of file field
</pre>
+
<div class="attachments">
- <table cellspacing="0" cellpadding="2" border="0">
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>chrome-border-bug.png</b></td></tr>
- <tr><td>11.7 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png">Download</a></td></tr>
+
+
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>chrome-border-bug.png</b></td></tr>
- <tr><td>11.7 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png">Download</a></td></tr>
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>chrome-border-bug.png</b></td></tr>
- <tr><td>11.7 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-8682239133892813205&name=chrome-border-bug.png">Download</a></td></tr>
- </table>
-
- </div>
+ <table cellspacing="3" cellpadding="2" border="0">
+ <tr><td width="20">
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=2743876944042994065&name=%2Ftmp%2Faaa" target="new">
+ <img width="15" height="15" src="/hosting/images/paperclip.gif" border="0" >
+ </a>
</td>
- </tr>
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c1"
- href="#c1">1</a>
- by
- <a href="/u/jakendall/">jakendall</a></span>,
- <span class="date" title="Tue Sep 2 12:20:16 2008">Sep 02, 2008</span>
-<pre>
-Firewall settings are taken from IE settings
-</pre>
-
-
- </td>
- </tr>
-
-
-
-
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c4"
- href="#c4">4</a>
- by
- <a href="/u/seanamonroe/">seanamonroe</a></span>,
- <span class="date" title="Tue Sep 2 13:03:19 2008">Sep 02, 2008</span>
-<pre>
-Proxy is configured correctly in IE and IE is functional.
-
-From looking at a packet capture it appears to be hitting the proxy, but failing
-because the proxy requires authentication.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c5"
- href="#c5">5</a>
- by
- <a href="/u/megatron3w/">megatron3w</a></span>,
- <span class="date" title="Tue Sep 2 13:30:09 2008">Sep 02, 2008</span>
-<pre>
-I'm having exact same issue. IE can access the net just fine behind our
-Firewall/Proxy, thus I know the proxy is configured correctly. But the installer just
-hangs unable to detect the proxy. I even tried using proxycfg in the command line and
-that didn't make a difference either.
-</pre>
-
-
- </td>
- </tr>
-
-
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c7"
- href="#c7">7</a>
- by
- <a href="/u/nondisclosure007/">nondisclosure007</a></span>,
- <span class="date" title="Tue Sep 2 14:32:43 2008">Sep 02, 2008</span>
-<pre>
-I also have the same problem.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c8"
- href="#c8">8</a>
- by
- <a href="/u/darklord00/">darklord00</a></span>,
- <span class="date" title="Tue Sep 2 14:47:09 2008">Sep 02, 2008</span>
-<pre>
-It would be a good idea if there was function implemented FF like, that let you
-define the proxy for Chrome no matter the IE settins dont you think?
-</pre>
-
-
- </td>
- </tr>
-
+ <td style="min-width:16em" valign="top">
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c9"
- href="#c9">9</a>
- by
- <a href="/u/sorinj/">sorinj</a></span>,
- <span class="date" title="Tue Sep 2 15:00:40 2008">Sep 02, 2008</span>
-<pre>
-If the proxy supports autologon using the negotiate protocol, then the installer will
-work.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c10"
- href="#c10">10</a>
- by
- <a href="/u/royer5563/">royer5563</a></span>,
- <span class="date" title="Tue Sep 2 15:06:24 2008">Sep 02, 2008</span>
-<pre>
-Alternate issue on this -
-Was able to download/install, but once instaleld, ti keeps asking for my
-login/password (proxy settings show same as my IE/Firefox settings which both work
-fine).
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
+ <b >/tmp/aaa</b>
+ <br>
+ 223 bytes
-
- <span class="author">Comment <a name="c11"
- href="#c11">11</a>
- by
- <a href="/u/mgoffin/">mgoffin</a></span>,
- <span class="date" title="Tue Sep 2 15:12:31 2008">Sep 02, 2008</span>
-<pre>
-Same problem. I confirmed that both IE6, IE7, IE8B1, IE8B2, and Firefox are all
-functioning properly with my proxy. I was able to download and install without
-problems, but when browsing sites in Chrome I am constantly asked for proxy
-authentication. This also causes rendering issues for a lot of sites (Google Account
-Login, for instance).
-</pre>
-
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=2743876944042994065&name=%2Ftmp%2Faaa">Download</a>
</td>
- </tr>
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c12"
- href="#c12">12</a>
- by
- <a href="/u/danhood/">danhood</a></span>,
- <span class="date" title="Tue Sep 2 15:42:55 2008">Sep 02, 2008</span>
-<pre>
-Agree, it does not appear that there is any way to get the net installer (not the
-browser itself) to pick up a proxy server. If I recall correctly, this is also the
-case with some of the other Google installers (i.e. newer releases of Google earth).
-
-It would be nice to provide a non-net based installer so it could be downloaded with
-a pre-configured browser and installed directly (or give the installers proxy support
-similar to that of Cygwin).
-</pre>
-
-
- </td>
</tr>
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c13"
- href="#c13">13</a>
- by
- <a href="/u/zzygan/">zzygan</a></span>,
- <span class="date" title="Tue Sep 2 18:05:29 2008">Sep 02, 2008</span>
-<pre>
-Same issue here. I tried using the unix/firefox trick of specifing the username and
-password in the proxy settings aka http://username:pass@proxy.settings.com but IE
-just removes the username and pass.
+ </table>
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c14"
- href="#c14">14</a>
- by
- <a href="/u/kaamelot.fr/">kaamelot.fr</a></span>,
- <span class="date" title="Tue Sep 2 22:48:09 2008">Sep 02, 2008</span>
-<pre>
-Same issue.
-No way to specify the Proxy settings (Proxy Host, Port, User and Password) to Google
-Update.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c15"
- href="#c15">15</a>
- by
- <a href="/u/lasttimestealer/">lasttimestealer</a></span>,
- <span class="date" title="Wed Sep 3 00:07:19 2008">Sep 03, 2008</span>
-<pre>
-I was able to install Chrome behind a firewall but I can't get rid of the proxy
-authentication. And I can enter whatever I like: Chrome does not accept my
-authentication.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c16"
- href="#c16">16</a>
- by
- <a href="/u/Nimlar/">Nimlar</a></span>,
- <span class="date" title="Wed Sep 3 00:25:04 2008">Sep 03, 2008</span>
-<pre>
-Maybe with the full event error message :
-
-==========================================
-The description for Event ID ( 20 ) in Source ( Google Update ) cannot be found. The
-local computer may not have the necessary registry information or message DLL files
-to display messages from a remote computer. You may be able to use the /AUXSOURCE=
-flag to retrieve this description; see Help and Support for details. The following
-information is part of the event: Network Request Error.
-Error: 0x80042197. Http status code: 407.
-Url=<a href="https://tools.google.com/service/update2">https://tools.google.com/service/update2</a>
-Trying config: source=FireFox, wpad=0, script=http://************.com/
-Trying CUP:WinHTTP.
-Send request returned 0x80042197. Http status code 407.
-Trying WinHTTP.
-Send request returned 0x80042197. Http status code 407.
-Trying CUP:Browser.
-Send request returned 0x80004005. Http status code 0.
-Trying config: source=IE, wpad=0, script=http://************.com
-Trying CUP:WinHTTP.
-Send request returned 0x80042197. Http status code 407.
-Trying WinHTTP.
-Send request returned 0x80042197. Http status code 407.
-Trying CUP:Browser.
-Send request returned 0x80004005. Http status code 0.
-Trying config: source=winhttp, named proxy=*.************.com, bypass=.
-Trying CUP:WinHTTP.
-Send request returned 0x80072ee7. Http status code 0.
-Trying WinHTTP.
-Send request returned 0x80072ee7. Http status code 0.
-Trying CUP:Browser.
-Send request returned 0x80004005. Http status code 0.
-======================================================
-
-The proxy address taken from Firefox and IE are the same and the good one. But
-Login/Password are never asked.
-The config taken from "source=winhttp", I don't know where it comes from, but
-shouldn't work.
-
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c17"
- href="#c17">17</a>
- by
- <a href="/u/james.bartley1985/">james.bartley1985</a></span>,
- <span class="date" title="Wed Sep 3 03:33:59 2008">Sep 03, 2008</span>
-<pre>
-Just to add.. I have the same problem. I was able to install fine, just when run it
-asks for authentication even though it has the username and password saved in the
-boxes...
-</pre>
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
- <span class="author">Comment <a name="c18"
- href="#c18">18</a>
- by
- <a href="/u/jsykari/">jsykari</a></span>,
- <span class="date" title="Wed Sep 3 04:44:39 2008">Sep 03, 2008</span>
-<pre>
-This may be related to the automatic configuration script used to configure the
-proxy.
-
-On my system, ChromeSetup.exe gets stuck with "Connecting to Internet" with the proxy
-settings as in the attached screenshot (employer details censored).
-
-When I remove the "Use automatic configuration script", then ChromeSetup.exe works.
-
-Chrome itself works both ways, it's the ChromeSetup.exe that fails on with the
-configuration script enabled.
-
-== contents of proxy.pac ==
-function FindProxyForURL(url, host)
-{
- if (isPlainHostName(host))
- return "DIRECT";
-
- // Work
- if (isInNet(myIpAddress(), "xxx.yyy.zzz.0", "255.255.255.0"))
- return "PROXY cache.xxx.yyy:8888";
- else
- return "DIRECT";
-}
-== end contents of proxy.pac ==
-
-
-</pre>
-
- <div class="attachments">
-
- <table cellspacing="0" cellpadding="2" border="0">
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>proxy_settings.png</b></td></tr>
- <tr><td>14.3 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
- </table>
-
- </div>
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c19"
- href="#c19">19</a>
- by
- <a href="/u/fians4k/">fians4k</a></span>,
- <span class="date" title="Wed Sep 3 04:54:49 2008">Sep 03, 2008</span>
-<pre>
-Same proxy settings problem, keeps asking for username/password constantly, and even
-when I write them over and over, the browser isn't downloading any data.
-
-I guess 80% of work environments aren't going to use Chrome.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c20"
- href="#c20">20</a>
- by
- <a href="/u/joao.dodigo/">joao.dodigo</a></span>,
- <span class="date" title="Wed Sep 3 05:48:21 2008">Sep 03, 2008</span>
-<pre>
-Também não estou conseguindo instalar mesmo com todas as configurações de proxy
-inseridas corretamente.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c21"
- href="#c21">21</a>
- by
- <a href="/u/deathwindfr/">deathwindfr</a></span>,
- <span class="date" title="Wed Sep 3 06:49:08 2008">Sep 03, 2008</span>
-<pre>
-I downloaded Chrome and installed it on my work computer.
-When I try to access a page it asks me for a proxy identification login/password
-which I don't have. I use Firefox in the same settings and it works flawlessly so
-there is an obvious bug.
-I checked the settings for the proxy in IE, Forefox and Chrome and they are the same.
-So I do not know why Chrome asks for a login when IE/Firefox do not.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c22"
- href="#c22">22</a>
- by
- <a href="/u/isitive/">isitive</a></span>,
- <span class="date" title="Wed Sep 3 13:02:16 2008">Sep 03, 2008</span>
-<pre>
-i face the same problem. most of the work environments use proxy server settings
-...chrome doesn't gives an option to specify it like its given in Firefox.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c23"
- href="#c23">23</a>
- by
- <a href="/u/bartosz.kulicki/">bartosz.kulicki</a></span>,
- <span class="date" title="Wed Sep 3 14:02:39 2008">Sep 03, 2008</span>
-<pre>
-Is your organization using Microsoft Proxy by any chance ? It has an option for NTLM
-authentication (NT domain based auth).
-
-FF3 and IE support NTLM. Does Chrome support it ?
-
-Unfortunately I can't test it myself (Win 200 here)
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c24"
- href="#c24">24</a>
- by
- <a href="/u/KandyFLip/">KandyFLip</a></span>,
- <span class="date" title="Fri Sep 5 11:10:05 2008">Sep 05, 2008</span>
-<pre>
-Slightly different problem here, but possibly related. We have an ISA 2000 proxy
-which does not require any auth. The installer used it just fine to download and
-install. However, the browser can't seem to use it at all.
-My default settings are "Automatically detect settings" (DHCP gives location of wpad
-script).
-Tried changing to "Use automatic configuration script" and set the wpad location.
-Still nothing.
-Tried manually setting the proxy. Still nothing.
-Changed to use a Squid proxy, which also does not require any authentication, and
-still nothing.
-
-All these settings work in IE and FF
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c25"
- href="#c25">25</a>
- by
- <a href="/u/bartosz.kulicki/">bartosz.kulicki</a></span>,
- <span class="date" title="Fri Sep 5 12:09:29 2008">Sep 05, 2008</span>
-<pre>
-From the description it sounds exactly like what I have here.
-I think your proxy requires NTLM auth but once you're logged on to NT domain
-authentication is completely _transparent_ (FF and, of course, IE support this mode)
-
-Other tickets here suggest Chrome does not support NTLM. As a workaround try wrapper
-proxy like <a href="http://ntlmaps.sourceforge.net/">http://ntlmaps.sourceforge.net/</a>
-
-chrome -> ntlmaps -> upstream_proxy
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c26"
- href="#c26">26</a>
- by
- <a href="/u/somekool/">somekool</a></span>,
- <span class="date" title="Sat Sep 6 07:10:27 2008">Sep 06, 2008</span>
-<pre>
-got proxy problem as well. even after installing chrome, i need to adjust the proxy
-again.
-
-see, in the windows internet config dialog, there is mainly two ways of setting a proxy.
-
-1 - specifying a proxy address and port
-2 - by using a connect script.
-
-method 1 works fine with chrome. method 2, the connect script, does not seems to be
-supported by google chrome. people at my work mostly use this method, so this is a
-problem.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c27"
- href="#c27">27</a>
- by
- <a href="/u/somekool/">somekool</a></span>,
- <span class="date" title="Sat Sep 6 07:12:17 2008">Sep 06, 2008</span>
-<pre>
-same as bug #74 ?
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c28"
- href="#c28">28</a>
- by
- <a href="/u/igitur/">igitur</a></span>,
- <span class="date" title="Sat Sep 6 17:13:54 2008">Sep 06, 2008</span>
-<pre>
-Chrome itself doesn't support NTLM. See <a title="Implement integrated windows authentication (aka NTLM / Negotiate Auth support)" href="/p/chromium/issues/detail?id=19">issue#19</a> and <a title="Doesn't Support NTLM or Kerberos authentication of IIS served intranet pages" class=closed_ref href="/p/chromium/issues/detail?id=61"> issue#61 </a> (I think they are
-duplicates).
-
-The proxy issue with the installer itself is probably a separate issue.
-
-Weird, but I previously had the same problem the Google Gears installer. Initially, the
-installer couldn't connect through our corporate proxy. I tried 2 months later and then it
-worked fine. I assumed they fixed the bug. Funny that Chrome's installer has the same
-issue then.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c29"
- href="#c29">29</a>
- by
- <a href="/u/bothameister/">bothameister</a></span>,
- <span class="date" title="Sun Sep 7 06:45:10 2008">Sep 07, 2008</span>
-<pre>
-An offline installation file is available:
-<a href="http://dl.google.com/chrome/install/149.27/chrome_installer.exe">http://dl.google.com/chrome/install/149.27/chrome_installer.exe</a>
-
-It solved the proxy problem for me.
-
-More details at <a href="http://www.winmatrix.com/forums/index.php?showtopic=19868">http://www.winmatrix.com/forums/index.php?showtopic=19868</a>
-
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c30"
- href="#c30">30</a>
- by
- <a href="/u/gonsas/">gonsas</a></span>,
- <span class="date" title="Tue Sep 9 13:30:57 2008">Sep 09, 2008</span>
-<pre>
-The offline installation file *does not* fix the problem, because after installation,
-sites such as gmail.com fail to render correctly -- in this case, it fails to render
-at all.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c31"
- href="#c31">31</a>
- by
- <a href="/u/lloreto/">lloreto</a></span>,
- <span class="date" title="Tue Sep 9 18:25:26 2008">Sep 09, 2008</span>
-<pre>
-I have the same problem as above. After installing on my work machine, the browser is
-unable to render any external site after proxy authentication.
-</pre>
-
-
+
+ <table cellspacing="3" cellpadding="2" border="0">
+ <tr><td width="20">
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=8690090353049234324&name=%2Ftmp%2Fxx.pdf" target="new">
+ <img width="15" height="15" src="/hosting/images/paperclip.gif" border="0" >
+ </a>
</td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
+ <td style="min-width:16em" valign="top">
+ <b >/tmp/xx.pdf</b>
+ <br>
+ 6.1 KB
- <span class="author">Comment <a name="c32"
- href="#c32">32</a>
- by
- <a href="/u/lloreto/">lloreto</a></span>,
- <span class="date" title="Tue Sep 9 18:25:51 2008">Sep 09, 2008</span>
-<pre>
-I have the same problem as above. After installing on my work machine, the browser is
-unable to render any external site after proxy authentication.
-</pre>
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=8690090353049234324&name=%2Ftmp%2Fxx.pdf">Download</a>
</td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c33"
- href="#c33">33</a>
- by
- <a href="/u/jirange/">jirange</a></span>,
- <span class="date" title="Wed Sep 10 06:17:09 2008">Sep 10, 2008</span>
-<pre>
-same problem but I want solution for this
-</pre>
-
- </td>
</tr>
+ </table>
+
+
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c35"
- href="#c35">35</a>
- by
- <a href="/u/ljpeixoto/">ljpeixoto</a></span>,
- <span class="date" title="Thu Sep 11 09:13:51 2008">Sep 11, 2008</span>
-<pre>
-I used ISACLient, it solved my problem:
-
-<a href="http://groups.google.com/group/google-chrome-help-troubleshooting/browse_thread/thread/46cb8219c5b3b715/efaef6ce346271a9?lnk=raot">http://groups.google.com/group/google-chrome-help-troubleshooting/browse_thread/thread/46cb8219c5b3b715/efaef6ce346271a9?lnk=raot</a>
-
-Unfortunately, it created a new problem: sometimes the browser gets the wrong images
-- I believe the ISAServer somehow swapped the images.
-It doesn´t seem like an chrome issue, because it happens in other browsers too, but
-in IE I can press CTRL+F5 and it gets the correct image.
-
-Well, I am using Windows XP SP1, maybe when I upgrade to XP SP2 (or SP3) it will
-solve this new problem...
-</pre>
-
-
+ </div>
+
</td>
</tr>
-
- <tr>
+ <tr class="cursor_off">
<td class="vt issuecomment">
- <span class="author">Comment <a name="c36"
- href="#c36">36</a>
+ <span class="author">Comment <a name="c1"
+ href="#c1">1</a>
by
- <a href="/u/evan at chromium.org/">evan at chromium.org</a></span>,
- <span class="date" title="Thu Sep 11 11:06:23 2008">Sep 11, 2008</span>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a></span>,
+ <span class="date" title="Mon Oct 12 22:33:23 2009">Oct 12, 2009</span>
<pre>
<i>(No comment was entered for this change.)</i>
</pre>
@@ -1315,7 +477,7 @@ solve this new problem...
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <b>Status:</b> Untriaged<br><b>Labels:</b> -Area-Unknown Area-Installer<br>
+ <b>Summary:</b> test attachment 8<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
@@ -1327,69 +489,18 @@ solve this new problem...
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c37"
- href="#c37">37</a>
- by
- <a href="/u/pierceferriter/">pierceferriter</a></span>,
- <span class="date" title="Sat Sep 13 04:28:16 2008">Sep 13, 2008</span>
-<pre>
-I had the same problem at work. I had to change my proxy address from "proxy" to
-"proxy.domain.com" Which is strange as every other browser under the sun worked apart
-from Chrome. just need to be a bit more specific with it. Also this fix doesn't affect any other browsers.
-</pre>
-
-
- </td>
- </tr>
-
-
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c39"
- href="#c39">39</a>
- by
- <a href="/u/helder.magalhaes/">helder.magalhaes</a></span>,
- <span class="date" title="Sat Sep 13 09:09:45 2008">Sep 13, 2008</span>
-<pre>
-As referred in comment 4, the problem is only located in the fact that the installer
-itself doesn't support proxy authentication; the issue has little to do with the
-proxy authentication support of Chrome which is working reasonably.
-
-Tested using the offline installer download referred in comment 29: note that a more
-recent installer [1] is available as of this writing.
-
-[1] <a href="http://dl.google.com/chrome/install/149.29/chrome_installer.exe">http://dl.google.com/chrome/install/149.29/chrome_installer.exe</a>
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
+ <tr class="cursor_off">
<td class="vt issuecomment">
- <span class="author">Comment <a name="c40"
- href="#c40">40</a>
+ <span class="author">Comment <a name="c2"
+ href="#c2">2</a>
by
- <a href="/u/google-chrome-owner at google.com/">google-chrome-owner at google.com</a></span>,
- <span class="date" title="Mon Sep 15 18:19:40 2008">Sep 15, 2008</span>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a></span>,
+ <span class="date" title="Tue Oct 13 00:36:37 2009">Oct 13, 2009</span>
<pre>
-b/1367980
+<i>(No comment was entered for this change.)</i>
</pre>
@@ -1398,7 +509,7 @@ b/1367980
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <b>Labels:</b> intext<br>
+ <b>Cc:</b> sunnavy<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
@@ -1410,60 +521,16 @@ b/1367980
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c41"
- href="#c41">41</a>
- by
- <a href="/u/daguerreroa/">daguerreroa</a></span>,
- <span class="date" title="Thu Sep 18 15:52:49 2008">Sep 18, 2008</span>
-<pre>
-For me the problem is with automatic configuration script. it works if i set the
-proxy address and port manually.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
+ <tr class="cursor_off">
<td class="vt issuecomment">
- <span class="author">Comment <a name="c42"
- href="#c42">42</a>
+ <span class="author">Comment <a name="c3"
+ href="#c3">3</a>
by
- <a href="/u/bhagatamit85/">bhagatamit85</a></span>,
- <span class="date" title="Fri Sep 19 09:39:56 2008">Sep 19, 2008</span>
-<pre>
-I tried to use Google chrome for yahoo mail.It's working fine but while adding
-address in address bar when I tried to add the address by just typing the first few
-letters the address was not loaded automatically as that is loaded in Mozilla Firefox
-and Internet Explorer.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c43"
- href="#c43">43</a>
- by
- <a href="/u/@VxJfQ1RWABBAXQE%3D/">thatan... at google.com</a></span>,
- <span class="date" title="Fri Oct 3 02:15:38 2008">Oct 03, 2008</span>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a></span>,
+ <span class="date" title="Tue Oct 13 00:37:31 2009">Oct 13, 2009</span>
<pre>
<i>(No comment was entered for this change.)</i>
</pre>
@@ -1474,7 +541,7 @@ and Internet Explorer.
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <b>Cc:</b> thatan... at google.com<br>
+ <b>Cc:</b> t... at example.com<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
@@ -1486,43 +553,18 @@ and Internet Explorer.
- <tr>
+ <tr class="cursor_off">
<td class="vt issuecomment">
- <span class="author">Comment <a name="c44"
- href="#c44">44</a>
- by
- <a href="/u/snowchyld/">snowchyld</a></span>,
- <span class="date" title="Wed Oct 22 11:04:39 2008">Oct 22, 2008</span>
-<pre>
-wpad.dat vs DHCP Option 252
-
-DHCP Option 252 is a URI to the proxy information
-WPAD is an automated lookup, I believe chrome works for WPAD but not DHCP auto detect
-
-any ideas ?
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c45"
- href="#c45">45</a>
+ <span class="author">Comment <a name="c4"
+ href="#c4">4</a>
by
- <a href="/u/ben at chromium.org/">ben at chromium.org</a></span>,
- <span class="date" title="Wed Oct 22 14:14:56 2008">Oct 22, 2008</span>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a></span>,
+ <span class="date" title="Wed Oct 14 05:07:40 2009">Oct 14, 2009</span>
<pre>
-<i>(No comment was entered for this change.)</i>
+comment with published hybrid version
</pre>
@@ -1531,7 +573,7 @@ any ideas ?
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <b>Status:</b> Available<br><b>Labels:</b> Mstone-X<br>
+ <b>Summary:</b> issue 8<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
@@ -1542,317 +584,12 @@ any ideas ?
</tr>
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c46"
- href="#c46">46</a>
- by
- <a href="/u/stijnsanders/">stijnsanders</a></span>,
- <span class="date" title="Thu Oct 23 02:05:46 2008">Oct 23, 2008</span>
-<pre>
-Is this issue the reason why I only get a microsoft-style 407 page from the ISA
-proxy when using mini_installer.exe (rev 3695), and not get prompted for my
-login/pwd? Or should I post this as a new issue?
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c47"
- href="#c47">47</a>
- by
- <a href="/u/donniel/">donniel</a></span>,
- <span class="date" title="Thu Oct 23 22:30:39 2008">Oct 23, 2008</span>
-<pre>
-Even worse: I was unable to start the installer from the Google Chrome download page!
-Clicking on the "Accept and Install" option causes the button to be grayed out, and
-the "loading" graphic to be shown. The installer never starts, however.
-
-I'd managed to get Chrome installed earlier, but now can't upgrade/reinstall/update
-it on my work computer. Major fail.
-
-Why don't you have a simple download link on the Chrome page? Is that too
-complicated?
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c48"
- href="#c48">48</a>
- by
- <a href="/u/Anselm.Meyn/">Anselm.Meyn</a></span>,
- <span class="date" title="Fri Oct 24 01:11:36 2008">Oct 24, 2008</span>
-<pre>
-Some general OT rants,
-
-I think Chrome has been pretty much of disaster so far. Dont' understand why it was
-released so early on, and the folks and googl don't seem to have been prepared
-(management doing the old time-to-market crap maybe).
-Anyway most folks I know, have pretty much abandoned it and gone back to trusty
-Firefox (and even IE for that matter).
-
-Really expected a lot more from googl and am very disappointed.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c49"
- href="#c49">49</a>
- by
- <a href="/u/stijnsanders/">stijnsanders</a></span>,
- <span class="date" title="Fri Oct 24 02:56:21 2008">Oct 24, 2008</span>
-<pre>
-Though this comment thread is going way off topic, I can't leave this last post
-unanswered. I very much like Chrome. I think it's excellent. This issue preventing
-it to get through the proxy at work, is the -only- thing keeping me from using it at
-work, but at home I don't use anything else any more. It's not only magnitudes
-faster with (java)scripts and plugins, it's (finally!) using memory, resources,
-processes in a way that should have been all along. It's leaving out all of the
-fluff I don't use anyway, and provides what I do use in a way that feels natural,
-like we're used to Google doing for us. Keep up the good work guys! (and keep it
-open source)
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c50"
- href="#c50">50</a>
- by
- <a href="/u/@WRJWQlxRARlGXgB9/">pa... at escortvip.com.br</a></span>,
- <span class="date" title="Mon Oct 27 17:05:33 2008">Oct 27, 2008</span>
-<pre>
-i'will tri this
-
-<a href="http://www.escortvip.com.br">acompanhantes</a
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c51"
- href="#c51">51</a>
- by
- <a href="/u/sectorx4/">sectorx4</a></span>,
- <span class="date" title="Sun Nov 2 16:56:40 2008">Nov 02, 2008</span>
-<pre>
-Due to the use of IE proxy settings whenever I restart Chrome I get asked for my
-proxy details in about 8 out of 20+ tabs, it's a minor annoyance but if the options
-for the proxy were within Chrome I imagine it would save people a whole lot of time.
-</pre>
-
-
- </td>
- </tr>
-
-
-
-
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c54"
- href="#c54">54</a>
- by
- <a href="/u/marantz777/">marantz777</a></span>,
- <span class="date" title="Thu Dec 4 01:28:13 2008">Dec 04, 2008</span>
-<pre>
-I pray you... FIX THIS STUPID INSTALLER BUG !!!!
-
-GoogleUpdate DOES NOT WORK in this condition
-
-1- User is behibd a proxy (properly configured in IE7)
-2- Proxy require explicit user/pwd credential prompted to the user
-
-Most corporate users are in this situation, unable to install chrome with the tiny
-installer that download forever without requesting to user any credential. Also, full
-installers are very difficult to find.
-
-chrome unusable for me, very disappointed....
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c55"
- href="#c55">55</a>
- by
- <a href="/u/helder.magalhaes/">helder.magalhaes</a></span>,
- <span class="date" title="Thu Dec 4 06:12:02 2008">Dec 04, 2008</span>
-<pre>
-(In reply to comment#54)
-> I pray you... FIX THIS STUPID INSTALLER BUG !!!!
-
-This is not meant to sound aggressive, but consider getting a bit more familiarized
-with netiquette [1] [2]... ;-)
-
-
-> GoogleUpdate DOES NOT WORK in this condition
-> 1- User is behibd a proxy (properly configured in IE7)
-> 2- Proxy require explicit user/pwd credential prompted to the user
-
-There's some contradictory information on this. You affirm that this doesn't work,
-information in comment#24 is compatible, but comment#41 affirms that using manual
-settings works. One can take a look at what happened by looking at the event log
-(Control Panel/Administrative Tools/Event Viewer/Application) such as in comment#16.
-If an error occurs, the event should appear in the log after the attempt to open a
-Web browser for the support page [3] (the instructions are also there).
-
-
-> Most corporate users are in this situation, unable to install chrome with the tiny
-> installer that download forever without requesting to user any credential.
-
-Download forever isn't expected. An error should pop about 2 minutes after the
-"Connecting to the Internet" dialog is shown. If you are able to hold that long, of
-course. ;-p
-
-
-> Also, full installers are very difficult to find.
-
-Well, this is not as hard as it may seem: you may check the chrome releases blog [4]
-and use the direct link (see comment#29) to download a particular dev/beta release,
-just by replacing the "XXX.XX" for the two trailing numbers ("154.31", for example)
-of the release you intend do download:
-
- <a href="http://dl.google.com/chrome/install/XXX.XX/chrome_installer.exe">http://dl.google.com/chrome/install/XXX.XX/chrome_installer.exe</a>
-
-This can be used as a workaround until this is improved/fixed.
-
-
-Finally, <a title="Proxy authentication not supported for updates" href="/p/chromium/issues/detail?id=2221">issue#2221</a> seems pretty related with this issue (although conceptually not
-exactly the same so I guess there is no duplication).
-
-
-Hope this helps,
-
- Helder Magalhães
-
-
-[1] <a href="http://en.wikipedia.org/wiki/Netiquette">http://en.wikipedia.org/wiki/Netiquette</a>
-[2] <a href="http://www.dtcc.edu/cs/rfc1855.html">http://www.dtcc.edu/cs/rfc1855.html</a>
-[3] <a href="http://www.google.com/support/installer/bin/answer.py?answer=106640">http://www.google.com/support/installer/bin/answer.py?answer=106640</a>
-[4] <a href="http://googlechromereleases.blogspot.com/">http://googlechromereleases.blogspot.com/</a>
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c56"
- href="#c56">56</a>
- by
- <a href="/u/anqara05/">anqara05</a></span>,
- <span class="date" title="Fri Dec 12 07:38:44 2008">Dec 12, 2008</span>
-<pre>
-When Chrome crashes and i reopen it, al lthe tabs populate but since i'm behind a
-proxy what allows internet access based on user accounts, it asks to authenticate
-again. then i have to refresh after authentication to load the pages.
-to be exact the proxy server in this case is ISA2000. it doesn't seem, that chrome
-picks up my account info from my windows user session since i'm already logged in
-with an account that obviously has premission to access the internet thru the ISA
-server. other browsers don't have this problem.
-</pre>
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c57"
- href="#c57">57</a>
- by
- <a href="/u/mal at chromium.org/">mal at chromium.org</a></span>,
- <span class="date" title="Fri Dec 19 17:59:29 2008">Dec 19, 2008</span>
-<pre>
-If you're having trouble with the downloader, please see this Help Center article for
-a link to a standalone installer:
-
-<a href="http://www.google.com/support/installer/bin/answer.py?answer=126299">http://www.google.com/support/installer/bin/answer.py?answer=126299</a>
-</pre>
-
-
- </td>
- </tr>
-
-
<tr>
<td class="vt issuecomment">
- <img width="10" height="12" src="http://www.gstatic.com/codesite/ph/images/triangle.gif"><a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14"
+ <img width="10" height="12" src="http://www.gstatic.com/codesite/ph/images/triangle.gif"><a href="https://www.google.com/accounts/ServiceLogin?service=code<mpl=phosting&continue=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fnet-google-code%2Fissues%2Fdetail%3Fid%3D8"
>Sign in</a> to add a comment
</td>
</tr>
@@ -1862,7 +599,8 @@ a link to a standalone installer:
</tbody>
</table>
<br>
-<script type="text/javascript" src="http://www.gstatic.com/codesite/ph/3596478537346627501/js/dit_scripts_20081013.js"></script>
+<script type="text/javascript" src="http://www.gstatic.com/codesite/ph/9780382801487167851/js/dit_scripts_20081013.js"></script>
+
@@ -1870,13 +608,14 @@ a link to a standalone installer:
-<form name="delcom" action="delComment.do?q=&can=2&sort=&colspec=ID+Stars+Pri+Area+Type+Status+Summary+Modified+Owner" method="POST">
+<form name="delcom" action="delComment.do?q=&can=2&sort=&colspec=ID+Type+Status+Priority+Milestone+Owner+Summary" method="POST">
<input type="hidden" name="sequence_num" value="">
<input type="hidden" name="mode" value="">
- <input type="hidden" name="id" value="14">
+ <input type="hidden" name="id" value="8">
<input type="hidden" name="token" value="">
</form>
- <script type="text/javascript">
+<div id="helparea"></div>
+<script type="text/javascript">
_onload();
function delComment(sequence_num, delete_mode) {
var f = document.forms["delcom"];
@@ -1886,19 +625,21 @@ a link to a standalone installer:
f.submit();
return false;
}
- function ackVote() {
- var vote_feedback = document.getElementById('vote_feedback');
- if (!vote_feedback) return;
- var star2 = document.getElementById('star2');
- if (star2.src.indexOf('off.gif') != -1) {
- vote_feedback.innerHTML = 'Vote for this issue and get email change notifications.';
- } else {
- vote_feedback.innerHTML = 'Your vote has been recorded.';
- }
- }
- </script>
+ _floatMetadata();
+</script>
+<script type="text/javascript" src="http://kibbles.googlecode.com/files/kibbles-1.3.1.comp.js"></script>
+<script type="text/javascript">
+ _setupKibblesOnDetailPage(
+ 'http://code.google.com/p/net-google-code/issues/list?cursor\x3d8',
+ '/p/net-google-code/issues/entry',
+ 'detail?id\x3d7',
+ 'detail?id\x3d9',
+ '', 'net-google-code', 8,
+ false, false);
+</script>
- <script type="text/javascript" src="http://www.gstatic.com/codesite/ph/3596478537346627501/js/core_scripts_20081103.js"></script>
+ <script type="text/javascript" src="http://www.gstatic.com/codesite/ph/9780382801487167851/js/core_scripts_20081103.js"></script>
+ <script type="text/javascript" src="/js/codesite_product_dictionary_ph.pack.04102009.js"></script>
@@ -1907,11 +648,12 @@ a link to a standalone installer:
<div class="text">
- ©2008 Google -
+ ©2009 Google -
<a href="/">Code Home</a> -
- <a href="/tos.html">Terms of Service</a> -
+ <a href="/projecthosting/terms.html">Terms of Service</a> -
<a href="http://www.google.com/privacy.html">Privacy Policy</a> -
- <a href="/more/">Site Directory</a>
+ <a href="/more/">Site Directory</a> -
+ <a href="/p/support/">Project Hosting Help</a>
</div>
</div>
@@ -1924,9 +666,10 @@ a link to a standalone installer:
function _CS_reportAnalytics() {
window.setTimeout(function() {
if (window._gat) {
- var siteTracker = _gat._getTracker("UA-18071-1");
- siteTracker._initData();
+ try {
+ siteTracker = _gat._getTracker(CS_ANALYTICS_ACCOUNT);
siteTracker._trackPageview();
+ } catch (e) {}
} else {
_CS_reportAnalytics();
@@ -1937,6 +680,16 @@ function _CS_reportAnalytics() {
+ <div class="hostedBy" style="margin-top: -20px;">
+ <span style="vertical-align: top;">Hosted by</span>
+ <a href="/hosting/">
+ <img src="http://www.gstatic.com/codesite/ph/images/google_code_tiny.png" width="107" height="24" alt="Google Code">
+ </a>
+ </div>
+
+
+
+
diff --git a/t/sample/02.issue_without_attachments.html b/t/sample/02.issue_without_attachments.html
deleted file mode 100644
index 662b612..0000000
--- a/t/sample/02.issue_without_attachments.html
+++ /dev/null
@@ -1,426 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-
- <title>Issue 14 -
- chromium -
-
- Google Code</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
-
- <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/3596478537346627501/css/d_20081117.css">
-</head>
-<body class="t3">
- <div id="gaia">
- <font size="-1">
-
- <a href="/p/support/wiki/WhatsNew" style="color:#a03">What's new?</a>
- | <a href="/p/support/">Help</a>
- | <a href="/more/">Directory</a>
- | <a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14">Sign in</a>
-
- </font>
-
- </div>
- <div class="gbh" style="left: 0pt;"></div>
- <div class="gbh" style="right: 0pt;"></div>
-
-
- <div style="height: 1px"></div>
- <table style="padding:0px; margin: 20px 0px 0px 0px; width:100%" cellpadding="0" cellspacing="0">
- <tr>
- <td style="width:153px"><a href="/"><img src="http://www.gstatic.com/codesite/ph/images/code_sm.png" width="153" height="55" alt="Google"></a></td>
- <td style="padding-left: 0.8em">
-
- <div id="pname" style="margin: 0px 0px -3px 0px">
- <a href="/p/chromium/" style="text-decoration:none; color:#000">chromium</a>
- </div>
- <div id="psum">
- <i><a href="/p/chromium/" style="text-decoration:none; color:#000">An open-source browser project to help move the web forward.</a></i>
- </div>
-
- </td>
- <td style="white-space:nowrap; text-align:right">
-
- <form action="/hosting/search">
- <input size="30" name="q" value="">
- <input type="submit" name="projectsearch" value="Search Projects" >
- </form>
-
- </tr>
- </table>
-
-
-<table id="mt" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <th onclick="if (!cancelBubble) _go('/p/chromium/');">
- <div class="tab inactive">
- <div class="round4"></div>
- <div class="round2"></div>
- <div class="round1"></div>
- <div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/">Project Home</a>
- </div>
- </div>
- </th><td> </td>
-
-
-
-
-
-
- <th onclick="if (!cancelBubble) _go('/p/chromium/w/list');">
- <div class="tab inactive">
- <div class="round4"></div>
- <div class="round2"></div>
- <div class="round1"></div>
- <div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/w/list">Wiki</a>
- </div>
- </div>
- </th><td> </td>
-
-
-
-
-
- <th onclick="if (!cancelBubble) _go('/p/chromium/issues/list');">
- <div class="tab active">
- <div class="round4"></div>
- <div class="round2"></div>
- <div class="round1"></div>
- <div class="box-inner">
- <a onclick="cancelBubble=true;" href="/p/chromium/issues/list">Issues</a>
- </div>
- </div>
- </th><td> </td>
-
-
-
-
- <td width="100%"> </td>
- </tr>
-</table>
-<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" class="st">
- <tr>
-
-
-
-
-
- <td>
- <div class="issueDetail">
-<div class="isf">
-
-
- <span class="inIssueEntry">
- <a href="entry">New Issue</a>
- </span> |
-
- <span class="inIssueList">
- <span>Search</span>
- <form action="list" method="GET" style="display:inline">
- <select id="can" name="can" style="font-size:92%">
-
-<option disabled="disabled">Search Within:</option>
-<option value="1" > All Issues</option>
-<option value="2" selected=selected> Open Issues</option>
-
-<option value="6" > New Issues</option>
-<option value="7" > Issues to Verify</option>
-
- </select>
- <span>for</span>
- <input type="text" size="32" id="q" name="q" value="" style="font-size:92%" >
-
- <input type="hidden" name="colspec" id="search_colspec" value="ID Stars Pri Area Type Status Summary Modified Owner" >
-
-
-
- <input type="hidden" name="cells" value="tiles" >
- <input type="submit" value="Search" style="font-size:92%" >
- </form>
- </span> |
- <span class="inIssueAdvSearch">
- <a href="advsearch">Advanced Search</a>
- </span> |
- <span class="inIssueSearchTips">
- <a href="searchtips">Search Tips</a>
- </span>
-</div>
-</div>
-
- </td>
-
-
-
-
-
-
- <td height="4" align="right" valign="top" class="bevel-right">
- <div class="round4"></div>
- <div class="round2"></div>
- <div class="round1"></div>
- </td>
- </tr>
-</table>
-<div id="maincol">
-<style type="text/css">
- .attachments { width:33%; border-top:2px solid #999; padding-top: 3px}
- .attachments table { margin-bottom: 0.75em; }
- .attachments table tr td { padding: 0; margin: 0; font-size: 95%; }
- .label { white-space: nowrap; }
- .derived { font-style:italic }
-</style>
-<div id="issueheader">
-<table cellpadding="0" cellspacing="0" width="100%"><tbody>
- <tr>
- <td class="vt h3" nowrap="nowrap" style="padding:0 5px">
-
- Issue <a href="detail?id=14">14</a>:
- </td>
- <td width="90%" class="vt">
- <span class="h3" >Proxy settings for installer</span>
- </td>
- <td>
-
- <div class="pagination">
-
- 1 of 2665
- <a href="detail?id=17" title="Next">Next ›</a>
- </div>
- </td>
- </tr>
- <tr>
- <td></td>
- <td nowrap="nowrap">
-
-
- 34 people starred this issue and may be notified of changes.
-
-
- </td>
- <td align="center" nowrap="nowrap">
-
- <a href="http://code.google.com/p/chromium/issues/list">Back to list</a>
-
- </td>
- </tr>
-</tbody></table>
-</div><table width="100%" cellpadding="0" cellspacing="0" border="0" class="issuepage">
-<tbody class="collapse">
- <tr>
- <td id="issuemeta" rowspan="1000">
- <table cellspacing="0" cellpadding="0">
- <tr><th align="left">Status: </th>
- <td width="100%">
-
- Available
-
- </td>
- </tr>
-
-
-
- <tr><th align="left">Owner: </th><td>
-
- <a href="/u/all-bugs-test at chromium.org/">all-bugs-test at chromium.org</a>
-
- </td>
- </tr>
-
-
- <tr><th class="vt" align="left">Cc: </th><td>
-
-
- <a href="/u/@VxJfQ1RWABBAXQE%3D/">thatan... at google.com</a>
-
- </td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Type-Bug"
- title=""
- class="label"><b>Type-</b>Bug</a>
- </td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Pri-2"
- title=""
- class="label"><b>Pri-</b>2</a>
- </td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:OS-All"
- title=""
- class="label"><b>OS-</b>All</a>
- </td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Area-Installer"
- title=""
- class="label"><b>Area-</b>Installer</a>
- </td></tr>
-
-
-
- <tr><td colspan="2"><a href="list?q=label:intext"
- title=""
- class="label">intext</a></td></tr>
-
-
-
- <tr><td colspan="2">
- <a href="list?q=label:Mstone-X"
- title=""
- class="label"><b>Mstone-</b>X</a>
- </td></tr>
-
- <tr><td colspan="2">
- <a href="list?q=label:Foo-Bar-Baz"
- title=""
- class="label"><b>Foo-</b>Bar-Bug</a>
- </td></tr>
-
-
- </table>
- <br><br>
-
-
-
- <div style="white-space:nowrap"><a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14"
- >Sign in</a> to add a comment</div>
-
-
-
-
- <br>
-
-
-
-
-
-
- </td>
- <td class="vt issuedescription" width="100%">
- <div class="author">
- Reported by <a href="/u/seanamonroe/">seanamonroe</a>,
- <span class="date" title="Tue Sep 2 12:19:25 2008">Sep 02, 2008</span>
- </div>
-<pre>
-<b>What steps will reproduce the problem?</b>
-
-Attempt to install chrome behind a firewall blocking HTTP/HTTPS traffic.
-
-<b>What is the expected result?</b>
-
-Options for proxy settings to allow the installer to retrieve the necessary
-data via a proxy.
-
-<b>What happens instead?</b>
-
-Installer simply fails, notifying the user to adjust their firewall settings.
-</pre>
-
- </td>
- </tr>
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c1"
- href="#c1">1</a>
- by
- <a href="/u/jakendall/">jakendall</a></span>,
- <span class="date" title="Tue Sep 2 12:20:16 2008">Sep 02, 2008</span>
-<pre>
-Firewall settings are taken from IE settings
-</pre>
-
-
- </td>
- </tr>
-
-
-
-
-
- <tr>
- <td class="vt issuecomment">
-
-
-
- <span class="author">Comment <a name="c18"
- href="#c18">18</a>
- by
- <a href="/u/jsykari/">jsykari</a></span>,
- <span class="date" title="Fri Dec 19 17:59:29 2008">Dec 19, 2008</span>
-<pre>
-</pre>
-
- <div class="attachments">
-
- <table cellspacing="0" cellpadding="2" border="0">
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>proxy_settings.png</b></td></tr>
- <tr><td>14.3 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
- </table>
-
- </div>
-
-
- </td>
- </tr>
- <tr>
- <td class="vt issuecomment">
- <img width="10" height="12" src="http://www.gstatic.com/codesite/ph/images/triangle.gif"><a href="http://www.google.com/accounts/Login?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14&followup=http%3A%2F%2Fcode.google.com%2Fp%2Fchromium%2Fissues%2Fdetail%3Fid%3D14"
- >Sign in</a> to add a comment
- </td>
- </tr>
-
-
-
-</tbody>
-</table>
-<br>
-
-
-
-
-
-
-
-<form name="delcom" action="delComment.do?q=&can=2&sort=&colspec=ID+Stars+Pri+Area+Type+Status+Summary+Modified+Owner" method="POST">
- <input type="hidden" name="sequence_num" value="">
- <input type="hidden" name="mode" value="">
- <input type="hidden" name="id" value="14">
- <input type="hidden" name="token" value="">
-</form>
- </div>
-<div id="footer" dir="ltr">
-
- <div class="text">
-
- ©2008 Google -
- <a href="/">Code Home</a> -
- <a href="/tos.html">Terms of Service</a> -
- <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
- <a href="/more/">Site Directory</a>
-
- </div>
-</div>
- </body>
-</html>
-
commit 6feeaa675e9f81233be670eeb91d322308877e15
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 10:35:46 2009 +0800
update comments and attachments tests
diff --git a/t/03.comment.t b/t/03.comment.t
index b28adc2..8388795 100644
--- a/t/03.comment.t
+++ b/t/03.comment.t
@@ -6,7 +6,7 @@ use Test::More tests => 9;
use Net::Google::Code::Issue::Comment;
use Test::MockModule;
my $comment =
- Net::Google::Code::Issue::Comment->new( project => 'test' );
+ Net::Google::Code::Issue::Comment->new( project => 'net-google-code' );
isa_ok( $comment, 'Net::Google::Code::Issue::Comment', '$comment' );
my $mock = Test::MockModule->new('Net::Google::Code::Issue::Attachment');
@@ -29,10 +29,10 @@ $tree->elementify;
$comment->parse( $tree );
my %info = (
- sequence => 18,
- author => 'jsykari',
- date => '2008-09-03T11:44:39',
- content => "haha",
+ sequence => 1,
+ author => 'sunnavy',
+ date => '2009-05-12T09:29:18',
+ content => undef,
);
for my $item ( keys %info ) {
@@ -44,57 +44,103 @@ for my $item ( keys %info ) {
}
}
-my $updates = {
- cc => 'thatan... at google.com',
- status => 'Available',
- labels => [ qw/-Pri-2 Mstone-X Pri-3/ ],
-};
+my $updates = { labels => ['-Priority-Medium'], };
is_deeply( $updates, $comment->updates, 'updates are extracted' );
is( scalar @{$comment->attachments}, 2, 'attachments are extracted' );
-is( $comment->attachments->[0]->name, 'proxy_settings.png', '1st attachment' );
-is( $comment->attachments->[1]->name, 'haha.png', '2nd attachment' );
+is( $comment->attachments->[0]->name, '/tmp/a', '1st attachment' );
+is( $comment->attachments->[1]->name, '/tmp/b', '2nd attachment' );
__DATA__
- <td class="vt issuecomment">
+<td class="vt issuecomment">
- <span class="author">Comment <a name="c18"
- href="#c18">18</a>
+ <span class="author">Comment <a name="c1"
+ href="#c1">1</a>
by
- <a href="/u/jsykari/">jsykari</a></span>,
- <span class="date" title="Wed Sep 3 04:44:39 2008">Sep 03, 2008</span>
+ <a style="white-space: nowrap" href="/u/sunnavy/">sunnavy</a></span>,
+ <span class="date" title="Tue May 12 02:29:18 2009">May 12, 2009</span>
<pre>
-<b>haha</b>
-
+
+<i>(No comment was entered for this change.)</i>
</pre>
<div class="attachments">
- <table cellspacing="0" cellpadding="2" border="0">
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>proxy_settings.png</b></td></tr>
- <tr><td>14.3 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>haha.png</b></td></tr>
- <tr><td>20
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
+
+
+
+
+
+
+ <table cellspacing="3" cellpadding="2" border="0">
+ <tr><td width="20">
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=108689494720583752&name=%2Ftmp%2Fa" target="new">
+ <img width="15" height="15" src="/hosting/images/paperclip.gif" border="0" >
+ </a>
+ </td>
+
+ <td style="min-width:16em" valign="top">
+
+ <b >/tmp/a</b>
+ <br>
+ 3 bytes
+
+
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=108689494720583752&name=%2Ftmp%2Fa">Download</a>
+
+ </td>
+
+ </tr>
+
+ </table>
+
+
+
+
+
+
+
+
+
+ <table cellspacing="3" cellpadding="2" border="0">
+ <tr><td width="20">
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=7462239237569252501&name=%2Ftmp%2Fb" target="new">
+ <img width="15" height="15" src="/hosting/images/paperclip.gif" border="0" >
+ </a>
+ </td>
+ <td style="min-width:16em" valign="top">
+
+ <b >/tmp/b</b>
+
+ <br>
+ 5 bytes
+
+
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=7462239237569252501&name=%2Ftmp%2Fb">Download</a>
+
+ </td>
+
+ </tr>
+
</table>
+
+
</div>
+
+
<div class="updates">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
- <b>Status:</b><br><b>Cc:</b> thatan... at google.com<br><b>Status:</b> Available<br><b>Labels:</b>-Pri-2 Mstone-X Pri-3<br>
+ <b>Labels:</b> -Priority-Medium<br>
</div>
+
<div class="round1"></div>
<div class="round2"></div>
<div class="round4"></div>
diff --git a/t/04.attachment.t b/t/04.attachment.t
index a1b68e3..9cfd899 100644
--- a/t/04.attachment.t
+++ b/t/04.attachment.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More tests => 8;
+use Test::More tests => 7;
use Test::MockModule;
use Net::Google::Code::Issue::Attachment;
@@ -18,26 +18,18 @@ my $content;
my $mock = Test::MockModule->new('Net::Google::Code::Issue::Attachment');
$mock->mock(
'fetch',
- sub { 'png' }
+ sub { 'ok' }
);
-use HTML::TreeBuilder;
-my $tree = HTML::TreeBuilder->new;
-$tree->parse_content($content);
-$tree->elementify;
-
-my @tr = $tree->find_by_tag_name('tr');
-is( scalar @tr, 2, '@tr has 2 elements' );
$attachment->parse( $content );
my %info = (
- url =>
-'http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png',
- name => 'proxy_settings.png',
- size => '14.3 KB',
- id => '-1323983749556004507',
- content_type => 'image/png',
- content => 'png',
+ url =>'http://net-google-code.googlecode.com/issues/attachment?aid=108689494720583752&name=%2Ftmp%2Fa',
+ name => '/tmp/a',
+ size => '3 bytes',
+ id => '108689494720583752',
+ content_type => 'text/plain',
+ content => 'ok',
);
for my $item ( keys %info ) {
@@ -51,8 +43,21 @@ for my $item ( keys %info ) {
__DATA__
- <tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
- <td><b>proxy_settings.png</b></td></tr>
- <tr><td>14.3 KB
-
- <a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
+ <tr><td width="20">
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=108689494720583752&name=%2Ftmp%2Fa" target="new">
+ <img width="15" height="15" src="/hosting/images/paperclip.gif" border="0" >
+ </a>
+ </td>
+
+ <td style="min-width:16em" valign="top">
+
+ <b >/tmp/a</b>
+ <br>
+ 3 bytes
+
+
+ <a href="http://net-google-code.googlecode.com/issues/attachment?aid=108689494720583752&name=%2Ftmp%2Fa">Download</a>
+
+ </td>
+
+ </tr>
commit 0b328b565fcb2f361d2496a2c3711b56058fd7bd
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 10:38:00 2009 +0800
fix a very weird problem: got "Bad Request" when to download an attachment if the previous request is also an attachment download
diff --git a/lib/Net/Google/Code/Issue/Attachment.pm b/lib/Net/Google/Code/Issue/Attachment.pm
index 48bb481..7fdd3c0 100644
--- a/lib/Net/Google/Code/Issue/Attachment.pm
+++ b/lib/Net/Google/Code/Issue/Attachment.pm
@@ -94,6 +94,10 @@ sub parse_attachments {
sub _load {
my $self = shift;
+ #XXX weird happens if the previous fetch is also an attachment,
+ # which will make the following fetch a Bad Request.
+ $self->fetch( 'http://code.google.com' );
+
my $content = $self->fetch( $self->url );
# in case MIME::Types failed to get, let File::MMagic rescue!
commit 2bd97c815b19452198e044ef44a16ee87c743713
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 10:38:35 2009 +0800
add live tests
diff --git a/Makefile.PL b/Makefile.PL
index aa1bfa2..5540a53 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,6 @@
use inc::Module::Install;
+use Getopt::Long;
+
name 'Net-Google-Code';
all_from 'lib/Net/Google/Code.pm';
@@ -23,7 +25,15 @@ requires 'MIME::Types';
requires 'File::MMagic';
requires 'JSON';
-tests('t/*.t t/*/*.t');
+my $live;
+GetOptions( 'live' => \$live );
+if ($live) {
+ tests('t/*.t t/*/*.t');
+}
+else {
+ tests('t/*.t t/google_api/*.t');
+}
+
recursive_author_tests('xt/');
auto_install;
diff --git a/t/live/01.issue.t b/t/live/01.issue.t
new file mode 100644
index 0000000..abf74c7
--- /dev/null
+++ b/t/live/01.issue.t
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+
+use Test::More tests => 13;
+
+use Net::Google::Code::Issue;
+my $issue = Net::Google::Code::Issue->new( project => 'net-google-code' );
+isa_ok( $issue, 'Net::Google::Code::Issue', '$issue' );
+for my $id ( 8 .. 9 ) {
+ ok( $issue->load($id) );
+ # to make sure $_->content can be called continuously
+ ok( $_->content ) for @{ $issue->attachments };
+}
+
+$Net::Google::Code::Issue::USE_HYBRID = 1;
+for my $id ( 8 .. 9 ) {
+ ok( $issue->load($id) );
+ ok( $_->content ) for @{ $issue->attachments };
+}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list