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

Remove old rejected features #526

Open
wants to merge 2 commits into
base: version-9.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 7 additions & 23 deletions scripts/9/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1061,13 +1061,6 @@ var tests = [
[ 'w3c', 'http://www.w3.org/TR/html-templates/' ],
[ 'whatwg', 'https://html.spec.whatwg.org/multipage/scripting.html#the-template-element' ]
]
}, {
id: 'imports',
name: 'HTML imports',
status: 'rejected',
urls: [
[ 'w3c', 'http://w3c.github.io/webcomponents/spec/imports/' ]
]
}
]
}
Expand Down Expand Up @@ -1123,10 +1116,10 @@ var tests = [
urls: [
[ 'w3c', 'https://www.w3.org/TR/generic-sensor/' ]
]
},
},

'<strong>Low level sensors</strong>',

{
id: 'low.accelerometer',
name: 'Accelerometer',
Expand All @@ -1139,10 +1132,10 @@ var tests = [
id: 'low.magnetometer',
name: 'Magnetometer',
value: 0
},
},

'<strong>High level sensors</strong>',

{
id: 'high.linearacceleration',
name: 'Linear Acceleration',
Expand All @@ -1159,7 +1152,7 @@ var tests = [
id: 'high.ambientlight',
name: 'Ambient Light',
value: 0
},
},
]
}, {
id: 'hardware',
Expand Down Expand Up @@ -2686,15 +2679,6 @@ var tests = [
[ 'whatwg', 'https://html.spec.whatwg.org/multipage/scripting.html#attr-script-defer' ],
[ 'mdn', '/Web/HTML/Element/script' ]
]
}, {
id: 'executionevents',
name: 'Script execution events',
status: 'rejected',
urls: [
[ 'w3c', 'http://www.w3.org/TR/html5/scripting-1.html#the-script-element' ],
[ 'whatwg', 'http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#the-script-element' ],
[ 'mdn', '/Web/Events/beforescriptexecute' ]
]
}, {
id: 'onerror',
name: 'Runtime script error reporting',
Expand Down
46 changes: 0 additions & 46 deletions scripts/9/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -3667,16 +3667,6 @@ Test9 = (function () {
},


/* html imports */

function (results) {
results.addItem({
key: 'components.imports',
passed: 'import' in document.createElement('link')
});
},


/* async scripts */

function (results) {
Expand Down Expand Up @@ -3707,42 +3697,6 @@ Test9 = (function () {
},


/* script execution events */

function (results) {
var executionevents = results.addItem({
key: 'scripting.executionevents',
passed: false
});

executionevents.startBackground();

var before = false;

var s = document.createElement('script');
s.src = "data:text/javascript;charset=utf-8,window"

s.addEventListener('beforescriptexecute', function () {
before = true;
}, true);

s.addEventListener('afterscriptexecute', function () {
if (before) {
executionevents.update({
passed: true
});
}

executionevents.stopBackground();
}, true);

document.body.appendChild(s);

window.setTimeout(function () {
executionevents.stopBackground();
}, 500);
},


/* base64 encoding and decoding */

Expand Down