New issue
Advanced search Search tips

Issue 911164 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

'caller' 'callee' and 'arguments' properties may not be accessed on strict mode

Reported by liyok...@gmail.com, Dec 3

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

Steps to reproduce the problem:
I am working on a poc of a text to speech javascript app. 
whenever i click on pause button, i am running to an exception : 
[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.remoteFunction (<anonymous>:2:14)]
1. Select a text to be speaking out
2. Press pause
3. Press resume

You will find a zip file contening the app.
plus i first thaudht that it was coming from MDN api but it doesn't

https://github.com/mdn/web-speech-api/issues/28

What is the expected behavior?
It is supposed to pause when talking and resume when clicking again on that button.

What went wrong?
I went inside thr pause function and i found that exception, i don't really know if before it was there or not.

Did this work before? N/A 

Chrome version: 70.0.3538.110  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
poc_vocalisation.zip
101 KB Download
Labels: Needs-Triage-M70
Components: -Blink Blink>DOM
Cc: swarnasree.mukkala@chromium.org
Labels: Needs-Feedback Triaged-ET
Tried testing the issue on chrome version #70.03538.110 using Windows 7 by following below steps.

Steps:
=====
1.Launched chrome.
2.Extracted "poc_vocalisation" file.
3.Navigated to "chrome://extensions".
4.Enabled "Devolper mode" and clicked on "Load unpacked".
5.Tried loading the file but observed an error "Could not load manifest."

Attached screencast for reference.
@reporter: Could you please review attached screencast and let us know if anything is being missed here. If possible could you please provide a screenshot/screencast of the issue so that it would be really helpful in triaging the issue further.
Thanks.!
911164.mp4
839 KB View Download
Hello,
Im a sorry.
inside the folder
- open the index.html file.
- select a text to read.
- Click on pause whenever you want.
After setting on pause,
- go to the console,
- you will see SpeechSynthesis function displayed,
- go inside _proto.
- Open pause function and when you click on arguments, caller, you will see that errors.
here is pictures
vocalisation_window.PNG
73.4 KB View Download
rspeaking out.PNG
65.8 KB View Download
pressing pause.PNG
77.0 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 20

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 Deleted

I created an issue on the mdn github page.
https://github.com/mdn/web-speech-api/issues/28

Simplified repro doesn't require any files:

1. open devtools on any page and run the following:
   dir(alert)
2. click the output to expand it: ▶ f alert()
3. click "..." after "arguments" or "caller"

Expected: "null" or nothing shown
Observed: "[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:2:14)]"

=======================================================

Bisected to r508871 "V8"
https://chromium.googlesource.com/v8/v8/+log/094a7c93..b7d76640?pretty=fuller&n=200
No idea what to suspect in this changelog.
Landed in 64.0.3240.0
What is really make it happens ?
This makes a part of js api function not usable on chrome ?

Sign in to add a comment