WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
80906
_runtime_feature_list isn't supported on Apple Mac DRT
https://bugs.webkit.org/show_bug.cgi?id=80906
Summary
_runtime_feature_list isn't supported on Apple Mac DRT
Dirk Pranke
Reported
2012-03-12 16:29:58 PDT
_runtime_feature_list isn't supported on Apple Mac DRT
Attachments
Patch
(1.46 KB, patch)
2012-03-12 16:30 PDT
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Patch
(11.42 KB, patch)
2012-03-12 16:52 PDT
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Patch
(10.92 KB, patch)
2012-03-12 16:58 PDT
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
rework docstring
(10.96 KB, patch)
2012-03-12 17:02 PDT
,
Dirk Pranke
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-03-12 16:30:55 PDT
Created
attachment 131445
[details]
Patch
Eric Seidel (no email)
Comment 2
2012-03-12 16:35:50 PDT
Comment on
attachment 131445
[details]
Patch I'm not sure what the purpose of adding this stub is?
Alexey Proskuryakov
Comment 3
2012-03-12 16:37:40 PDT
Comment on
attachment 131445
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=131445&action=review
Thanks for fixing this!
> Tools/Scripts/webkitpy/layout_tests/port/apple.py:99 > + # FIXME: Implement this properly?
I think that it's worth commenting that (a) it crashes because the script doesn't set DYLD_FRAMEWORK_PATH, and (b) this feature may be obsolete now.
Dirk Pranke
Comment 4
2012-03-12 16:52:12 PDT
Created
attachment 131453
[details]
Patch
Eric Seidel (no email)
Comment 5
2012-03-12 16:54:30 PDT
Comment on
attachment 131453
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=131453&action=review
Are we 100% sure this is AppleWin-only?
> Tools/Scripts/webkitpy/layout_tests/port/webkit.py:253 > + """A port can implement this to detect features only known through compile-time or run-time flags."""
compile-time?
> Tools/Scripts/webkitpy/layout_tests/port/webkit.py:566 > + import pdb > + pdb.set_trace()
I don't think you meant to includ ethis.
Dirk Pranke
Comment 6
2012-03-12 16:57:15 PDT
(In reply to
comment #2
)
> (From update of
attachment 131445
[details]
) > I'm not sure what the purpose of adding this stub is?
To override the default, which assumed the port implemented this ... however, as you can see in the second patch, flipping the base class implementation is a more accurate way to model things. (In reply to
comment #5
)
> (From update of
attachment 131453
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=131453&action=review
> > Are we 100% sure this is AppleWin-only? >
Seems to be.
> > Tools/Scripts/webkitpy/layout_tests/port/webkit.py:253 > > + """A port can implement this to detect features only known through compile-time or run-time flags.""" > > compile-time?
> I thought the intent of this was to also detect which features had been compiled in (or out). At least that's the way that I look at it, even though you're actually running something to determine that. I can stick with run-time flags if you prefer.
> > Tools/Scripts/webkitpy/layout_tests/port/webkit.py:566 > > + import pdb > > + pdb.set_trace() > > I don't think you meant to includ ethis.
Indeed. I thought I got rid of that but somehow it seems to have snuck back in.
Dirk Pranke
Comment 7
2012-03-12 16:58:32 PDT
Created
attachment 131456
[details]
Patch
Eric Seidel (no email)
Comment 8
2012-03-12 16:59:01 PDT
Comment on
attachment 131453
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=131453&action=review
>>> Tools/Scripts/webkitpy/layout_tests/port/webkit.py:253 >>> + """A port can implement this to detect features only known through compile-time or run-time flags.""" >> >> compile-time? > > I thought the intent of this was to also detect which features had been compiled in (or out). At least that's the way that I look at it, even though you're actually running something to determine that. I can stick with run-time flags if you prefer.
Does the compile-time detection work through the same function? I thought it was a different set of functions...
Dirk Pranke
Comment 9
2012-03-12 17:00:13 PDT
(In reply to
comment #8
)
> (From update of
attachment 131453
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=131453&action=review
> > >>> Tools/Scripts/webkitpy/layout_tests/port/webkit.py:253 > >>> + """A port can implement this to detect features only known through compile-time or run-time flags.""" > >> > >> compile-time? > > > > I thought the intent of this was to also detect which features had been compiled in (or out). At least that's the way that I look at it, even though you're actually running something to determine that. I can stick with run-time flags if you prefer. > > Does the compile-time detection work through the same function? I thought it was a different set of functions...
Ah, true, I forgot about the "grep webcore for symbols" path ... we're way too fancy here.
Eric Seidel (no email)
Comment 10
2012-03-12 17:01:20 PDT
Comment on
attachment 131456
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=131456&action=review
> Tools/ChangeLog:8 > + It looks like this feature is actually only supported on the Win
It looks like I came to the same conclusion when writing
http://trac.webkit.org/changeset/99377
. :)
Dirk Pranke
Comment 11
2012-03-12 17:02:13 PDT
Created
attachment 131458
[details]
rework docstring
Eric Seidel (no email)
Comment 12
2012-03-12 17:02:51 PDT
Comment on
attachment 131456
[details]
Patch It seems like this support was a dream. A dream which never came to be. Time to end the dream I guess.
Dirk Pranke
Comment 13
2012-03-12 17:43:38 PDT
Committed
r110513
: <
http://trac.webkit.org/changeset/110513
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug