https://github.com/web-platform-tests/wpt
Revision c2707bb55d6febd84c4ef26fc4bc7b6640b12475 authored by Henrik Skupin on 28 March 2018, 18:49:31 UTC, committed by moz-wptsync-bot on 28 March 2018, 19:09:49 UTC
To retrieve links via "link text" or "partial link text" the rendered
content of the element has to be used. This can be the case for CSS
transformations like "uppercase".
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1381519
gecko-commit: 3e204686f1b10441f48435890241dff6706d04dd
gecko-integration-branch: central
gecko-reviewers: ato
1 parent 42f4395
Raw File
Tip revision: c2707bb55d6febd84c4ef26fc4bc7b6640b12475 authored by Henrik Skupin on 28 March 2018, 18:49:31 UTC
Find element for (partial) link text has to use rendered content.
Tip revision: c2707bb
idbobjectstore_add10.htm
<!DOCTYPE html>
<meta charset="utf-8">
<title>IDBObjectStore.add() - Attempt to call 'add' without an key parameter when the object store uses out-of-line keys </title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>

<script>
    var db,
      t = async_test(),
      record = { property: "data" };

    var open_rq = createdb(t);
    open_rq.onupgradeneeded = function(e) {
        db = e.target.result;

        var rq,
          objStore = db.createObjectStore("store");

        assert_throws("DataError",
            function() { rq = objStore.add(record); });

        assert_equals(rq, undefined);
        t.done();
    };
</script>

<div id="log"></div>
back to top