Tempatively fix XHRProxy bug

The XHRProxy calls the optionsWatcher server as soon as it is loaded,
but the server isn't guaranteed to be loaded and thus the request can
get lost, which breaks the XHRProxy and causes all XHR requests to fail.

This CL fixes this by ensuring the optionsWatcher server is loaded
before injecting the XHRProxy to fix this issue.

Bug: twpowertools:161

Change-Id: I12ec2d018c9fa7791053807cad19a547564e2ee2
1 file changed
tree: 75465e82fab5df07508cb67b7e560036e422a02a
  1. .github/
  2. cws/
  3. docs/
  4. playbooks/
  5. roles/
  6. src/
  7. templates/
  8. tools/
  9. .babelrc
  10. .clang-format
  11. .editorconfig
  12. .eslintrc.json
  13. .gitignore
  14. .gitreview
  15. .zuul.yaml
  16. i18n-config.toml
  17. jest.config.js
  19. lit-localize.json
  20. Makefile
  21. OWNERS
  22. package-lock.json
  23. package.json
  24. README.md
  25. tagRelease.bash
  26. webpack.config.js

TW Power Tools

Available in the Chrome Web Store

An extension which brings several enhancements to the Google Forums and the Community Console.

For a list of features/enhancements, check out the feature list doc.

Information for contributors

This extension is being actively developed, and everyone is welcome to make feature requests, report issues and contribute code changes.

In order to make feature requests or report issues, please do so at the Monorail Issue Tracker:

To see a more exhaustive guide on how to contribute, and information on how to contribute code changes, please read the following doc:

Beta channel

Before releasing updates to the stable channel, the newest versions are uploaded to the beta channel so they can be tested by everyone who's interested. This is another way to contribute to the project, because beta testing can make us notice bugs before they reach the stable channel.

The beta channel for Chrome is available here.