Bug 178202 - import.meta should not be assignable
Summary: import.meta should not be assignable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-11 21:33 PDT by Sathya Gunasekaran
Modified: 2017-10-11 23:46 PDT (History)
10 users (show)

See Also:


Attachments
Patch (16.44 KB, patch)
2017-10-11 22:28 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sathya Gunasekaran 2017-10-11 21:33:28 PDT
import.meta = 1;
print(import.meta);

The above prints `1`. It should be a syntax error.
Comment 1 Yusuke Suzuki 2017-10-11 22:28:15 PDT
Created attachment 323512 [details]
Patch
Comment 2 Yusuke Suzuki 2017-10-11 23:17:14 PDT
Comment on attachment 323512 [details]
Patch

Thnk you for your review!
Comment 3 WebKit Commit Bot 2017-10-11 23:45:26 PDT
Comment on attachment 323512 [details]
Patch

Clearing flags on attachment: 323512

Committed r223232: <https://trac.webkit.org/changeset/223232>
Comment 4 WebKit Commit Bot 2017-10-11 23:45:28 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2017-10-11 23:46:01 PDT
<rdar://problem/34950530>