Title: [292424] branches/safari-614.1.7-branch/Source/WebKit
- Revision
- 292424
- Author
- [email protected]
- Date
- 2022-04-05 14:32:15 -0700 (Tue, 05 Apr 2022)
Log Message
Cherry-pick r291823. rdar://problem/91315158
REGRESSION(STP142): "A _javascript_ exception occured: Can't find variable: utils" from SafariDriver
https://bugs.webkit.org/show_bug.cgi?id=238335
Reviewed by Devin Rousso.
Following r289467, we can't just copy the WebDriver atom scripts to the build products, since they now need to
have `utils.js` in any script that uses the `utils` namespace. The `WebKit.framework` copy of these scripts are
later used while building safaridriver, so they need to include the scripts as well.
* WebKit.xcodeproj/project.pbxproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-614.1.7-branch/Source/WebKit/ChangeLog (292423 => 292424)
--- branches/safari-614.1.7-branch/Source/WebKit/ChangeLog 2022-04-05 21:30:35 UTC (rev 292423)
+++ branches/safari-614.1.7-branch/Source/WebKit/ChangeLog 2022-04-05 21:32:15 UTC (rev 292424)
@@ -1,3 +1,34 @@
+2022-04-05 Russell Epstein <[email protected]>
+
+ Cherry-pick r291823. rdar://problem/91315158
+
+ REGRESSION(STP142): "A _javascript_ exception occured: Can't find variable: utils" from SafariDriver
+ https://bugs.webkit.org/show_bug.cgi?id=238335
+
+ Reviewed by Devin Rousso.
+
+ Following r289467, we can't just copy the WebDriver atom scripts to the build products, since they now need to
+ have `utils.js` in any script that uses the `utils` namespace. The `WebKit.framework` copy of these scripts are
+ later used while building safaridriver, so they need to include the scripts as well.
+
+ * WebKit.xcodeproj/project.pbxproj:
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-24 Patrick Angle <[email protected]>
+
+ REGRESSION(STP142): "A _javascript_ exception occured: Can't find variable: utils" from SafariDriver
+ https://bugs.webkit.org/show_bug.cgi?id=238335
+
+ Reviewed by Devin Rousso.
+
+ Following r289467, we can't just copy the WebDriver atom scripts to the build products, since they now need to
+ have `utils.js` in any script that uses the `utils` namespace. The `WebKit.framework` copy of these scripts are
+ later used while building safaridriver, so they need to include the scripts as well.
+
+ * WebKit.xcodeproj/project.pbxproj:
+
2022-03-26 Russell Epstein <[email protected]>
Cherry-pick r291943. rdar://problem/90878560
Modified: branches/safari-614.1.7-branch/Source/WebKit/WebKit.xcodeproj/project.pbxproj (292423 => 292424)
--- branches/safari-614.1.7-branch/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2022-04-05 21:30:35 UTC (rev 292423)
+++ branches/safari-614.1.7-branch/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2022-04-05 21:32:15 UTC (rev 292424)
@@ -15629,7 +15629,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "DST_DIR=\"$TARGET_BUILD_DIR/$PRIVATE_HEADERS_FOLDER_PATH/atoms\"\nmkdir -p \"$DST_DIR\"\n\nfor ((i = 0; i < ${SCRIPT_INPUT_FILE_COUNT}; ++i)); do\n eval WEBDRIVER_ATOM=\\${SCRIPT_INPUT_FILE_${i}}\n ditto \"${WEBDRIVER_ATOM}\" \"${DST_DIR}/${WEBDRIVER_ATOM##*/}\"\ndone\n";
+ shellScript = "DST_DIR=\"$TARGET_BUILD_DIR/$PRIVATE_HEADERS_FOLDER_PATH/atoms\"\nmkdir -p \"$DST_DIR\"\n\nfor ((i = 0; i < ${SCRIPT_INPUT_FILE_COUNT}; ++i)); do\n eval WEBDRIVER_ATOM=\\${SCRIPT_INPUT_FILE_${i}}\n python3 ${SRCROOT}/Scripts/generate-automation-atom.py \"${WEBDRIVER_ATOM}\" \"${DST_DIR}/${WEBDRIVER_ATOM##*/}\"\ndone\n";
};
A55DEAA61670402E003DB841 /* Check For Inappropriate Macros in External Headers */ = {
isa = PBXShellScriptBuildPhase;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes