ericlaw1979 / dwf

Debugging with Fiddler Errata
0 stars 0 forks source link

Improve RefreshUI docs #1

Open ericlaw1979 opened 7 years ago

ericlaw1979 commented 7 years ago

bool RefreshUI() Call this method to update the information displayed in this Session’s entry in the Web Sessions list.

_It's basically my fault. For performance reasons, Fiddler doesn't update the ViewItem's state based on the session flags (e.g. ui-italic) unless the Session changes state, or you explicitly tell it to.

You can also simplify your code very slightly like this:

if (oS.uriContains("/idp/") || oS.uriContains("/sp/") || oS.HTTPMethodIs("POST")) { oS["ui-italic"]="true"; oS["ui-color"]="orange"; oS.RefreshUI();_