diff --git a/IEWebKitImpl/Browser.ts b/IEWebKitImpl/Browser.ts index ae39532..3e76aaa 100644 --- a/IEWebKitImpl/Browser.ts +++ b/IEWebKitImpl/Browser.ts @@ -59,7 +59,7 @@ module F12.Proxy { if (request) { var methodParts = request.method.split("."); - //browser.document.parentWindow.alert(e.data); + // browser.document.parentWindow.alert(e.data); switch (methodParts[0]) { case "Runtime": diff --git a/IEWebKitImpl/Page.ts b/IEWebKitImpl/Page.ts index 49156a4..39c6bee 100644 --- a/IEWebKitImpl/Page.ts +++ b/IEWebKitImpl/Page.ts @@ -23,7 +23,12 @@ module F12.Proxy { this.value = msCookie && msCookie.value || "unknown"; this.domain = msCookie && msCookie.domain || "unknown"; this.path = msCookie && msCookie.path || "unknown"; - this.expires = msCookie && msCookie.expires && msCookie.expires.toDateString() || "unknown"; + // Calling toString on the expires for a session cookie will result in unspecified error + if (msCookie && msCookie.session) { + this.expires = ""; + } else { + this.expires = msCookie.expires && msCookie.expires.toString() || "unknown"; + } if (msCookie) { // Rough approximation of size as IE doesn't report the actual size this.size = msCookie.name.length + msCookie.value.length; @@ -53,7 +58,7 @@ module F12.Proxy { processedResult = { result: { - coookies: webkitCookies + cookies: webkitCookies } }; } catch (ex) {