• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / fx-private-relay / 8a9182cd-ca4b-41b1-be5a-c1a6cfe0e46a

27 Jun 2024 01:57PM CUT coverage: 85.301% (+0.004%) from 85.297%
8a9182cd-ca4b-41b1-be5a-c1a6cfe0e46a

push

circleci

jwhitlock
Disable inline style in next/image

Image from next/image adds an inline style="color:transparent" to many
SVG images. This causes CSP violations in production, and the style is ignored.

This PR replaces Image with a local version that turns the inline style
into a className with the color:transparent style. It only handles this
variant, which was tested to be the only inline style emitted by next.js.

4011 of 5156 branches covered (77.79%)

Branch coverage included in aggregate %.

38 of 43 new or added lines in 30 files covered. (88.37%)

15760 of 18022 relevant lines covered (87.45%)

11.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/emails/admin.py
1
from django.contrib import admin
×
2

3
from .models import (
×
4
    DeletedAddress,
5
    DomainAddress,
6
    Profile,
7
    RegisteredSubdomain,
8
    RelayAddress,
9
    Reply,
10
)
11

12

13
@admin.register(Reply)
×
14
class ReplyAdmin(admin.ModelAdmin):
×
15
    readonly_fields = ("created_at",)
×
16
    list_display = ("relay_address", "domain_address", "created_at")
×
17

18

19
admin.site.register(DeletedAddress)
×
20
admin.site.register(Profile)
×
21
admin.site.register(RelayAddress)
×
22
admin.site.register(DomainAddress)
×
23
admin.site.register(RegisteredSubdomain)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc