Closed Bug 904659 Opened 11 years ago Closed 10 years ago

Some of the Iframe sandbox mochitests crash on b2g

Categories

(Core :: Security, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: crash)

Attachments

(1 file)

Keywords: crash
The easiest fix is to disable these tests on B2G.

The downside is that some B2G apps use iframe sandbox to provide security guarantees.

I won't have any spare time to look into these for at least a few weeks, I'm afraid.
These tests are currently disabled on B2G, the point is to get them enabled.
Is there breakpad on b2g or some other way to get the stack for these crashes?
Flags: needinfo?(martijn.martijn)
You should be able to get breakpad crashes, like described here: https://wiki.mozilla.org/B2G/QA/Tips_And_Tricks#Getting_crashes_off_the_Device
I tried to get stacktraces for browser crashes in the b2g emulator, but failed, see bug 902271, comment 2.
I thought that for these tests the main problem with B2G was that they open multiple new browsing contexts at once (using window.open), which causes problems on B2G ... is this a different problem?
Attached patch 904659.diffSplinter Review
Ok, it seems like these tests don't crash anymore on b2g, this patch would enable those tests: https://tbpl.mozilla.org/?tree=Try&rev=2992a3a6648b
Flags: needinfo?(martijn.martijn)
I've filed bug 1037976 for enabling those tests on b2g emulator, I'm going to mark this bug as worksforme.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: