Skip to content

Commit ecd03f2

Browse files
committed
Remove unused href field from error report
Originally the href was added manually to the data to work around a `dart:html` limitation. A different workaround for the host side was implemented in #2066, but the frame side was not changed in the same commit to allow some cross-compatibility. Remove the final manual href field now that no host implementations would read it.
1 parent 4341470 commit ecd03f2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkgs/test/lib/dart.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ window.onload = function() {
1212
// This mimics a MultiChannel-formatted message.
1313
var sendLoadException = function(message) {
1414
window.parent.postMessage({
15-
// TODO: https://github.com/dart-lang/test/issues/2065 - remove href
16-
"href": window.location.href,
1715
"data": [0, {"type": "loadException", "message": message}],
1816
"exception": true,
1917
}, window.location.origin);

0 commit comments

Comments
 (0)