Go to file
Peter Bacon Darwin 441e01c568 fix(aio): simplify GaService to avoid e2e test failures
The GaService and the E2E specs were unnecessarily complicated and had
arbitrary async timeouts to ensure that the interplay between the GA
library code and the rest of the app worked correctly. This resulted
in potential flaky tests if the timeouts were not adequate; this was
experienced when Travis upgraded to Chrome 62.

The new approach is to block loading of the Analytics library altogether
if there is a `__e2e__` flag set in the `SessionStorage` of the browser.
It doesn't appear to be enough just to set the flag directly on the
window. I think this is because the window gets cleaned when navigation
occurs (but I am not certain).

The downside of this is that we had to add a small piece of extra logic
to the GA snippet in index.html; and we also had to switch from using
`<script async ...>` to a programmatic approach to loading the GA library
which prevents the browser from eagerly fetching the library. This may
be mitigated by adding it to the HTTP/2 push configuration of the Firebase
hosting.

Re-enables the test that was disabled in https://github.com/angular/angular/pull/19784

Closes #19785
2017-10-20 09:40:52 -07:00
.circleci fix(compiler): add first bazel test for `ng_module` (#19703) 2017-10-17 15:18:31 -07:00
.github docs: does please -> does (#18044) 2017-07-11 11:46:57 -07:00
aio fix(aio): simplify GaService to avoid e2e test failures 2017-10-20 09:40:52 -07:00
docs docs: add 'bazel' as an Angular component (#19346) 2017-09-28 09:28:42 -07:00
integration test: increase polyfills size upper limit in CLI integration tests 2017-09-27 17:04:24 -07:00
modules refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
packages build: add warning about changing ngtools_api2 2017-10-20 09:39:30 -07:00
scripts revert: ci: use chrome stable (#18307) 2017-10-20 09:38:59 -07:00
tools ci: validate commit messages correctly when not on master (#19685) 2017-10-17 10:38:29 -07:00
.bazelrc build: ngc-wrapped as a bazel worker (#18960) 2017-09-01 12:23:11 -05:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: force lf EOL for ts files (#11143) 2016-08-29 12:41:58 -07:00
.gitignore build(common): extract i18n locale data from cldr (#18284) 2017-08-22 15:43:04 -05:00
.mailmap build: add a Git .mailmap with my new name (#19550) 2017-10-09 14:35:30 -07:00
.nvmrc ci: bump node version to 6.9.5 and npm to 3.10.7 2017-02-02 23:28:00 -08:00
.pullapprove.yml build: add warning about changing ngtools_api2 2017-10-20 09:39:30 -07:00
.travis.yml revert: ci: use chrome stable (#18307) 2017-10-20 09:38:59 -07:00
BUILD.bazel fix(compiler): add first bazel test for `ng_module` (#19703) 2017-10-17 15:18:31 -07:00
CHANGELOG.md docs: add changelog for 5.0.0-rc.3 2017-10-18 17:23:09 -07:00
CONTRIBUTING.md build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
LICENSE style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00
README.md docs: add BrowserStack badge to README.md (#19314) 2017-09-22 13:09:18 -07:00
WORKSPACE fix(compiler): add first bazel test for `ng_module` (#19703) 2017-10-17 15:18:31 -07:00
bower.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
browser-providers.conf.js build: remove required BrowserStack run as it fails with “Access denied” (#19769) 2017-10-17 15:51:40 -07:00
build.sh feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
gulpfile.js test(packaging): added test for source map correctness 2017-09-12 16:59:32 -04:00
karma-js.conf.js build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
package.json release: cut the 5.0.0-rc.3 release 2017-10-18 17:23:09 -07:00
protractor-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-examples-e2e.conf.js refactor: format and lint code 2016-12-12 11:30:25 -08:00
protractor-perf.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
shims_for_IE.js Revert "refactor: add license header to JS files & format files (#12035)" 2016-10-04 14:06:41 -07:00
test-events.js fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone (#18993) 2017-09-05 15:33:22 -05:00
test-main.js feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
test.sh build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
tslint.json build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
yarn.lock build: update to rxjs@5.5.0 (#19345) 2017-10-18 11:17:43 -07:00
yarn.lock.readme.md build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00

README.md

Build Status CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version

Sauce Test Status

Safari (7+), iOS (7+) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.