Closed Bug 1536268 Opened 5 years ago Closed 5 years ago

Attachments, Outgoing: Clicking on box crashes

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(thunderbird67 fixed, thunderbird68 fixed)

RESOLVED FIXED
Thunderbird 68.0
Tracking Status
thunderbird67 --- fixed
thunderbird68 --- fixed

People

(Reporter: jorgk-bmo, Assigned: darktrojan)

Details

Attachments

(1 file)

More eval fun:

Assertion failure: false (do not use eval with system privileges), at c:/mozilla
-source/comm-central/caps/nsScriptSecurityManager.cpp:514
#01: js::DirectEval (c:\mozilla-source\comm-central\js\src\builtin\Eval.cpp:440)
#02: Interpret (c:\mozilla-source\comm-central\js\src\vm\Interpreter.cpp:0)
#03: js::RunScript (c:\mozilla-source\comm-central\js\src\vm\Interpreter.cpp:422)
#04: js::ExecuteKernel (c:\mozilla-source\comm-central\js\src\vm\Interpreter.cpp:781)
#05: js::Execute (c:\mozilla-source\comm-central\js\src\vm\Interpreter.cpp:814)

Flags: needinfo?(geoff)
Flags: needinfo?(acelists)

Protovis :(

June 28, 2011 - Protovis is no longer under active development.

Maybe it's time we stopped using it?

Depends on: 1531595
Flags: needinfo?(geoff)
Flags: needinfo?(acelists)

Hmm, perhaps we can fix something here instead of blowing up the beta :-(

The debug beta.

Well it seems the code in question is garbage anyway. Let's just get rid of it.

Attachment #9051879 - Flags: review?(jorgk)
Comment on attachment 9051879 [details] [diff] [review]
1536268-protovis-eval-1.diff

And it still works? What did that do anyway?
Attachment #9051879 - Flags: review?(jorgk) → review+

I'm not actually sure. It must be a part of the Protovis framework, and exist because we have the whole framework? In any case the line it's evaluating has a syntax error these days.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
No longer depends on: 1531595
Keywords: checkin-needed
Attachment #9051879 - Flags: approval-comm-beta+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/54cd0bf83c13
Remove unused code that uses eval from Protovis library. r=jorgk

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 68.0

So if that eval() has an error, won't the catch block always be run?
So won't we be missing the pv.parse function now that you remove it? But I do not see any calls to it from inside protovis-r2.6-modded.js .

There is also bug 517978 for the brave ones :)

Thanks for checking. I just applied the patch, clicked on Box and it worked :-)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: