Skip to content
Permalink
Browse files
Web Inspector: Uncaught Exception opening Web Inspector - TypeError: …
…undefined is not a function - candidateObjectCookie.every

https://bugs.webkit.org/show_bug.cgi?id=135762

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-08-08
Reviewed by Timothy Hatcher.

* UserInterface/Views/NavigationSidebarPanel.js:
(WebInspector.NavigationSidebarPanel.prototype.treeElementMatchesCookie):
Fix a typo, the wrong object was being used.

Canonical link: https://commits.webkit.org/153639@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JosephPecoraro authored and webkit-commit-queue committed Aug 8, 2014
1 parent b74ee5e commit c215c39ecfa4e151237220ae647f6d70f3050d52
Showing 2 changed files with 12 additions and 1 deletion.
@@ -1,3 +1,14 @@
2014-08-08 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Uncaught Exception opening Web Inspector - TypeError: undefined is not a function - candidateObjectCookie.every
https://bugs.webkit.org/show_bug.cgi?id=135762

Reviewed by Timothy Hatcher.

* UserInterface/Views/NavigationSidebarPanel.js:
(WebInspector.NavigationSidebarPanel.prototype.treeElementMatchesCookie):
Fix a typo, the wrong object was being used.

2014-08-07 Brian J. Burg <burg@cs.washington.edu>

REGRESSION(r172094): timeline views are blank after reloading in some situations
@@ -699,7 +699,7 @@ WebInspector.NavigationSidebarPanel.prototype = {
representedObject.saveIdentityToCookie(candidateObjectCookie);

var candidateCookieKeys = Object.keys(candidateObjectCookie);
return candidateCookieKeys.length && candidateObjectCookie.every(function valuesMatchForKey(key) {
return candidateCookieKeys.length && candidateCookieKeys.every(function valuesMatchForKey(key) {
return candidateObjectCookie[key] === cookie[key];
});
}

0 comments on commit c215c39

Please sign in to comment.