Open Bug 1599281 Opened 5 years ago Updated 2 years ago

Fix TypeError: this._securityUI is null at updateSecurityUIForSecurityChange

Categories

(DevTools :: Responsive Design Mode, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: bradwerth, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

While running test devtools/client/responsive/test/browser/browser_preloaded_newtab.js with the devtools.responsive.metaViewport.enabled pref set to true, I hit this exception:

TypeError: this._securityUI is null at updateSecurityUIForSecurityChange@chrome://global/content/elements/browser-custom-element.js:1545:9

It appears that the securityUI getter has a few paths where it could return a null value. The updateSecurityUIForSecurityChange method should handle this case gracefully.

Hi,

I will move this over to a component. If this is not the correct component please feel free to change it to an appropriate one.

Thanks.

Component: General → Responsive Design Mode
Product: Toolkit → DevTools
Priority: -- → P3
Assignee: bwerth → nobody
Attachment #9111429 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: