This repository was archived by the owner on Apr 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
install/mod_pagespeed_test/unauthorized Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ OUTFILE=$OUTDIR/blocking_rewrite.out.html
693693$WGET_DUMP --header ' X-PSA-Blocking-Rewrite: psatest' $URL > $OUTFILE
694694check egrep -q ' link[[:space:]]rel=' $OUTFILE
695695EXPECTED_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-->"
697697check [ $( grep -o " $EXPECTED_COMMENT_LINE " $OUTFILE | wc -l) -eq 1 ]
698698
699699if [ " $SECONDARY_HOSTNAME " != " " ]; then
@@ -2101,7 +2101,7 @@ if [ "$SECONDARY_HOSTNAME" != "" ]; then
21012101http://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
You can’t perform that action at this time.
0 commit comments