Commit Graph

5 Commits

Author SHA1 Message Date
Joey Parrish c934f426d8 Add new error type
This error type will be used for all internal errors, and will rely
on numeric error codes which can be easily checked by the application.

This also changes PSSH parsing to throw on errors instead of retaining
partial data.

Issue #201
b/25306826

Change-Id: I19d23d99d4ee72cb31fe5f233bac57a3a9cfc283
2015-12-04 10:26:08 -08:00
Joey Parrish fff5dd7ee7 Audit exports
This changes namespace exports to the more targetted exportDoc,
adds exports where they are needed and removes them where they are
not.  Exporting of Uint8Array and String utils should be re-evaluated
later.

Change-Id: I9298e73a0a5ef026b6f2b1854488d2c359be10c1
2015-12-01 13:56:37 -08:00
Joey Parrish c68ef2f8f7 Fix NetworkingEngine.destroy() behavior
Previously, destroy() would reject as soon as any in-progress request
failed.  Now, destroy() waits for all requests to end regardless of
their ultimate state.

Also adds tests to cover destroy() behavior and drops unused test
util code from 1.x.  Line coverage for NetworkingEngine is now 100%.

Change-Id: I0e39e494d8f28c6dc595725a46094d10e3a58e93
2015-11-25 12:14:05 -08:00
Jacob Trimble 667aee63ae Added URI argument to NetworkingEngine plugin.
b/25296248

Change-Id: I66ecb7aed9baf53cbafda3be9550dd03908226ce
2015-11-25 12:14:05 -08:00
Jacob Trimble ab127e6a04 Added NetworkingEngine.
b/25296248

Change-Id: I5cb64d47dd47624715a691a12243696932f2d5dd
2015-11-25 12:14:05 -08:00