After the fix

RUM is a website monitoring tool. This test makes its request for AWS access fail on purpose.

RUM handles the failure and prints a warning instead. The fix does not grant AWS access; it stops this failure from becoming an unhandled browser error.

Loading the test...

Simulated access attempts
0
Errors left unhandled
0
Warnings from RUM
0

Run this test again

No sign-in needed. Both pages run the same test. No data is sent to AWS, and no cookies are used.

Technical details

This page uses 3.2.1 with the proposed fix. This is a test build, not an official release. View source.

A credential provider returns a rejected promise. The page counts its calls, matching browser unhandledrejection events, and the fix's warning. It does not catch the provider's error or hide browser errors.

cwr('setAwsCredentials', () =>
    Promise.reject(new Error('Example credential failure'))
);

The result is checked one second after the script loads. The after page only reports success if the provider ran once, the warning appeared once, and no matching error was left unhandled.

Debug logging is on so the warning is visible. Automatic monitoring and sending are off. Scripts load from this site; outgoing data connections are blocked.

Build details and file checksums