New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 707913 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 585875



Sign in to add a comment

InputEvent: Fix spec reference and WPT issues mentioned in Intent-to-Ship

Project Member Reported by chongz@chromium.org, Apr 3 2017

Issue description

This bug tracks issues mentioned in:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/W-Q1yWW-zas/w8XMfQOHDAAJ

1. Add links to spec in InputEvent.idl and InputEventInit.idl
2. File WebKit bugs for the missing attributes
  * https://bugs.webkit.org/show_bug.cgi?id=170414
  * https://bugs.webkit.org/show_bug.cgi?id=170416
3. Add links to spec in StaticRange.idl
4. Add web-platform-tests for StaticRange
 
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6

commit e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6
Author: chongz <chongz@chromium.org>
Date: Fri Apr 14 03:14:23 2017

[InputEvent] Make StaticRange immutable and move tests to wpt

According to the intent-to-ship in blink-dev there is still ongoing discussion about
StaticRange on whether we should make attributes mutable.

However this shouldn't block InputEvent and we should ship the immutable version
first to keep interop with WebKit.

This CL removed |Constructor()| |setStart()|, |setEnd()|, |toRange()| and made
attributes readonly.
See WebKit IDL:
https://github.com/WebKit/webkit/blob/1bfaaab3e7bf61dcad32c44a1399914987f9018f/Source/WebCore/dom/StaticRange.idl

StaticRange spec:
http://garykac.github.io/staticrange/index.html#interface-staticrange

Discussion:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/W-Q1yWW-zas/UrqnyVAIDQAJ

BUG= 707913 

Review-Url: https://codereview.chromium.org/2791373002
Cr-Commit-Position: refs/heads/master@{#464665}

[add] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness-expected.txt
[add] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html
[modify] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/LayoutTests/external/wpt/uievents/constructors/inputevent-constructor.html
[delete] https://crrev.com/426ea5dd2cf7061a7860a34d502f2c191a343a8e/third_party/WebKit/LayoutTests/fast/dom/StaticRange/staticrange-constructor.html
[delete] https://crrev.com/426ea5dd2cf7061a7860a34d502f2c191a343a8e/third_party/WebKit/LayoutTests/fast/dom/StaticRange/staticrange-no-mutate.html
[modify] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/e2b8278dd5aaf5a6ec415aa5e7dd828f17b644f6/third_party/WebKit/Source/core/dom/StaticRange.idl

Comment 4 by chongz@chromium.org, Apr 18 2017

Labels: M-59
Status: Fixed (was: Started)

Sign in to add a comment