forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if an <embed> can transition to an "Active" state from "potenti…
…ally-active" state when the src attribute on an <embed> is set. * plugins/embed-attributes-setting.html Updating src attribute should trigger content loading. So This CL removes the code to update src attribute. * AUTHORS Adding George Joseph. BUG=543905 Review-Url: https://codereview.chromium.org/2347553002 Cr-Commit-Position: refs/heads/master@{#428661}
- Loading branch information
Showing
6 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
third_party/WebKit/LayoutTests/plugins/embed-attributes-active.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<html> | ||
<script src="../resources/testharness.js"></script> | ||
<script src="../resources/testharnessreport.js"></script> | ||
<body> | ||
<embed style="visibility: hidden" type="image/svg+xml" id='embed'></embed> | ||
<script> | ||
var testobject = async_test("crbug.com/543905 : check that an embed does get loaded when setting properties type and src respectively"); | ||
var embed = document.getElementById('embed'); | ||
embed.addEventListener("load", testobject.step_func(() => { | ||
testobject.done(); | ||
})); | ||
embed.type = "image/svg+xml"; // setting the type attribute should not effect the plugin once loaded | ||
embed.src = "resources/410.svg"; // setting the source attribute should not effect the plugin once loaded | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters