| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9ab8c3d commit 812b126
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | 37 | # Reset this number to 0 on major V8 upgrades. | |
| 38 | 38 | # Increment by one for each non-official patch applied to deps/v8. | |
| 39 | - 'v8_embedder_string': '-node.35', | ||
| 39 | + 'v8_embedder_string': '-node.36', | ||
| 40 | 40 | ||
| 41 | 41 | ##### V8 defaults for Node.js ##### | |
| 42 | 42 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4796,8 +4796,8 @@ MaybeHandle<FixedArray> Isolate::GetImportAssertionsFromArgument( | |||
| 4796 | 4796 | for (int i = 0; i < assertion_keys->length(); i++) { | |
| 4797 | 4797 | Handle<String> assertion_key(String::cast(assertion_keys->get(i)), this); | |
| 4798 | 4798 | Handle<Object> assertion_value; | |
| 4799 | - if (!JSReceiver::GetProperty(this, import_assertions_object_receiver, | ||
| 4800 | - assertion_key) | ||
| 4799 | + if (!Object::GetPropertyOrElement(this, import_assertions_object_receiver, | ||
| 4800 | + assertion_key) | ||
| 4801 | 4801 | .ToHandle(&assertion_value)) { | |
| 4802 | 4802 | // This can happen if the property has a getter function that throws | |
| 4803 | 4803 | // an error. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,11 @@ var life; | |||
| 8 | 8 | import('modules-skip-1.json', { assert: { type: 'json', notARealAssertion: 'value' } }).then( | |
| 9 | 9 | namespace => life = namespace.default.life); | |
| 10 | 10 | ||
| 11 | + var life2; | ||
| 12 | + import('modules-skip-1.json', { assert: { 0: 'value', type: 'json' } }).then( | ||
| 13 | + namespace => life2 = namespace.default.life); | ||
| 14 | + | ||
| 11 | 15 | %PerformMicrotaskCheckpoint(); | |
| 12 | 16 | ||
| 13 | 17 | assertEquals(42, life); | |
| 18 | + assertEquals(42, life2); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments