Bug 1717506 Comment 34 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

OK so I added more logs. It looks like this is caused by a mismatched port connect/disconnect call.

Navigating from forms.html to hello.html and pressing back we get

```
connect from forms.html
disconnect from forms.html
connect from hello.html
connect from forms.html
disconnect from hello.html
```

at the last `disconnect` call we destroy the port for `forms.html` (even though the disconnect call is for `hello.html`) because we don't expect call out of order. Checking for the port object should fix this problem.
OK so I added more logs. It looks like this is caused by a mismatched port connect/disconnect call.

Navigating from forms.html to hello.html and pressing back we get

```
connect from forms.html
disconnect from forms.html
connect from hello.html
connect from forms.html
disconnect from hello.html
```

at the last `disconnect` call we destroy the port for `forms.html` (even though the disconnect call is for `hello.html`) because we don't expect calls to be out of order. Checking for the port object should fix this problem.

Back to Bug 1717506 Comment 34