Can't Repro
Status Update
Comments
ko...@gmail.com <ko...@gmail.com> #2
I guess hidden should just be defined. Meaning, right now, hidden should just defined as "whether this fragment was hidden as part of a transaction". Hidden is not equivalent with visibility. I think that's where the confusion comes from.
[Deleted User] <[Deleted User]> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
ko...@gmail.com <ko...@gmail.com> #4
Yeah, I'm seeing this issue as well, currently this is the workaround that I've come up with:
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
Description
1. Update Chrome to 29.0.1547.0 dev-m
2. setSandboxMode(HtmlService.SandboxMode.NATIVE)
3. alert(google.script.sandbox.mode);
What is the expected output? What do you see instead?
Expected: google.script.sandbox.mode = 'NATIVE'
Actual: google.script.sandbox.mode = 'EMULATED'
If possible, provide the code for a small sample script that reproduces the
issue:
function doGet() {
return HtmlService.createTemplateFromFile('test').evaluate().setSandboxMode(HtmlService.SandboxMode.NATIVE);
}
test.html:
<html>
<body>
<script>
"use strict";
if (google.script.sandbox.mode == 'EMULATED'){
alert('Unfortunately your browser is not supported.');
}
</script>
</body>
</html>
Project key (found under "File > Project properties"):
MGXjYpyyRl7lRQQlfrUz68S9ykrv0nj40
On which browser & OS?
Windows 7, Chrome Dev track