Skip to content

Commit bb22a67

Browse files
committed
feat: Update V8 to 11.1.277
1 parent 844baf5 commit bb22a67

File tree

253 files changed

+9217
-3740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+9217
-3740
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
"**/*"
1111
],
1212
"version_info": {
13-
"gradle": "8.4",
14-
"gradleAndroid": "8.3.2",
15-
"ndk": "r23c",
16-
"ndkApiLevel": "17",
17-
"minSdk": "17",
13+
"gradle": "8.14.3",
14+
"gradleAndroid": "8.12.1",
15+
"ndk": "r27",
16+
"ndkApiLevel": "21",
17+
"minSdk": "21",
1818
"compileSdk": "34",
1919
"buildTools": "34.0.0",
2020
"kotlin": "2.0.0"
2121
},
2222
"// this gradle key is here for backwards compatibility - we'll phase it out slowly...": "",
2323
"gradle": {
24-
"version": "8.4",
25-
"android": "8.3.2"
24+
"version": "8.14.3",
25+
"android": "8.12.1"
2626
},
2727
"scripts": {
2828
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

test-app/.idea/AndroidProjectSystem.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/.idea/caches/deviceStreaming.xml

Lines changed: 550 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/.idea/compiler.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/.idea/deploymentTargetSelector.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/.idea/studiobot.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/app/src/main/assets/app/tests/exceptionHandlingTests.js

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@ describe("Tests exception handling ", function () {
88
jasmine.addCustomEqualityTester(myCustomEquality);
99
});
1010

11-
// it("TestThrowJSExceptionThroughJavaAndCatchInJS", function () {
12-
//
13-
// __log("TEST: TestThrowJSExceptionThroughJavaAndCatchInJS");
14-
//
15-
// var exceptionThrown = false;
16-
// var exceptionCaught = false;
17-
// var sameExObject = false;
18-
//
19-
// var ex = { myProp: "SomeValue" };
20-
//
21-
// var EH = com.tns.tests.ExceptionHandlingTest.extend("ExceptionHandlingTest", {
22-
// onEvent1: function(s, n) {
23-
// if (n === 0) {
24-
// exceptionThrown = true;
25-
// throw ex;
26-
// } else {
27-
// this.triggerEvent1(s, n-1);
28-
// }
29-
// }
30-
// });
31-
//
32-
// var eh = new EH();
33-
//
34-
// try {
35-
// eh.triggerEvent1("test", 5);
36-
// }
37-
// catch (e) {
38-
// exceptionCaught = true;
39-
// sameExObject = e === ex;
40-
// __log("e=" + e);
41-
// }
42-
//
43-
// expect(exceptionThrown).toBe(true);
44-
// expect(exceptionCaught).toBe(true);
45-
// expect(sameExObject).toBe(true);
46-
// });
11+
it("TestThrowJSExceptionThroughJavaAndCatchInJS", function () {
12+
13+
__log("TEST: TestThrowJSExceptionThroughJavaAndCatchInJS");
14+
15+
var exceptionThrown = false;
16+
var exceptionCaught = false;
17+
var sameExObject = false;
18+
19+
var ex = { myProp: "SomeValue" };
20+
21+
var EH = com.tns.tests.ExceptionHandlingTest.extend("ExceptionHandlingTest", {
22+
onEvent1: function(s, n) {
23+
if (n === 0) {
24+
exceptionThrown = true;
25+
throw ex;
26+
} else {
27+
this.triggerEvent1(s, n-1);
28+
}
29+
}
30+
});
31+
32+
var eh = new EH();
33+
34+
try {
35+
eh.triggerEvent1("test", 5);
36+
}
37+
catch (e) {
38+
exceptionCaught = true;
39+
sameExObject = e === ex;
40+
__log("e=" + e);
41+
}
42+
43+
expect(exceptionThrown).toBe(true);
44+
expect(exceptionCaught).toBe(true);
45+
expect(sameExObject).toBe(true);
46+
});
4747

4848
xit("TestThrowJavaExceptionFromJsThroughJavaAndCatchInJS", function () {
4949

@@ -114,6 +114,7 @@ describe("Tests exception handling ", function () {
114114
exceptionCaught = false;
115115
}
116116
catch (e) {
117+
console.log(e);
117118
exceptionCaught = true;
118119
}
119120

test-app/build-tools/buildMetadata.log

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Added Properties 54
22
Ignored Properties 2 duplicates.
33
Added Methods 81320
44
Ignored Methods 3300 duplicates.
5-
Added Fields 54602
6-
Ignored Fields 16678 duplicates.
5+
Added Fields 54615
6+
Ignored Fields 16691 duplicates.

test-app/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android.useAndroidX=true
2323
NS_DEFAULT_BUILD_TOOLS_VERSION=34.0.0
2424
NS_DEFAULT_COMPILE_SDK_VERSION=34
2525
NS_DEFAULT_MIN_SDK_VERSION=21
26-
NS_DEFAULT_ANDROID_BUILD_TOOLS_VERSION=8.3.2
26+
NS_DEFAULT_ANDROID_BUILD_TOOLS_VERSION=8.12.1
2727

2828
ns_default_androidx_appcompat_version=1.5.1
2929
ns_default_androidx_exifinterface_version=1.3.7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)