Commit 6a866d29 authored by Hwanseung Lee's avatar Hwanseung Lee Committed by Commit Bot

Remove HTMLFrameSetElement's anonymous getter

we have been notifying HTMLFrameSetElement's
anonymous getter will be remove since m70.
m69 already branched out.
and now it is time to remove this.

Bug: 695891
Change-Id: I145573c2a5c939181c679809531786c975820490
Reviewed-on: https://chromium-review.googlesource.com/1064250Reviewed-by: default avatarPhilip Jägenstedt <foolip@chromium.org>
Commit-Queue: Hwanseung Lee <hs1217.lee@samsung.com>
Cr-Commit-Position: refs/heads/master@{#581739}
parent f45ef5b1
...@@ -1692,7 +1692,6 @@ enum WebFeature { ...@@ -1692,7 +1692,6 @@ enum WebFeature {
kReplaceCharsetInXHR = 2230, kReplaceCharsetInXHR = 2230,
kRespondToSameOriginRequestWithCrossOriginResponse = 2231, // Obsolete. kRespondToSameOriginRequestWithCrossOriginResponse = 2231, // Obsolete.
kLinkRelModulePreload = 2232, kLinkRelModulePreload = 2232,
kHTMLFrameSetElementNonNullAnonymousNamedGetter = 2235,
kCSPWithUnsafeEval = 2236, kCSPWithUnsafeEval = 2236,
kWebAssemblyInstantiation = 2237, kWebAssemblyInstantiation = 2237,
kV8IndexAccessor = 2238, kV8IndexAccessor = 2238,
...@@ -1920,7 +1919,6 @@ enum WebFeature { ...@@ -1920,7 +1919,6 @@ enum WebFeature {
kShapeOutsideContentBoxDifferentFromMarginBox = 2461, kShapeOutsideContentBoxDifferentFromMarginBox = 2461,
kShapeOutsidePaddingBoxDifferentFromMarginBox = 2462, kShapeOutsidePaddingBoxDifferentFromMarginBox = 2462,
kCSSContainLayoutPositionedDescendants = 2463, kCSSContainLayoutPositionedDescendants = 2463,
kHTMLFrameSetElementAnonymousNamedGetter = 2464,
kCanvasConvertToBlob = 2465, kCanvasConvertToBlob = 2465,
kPolymerV1Detected = 2466, kPolymerV1Detected = 2466,
kPolymerV2Detected = 2467, kPolymerV2Detected = 2467,
......
...@@ -540,11 +540,6 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) { ...@@ -540,11 +540,6 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) {
"self.origin (window.origin)", kM70, "self.origin (window.origin)", kM70,
"5701042356355072")}; "5701042356355072")};
case WebFeature::kHTMLFrameSetElementAnonymousNamedGetter:
return {"HTMLFrameSetElementAnonymousNamedGetter", kM70,
WillBeRemoved("Anonymous named getter of HTMLFrameSetElement",
kM70, "5235521668251648")};
case WebFeature::kMediaElementSourceOnOfflineContext: case WebFeature::kMediaElementSourceOnOfflineContext:
return {"MediaElementAudioSourceNode", kM70, return {"MediaElementAudioSourceNode", kM70,
WillBeRemoved("Creating a MediaElementAudioSourceNode on an " WillBeRemoved("Creating a MediaElementAudioSourceNode on an "
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "third_party/blink/renderer/core/dom/document.h" #include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/events/event.h" #include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/events/mouse_event.h" #include "third_party/blink/renderer/core/events/mouse_event.h"
#include "third_party/blink/renderer/core/frame/deprecation.h"
#include "third_party/blink/renderer/core/frame/local_frame.h" #include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h" #include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/frame/use_counter.h" #include "third_party/blink/renderer/core/frame/use_counter.h"
...@@ -292,23 +291,4 @@ void HTMLFrameSetElement::WillRecalcStyle(StyleRecalcChange) { ...@@ -292,23 +291,4 @@ void HTMLFrameSetElement::WillRecalcStyle(StyleRecalcChange) {
} }
} }
LocalDOMWindow* HTMLFrameSetElement::AnonymousNamedGetter(
const AtomicString& name) {
Element* frame_element = Children()->namedItem(name);
if (!IsHTMLFrameElement(frame_element))
return nullptr;
Document* document = ToHTMLFrameElement(frame_element)->contentDocument();
if (!document || !document->GetFrame())
return nullptr;
LocalDOMWindow* window = document->domWindow();
if (window) {
UseCounter::Count(
*document, WebFeature::kHTMLFrameSetElementNonNullAnonymousNamedGetter);
}
Deprecation::CountDeprecation(
*document, WebFeature::kHTMLFrameSetElementAnonymousNamedGetter);
return window;
}
} // namespace blink } // namespace blink
...@@ -51,8 +51,6 @@ class HTMLFrameSetElement final : public HTMLElement { ...@@ -51,8 +51,6 @@ class HTMLFrameSetElement final : public HTMLElement {
bool HasNonInBodyInsertionMode() const override { return true; } bool HasNonInBodyInsertionMode() const override { return true; }
LocalDOMWindow* AnonymousNamedGetter(const AtomicString&);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur); DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error); DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus); DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
attribute EventHandler onscroll; attribute EventHandler onscroll;
// Non-standard APIs // Non-standard APIs
[NotEnumerable] getter Window (DOMString name);
[RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange; [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange;
}; };
......
...@@ -19260,7 +19260,6 @@ Called by update_net_error_codes.py.--> ...@@ -19260,7 +19260,6 @@ Called by update_net_error_codes.py.-->
<int value="2230" label="ReplaceCharsetInXHR"/> <int value="2230" label="ReplaceCharsetInXHR"/>
<int value="2231" label="RespondToSameOriginRequestWithCrossOriginResponse"/> <int value="2231" label="RespondToSameOriginRequestWithCrossOriginResponse"/>
<int value="2232" label="LinkRelModulePreload"/> <int value="2232" label="LinkRelModulePreload"/>
<int value="2235" label="HTMLFrameSetElementNonNullAnonymousNamedGetter"/>
<int value="2236" label="CSPWithUnsafeEval"/> <int value="2236" label="CSPWithUnsafeEval"/>
<int value="2237" label="WebAssemblyInstantiation"/> <int value="2237" label="WebAssemblyInstantiation"/>
<int value="2238" label="V8IndexAccessor"/> <int value="2238" label="V8IndexAccessor"/>
...@@ -19500,7 +19499,6 @@ Called by update_net_error_codes.py.--> ...@@ -19500,7 +19499,6 @@ Called by update_net_error_codes.py.-->
<int value="2461" label="ShapeOutsideContentBoxDifferentFromMarginBox"/> <int value="2461" label="ShapeOutsideContentBoxDifferentFromMarginBox"/>
<int value="2462" label="ShapeOutsidePaddingBoxDifferentFromMarginBox"/> <int value="2462" label="ShapeOutsidePaddingBoxDifferentFromMarginBox"/>
<int value="2463" label="CSSContainLayoutPositionedDescendants"/> <int value="2463" label="CSSContainLayoutPositionedDescendants"/>
<int value="2464" label="HTMLFrameSetElementAnonymousNamedGetter"/>
<int value="2465" label="CanvasConvertToBlob"/> <int value="2465" label="CanvasConvertToBlob"/>
<int value="2466" label="PolymerV1Detected"/> <int value="2466" label="PolymerV1Detected"/>
<int value="2467" label="PolymerV2Detected"/> <int value="2467" label="PolymerV2Detected"/>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment