Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit e4454b3

Browse files
committed
External resource moved from www.google.com to cse.google.com, and we…
… can't follow redirects in fetching. This is breaking our tests.
1 parent 93caf5b commit e4454b3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

install/mod_pagespeed_test/unauthorized/inline_css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<title>inline_css example</title>
4-
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css">
4+
<link rel="stylesheet" href="http://cse.google.com/cse/style/look/default.css">
55
<link rel="stylesheet" href="../../mod_pagespeed_example/styles/all_styles.css">
66
</head>
77
<body>

install/mod_pagespeed_test/unauthorized/prioritize_critical_css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>prioritize_critical_css example</title>
5-
<link rel="stylesheet" type="text/css" href="http://www.google.com/cse/style/look/default.css">
5+
<link rel="stylesheet" type="text/css" href="http://cse.google.com/cse/style/look/default.css">
66
<link rel="stylesheet" type="text/css" href="with_unauthorized_imports.css">
77
</head>
88
<body>

net/instaweb/apache/system_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ OUTFILE=$OUTDIR/blocking_rewrite.out.html
693693
$WGET_DUMP --header 'X-PSA-Blocking-Rewrite: psatest' $URL > $OUTFILE
694694
check egrep -q 'link[[:space:]]rel=' $OUTFILE
695695
EXPECTED_COMMENT_LINE="<!--The preceding resource was not rewritten \
696-
because its domain (www.google.com) is not authorized-->"
696+
because its domain (cse.google.com) is not authorized-->"
697697
check [ $(grep -o "$EXPECTED_COMMENT_LINE" $OUTFILE | wc -l) -eq 1 ]
698698

699699
if [ "$SECONDARY_HOSTNAME" != "" ]; then
@@ -2101,7 +2101,7 @@ if [ "$SECONDARY_HOSTNAME" != "" ]; then
21012101
http://www.google.com/css/maia.css as it is on an unauthorized domain-->"
21022102
check [ $(grep -o "$EXPECTED_IMPORT_FAILURE_LINE" $FETCH_FILE | wc -l) -eq 1 ]
21032103
EXPECTED_COMMENT_LINE="<!--The preceding resource was not rewritten \
2104-
because its domain (www.google.com) is not authorized-->"
2104+
because its domain (cse.google.com) is not authorized-->"
21052105
check [ $(grep -o "$EXPECTED_COMMENT_LINE" $FETCH_FILE | wc -l) -eq 1 ]
21062106

21072107
start_test inline_unauthorized_resources allows unauthorized css selectors

0 commit comments

Comments
 (0)