Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Unified Diff: test/cctest/test-extra.js

Issue 2626793003: [promises] Remove unneeded PromiseCreate function from promise.js (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/promise.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-extra.js
diff --git a/test/cctest/test-extra.js b/test/cctest/test-extra.js
index 0cc4df4cc4937ec6b6f04ddc4fde91f7c794e8e7..88c5f6e659d7b5e44946c6d2ca11cc0c3f6997fe 100644
--- a/test/cctest/test-extra.js
+++ b/test/cctest/test-extra.js
@@ -53,7 +53,8 @@
const fulfilledPromise = v8.createPromise();
v8.resolvePromise(
fulfilledPromise,
- hasOwn({ test: 'test' }, 'test') ? 1 : -1
+ hasOwn({ test: 'test' }, 'test') ? 1 : -1,
+ undefined // pass an extra arg to test arguments adapter frame
);
const fulfilledPromise2 = Promise_resolve(call(function (arg1, arg2) {
« no previous file with comments | « src/js/promise.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698