Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 4d75e87

Browse files
committed
Fix #514 Remove deprecated registerContentHandler
Now removed from HTML Living standard
1 parent 085641f commit 4d75e87

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

scripts/9/data.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2448,7 +2448,7 @@ var tests = [
24482448
]
24492449
},
24502450

2451-
'<strong>Content and Scheme handlers</strong>',
2451+
'<strong>Scheme handlers</strong>',
24522452

24532453
{
24542454
id: 'registerProtocolHandler',
@@ -2458,14 +2458,6 @@ var tests = [
24582458
[ 'w3c', 'http://www.w3.org/TR/html5/webappapis.html#custom-handlers' ],
24592459
[ 'mdn', '/Web-based_protocol_handlers' ]
24602460
]
2461-
}, {
2462-
id: 'registerContentHandler',
2463-
name: 'Custom content handlers',
2464-
value: 1,
2465-
urls: [
2466-
[ 'w3c', 'http://www.w3.org/TR/html5/webappapis.html#custom-handlers' ],
2467-
[ 'mdn', '/Web/API/Navigator/registerContentHandler' ]
2468-
]
24692461
}
24702462
]
24712463
}, {

scripts/9/engine.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3473,17 +3473,6 @@ Test9 = (function () {
34733473
});
34743474
},
34753475

3476-
3477-
/* registerContentHandler */
3478-
3479-
function (results) {
3480-
results.addItem({
3481-
key: 'offline.registerContentHandler',
3482-
passed: !!window.navigator.registerContentHandler
3483-
});
3484-
},
3485-
3486-
34873476
/* session storage */
34883477

34893478
function (results) {

0 commit comments

Comments
 (0)