Intent to Deprecate and Remove: remove HTMLFrameSetElement’s anonymous getter

瀏覽次數:145 次
跳到第一則未讀訊息

Hwanseung Lee

未讀,
2018年5月22日 上午8:01:522018/5/22
收件者:blink-dev

Primary eng (and PM) emails

hs121...@samsung.com


Summary

remove HTMLFrameSetElement’s anonymous getter which is non-standard.


Motivation

This non-standard getter was added 13 years ago to fix a compatibility issue

at the time: https://trac.webkit.org/changeset/8717/webkit

but it is not non-standard and nowadays it seems not used.


Interoperability and Compatibility Risk

very low. because this feature is not standard.

it is just legacy code from old webkit.

so webkit and blink have only supported it.


Edge: not supported

Firefox: not supported

Safari: Supported


Alternative implementation suggestion for web developers

this is non-standard. so we don’t need to provide an alternative.


Usage information from UseCounter

https://www.chromestatus.com/metrics/feature/timeline/popularity/2235

we are tracking this when it return non-null value. it is about 0.0001%


Entry on the feature dashboard

https://www.chromestatus.com/feature/5235521668251648


Requesting approval to remove too?

Yes. i would like to show a deprecation message before remove it.

could you recommend schedule how long show the message?


Philip Jägenstedt

未讀,
2018年5月22日 上午10:23:282018/5/22
收件者:HwanSeung Lee、blink-dev
LGTM1.

The code for this is here:

This is implemented entirely in terms of web-exposed APIs and after some experimenting I think this is the simplest equivalent JS:
function getFrameByName(frameset, name) {
    try {
        return frameset.children.namedItem(name).contentDocument.defaultView;
    } catch (e) {
        return null;
    }
}

Regarding the deprecation period, let's say just a single cycle, given how rarely used this is.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/37909221-3679-4395-9c7b-6408a8317581%40chromium.org.

Daniel Bratell

未讀,
2018年5月22日 上午11:21:542018/5/22
收件者:HwanSeung Lee、'Philip Jägenstedt' via blink-dev、Philip Jägenstedt
LGTM2

/Daniel
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYepAMBq92%2BDRFix12O1199WF52qX651vSQMpmq%2B%2BwnfAw%40mail.gmail.com.



--
/* Opera Software, Linköping, Sweden: CEST (UTC+2) */

mk...@chromium.org

未讀,
2018年5月23日 凌晨2:12:522018/5/23
收件者:blink-dev、hs121...@samsung.com、foo...@google.com
LGTM3.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
回覆所有人
回覆作者
轉寄
0 則新訊息