[REQUIRED] Environment info
firebase-tools: (version to be filled)
Platform: macOS (Safari browser)
[REQUIRED] Test case
When firestore.rules contains syntax errors, clicking the "Clear all data" button in the Firestore Emulator UI (http://127.0.0.1:4000/firestore/default/data) results in a blank page instead of showing an error message or handling the error gracefully.
[REQUIRED] Steps to reproduce
- Start Firebase Emulator Suite with valid
firestore.rules
- Navigate to
http://127.0.0.1:4000/firestore/default/data in Safari browser
- Verify the "Clear all data" button works correctly
- Edit
firestore.rules to introduce a syntax error (e.g., missing closing brace, invalid syntax)
- The emulator should detect the error (rules validation fails)
- While the rules have errors, click the "Clear all data" button
- Observe that a blank page is displayed instead of an error message or the expected behavior
[REQUIRED] Expected behavior
When firestore.rules has errors, clicking "Clear all data" should either:
- Display an appropriate error message indicating that the rules need to be fixed first
- Or gracefully handle the error and still allow clearing data (if rules validation is not required for this operation)
- Or show a helpful error page instead of a blank page
[REQUIRED] Actual behavior
When firestore.rules contains errors, clicking the "Clear all data" button shows a blank page. After correcting the rules and refreshing the page, the button works fine again.
[REQUIRED] Environment info
firebase-tools: (version to be filled)
Platform: macOS (Safari browser)
[REQUIRED] Test case
When
firestore.rulescontains syntax errors, clicking the "Clear all data" button in the Firestore Emulator UI (http://127.0.0.1:4000/firestore/default/data) results in a blank page instead of showing an error message or handling the error gracefully.[REQUIRED] Steps to reproduce
firestore.ruleshttp://127.0.0.1:4000/firestore/default/datain Safari browserfirestore.rulesto introduce a syntax error (e.g., missing closing brace, invalid syntax)[REQUIRED] Expected behavior
When
firestore.ruleshas errors, clicking "Clear all data" should either:[REQUIRED] Actual behavior
When
firestore.rulescontains errors, clicking the "Clear all data" button shows a blank page. After correcting the rules and refreshing the page, the button works fine again.