Skip to content

Commit

Permalink
Remove window.default[sS]tatus
Browse files Browse the repository at this point in the history
These two APIs (`window.defaultStatus` and `window.defaultstatus`)
are non-standard, and not implemented in other browsers. Further,
they don't actually *do* anything. In the distant past, they were
used to set the status bar (bottom of desktop screen) text, but
that functionality was long ago removed.

I2S:
https://groups.google.com/a/chromium.org/g/blink-dev/c/7kCLSmq_bDc

Fixed: 692835
Change-Id: Ib985c94fd87fe8105f047bba5b94c1bb1e0cca7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3880382
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1054391}
  • Loading branch information
Mason Freed authored and chromium-wpt-export-bot committed Oct 3, 2022
1 parent 5085146 commit 783b6d8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions html/browsers/the-window-object/defaultstatus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>window.defaultStatus and window.defaultstatus are not supported</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/API/Window/defaultStatus">
<link rel="help" href="https://crbug.com/692835">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<script>
test(() => {
assert_false(window.hasOwnProperty('defaultStatus'));
assert_false(window.hasOwnProperty('defaultstatus'));
assert_equals(window.defaultStatus,undefined);
assert_equals(window.defaultstatus,undefined);
}, "The window.defaultStatus and window.defaultstatus attributes are not supported");
</script>

0 comments on commit 783b6d8

Please sign in to comment.