Quantcast

[Bug 25002] New: Event.returnValue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 25002] New: Event.returnValue

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25002

            Bug ID: 25002
           Summary: Event.returnValue
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]

http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2878

Implemented in WebKit/Blink, documented as an IE extension, although IE11 no
longer supports it.

Usage is ridiculously high:
http://www.chromestatus.com/metrics/feature/timeline/popularity/137

Cost of support is low:
bool legacyReturnValue() const { return !defaultPrevented(); }
void setLegacyReturnValue(bool returnValue) {
setDefaultPrevented(!returnValue); }

Consider spec'ing this?

--
You are receiving this mail because:
You are on the CC list for the bug.

Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 25002] Event.returnValue

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25002

Anne <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Anne <[hidden email]> ---
Philip, note that HTML defines BeforeUnloadEvent which does have a returnValue
and which Gecko does implement. Given that only Chrome and WebKit do this I'm
going with WONTFIX for now.

--
You are receiving this mail because:
You are on the CC list for the bug.

Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 25002] Event.returnValue

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25002

Anne <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[hidden email],
                   |                            |[hidden email]
         Resolution|WONTFIX                     |---

--- Comment #6 from Anne <[hidden email]> ---
Olli, this seems like another Event extension everyone else implements. I'm
inclined to just define it given that Edge added it per the definition given in
comment 0. And I guess BeforeUnloadEvent can just define its own version as it
already does.

--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...