Lines Matching refs:onFulfilled
91 String onFulfilled, onRejected;
95 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
98 EXPECT_EQ(String(), onFulfilled);
103 EXPECT_EQ(String(), onFulfilled);
113 EXPECT_EQ(String(), onFulfilled);
118 EXPECT_EQ("hello", onFulfilled);
125 EXPECT_EQ("hello", onFulfilled);
139 String onFulfilled, onRejected;
143 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
146 EXPECT_EQ(String(), onFulfilled);
151 EXPECT_EQ(String(), onFulfilled);
161 EXPECT_EQ(String(), onFulfilled);
166 EXPECT_EQ(String(), onFulfilled);
173 EXPECT_EQ(String(), onFulfilled);
187 String onFulfilled, onRejected;
191 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
203 EXPECT_EQ(String(), onFulfilled);
280 String onFulfilled, onRejected;
284 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
290 EXPECT_EQ("undefined", onFulfilled);
304 String onFulfilled, onRejected;
308 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
314 EXPECT_EQ(String(), onFulfilled);