WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
165205
Proxy is not allowed in the global prototype chain.
https://bugs.webkit.org/show_bug.cgi?id=165205
Summary
Proxy is not allowed in the global prototype chain.
Mark Lam
Reported
2016-11-30 11:01:01 PST
patch coming. <
rdar://problem/28654967
>
Attachments
proposed patch.
(4.34 KB, patch)
2016-11-30 11:10 PST
,
Mark Lam
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2016-11-30 11:10:57 PST
Created
attachment 295734
[details]
proposed patch.
Geoffrey Garen
Comment 2
2016-11-30 12:13:31 PST
Comment on
attachment 295734
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=295734&action=review
r=me
> LayoutTests/js/dom/proxy-is-not-allowed-in-global-prototype-chain.html:12 > + if (e == "TypeError: Proxy is not allowed in the global prototype chain.") > + log("PASS: onerror saw " + e); > + else > + log("FAIL: onerror saw unexpected exception " + e); > +}
In tests like this, I think it's best juts to log the error message, without judging whether it's a pass or a fail. Our test infrastructure will flag it for review if the result ever changes -- but we don't know in advance that any change to error message text is definitely bad.
Mark Lam
Comment 3
2016-11-30 12:14:53 PST
Comment on
attachment 295734
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=295734&action=review
>> LayoutTests/js/dom/proxy-is-not-allowed-in-global-prototype-chain.html:12 >> +} > > In tests like this, I think it's best juts to log the error message, without judging whether it's a pass or a fail. Our test infrastructure will flag it for review if the result ever changes -- but we don't know in advance that any change to error message text is definitely bad.
OK, I'll change it accordingly.
Mark Lam
Comment 4
2016-11-30 13:15:05 PST
Thanks for the review. Landed in
r209149
: <
http://trac.webkit.org/r209149
>.
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