Prepare for implementing the Import Assertions proposal
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
People
(Reporter: alex.fdm, Assigned: jon4t4n)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed)
Attachments
(2 files, 9 obsolete files)
The proposal is already on Stage 3: https://github.com/tc39/proposal-import-assertions
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D106902
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Backed out 2 changesets (bug 1668330) for GlobalObject.h related bustage and spidermonkey failures.
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=A_U5UP4NRfKA8g7FCpDkWA.0&fromchange=2d76323e5c0c96b2d54722f99ceaa3b1860b83d2&searchStr=build&tochange=ac28bdc164a877365a9d9bde0bd39b022b074729
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&fromchange=2d76323e5c0c96b2d54722f99ceaa3b1860b83d2&searchStr=spidermonkey&selectedTaskRun=EMyqvi9cSaK1qrZTsUOd_A.0&tochange=ac28bdc164a877365a9d9bde0bd39b022b074729
Backout link: https://hg.mozilla.org/integration/autoland/rev/ac28bdc164a877365a9d9bde0bd39b022b074729
Failure log: https://treeherder.mozilla.org/logviewer?job_id=336510227&repo=autoland&lineNumber=48378
[task 2021-04-14T15:36:43.810Z] 15:36:43 INFO - make[4]: Entering directory '/builds/worker/workspace/obj-build/js/src/frontend'
[task 2021-04-14T15:36:43.813Z] 15:36:43 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/sysroot -std=gnu++17 -o Parser.o -c -I/builds/worker/workspace/obj-build/dist/system_wrappers -include /builds/worker/checkouts/gecko/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -ftrivial-auto-var-init=pattern -DDEBUG=1 -DWASM_SUPPORTS_HUGE_MEMORY -DJS_CACHEIR_SPEW -DJS_STRUCTURED_SPEW -DJS_HAS_CTYPES -DFFI_BUILDING -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/builds/worker/checkouts/gecko/js/src/frontend -I/builds/worker/workspace/obj-build/js/src/frontend -I/builds/worker/workspace/obj-build/js/src -I/builds/worker/checkouts/gecko/js/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/js/src/js-confdefs.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -fcrash-diagnostics-dir=/builds/worker/artifacts -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O3 -fno-omit-frame-pointer -funwind-tables -Werror -fno-strict-aliasing -Werror=format -Wno-shadow -fexperimental-new-pass-manager -MD -MP -MF .deps/Parser.o.pp /builds/worker/checkouts/gecko/js/src/frontend/Parser.cpp
[task 2021-04-14T15:36:43.813Z] 15:36:43 INFO - In file included from /builds/worker/checkouts/gecko/js/src/frontend/Parser.cpp:20:
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - In file included from /builds/worker/checkouts/gecko/js/src/frontend/Parser.h:180:
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - In file included from /builds/worker/checkouts/gecko/js/src/frontend/CompilationStencil.h:37:
[task 2021-04-14T15:36:43.814Z] 15:36:43 ERROR - /builds/worker/checkouts/gecko/js/src/vm/GlobalObject.h:138:3: error: static_assert failed due to requirement 'JSCLASS_GLOBAL_SLOT_COUNT == RESERVED_SLOTS' "global object slot counts are inconsistent"
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - static_assert(JSCLASS_GLOBAL_SLOT_COUNT == RESERVED_SLOTS,
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - 1 error generated.
[task 2021-04-14T15:36:43.814Z] 15:36:43 ERROR - make[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:676: Parser.o] Error 1
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/js/src/frontend'
[task 2021-04-14T15:36:43.814Z] 15:36:43 ERROR - make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: js/src/frontend/target-objects] Error 2
[task 2021-04-14T15:36:43.814Z] 15:36:43 INFO - make[3]: *** Waiting for unfinished jobs....
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Assignee | ||
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 9•4 years ago
|
||
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D126041
Assignee | ||
Comment 11•4 years ago
|
||
Depends on D126042
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D126043
Assignee | ||
Comment 13•4 years ago
|
||
Depends on D126044
Assignee | ||
Comment 14•4 years ago
|
||
Depends on D126045
Assignee | ||
Comment 15•4 years ago
|
||
Depends on D126046
Assignee | ||
Comment 16•4 years ago
|
||
Depends on D126047
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
I think I goofed a bit my letting this bug have patches land on it: Probably should have marked it as a [meta] bug, and then landed partial patches as children.
I'm going to clean this up a bit (which will require Jonatan to move some patches. Sorry!)
Updated•4 years ago
|
Updated•4 years ago
|
Comment 19•4 years ago
|
||
Comment on attachment 9241947 [details]
Bug 1668330 - Part 3: Add option for import assertions. r=mgaudet!,yulia!
Revision D126041 was moved to bug 1736060. Setting attachment 9241947 [details] to obsolete.
Comment 20•4 years ago
|
||
Comment on attachment 9241948 [details]
Bug 1668330 - Part 4: Implement stencil changes for import assertions. r=mgaudet!,yulia!
Revision D126042 was moved to bug 1736060. Setting attachment 9241948 [details] to obsolete.
Comment 21•4 years ago
|
||
Comment on attachment 9241949 [details]
Bug 1668330 - Part 5: Extend ModuleRequestObject to hold assertions. r=mgaudet!,yulia!
Revision D126043 was moved to bug 1736060. Setting attachment 9241949 [details] to obsolete.
Comment 22•4 years ago
|
||
Comment on attachment 9241950 [details]
Bug 1668330 - Part 6: Implement HostGetSupportedImportAssertions. r=mgaudet!,yulia!
Revision D126044 was moved to bug 1736060. Setting attachment 9241950 [details] to obsolete.
Comment 23•4 years ago
|
||
Comment on attachment 9241951 [details]
Bug 1668330 - Part 7: Implement import assertions for static imports. r=mgaudet!,yulia!
Revision D126045 was moved to bug 1736060. Setting attachment 9241951 [details] to obsolete.
Comment 24•4 years ago
|
||
Comment on attachment 9241952 [details]
Bug 1668330 - Part 8: Implement import assertions for dynamic imports. r=mgaudet!,yulia!
Revision D126046 was moved to bug 1736060. Setting attachment 9241952 [details] to obsolete.
Comment 25•4 years ago
|
||
Comment on attachment 9241953 [details]
Bug 1668330 - Part 9: Implement Reflect.parse for import assertions. r=mgaudet!,yulia!
Revision D126047 was moved to bug 1736060. Setting attachment 9241953 [details] to obsolete.
Updated•4 years ago
|
Updated•3 years ago
|
Description
•