[Webkit-unassigned] [Bug 105162] New: Web Inspector: MediaQueryList listener silently catches errors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 17 04:24:27 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105162
Summary: Web Inspector: MediaQueryList listener silently
catches errors
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yurys at chromium.org
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
Upstreaming Chromium issue: http://code.google.com/p/chromium/issues/detail?id=162651
Steps to reproduce the problem:
1. Get a media query list
2. Add a listener with an error inside
3. Trigger the listener
var theMediaQueryList = window.matchMedia("screen and (max-width: 600px)");
theMediaQueryList.addListener(function(aMediaQueryList) {
console.log("Function started");
objectThatDoesNotExist.produceError();
console.log("Function ended");
});
http://www.developedbyme.com/dbm-repository/bugs/mediaQueryListCatchError.html
What is the expected behavior?
The error to be displayed in the console.
What went wrong?
Nothing is printed code in the functions is stopped.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list