Closed Bug 1228900 Opened 9 years ago Closed 9 years ago

Package identifier is missing after loading an iframe

Categories

(Firefox OS Graveyard :: Infrastructure, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1209162

People

(Reporter: dimi, Assigned: dimi)

References

Details

[Reproduce Steps] 1. With NSEC environment setup 2. Navigate to "http://people.mozilla.org/~mlien/uitest_privileged.pak!//index.html" in Browser app 3. Tap Device Storage -> Tap Get Music/Pictures/SD Card/Videos [Expected Result] Can add get device storage [Actual Result] Can't get device storage
Assignee: nobody → dlee
Blocks: 1223672
After navigate to device storage page by clicking the link, the package identifier of the new document is empty. So we cannot pass permission table check because origin attribute doesn't match
Status: NEW → ASSIGNED
The test app load an iframe when navigate from main page to subpage, this is handled by docshell in frameloader. The original problem is that the docshell in frameloader doesn't have |mSignedPackage| set, but bug 1209162 has already fix this bug by retrieving package identifier from ancestor's origin attributes. https://dxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp#13843 So this bug is already fixed :D
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Depends on: 1209162
Resolution: --- → FIXED
Summary: Package identifier is missing after clicking a link → Package identifier is missing after loading an iframe
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.