Skip to content

Z Release 0.5.1 Tablet Browser Testing

Z3 Development edited this page Apr 15, 2017 · 1 revision

These tests were conducted to verify core functionality across current versions of browsers.

  • Chrome 51.0.2704.104
  • Safari 9.1.??
  • Opera Mini 14.0.0.104835
  • Firefox 0.5.1 (NEW)
  • Puffin 5.0.1 (Not tested as there is no support for WebGL)

Test Results for Browsers on Apple iOS 9.3.2

Completed 2016.07.02

Functional Tests - Pages

Test index.html

Test Interactive Parameters

  • Load Balloons example, and set Instant Update
  • Change each parameter to verify instant update
  • Verify the design (viewer) reflects the provided parameters

Results:

| Function               | Chrome  | Safari  | Opera   | Firefox  |
| Interactive Parameters | Pass(1) | Pass    | Pass    | Pass     |

(1) Chrome throws error "TypeError: undefined is not an object" but rendering continues.

Test min.html

Load the page and verify that the LOGO design is rendered, and functional. Note: Only the design is viewable, no parameters, etc.

| Function               | Chrome  | Safari  | Opera   | Firefox  |
| Page loaded properly   | Pass    | Pass    | Pass    | Pass     |

Functional Tests - File Load

Access OpenJSCAD.org index.html via HTTP webserver. Add Supported Files to verify conversions and functionality.

Note: Using Chrome / Opera, the files can be loaded via DropBox.

Note: Using Safari, the files can be loaded via DropBox or iCloud Drive.

| File Format      | Chrome  | Safari  | Opera   | Firefox  |
| JSCAD (CAG)      | Pass    | Pass    | Pass    | Pass     |
| JSCAD (CSG)      | Pass    | Pass    | Pass    | Pass     |
| JSCAD (multiple) | Fail(1) | Fail(1) | Fail(1) | Fail(1)  |
| JSCAD (directory)| Fail(2) | Fail(2) | Fail(2) | Fail(2)  |
| JS               | Pass    | Pass    | Pass    | Pass     |
| SCAD             | Pass    | Pass    | Pass    | Pass     |
| STL Text         | Pass    | Pass    | Pass    | Pass     |
| STL Binary       | Pass    | Pass    | Pass    | Pass     |
| AMF              | Fail(3) | Fail(3) | Pass    | Fail(3)  |
| GCODE Text (1)   | Fail(4) | Fail(4) | Fail(4) | Fail(4)  |
| OBJ (1)          | Fail(5) | Fail(5) | Fail(5) | Fail(5)  |
| SVG              | Pass    | Pass    | Pass    | Pass     |

(1) Chrome / Safari / Opera / Firefox do not support the selection of multiple files.

(2) Chrome / Safari / Opera / Firefox do not support the selection of directories.

(3) Chrome / Safari / Firefox loads AMF file, shows source, renders, then dies.

(4) Chrome / Safari / Opera / Firefox loads GCODE file, shows source, then dies.

(5) Converts to JSCAD script and renders but surfaces are inverted or missing.

Functional Tests - Download

Generate and Download designs in all available formats. And verify that the files are compatible with other applications.

Steps:

  • Load the Pavillion example
  • For each available format
    • Generate the contents
    • Download the contents, and save to a file
    • Rename the file
    • Verify the file contents by opening in Meshlab, etc

Results:

| Download Format | Chrome | Safari  | Opera   | Firefox  |
| STL ASCII       | Fail(2)| Pass(1) | Fail(4) | Fail(2)  |
| STL Binary      | Fail(2)| Pass(1) | Fail(4) | Fail(2)  |
| AMF             | Fail(2)| Pass(1) | Fail(4) | Fail(2)  |
| X3D             | Fail(2)| Pass(1) | Fail(4) | Fail(2)  |
| SVG             | Fail(2)| Fail(3) | Fail(4) | Fail(2)  |

(1) Safari downloads contents with "Unknown" as the file name. The file must be manually renamed. Saving to DropBox is possible.

(2) Chrome / Firefox cannot download. Reason unknown.

(3) Safari opens SVG image in a new tab. The image cannot be downloaded.

(4) Opera cannot download, opening new tab saying "Cannot connect to website."

Functional Tests - Examples

|                Example                        | Chrome | Safari | Opera  | Firefox |
| OpenJSCAD.org Logo                            | Pass   | Pass   | Pass   | Pass    |
| OpenJSCAD.org Logo (AMF)                      | Fail(6)| Fail(6)| Pass   | Fail(6) |
| Sphere with cutouts                           | Pass   | Pass   | Pass   | Pass    |
| Sphere with cutouts (OpenSCAD)                | Pass   | Pass   | Pass   | Pass    |
| Cone with cutouts                             | Pass   | Pass   | Pass   | Pass    |
| Cone with cutouts (OpenSCAD)                  | Pass   | Pass   | Pass   | Pass    |
| Cube with cutouts                             | Pass   | Pass   | Pass   | Pass    |
| Cube with cutouts (OpenSCAD)                  | Pass   | Pass   | Pass   | Pass    |
| Pavillon                                      | Pass   | Pass   | Pass   | Pass    |
| Lookup()                                      | Pass   | Pass   | Pass   | Pass    |
| Expand()                                      | Pass   | Pass   | Pass   | Pass    |
| Rectangular_extrude()                         | Pass   | Pass   | Pass   | Pass    |
| Linear_extrude()                              | Pass   | Pass   | Pass   | Pass    |
| Rotate_extrude()                              | Pass   | Pass   | Pass   | Pass    |
| Polyhedron()                                  | Pass   | Pass   | Pass   | Pass    |
| Hull()                                        | Pass   | Pass   | Pass   | Pass    |
| Chain_hull()                                  | Pass   | Pass   | Pass   | Pass    |
| Torus()                                       | Pass   | Pass   | Pass   | Pass    |
| Vector_text()                                 | Pass   | Pass   | Pass   | Pass    |
| Transparency                                  | Pass   | Pass   | Pass   | Pass    |
| Transparency (AMF)                            | Fail(6)| Fail(6)| Pass   | Fail(6) |
| Transparency 2                                | Pass   | Pass   | Pass   | Pass    |
| SolidFromSlices(): Double Screw               | Pass   | Pass   | Pass   | Pass    |
| SolidFromSlices(): 4 to 3                     | Pass   | Pass   | Pass   | Pass    |
| SolidFromSlices(): 4 to 3 round               | Fail(2)| Fail(2)| Pass   | Fail(2) |
| SolidFromSlices(): Spring                     | Pass   | Pass   | Pass   | Pass    |
| SolidFromSlices(): Tor (multi-color)          | Pass   | Pass   | Pass   | Pass    |
| SolidFromSlices(): Rose Curve                 | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Servo Motor               | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Gear                      | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: S Hook                    | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Grille                    | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Axis Coupler              | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Lamp Shade                | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Celtic Knot Ring          | Fail(3)| Fail(3)| Fail(5)| Fail(5) |
| Interactive Params: Stepper Motor             | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: iPhone4 Case              | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Name Plate                | Pass   | Pass   | Pass   | Pass    |
| Interactive Params: Balloon                   | Pass   | Pass   | Pass   | Pass    |
| Globe                                         | Pass   | Pass   | Pass   | Pass    |
| Recursive Include(): Platonics                | Pass   | Pass   | Pass   | Pass    |
| SVG Image: Baby Panda                         | Pass   | Pass   | Pass   | Pass    |
| 3D Model: 3D Sculpture (Vernon Bussler) (STL) | Pass   | Pass   | Pass   | Pass    |
| 3D Model: Frog (Owen Collins) (STL)           | Pass   | Pass   | Pass   | Pass    |
| 3D Model: Thing 7 / Flower (Zomboe) (STL)     | Fail(4)| Fail(4)| Fail(4)| Fail(4) |
| 3D Model: Yoda (RichRap) (STL)                | Fail(4)| Fail(4)| Fail(4)| Fail(4) |

(1) Safari stops processing with "A problem has occurred with this webpage so it was reloaded"

(2) Chrome / Safari / Firefox fails with "Error: Area is not closed!"

(3) Chrome / Safari / Firefox load the example, then dies.

(4) Safari / Chrome / Opera / Firefox fails with "Maximum call stack size exceeded"

(5) Opera / Firefox crashes

(6) Chrome / Safari / Firefox loads AMF file, shows source, renders, then dies.