Custom Reporters Frese Browser
See original GitHub issueExpected behavior
When I drag custom blocks they should place.
Actual behavior
They freeze my browser and throw these errors:
vendor.js.pagespeed.jm.434JizBK7W.js:4 Uncaught TypeError: Cannot read property
'targetConnection' of nullBlockly.BlockSvg.disconnectInsertionMarker @
vendor.js.pagespeed.jm.434JizBK7W.js:4Blockly.BlockSvg.terminateDrag @
vendor.js.pagespeed.jm.434JizBK7W.js:4Blockly.terminateDrag_ @
vendor.js.pagespeed.jm.434JizBK7W.js:4Blockly.BlockSvg.onMouseUp_ @
vendor.js.pagespeed.jm.434JizBK7W.js:4g @ vendor.js.pagespeed.jm.434JizBK7W.js:4
vendor.js.pagespeed.jm.434JizBK7W.js:4 Uncaught TypeError: Cannot read property 'sourceBlock_' of null
Steps to reproduce
- Go to the Scratch VM (I used this website to do it)
- Go to More Blocks
- Drag the custom reporter on already existing blocks (the one with the report[] included)
- Look at JS console
or use this XML (oh no! The XML adds custom blocks I did not add )
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_defreturn" id="|v5?DM}fOQDHxb]yAWN0" x="132" y="115">
<field name="NAME">do something</field>
</block>
<block type="event_whenflagclicked" id="kO-UNwe9NlxZc@BlO.+u" x="148" y="115"></block>
<block type="procedures_defreturn" id="xUE}[p?`iSSv;y`TO%G," x="133" y="159">
<field name="NAME">do something2</field>
</block>
<block type="looks_seteffectto" id="`{CFzSvO-Sp8vv%oe0oq" x="148" y="163">
<value name="EFFECT">
<shadow type="looks_effectmenu" id="*dVu+)?CMSV-7y@Fx9m,">
<field name="EFFECT">brightness</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="math_number" id="h[ERc4qLNz6mmhVGWhNA">
<field name="NUM">-40</field>
</shadow>
</value>
<next>
<block type="control_forever" id="Orem,2~_?cdhrNs_V0b+">
<statement name="SUBSTACK">
<block type="looks_changeeffectby" id="!E4H6wj)p=s2B1F#:y@a">
<value name="EFFECT">
<shadow type="looks_effectmenu" id="U;xfv[sZY8yzS{%0Ceay">
<field name="EFFECT">color</field>
</shadow>
</value>
<value name="CHANGE">
<shadow type="math_number" id="q/(B#g(Nkoh`m;ycBpn#">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</statement>
</block>
</next>
</block>
<block type="procedures_callnoreturn" id="`qY9DxfNl0LK);AgMP!/" x="216" y="485">
<mutation name="do something"></mutation>
</block>
<block type="procedures_defnoreturn" id="s(3z`I~G@zezR2-MF!LU" x="117" y="523">
<field name="NAME">do something</field>
</block>
</xml>
Operating system and browser
Chromebook (Chrome OS) latest version.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Tutorial: Create a Custom Reporter - Documentation - Mocha
Mocha allows you to define and use custom reporters install via npm . ... Browsing the built-in reporter implementations, you may often see...
Read more >Custom Reporter | Developer Guide - Nightwatch.js
Learn how to create and use a custom reporter in Nightwatch.
Read more >Custom Reporter - WebdriverIO
You can write your own custom reporter for the WDIO test runner that is tailored to your needs. And it's easy! All you...
Read more >Custom Reporter: onSuiteEnd fires when Mocha test suite ...
When using a custom reporter I want the onSuiteEnd hook to be hit when the suite in my wdio config ends, not mocha....
Read more >Michael Frese at Skadden, Arps, Slate, Meagher & Flom LLP
Latest publications and contact information for attorney Michael Frese at Skadden, Arps, Slate, Meagher & Flom LLP via law news provider JD Supra....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in scratch-blocks!
YAY!