Closed Bug 1097423 Opened 5 years ago Closed 3 years ago

Intermittent iframe_sandbox_allow_script.html | Error: Permission denied to access property 'reload'

Categories

(Testing :: web-platform-tests, defect)

All
Windows 7
defect
Not set

Tracking

(firefox45 affected, firefox46 affected, firefox50 fixed, firefox51 fixed)

RESOLVED FIXED
mozilla51
Tracking Status
firefox45 --- affected
firefox46 --- affected
firefox50 --- fixed
firefox51 --- fixed

People

(Reporter: KWierso, Assigned: bzbarsky)

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | COM initialized.
15:20:07 INFO - PROCESS | 1516 | JavaScript error: http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html, line 22: Error: Permission denied to access property 'reload'
15:20:17 INFO - PROCESS | 1516 | MARIONETTE LOG: INFO: Timeout fired
15:20:17 INFO - TEST-UNEXPECTED-NOTRUN | /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html | iframe_sandbox_allow_scripts - expected PASS
15:20:17 INFO - TEST-UNEXPECTED-ERROR | /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html | Error: Permission denied to access property 'reload'
15:20:17 INFO - TEST-INFO took 10090ms
15:20:17 WARNING - u'runner_teardown' ()
15:20:18 INFO - Starting runner
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Exception running app migration:
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : TypeError Components.classes['@mozilla.org/app-migrator;1'] is undefined
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Skipping app migration.
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Saving c:\users\cltbld~1.t-w\appdata\local\temp\tmpbmz4oa.mozrunner\webapps\webapps.json
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Saving c:\users\cltbld~1.t-w\appdata\local\temp\tmpbmz4oa.mozrunner\webapps\webapps.json
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Success saving c:\users\cltbld~1.t-w\appdata\local\temp\tmpbmz4oa.mozrunner\webapps\webapps.json
15:20:21 INFO - PROCESS | 4068 | -*- Webapps.jsm : Success saving c:\users\cltbld~1.t-w\appdata\local\temp\tmpbmz4oa.mozrunner\webapps\webapps.json
15:20:23 INFO - TEST-START | /html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html
This can happen if run() runs before the iframe load has gotten a server response (and hence before we have created any sort of document inside).  In that situation, we will first toggle the sandbox flag, then create the initial about:blank when contentWindow is poked, and it will pick up the new sandbox flags, which don't include allow-same-origin.

Fix coming up.
Attached patch Fix raciness in the test (obsolete) — Splinter Review
Attachment #8789589 - Flags: review?(bugs)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8789589 - Attachment is obsolete: true
Attachment #8789589 - Flags: review?(bugs)
Attachment #8789590 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/6820b76ed378
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.