Since I am working on porting glfw to the emscripten platform I want to make sure I understand the expected behavior when using glfwSetWindowSize while having size constraints (like glfwSetWindowSizeLimits or glfwSetWindowAspectRatio).
It seems clear to me that if you set a size limit (via glfwSetWindowSizeLimits), then on the desktop platform (ex: macOS), if the user resizes the window manually by dragging the edge of the window, then the size limit will kick-in preventing the user from making the window too big/small depending on the parameters provided to glfwSetWindowSizeLimits.
But what if the code calls glfwSetWindowSize with a size that is outside the size limits? What is the expected behavior? Should it behave as if the user had tried to make the window too big/small? Or should it completely disregard the size constraints?
Thank you