• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mattonem / PharoJS / 13792209801

11 Mar 2025 03:41PM UTC coverage: 59.444% (-3.0%) from 62.432%
13792209801

push

github

mattonem
better

2 of 2 new or added lines in 1 file covered. (100.0%)

751 existing lines in 18 files now uncovered.

12601 of 21198 relevant lines covered (59.44%)

0.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Pharo/PharoJs-Base-Bridge/PjMessageMakeBlockClosureProxy.class.st
1
Class {
2
        #name : 'PjMessageMakeBlockClosureProxy',
3
        #superclass : 'PjMessageS2c',
4
        #instVars : [
5
                'stopPropagation',
6
                'includeEventTarget'
7
        ],
8
        #category : 'PharoJs-Base-Bridge-Messages',
9
        #package : 'PharoJs-Base-Bridge',
10
        #tag : 'Messages'
11
}
12

13
{ #category : 'public' }
14
PjMessageMakeBlockClosureProxy >> evaluateInContext: aMessageContext [
×
15

×
16
        | aProxyInfo responseMsg |
×
17
        aProxyInfo := PjProxyManager
×
18
                              makeBlockClosureProxy: self includeEventTarget
×
19
                              stopPropagation: self stopPropagation
×
20
                              for: aMessageContext websocketDelegate.
×
21
        responseMsg := PjMessageEvaluationResponse newWithContents:
×
22
                               aProxyInfo.
×
23
        responseMsg inResponseToId: self id.
×
24
        aMessageContext websocketDelegate tryToSendMessage: responseMsg
×
25
]
×
26

27
{ #category : 'accessing' }
28
PjMessageMakeBlockClosureProxy >> includeEventTarget [
×
29

×
30
        ^ includeEventTarget
×
31
]
×
32

33
{ #category : 'accessing' }
UNCOV
34
PjMessageMakeBlockClosureProxy >> includeEventTarget: anObject [
×
UNCOV
35

×
UNCOV
36
        includeEventTarget := anObject
×
UNCOV
37
]
×
38

39
{ #category : 'initialization' }
UNCOV
40
PjMessageMakeBlockClosureProxy >> initialize [
×
UNCOV
41

×
UNCOV
42
        super initialize.
×
UNCOV
43
        stopPropagation := true.
×
UNCOV
44
        includeEventTarget := false
×
UNCOV
45
]
×
46

47
{ #category : 'accessing' }
48
PjMessageMakeBlockClosureProxy >> stopPropagation [
×
49
        ^ stopPropagation
×
50
]
×
51

52
{ #category : 'accessing' }
UNCOV
53
PjMessageMakeBlockClosureProxy >> stopPropagation: anObject [
×
UNCOV
54
        stopPropagation := anObject
×
UNCOV
55
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc