Skip to content

Instantly share code, notes, and snippets.

View brave-together-test-plan.md

Brave Today test plan

Endpoints:

  • meet.jit.si (latest in-dev, ~master)
  • together.brave.com (production)
  • together.bravesoftware.com (staging)

BFT:

  • create a room/conference
  • join a room/conference
View 13379-steps.md

https://github.com/brave/brave-browser/issues/13379

Verified FIXED using

Brave 1.21.51 Chromium: 88.0.4324.152 (Official Build) beta (x86_64)
Revision 6579930fc53b4dc589c042bec9d0a3778326974d-refs/branch-heads/4324@{#2106}
OS macOS Version 11.2.1 (Build 20D74)
View Test Area Quick-Reference Guide.md

Quick Reference Guide

Base commandline-args:

--args --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=6,"*/brave_user_model/*"=6, log-level=2

Ads

@stephendonner
stephendonner / gist:efcb18b615287e51bded5919ce9af3dd
Created Feb 10, 2021
staging flags to pass in on Android command-line
View gist:efcb18b615287e51bded5919ce9af3dd
--enable-logging=stderr --vmodule="*/bat-native-ads/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9,"*/bat_ads/*"=9 --brave-ads-staging
@stephendonner
stephendonner / gist:8b252de6d63dd28490a32785192c7d2c
Created Feb 10, 2021
android-rewards-staging-working-logs
View gist:8b252de6d63dd28490a32785192c7d2c
Response: {"id":"6577ce2d-305a-47de-9b40-530f9d751663","payload":{},"createdAt":"2021-02-10T04:39:25.918Z","type":"click","modifiedAt":"2021-02-10T04:39:25.918Z","creativeInstanceId":"4983dc92-09fd-4e5c-94c3-616a4728c1d9"}
2021-02-09 20:39:26.660 8248-8248/? V/chromium: [VERBOSE6:redeem_unblinded_token.cc(121)] URL Response:
URL: https://ads-serve.bravesoftware.com/v1/confirmation/6577ce2d-305a-47de-9b40-530f9d751663/paymentToken
Response Status Code: 200
Response: {"id":"6577ce2d-305a-47de-9b40-530f9d751663","createdAt":"2021-02-10T04:39:25.918Z","type":"click","modifiedAt":"2021-02-10T04:39:25.929Z","creativeInstanceId":"4983dc92-09fd-4e5c-94c3-616a4728c1d9","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"SlNUBNQHA6iNSazRLl8LakvfFRyaaerw18A7zRcT1QzfWCpJAP3dhWD+rqz+pDZvtybN1qFBOMjAiwvpdOWZCg==","signedTokens":["rlhyM7w3pPD3oHpbEERiKDJwM3Z0ICyEzQEygZSs5GA="]}}
2021-02-09 20:39:26.673 8248-8248/? V/chromium: [VERBOSE1:confirmations.cc(228)] Successful
@stephendonner
stephendonner / gist:f0cff91f194ce981e2bb8fe1af33ebbe
Created Feb 9, 2021
Brave crash on startup (polish locale)
View gist:f0cff91f194ce981e2bb8fe1af33ebbe
Process: Brave Browser Beta [634]
Path: /Applications/Brave Browser Beta.app/Contents/MacOS/Brave Browser Beta
Identifier: Brave Browser Beta
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave Browser Beta [634]
User ID: 501
Date/Time: 2021-02-08 16:20:25.509 -0800
View gist:9ce0aee9cc8f46cfbc474932e8ccf6b4
fingerprinting test
got canvas fingerprint data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAADICAYAAACwGnoBAAAgAElEQVR4Xu3d23bbNhAFUOb/P1pdarvSOo0rECSIuey+hhfMPrBr61Dyj8N/BAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAwPGDAQECBAgQIECAAAECBAi8fzV6YSBAgAABAgQIECBAgAABAgQIEGguoEBvvgGMT4AAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQJ/CSjQ7QQCBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIKBAtwdiCvj4zJi5WBUBAgQIECBAgAABAgQIECBAgAABAgQIECBAgACB2gLegV47X9MRIECAAAECBAgQIECAAAECBAgQIECAAAECBAjcIuANgLcwugiB4AIK9OABWR4BAgQIECBAgAABAgQIECAwK+AFzlk55xEgQIAAAQIECBAgQKCrwIUC3S+hXTeNuVcJ+JpaJeu6BAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBEYELhToI5d3DAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQyCGgQM+Rk1USIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAwGIBBfpiYJcnQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAgRwCCvQcOVklAQIEmgm8//f0ajazcQkQuC7ge8d1Q1cgQIAAAQIE+gj42alP1iYlQIAAAQIECBA4I6BAP6PlWAIECBAgQIAAAQIECBAgQIAAAQIECBAgQOAGAQ/y3IDoEgQIECCwQECBvgDVJQkQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIEAgn4ACPV9mVkyAAAECywU8Ab2c2A0IECBAgAABAgQSCPi5OEFIlkiAAIFfBHzvtiUIECB
@stephendonner
stephendonner / Greaselion errors
Created Jan 12, 2021
Greaselion errors (.dat and .json files aren't being recreated after deletion, upon Brave Dev startup)
View Greaselion errors
stephendonner@Stephens-MacBook-Pro Brave-Browser % cd afalakplffnnnlkncjhbmahjfjhmlkal
stephendonner@Stephens-MacBook-Pro afalakplffnnnlkncjhbmahjfjhmlkal % ls
1.0.40
stephendonner@Stephens-MacBook-Pro afalakplffnnnlkncjhbmahjfjhmlkal % cd 1.0.40
stephendonner@Stephens-MacBook-Pro 1.0.40 % ls
1 manifest.fingerprint manifest.json
stephendonner@Stephens-MacBook-Pro 1.0.40 % cd 1
stephendonner@Stephens-MacBook-Pro 1 % ls
AutoplayWhitelist.dat Greaselion.json scripts
ExtensionWhitelist.dat ReferrerWhitelist.json
View gist:e2622df2f2c6e476e07a064774da3973
# if using conditioned profiles in CI, reduce default browser-settle
# time down to 1 second, from 30
if not self.no_condprof and not self.config['run_local'] \
and post_startup_delay == 30000:
self.post_startup_delay = 1000
LOG.info("using conditioned profiles, so reducing post_startup_delay to %d ms"
% self.post_startup_delay)