Closed
Bug 1080088
Opened 10 years ago
Closed 9 years ago
Fix browser_mozpay.js regression
Categories
(Firefox Graveyard :: Webapp Runtime, defect, P2)
Firefox Graveyard
Webapp Runtime
Tracking
(firefox42 fixed)
RESOLVED
FIXED
Firefox 42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: marco, Assigned: myk)
References
Details
Attachments
(1 file)
6.71 KB,
patch
|
marco
:
review+
|
Details | Diff | Splinter Review |
I can't reproduce this failure reliably, so it's difficult to tell when it regressed. The error I see is: uncaught exception - TypeError: win.document.getElementById(...) is null at chrome://mochitests/content/webapprtChrome/webapprt/test/chrome/browser_mozpay.js:46
Updated•10 years ago
|
Priority: -- → P2
Reporter | ||
Comment 1•9 years ago
|
||
I also see: JavaScript error: https://example.com/webapprtChrome/webapprt/test/chrome/mozpay-success.html?req=eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJhdWQiOiAibW9ja3BheXByb3ZpZGVyLnBocGZvZ2FwcC5jb20iLCAiaXNzIjogIkVudGVyIHlvdSBhcHAga2V5IGhlcmUhIiwgInJlcXVlc3QiOiB7Im5hbWUiOiAiUGllY2Ugb2YgQ2FrZSIsICJwcmljZSI6ICIxMC41MCIsICJwcmljZVRpZXIiOiAxLCAicHJvZHVjdGRhdGEiOiAidHJhbnNhY3Rpb25faWQ9ODYiLCAiY3VycmVuY3lDb2RlIjogIlVTRCIsICJkZXNjcmlwdGlvbiI6ICJWaXJ0dWFsIGNob2NvbGF0ZSBjYWtlIHRvIGZpbGwgeW91ciB2aXJ0dWFsIHR1bW15In0sICJleHAiOiAxMzUyMjMyNzkyLCAiaWF0IjogMTM1MjIyOTE5MiwgInR5cCI6ICJtb2NrL3BheW1lbnRzL2luYXBwL3YxIn0.QZxc62USCy4UIyKIC1TKelVhNklvk-Ou1l_daKntaFI, line 8: Error: Exposing privileged or cross-origin callable is prohibited
Assignee | ||
Comment 2•9 years ago
|
||
While we figure out if we want to fix the API or remove it (bug 1134007), at the very least we shouldn't leave the old, broken implementation enabled, so here's a change that disables it and updates its test to check that it's disabled.
Reporter | ||
Updated•9 years ago
|
Attachment #8628011 -
Flags: review?(mar.castelluccio) → review+
Assignee | ||
Comment 3•9 years ago
|
||
This shouldn't affect any tests that run in continuous integration, but here's a try run for mochitest-other on the off chance that there's a toolkit/webapps/ test affected by this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=124f3ddbffc7
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bb0f0100d587
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•