Fix saving to IndexedDB inside web worker (#3403)
Fix saving to IndexedDB inside web worker (#3403)

BUG
Co-authored-by: Ping Yu <e3982a96662cc73e971d68f6aafe25f9d2e93e85@users.noreply.github.com>
tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs