Remove nossl hack, as it isn't needed.

R=kasperl@google.com

Review URL: https://codereview.chromium.org//486643002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39328 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
ahe@google.com 2014-08-18 11:55:39 +00:00
parent 336dbd4cbf
commit 4d340e265b
2 changed files with 0 additions and 55 deletions

View file

@ -102,36 +102,6 @@ handlers:
upload: index.html
secure: always
# The nossl file below help work around bugs/features in interaction between
# AppEngine and AppCache. When a return user goes to http://try.dartlang.org/
# (no SSL), AppCache will serve index.html from cache, try to fetch the old
# manifest (nossl.appcache) and the files listed in the manifest. In additation
# the files listed in the manifest, it will also fetch index.html, as it is the
# master. However, we want index.html to be redirected to the SSL version, and
# AppCache sees this redirection as a network error. When an error occurs,
# AppCache will keep serving the old page. So we configure nossl.appcache to
# provide fallbacks for index.html and leap.dart.js. The fallback for
# leap.dart.js is nossl.js which will take care of redirecting to
# https://try.dartlang.org/ (with SSL) using JavaScript. Unfortunately, Chrome
# seems to keep the old version of index.html cached indefinitely. The only way
# to avoid that appears to serve up a different index.html depending on if it
# is a secure connection or not. This would require a Python script, and
# something we may consider implementing in the future.
- url: /nossl.appcache
static_files: nossl.appcache
upload: nossl.appcache
secure: optional
- url: /nossl.js
static_files: nossl.js
upload: nossl.js
secure: optional
- url: /nossl.html
static_files: nossl.html
upload: nossl.html
secure: optional
- url: /ssl.appcache
static_files: ssl.appcache
upload: ssl.appcache

View file

@ -144,28 +144,6 @@
'-o<(SHARED_INTERMEDIATE_DIR)/compiler_isolate.dart.js',
],
},
{
'action_name': 'nossl_appcache',
'message': 'Creating nossl.appcache',
'inputs': [
'add_time_stamp.py',
'nossl.appcache',
'nossl.js',
'nossl.html',
'build_try.gyp', # If the list of files changed.
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
],
# Try Dart! uses AppCache. Cached files are only validated when the
# manifest changes (not its timestamp, but its actual contents).
'action': [
'python',
'add_time_stamp.py',
'nossl.appcache',
'<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
],
},
{
'action_name': 'ssl_appcache',
'message': 'Creating ssl.appcache',
@ -214,10 +192,7 @@
'files': [
'app.yaml',
'<@(try_dart_static_files)',
'<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
'<(SHARED_INTERMEDIATE_DIR)/ssl.appcache',
'nossl.js',
'nossl.html',
],
},
],