Skip to content

Commit 46fe688

Browse files
committed
Chrome/Edge 139
1 parent 9333a8a commit 46fe688

2 files changed

Lines changed: 40 additions & 10 deletions

File tree

src/test/java/org/htmlunit/general/HostClassNameTest.java

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7112,7 +7112,10 @@ public void sourceBufferList() throws Exception {
71127112
* @throws Exception if the test fails
71137113
*/
71147114
@Test
7115-
@Alerts("ReferenceError")
7115+
@Alerts(DEFAULT = "ReferenceError",
7116+
CHROME = "function SpeechGrammar() { [native code] }",
7117+
EDGE = "function SpeechGrammar() { [native code] }")
7118+
@HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError")
71167119
public void speechGrammar() throws Exception {
71177120
test("SpeechGrammar");
71187121
}
@@ -7121,7 +7124,10 @@ public void speechGrammar() throws Exception {
71217124
* @throws Exception if the test fails
71227125
*/
71237126
@Test
7124-
@Alerts("ReferenceError")
7127+
@Alerts(DEFAULT = "ReferenceError",
7128+
CHROME = "function SpeechGrammarList() { [native code] }",
7129+
EDGE = "function SpeechGrammarList() { [native code] }")
7130+
@HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError")
71257131
public void speechGrammarList() throws Exception {
71267132
test("SpeechGrammarList");
71277133
}
@@ -7130,7 +7136,10 @@ public void speechGrammarList() throws Exception {
71307136
* @throws Exception if the test fails
71317137
*/
71327138
@Test
7133-
@Alerts("ReferenceError")
7139+
@Alerts(DEFAULT = "ReferenceError",
7140+
CHROME = "function SpeechRecognition() { [native code] }",
7141+
EDGE = "function SpeechRecognition() { [native code] }")
7142+
@HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError")
71347143
public void speechRecognition() throws Exception {
71357144
test("SpeechRecognition");
71367145
}
@@ -7157,7 +7166,10 @@ public void speechRecognitionError() throws Exception {
71577166
* @throws Exception if the test fails
71587167
*/
71597168
@Test
7160-
@Alerts("ReferenceError")
7169+
@Alerts(DEFAULT = "ReferenceError",
7170+
CHROME = "function SpeechRecognitionErrorEvent() { [native code] }",
7171+
EDGE = "function SpeechRecognitionErrorEvent() { [native code] }")
7172+
@HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError")
71617173
public void speechRecognitionErrorEvent() throws Exception {
71627174
test("SpeechRecognitionErrorEvent");
71637175
}
@@ -7166,7 +7178,10 @@ public void speechRecognitionErrorEvent() throws Exception {
71667178
* @throws Exception if the test fails
71677179
*/
71687180
@Test
7169-
@Alerts("ReferenceError")
7181+
@Alerts(DEFAULT = "ReferenceError",
7182+
CHROME = "function SpeechRecognitionEvent() { [native code] }",
7183+
EDGE = "function SpeechRecognitionEvent() { [native code] }")
7184+
@HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError")
71707185
public void speechRecognitionEvent() throws Exception {
71717186
test("SpeechRecognitionEvent");
71727187
}

src/test/java/org/htmlunit/general/HostTypeOfTest.java

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7094,7 +7094,10 @@ public void sourceBufferList() throws Exception {
70947094
* @throws Exception if the test fails
70957095
*/
70967096
@Test
7097-
@Alerts("undefined")
7097+
@Alerts(DEFAULT = "undefined",
7098+
CHROME = "function",
7099+
EDGE = "function")
7100+
@HtmlUnitNYI(CHROME = "undefined", EDGE = "undefined")
70987101
public void speechGrammar() throws Exception {
70997102
test("SpeechGrammar");
71007103
}
@@ -7103,7 +7106,10 @@ public void speechGrammar() throws Exception {
71037106
* @throws Exception if the test fails
71047107
*/
71057108
@Test
7106-
@Alerts("undefined")
7109+
@Alerts(DEFAULT = "undefined",
7110+
CHROME = "function",
7111+
EDGE = "function")
7112+
@HtmlUnitNYI(CHROME = "undefined", EDGE = "undefined")
71077113
public void speechGrammarList() throws Exception {
71087114
test("SpeechGrammarList");
71097115
}
@@ -7112,7 +7118,10 @@ public void speechGrammarList() throws Exception {
71127118
* @throws Exception if the test fails
71137119
*/
71147120
@Test
7115-
@Alerts("undefined")
7121+
@Alerts(DEFAULT = "undefined",
7122+
CHROME = "function",
7123+
EDGE = "function")
7124+
@HtmlUnitNYI(CHROME = "undefined", EDGE = "undefined")
71167125
public void speechRecognition() throws Exception {
71177126
test("SpeechRecognition");
71187127
}
@@ -7139,7 +7148,10 @@ public void speechRecognitionError() throws Exception {
71397148
* @throws Exception if the test fails
71407149
*/
71417150
@Test
7142-
@Alerts("undefined")
7151+
@Alerts(DEFAULT = "undefined",
7152+
CHROME = "function",
7153+
EDGE = "function")
7154+
@HtmlUnitNYI(CHROME = "undefined", EDGE = "undefined")
71437155
public void speechRecognitionErrorEvent() throws Exception {
71447156
test("SpeechRecognitionErrorEvent");
71457157
}
@@ -7148,7 +7160,10 @@ public void speechRecognitionErrorEvent() throws Exception {
71487160
* @throws Exception if the test fails
71497161
*/
71507162
@Test
7151-
@Alerts("undefined")
7163+
@Alerts(DEFAULT = "undefined",
7164+
CHROME = "function",
7165+
EDGE = "function")
7166+
@HtmlUnitNYI(CHROME = "undefined", EDGE = "undefined")
71527167
public void speechRecognitionEvent() throws Exception {
71537168
test("SpeechRecognitionEvent");
71547169
}

0 commit comments

Comments
 (0)