File tree 5 files changed +14
-16
lines changed
5 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import {
25
25
$getDataValue ,
26
26
$getParent ,
27
27
$getRealChildrenByNameIt ,
28
- $global ,
29
28
$hasSettableValue ,
30
29
$indexOf ,
31
30
$insertAt ,
@@ -158,19 +157,13 @@ class Binder {
158
157
// (which is the location of global variables).
159
158
generator = this . data [ $getRealChildrenByNameIt ] (
160
159
name ,
161
- /* allTransparent = */ false ,
160
+ /* allTransparent = */ true ,
162
161
/* skipConsumed = */ false
163
162
) ;
164
163
165
- while ( true ) {
166
- match = generator . next ( ) . value ;
167
- if ( ! match ) {
168
- break ;
169
- }
170
-
171
- if ( match [ $global ] ) {
172
- return match ;
173
- }
164
+ match = generator . next ( ) . value ;
165
+ if ( match ) {
166
+ return match ;
174
167
}
175
168
176
169
// Thirdly, try to find it in attributes.
@@ -590,6 +583,7 @@ class Binder {
590
583
dataNode ,
591
584
global
592
585
) ;
586
+
593
587
if ( ! found ) {
594
588
break ;
595
589
}
Original file line number Diff line number Diff line change 15
15
16
16
import {
17
17
$appendChild ,
18
- $global ,
19
18
$namespaceId ,
20
19
$nodeName ,
21
20
$onChild ,
@@ -47,8 +46,6 @@ class Datasets extends XFAObject {
47
46
child [ $namespaceId ] === NamespaceIds . signature . id )
48
47
) {
49
48
this [ name ] = child ;
50
- } else {
51
- child [ $global ] = true ;
52
49
}
53
50
this [ $appendChild ] ( child ) ;
54
51
}
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ const $getNextPage = Symbol();
51
51
const $getSubformParent = Symbol ( ) ;
52
52
const $getParent = Symbol ( ) ;
53
53
const $getTemplateRoot = Symbol ( ) ;
54
- const $global = Symbol ( ) ;
55
54
const $globalData = Symbol ( ) ;
56
55
const $hasSettableValue = Symbol ( ) ;
57
56
const $ids = Symbol ( ) ;
@@ -1074,7 +1073,6 @@ export {
1074
1073
$getRealChildrenByNameIt ,
1075
1074
$getSubformParent ,
1076
1075
$getTemplateRoot ,
1077
- $global ,
1078
1076
$globalData ,
1079
1077
$hasSettableValue ,
1080
1078
$ids ,
Original file line number Diff line number Diff line change
1
+ https://bugzilla.mozilla.org/attachment.cgi?id=9229341
Original file line number Diff line number Diff line change 944
944
"lastPage" : 2 ,
945
945
"type" : " eq"
946
946
},
947
+ { "id" : " xfa_bug1718725" ,
948
+ "file" : " pdfs/xfa_bug1718725.pdf" ,
949
+ "md5" : " 09c7a599338ff75491f29a8f1f94454b" ,
950
+ "link" : true ,
951
+ "rounds" : 1 ,
952
+ "enableXfa" : true ,
953
+ "type" : " eq"
954
+ },
947
955
{ "id" : " xfa_bug1718740" ,
948
956
"file" : " pdfs/xfa_bug1718740.pdf" ,
949
957
"md5" : " fab4277f2c70fd1edb35f597f5fe6819" ,
You can’t perform that action at this time.
0 commit comments