<html>
<!--
Copyright 2014 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
<title>NaCl Relative Manifest Test</title>
</head>
<body>
<h2>NaCl Relative Manifest Test</h2>
</body>
<script type="text/javascript" src="../load_util.js"></script>
<script>
function run() {
var embed = load_util.embed("mdir/relative.nmf");
// The nexe is junk data, it can't be parsed.
// This error string comes from the NaCl repo:
// native_client/src/trusted/service_runtime/nacl_error_code.c
load_util.expectLoadFailure(embed, "Bad ELF header magic number");
document.body.appendChild(embed);
}
run();
</script>
</html>