Include stacks with console messages for uncaught exceptions in worklet scripts
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: karlt, Assigned: karlt)
References
(Blocks 1 open bug)
Details
Attachments
(13 files)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Script errors use nsIConsoleService with nsScriptErrorWithStack, which expects a JS stack object, which I assume is usually based on SavedFrame.
Console OTOH uses "console-api-log-event" with ConsoleStackEntry reification of stacks for logging.
WebConsoleActor.prepareStackForRemote() converts SavedFrame to what might be equivalent to ConsoleStackEntry, but is expecting nsIScriptError messages to have stacks in SavedFrame format.
SerializedStackHolder exists for passing SavedFrame stacks across threads.
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D44602
Assignee | ||
Comment 2•5 years ago
|
||
This will permit implementation of JSPrincipals::write().
Depends on D44603
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D44604
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D44605
Assignee | ||
Comment 5•5 years ago
|
||
This comment has been obsolete since
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l2.31
where it was clarified at
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l5.75
Depends on D44606
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D44607
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D44608
Assignee | ||
Comment 8•5 years ago
|
||
This is consistent with what the Web Console expects.
Depends on D44609
Assignee | ||
Comment 9•5 years ago
|
||
Line numbers in self-hosted frames are not controlled by the test.
Depends on D44610
Assignee | ||
Comment 10•5 years ago
|
||
Depends on D44611
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 11•5 years ago
|
||
The principals used in worklet scripts derive from the relevant settings object
of the main thread Worklet object, rather than the network loads of the scripts.
Moving the data off LoadInfo removes any implication that the principals might
depend on script module loads.
Assignee | ||
Comment 12•5 years ago
|
||
The environment settings object for a WorkletGlobalScope derives from the
relevant settings object of the main-thread Worklet object, but the origin is
a unique opaque origin.
https://drafts.css-houdini.org/worklets/#set-up-a-worklet-environment-settings-object
Depends on D44775
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 15•5 years ago
|
||
bugherder |
Comment 16•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Backed out 9 changesets (Bug 1578623) for causing Windows build bustages CLOSED TREE
Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=52a86c60c8664cb41fb20daf94c620264726b4d9&searchStr=windows
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265626215&repo=autoland&lineNumber=33955
Backout: 92823ffcb1dcdbd393ca322e52f604f2127ca3cd
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 20•5 years ago
|
||
Comment 21•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a67e6e7defba
https://hg.mozilla.org/mozilla-central/rev/99c181965128
https://hg.mozilla.org/mozilla-central/rev/1720f0a8952b
https://hg.mozilla.org/mozilla-central/rev/52c6a60efe7c
https://hg.mozilla.org/mozilla-central/rev/ea60c5110b4a
https://hg.mozilla.org/mozilla-central/rev/0665b9520daa
https://hg.mozilla.org/mozilla-central/rev/37062227d710
Assignee | ||
Updated•5 years ago
|
Description
•