This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25685 - Seems that WindowProxy open should have [TreatNullAs=EmptyString] for compat with Blink and Firefox<27 (we have a bug report from regressing this).
Summary: Seems that WindowProxy open should have [TreatNullAs=EmptyString] for compat ...
Status: REOPENED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM View (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard: whatwg-resolved
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 13:56 UTC by contributor
Modified: 2016-03-06 06:58 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2014-05-13 13:56:31 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html
Multipage: http://www.whatwg.org/C#the-window-object
Complete: http://www.whatwg.org/c#the-window-object
Referrer: 

Comment:
Seems that WindowProxy open should have [TreatNullAs=EmptyString] for compat
with Blink and Firefox<27 (we have a bug report from regressing this).

Posted from: 207.218.72.65
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Comment 1 James Graham 2014-05-13 13:57:04 UTC
On the "features" argument, that is.
Comment 2 Ian 'Hixie' Hickson 2014-05-13 17:58:48 UTC
How is this detectable?
Comment 3 James Graham 2014-05-13 18:02:40 UTC
Use window.open() with null in the features argument and get the behaviour for "null" rather than "". Of course that behaviour is UA-specific but for each UA it's possible to detect which behaviour it matches (in gecko it caused [1], for example)

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1009529
Comment 4 Ian 'Hixie' Hickson 2014-05-15 21:04:49 UTC
wait so "" and "unrecognisedvalue" have different effects in browsers? That seems very weird. Why are those different?
Comment 5 Simon Pieters 2014-05-16 10:23:48 UTC
Yep. https://www.w3.org/Bugs/Public/show_bug.cgi?id=25722

As for why, ¯\(°_o)/¯
Comment 6 Ian 'Hixie' Hickson 2014-05-16 17:15:39 UTC
We should so kill this parameter. Kill it with fire.
Comment 7 contributor 2014-08-04 18:57:27 UTC
Checked in as WHATWG revision r8701.
Check-in comment: Defer to CSSOM View for window.open(..., ..., features, ...)
http://html5.org/tools/web-apps-tracker?from=8700&to=8701