Status Update
Comments
lo...@google.com <lo...@google.com> #2
The problem here seems to be that you are manually overriding LocalView
, which is what ripple uses to add the ripple views to the hierarchy:
Maybe we should have a fallback to use the 'software' rendering in case the view isn't attached properly, but this will result in jank because the ripples will be animated on the ui thread - so you still probably want to provide a valid view in LocalView
.
Description
Calling a custom GAS function from an HTML service window fails with a 400 error if the string-type function argument contains character code 8232 (0x2028).
A small code sample that reliably reproduces the issue:
google.script.run.customFunction(String.fromCharCode(8232))
What steps will reproduce the problem?
1. Create a GAS with function "customFunction(string)"
2. Create a HTML service window with JS code google.script.run.customFunction(String.fromCharCode(8232))
3. Execute JS code
Expected: GAS function "customFunction(string)" executed with string argument 0x2028
Instead: NetworkError: Connection failure due to HTTP 400
Please provide any additional information below:
This problem does not occur if the string parameter is encoded with encodeURIComponent() and then decoded.