https://www.hyatt.com and other websites fail to load when `brave://flags#brave-block-screen-fingerprinting` is enabled
See original GitHub issueDescription
Looks like we have a webcompat bug where certain websites fail to load when brave://flags#brave-block-screen-fingerprinting
is enabled. Originally reported by @ryanbr and confirmed by @pes10k & @arthuredelstein. It was decided to rollback the BraveBlockScreenFingerprinting
study on all the channels as per https://github.com/brave/brave-variations/pull/473 until we know what’s causing the issue.
The strange part that we need to figure out is why the issue occurs even when disabling Brave Shields
or disabling FP
.
Steps to Reproduce
- launch brave (used
1.48.10 Chromium: 108.0.5359.48
in this case) - enable
brave://flags#brave-block-screen-fingerprinting
(need to usebrave://flags
as we rolled back the changes via Griffin) - restart the browser once
brave://flags#brave-block-screen-fingerprinting
has been enabled - attempt to load https://www.hyatt.com and you’ll notice that the page is completely blank
There’s also more QA verification notes via https://github.com/brave/brave-variations/pull/472#issuecomment-1329710539.
Actual result:
Expected result:
Reproduces how often:
100% reproducible when using the STR/Cases outlined above
Brave version (brave://version info)
Brave | 1.48.10 Chromium: 108.0.5359.48 (Official Build) nightly (64-bit)
-- | --
Revision | 18ceeca0d99318e70c00d2e04d88aa55488b5c63-refs/branch-heads/5359@{#854}
OS | Windows 11 Version 22H2 (Build 22621.819)
Brave | 1.47.104 Chromium: 108.0.5359.48 (Official Build) beta (64-bit)
-- | --
Revision | 18ceeca0d99318e70c00d2e04d88aa55488b5c63-refs/branch-heads/5359@{#854}
OS | Windows 11 Version 22H2 (Build 22621.819)
Brave | 1.45.133 Chromium: 107.0.5304.141 (Official Build) (64-bit)
-- | --
Revision | cddb1ab381a982f400a57e15e14080e1aaaca4b8-refs/branch-heads/5304_105@{#3}
OS | Windows 11 Version 22H2 (Build 22621.819)
Version/Channel Information:
- Can you reproduce this issue with the current release?
Yes
- Can you reproduce this issue with the beta channel?
Yes
- Can you reproduce this issue with the nightly channel?
Yes
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields?
N/A
- Does the issue resolve itself when disabling Brave Rewards?
N/A
- Is the issue reproducible on the latest version of Chrome?
N/A
Miscellaneous Information:
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Website not loading - browser - Brave Community
https://www.hyatt.com and other websites fail to load when `brave://flags#brave-block-screen-fingerprinting` is enabled.
Read more >Hotel Reservations | Book Hotel Rooms Online - Hyatt Hotels ...
Save up to 15% only on Hyatt.com. Book now at any of our 1200+ Hyatt hotels and resorts worldwide and get the best...
Read more >Sign In - Hyatt
Join World of Hyatt. Accessing Your Account Information. If you can't remember your World of Hyatt membership number, username or password, please contact ......
Read more >Customer Service - Hyatt
Customer Service ; Retrieve Hotel Bill · Credit Card Authorization Form ; Reservations · World of Hyatt FAQs ; Share Feedback on a...
Read more >Accessing Your Account - Customer Service - Hyatt
All browsers must be Java Script enabled to view the site. I keep getting an error saying that my account number is invalid....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have tracked down the problem to the value of
outer[Width|Height
in iframes. In the farbling screen protection, we spoofouter[Width|Height]
toinner[Width|Height]
for iframes. For example, in a document withinnerWidth = 100
containing an iframe withinnerWidth = 20
, we return anouterWidth
value for the document near100
and anouterWidth
value for the iframe near20
. It appears that a bot-detection script on these websites notices thatouter[Width|Height]
for the iframe does not matchouter[Width|Height]
for the top-level document and therefore decides to reject the visitor.I found I can fix this problem on both websites (hyatt.com and realestate.com.au) by changing the farbling code to return a value for
outer[Width|Height]
in the iframe that matchesinner[Width|Height]
of the top-level document rather than the iframe. So, in our example, in a document withinnerWidth = 100
containing an iframe withinnerWidth = 20
, we will return anouterWidth
for both the top-level document and iframe near100
.(I’m working on a PR that incorporates this fix.)
Verification PASSED on
https://www.hyatt.com
loads without issues whenbrave://flags#brave-block-screen-fingerprinting
enabledhttps://www.realestate.com.au/buy/in-melbourne,+vic+3000/list-1
loads without issues whenbrave://flags#brave-block-screen-fingerprinting
enabledExample
Example
Example
Example