mdittmer / web-apis

Playground for better understanding Web APIs
Apache License 2.0
18 stars 10 forks source link

Collect all UC data again, in reverse and with uninstall #53

Closed foolip closed 5 years ago

foolip commented 6 years ago

This is a re-collection using the same APKs as in: https://github.com/mdittmer/web-apis/pull/47 https://github.com/mdittmer/web-apis/pull/48

The script this time was:

for apk in `ls *.apk | sort -r`; do
  read -p "Press enter to install and launch $apk"
  adb uninstall com.UCMobile
  adb install "$apk"
  adb shell am start -a android.intent.action.VIEW -d https://wpt.foolip.org com.UCMobile
done

The idea is that perhaps some state had been carried forward through some bugs in the upgrade steps. By uninstalling between each step and running the whole process in reverse, something different should happen at the very least.

Towards https://github.com/mdittmer/web-apis/issues/52.

foolip commented 6 years ago

@mdittmer, should one generally expect the exact same result twice, apart from the timestamp? As you can see most files have changed radically here. Given the methodology I think this is more likely to be correct than the existing data though.

foolip commented 6 years ago

I've updated https://docs.google.com/spreadsheets/d/1EPegHri98qwE4MaPvsk4DeKRb-pnSkw85DyRDkdcczc/edit?usp=sharing with this data. The problem with CustomEvent went away, although given some of the other things I'm seeing, I'm not 100% sure it's because it's really not there, or if the code being injected isn't entirely deterministic, or perhaps depends on the network.