Skip to content

Extreme slowness in the web tab for content-type text/html and plain/text body #6309

@nashcrash

Description

@nashcrash

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

2.12.0

Operating System

Windows 11 Enterprise 24H2 26100.7092

Describe the bug

When a service response has a content type of "text/html," Bruno automatically offers the Web tab to display the result. However, if the content isn't valid HTML (plain text), the Web tab crashes.
From that point on, the entire application becomes extremely slow, taking up to 30 seconds to perform any operation (for example, clicking a menu item to display the drop-down menu!), becoming completely unusable.
Closing the tab or the request is pointless: only restarting the application restores normal operation.

We recommend adding an option in the settings that allows you to disable rendering of results, leaving the Raw format as the default.

.bru file to reproduce the bug

When I try a request that returns valid HTML, the problem doesn't occur.
I wrote a local Java application that returns the content type: text/html and a plain text body. This slows down the application.

Screenshots/Live demo link

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions