« Bugzilla Issues Index
#3291 — 15.2.1.21 set module namespace
- bug_id:
3291
- creation_ts:
2014-10-19 10:43:00 -0700
- short_desc:
15.2.1.21 set module namespace
- delta_ts:
2014-12-05 15:49:26 -0800
- product:
Draft for 6th Edition
- component:
Modules
- version:
Rev 28: October 14, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
INVALID
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Guy Bedford
- assigned_to:
Allen Wirfs-Brock
- cc:
["andrebargull", "dherman", "jorendorff", "samth"]
- commentid:
10523
- comment_count:
0
- who:
Guy Bedford
- bug_when:
2014-10-19 10:43:11 -0700
In step 8. a) v) there should be a third step here:
3. Set importedModule.[[Namespace]] to namespace
This way the created namespace can be reused again later. I couldn't see the namespace being set anywhere else otherwise.
Note it may be worth considering separating namespace creation into an easier function to share, as the browser loader spec would also need to create namespaces for loading modules that don't already have them. Perhaps this is a completely separate process though, but they should ideally share the module.[[Namespace]] object somehow.
- commentid:
10546
- comment_count:
1
- who:
André Bargull
- bug_when:
2014-10-30 07:39:50 -0700
This is already handled in 9.4.6.13 ModuleNamespaceCreate, step 11.