Changeset 229129 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Mar 1, 2018, 2:24:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r229092 r229129 974 974 // Here, now we consider moduleKey as the fileName. 975 975 Vector<char> utf8; 976 if (!fetchModuleFromLocalFileSystem(moduleKey, utf8)) 977 return deferred->reject(exec, createError(exec, makeString("Could not open file '", moduleKey, "'."))); 976 if (!fetchModuleFromLocalFileSystem(moduleKey, utf8)) { 977 auto result = deferred->reject(exec, createError(exec, makeString("Could not open file '", moduleKey, "'."))); 978 scope.releaseAssertNoException(); 979 return result; 980 } 978 981 979 982 auto result = deferred->resolve(exec, JSSourceCode::create(vm, makeSource(stringFromUTF(utf8), SourceOrigin { moduleKey }, moduleKey, TextPosition(), SourceProviderSourceType::Module)));
Note:
See TracChangeset
for help on using the changeset viewer.