[Webkit-unassigned] [Bug 111889] New: Web Inspector: Error handling for ScriptPreprocessor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 8 14:33:56 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111889
Summary: Web Inspector: Error handling for ScriptPreprocessor
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: johnjbarton 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
In using the scriptpreprocessor introduced in Bug 80992 and Bug 104384, I found I could succeed with trivial preprocessors but not real JS to JS compilers.
The problem is two-fold:
1) the environment of the preprocessor is not like any web page: the compiler source must be inside of a function body, not a global scope and the compiler cannot reference console or window.
2) Compile and run time errors are not reported, but result in silently ignoring the preprocessor.
Discovering the first set of issues without the second is pretty much impossible.
--
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