wolfbeast
39e63a6981
Use origin instead of documentURI for WebRTC permission requests, when available.
2019-02-15 23:38:00 +08:00
wolfbeast
04caaa6539
Handle same-compartment wrappers in TypedArray methods.
...
CallTypedArrayMethodIfWrapped (and the CallNonGeneric machinery throughout the
engine) unwraps the `this` argument, but the other arguments are only rewrapped
for the target compartment.
The pattern being used before this patch to get the length of a TypedArray or
possible TypedArray wrapper is:
`callFunction(CallTypedArrayMethodIfWrapped, O, O, "TypedArrayLength")`
The first `O` is the `this` value and the second is an argument. If `O` is a
cross-compartment wrapper, this works fine. The first `O` is unwrapped, revealing
the actual TypedArray object; the second `O` is rewrapped for that TypedArray's
compartment, producing the same TypedArray.
However, if `O` is a same-compartment wrapper, this doesn't work. The first `O` is
unwrapped, revealing the actual TypedArray object in the same compartment;
rewrapping the other `O` does nothing to it, since it is already an object in the
target compartment. Thus TypedArrayLength receives a `this` value that's an
unwrapped TypedArray, but an argument that is still a wrapper.
The fix is to have CallTypedArrayMethodIfWrapped targets only expect `this`
to be an unwrapped TypedArray.
2019-02-15 23:37:58 +08:00
wolfbeast
df053b80f5
Set up the "DRM not available" messages in a saner way.
2019-02-15 23:37:57 +08:00
wolfbeast
03078aa806
Bug 1416940; r=snorp
2019-02-15 23:37:55 +08:00
Karl Tomlinson
c86a78aa94
Bug 1426603 - Fallback from audio callback to system clock driver on error only once. r=padenot, a=RyanVM
...
Usually, mShouldFallbackIfError has been reset to false in DataCallback()
before Stop() is called. However, if fallback to a system clock driver due to
cubeb error had already occurred, then mShouldFallbackIfError would not have
been reset, and Stop() is still called. With mShouldFallbackIfError still
true, a cubeb error in stop would have created another fallback thread.
I expect that resetting mShouldFallbackIfError in Stop() would also be an
effective alternative solution, but resetting on StateCallback() happens
earlier, which would be an advantage if any additional errors could possibly
be reported to StateCallback().
MozReview-Commit-ID: E9j7PQmS3O4
2019-02-15 23:37:54 +08:00
janekptacijarabaci
69b9980815
Deleting "secureConnectionStart" from a test file
...
Issue #69
2019-02-15 23:37:52 +08:00
janekptacijarabaci
2884c049cd
Round down to the nearest 2ms (instead of 1ms)
...
Issue #67
https://github.com/MoonchildProductions/UXP/pull/34/commits/c8355b22c047c9737e32f096b816edbb8b0fa181
a32b7f7c4e
f0b727eac2
2019-02-15 23:37:51 +08:00
janekptacijarabaci
4cb956bb3b
Close iterator after error in Promise.{all,race}
...
Issue #17
2019-02-15 23:37:49 +08:00
janekptacijarabaci
93ffbd46a9
Close iterator after error in Array.from
...
Issue #17
2019-02-15 23:37:47 +08:00
janekptacijarabaci
a32ecd025a
Close iterator after error in {Map,Set,WeakMap,WeakSet} constructors
...
Issue #17
2019-02-15 23:37:46 +08:00
NTD
3271333633
Fix mozbuild looking for .cargo
2019-02-15 23:37:44 +08:00
Ralph Giles
e021f1fe42
Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
...
MozReview-Commit-ID: 4lfBbvSTNPO
--HG--
extra : source : a628b2125a1b860c6d8124387040ec9589c219ab
extra : intermediate-source : e9128973a480c8aedf3a2e1c67d3e168613fa17c
2019-02-15 23:37:42 +08:00
Tom Ritter
e1f9388ba1
Bug 1437105 - Remove flaky timing tests from ESR branch that sometimes fail with time clamping. r=baku, a=test-only
...
Because we hardcode time clamping in ESR (as opposed to having a pref) I
don't see a way to guarentee that this test won't fail when we lose the
race and clamp downwards.
MozReview-Commit-ID: IMwejbOBmDu
2019-02-15 23:37:40 +08:00
Jeff Muizelaar
9a47c23711
Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
...
It is unused.
2019-02-15 23:37:39 +08:00
Jeff Gilbert
e0a60672a5
Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM
...
MozReview-Commit-ID: IurPcGHzAoQ
--HG--
extra : source : bef3db82d7ca31a188f902e317713c88001938ed
extra : intermediate-source : aeb9e1be02d26d4e21717368755b63821dc2d222
2019-02-15 23:37:37 +08:00
Steve Fink
1baa793518
Bug 1434384 - Mark v1 structured clone data as cross-process. r=jorendorff, a=RyanVM
...
--HG--
extra : source : d85679eb427513cb18650f3d4e7d37a6ccbefbab
extra : intermediate-source : 5c286cc709dfcaca7269b88516e6f71626c98496
2019-02-15 23:37:36 +08:00
wolfbeast
30a101ad73
Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
...
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
2019-02-15 23:37:34 +08:00
Tom Ritter
8b096e70d2
Bug 1442127 - Allow timestamps to be equal in video delay. r=baku, a=test-only
...
MozReview-Commit-ID: LsNy7E3bFv6
--HG--
extra : transplant_source : %B4t%00u%DB%EE%86%BD2%81%AA%CD%88X%BF%BC%AE%E8%3D%B7
extra : histedit_source : a16c98faab76929e32d9153b288f4ec5c92a0ba6
2019-02-15 23:37:33 +08:00
Tom Ritter
af7e635176
Bug 1442127 - Allow function call times to occur at the same time in browser_profiling-canvas.js for ESR branch. r=baku, a=test-only
...
MozReview-Commit-ID: Fev1JqBwJYO
--HG--
extra : transplant_source : %ADG%83%28%3B%94f%98%EAO%80%08%8A%DFs%D4%24C9%A8
extra : histedit_source : 4859a7fdd7b324e0c0231feb4e13437f836bdb9c
2019-02-15 23:37:31 +08:00
Jan de Mooij
514c90e37c
Bug 1437450 - Disable Ion no-clone optimization for regexps if the graph contains try blocks. r=nbp, a=RyanVM
...
--HG--
extra : source : 61b461277369e0cec89c79d8526a82c575818e94
extra : intermediate-source : 806696d494300c8c09ad2c0c3141194b5418a706
extra : histedit_source : e38bbe5c22bace744f6da0b8ff39462b64fe5a95
2019-02-15 23:37:30 +08:00
Henri Sivonen
ce764cb994
Bug 1425520. r=smaug, a=abillings
...
MozReview-Commit-ID: IoZeR5BGjmQ
--HG--
extra : source : e20052aa341d6da4505eb84be6e061bb7f37de51
extra : intermediate-source : a330f1d4d12a7c144797f3686f35a99c37b0755e
extra : histedit_source : 6d3684d36b39fd065f742ceb577d8b6db4735bcf
2019-02-15 23:37:28 +08:00
Jeff Muizelaar
a64b1808c0
Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
...
It is unused.
--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2019-02-15 23:37:27 +08:00
Ben Kelly
94a68d86a9
Bug 1440775 - Make fetch API force-cache and only-if-cached use VALIDATE_NEVER instead of LOAD_FROM_CACHE. r=mayhemer, a=RyanVM
...
--HG--
extra : source : 60fb09de57ec145923da102f856399d3323f632b
extra : amend_source : b42db87defcc5615773cfa4659af9ff5b9cd4b72
extra : intermediate-source : 599641c7992def734cb352d9413aa51bf0e9793f
extra : histedit_source : 1d42c837225bdf000d3a68bef46a862be87d4044
2019-02-15 23:37:25 +08:00
Tom Ritter
80da5532b3
Bug 1430173 - Add qualifiers to BorrowedAttrInfo. r=baku, a=RyanVM
...
Because we added a new file, we rearranged the Unified Build order and now
need to fully qualify BorrowedAttrInfo which previously inherited a using statement.
MozReview-Commit-ID: BD45k5t9dQU
--HG--
extra : transplant_source : o%E5%3B%E2dr%DF%A1cP%5E%17%19%19%FF%E1%27%A3%9F%99
2019-02-15 23:37:24 +08:00
Tom Ritter
ed176bb836
Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM
...
MozReview-Commit-ID: 6xhQ71a5rDU
--HG--
extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
2019-02-15 23:37:22 +08:00
Tom Ritter
53a2f1007f
Bug 1430173 - Add Timer Rounding tests backported from -central to -esr. r=baku, a=RyanVM
...
MozReview-Commit-ID: Jl4WZAamgrI
--HG--
extra : transplant_source : E%DC%91lU%1C%A4l%2C%C8%23PCz%EB%F2%81%25%1F%90
2019-02-15 23:37:21 +08:00
Tom Ritter
c66f2e1613
Bug 1430173 - Reduce the precision of all explicit clocks to 2ms. r=baku, a=RyanVM
...
Backport to ESR where we don't have the ResistFingerprinting component.
MozReview-Commit-ID: 9bjycHjR3SF
--HG--
extra : transplant_source : %EA%03%21%0A%E9%3F%8E%CD%7C%D79f%96%85%96%00%5D%7F%95X
2019-02-15 23:37:19 +08:00
Henri Sivonen
128b5dfa13
Bug 1440926 - Use overflow-checking math when computing Big5 max length. r=emk, a=RyanVM
...
MozReview-Commit-ID: 1Gney5cYyhu
2019-02-15 23:37:18 +08:00
wolfbeast
9593a8c761
Blocklist update
2019-02-15 23:37:16 +08:00
Brian Hackett
95d507d246
Bug 1437507 - Fix JSObject::setFlags to call ensureShape before checking for dictionary mode. r=jandem, a=RyanVM
...
--HG--
extra : source : ca6b74831ec3db204e024b07f200b0d1ce93557e
extra : intermediate-source : 9d7c295d9570e294851908465f56ec0779547d2a
2019-02-15 23:37:14 +08:00
Makoto Kato
da6d38c5ee
Bug 1437087 - Call Disconnect on Unlink of cycle collector. r=masayuki, a=RyanVM
2019-02-15 23:37:12 +08:00
Andrew Osmond
e871098ac3
Bug 1388020. r=nical, a=RyanVM
2019-02-15 23:37:11 +08:00
Ryan VanderMeulen
23c2b750e3
Bug 1398021 - Update lz4 to version 1.8.0. r=froydnj, a=RyanVM
...
--HG--
extra : source : 9a4077eda5d80e2f7c7fe271035bee2e2d034cec
extra : histedit_source : 64eb1f6e9b2b08981644d7edccd22997d6463b4b%2C5619daf512a89b3a6bf84eca781190b56e8dea31
2019-02-15 23:37:09 +08:00
Valentin Gosu
2022008a84
Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race. r=bagder, a=ritu
...
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.
For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true
MozReview-Commit-ID: 3XOwCaphb2o
--HG--
extra : rebase_source : d6e6886402d1e0b0afed23c25a9fb18d8ca29ad6
extra : intermediate-source : cfc9afe916091e6449f7d748991e2a19187dc817
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2019-02-15 23:37:08 +08:00
Valentin Gosu
c82a62a1ac
Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic. r=bagder, a=ritu
...
MozReview-Commit-ID: 6irCJMAjzjW
--HG--
extra : rebase_source : 2357ab0b9d1d693dac9e5f4f16f34f370c6591b5
extra : intermediate-source : 48b9f6671588c3c2b8d3b4ea6ba1267f5e297f83
extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
2019-02-15 23:37:06 +08:00
Dan Glastonbury
848c5e6071
Bug 1428947 - Check plane width & stride constraints. r=mattwoodrow, a=ritu
...
MozReview-Commit-ID: 328ETwMdVnq
--HG--
extra : rebase_source : e16b28d137de080f9d8495c6937e24ac16b16ab1
2019-02-15 23:37:05 +08:00
Daniel Holbert
8d0ffc3c31
Bug 1324042 - Fix trimmedOffsets arithmetic in GetRenderedText(). r=mats, a=RyanVM
...
MozReview-Commit-ID: H4ngU8Juyln
--HG--
extra : rebase_source : f4d6ab58ae70e485dfe72d5290cf6fae2c8397dd
extra : intermediate-source : bec50ba1fb12aebde4e4065b2799bc730bc30010
extra : source : fbf54020043bd09c162530907b2a1091a10f4f92
2019-02-15 23:37:03 +08:00
Nicholas Hurley
b49b2afc58
Bug 1416529. r=mcmanus, a=ritu
...
MozReview-Commit-ID: CD1l5vLB4yy
--HG--
extra : rebase_source : d74f8ca96dab4e0d25d79948fcddbf8dab98bb36
2019-02-15 23:37:02 +08:00
Jonathan Watt
459fe394c4
Bug 1430557. r=longsonr, a=lizzard
...
--HG--
extra : rebase_source : 5109c816d9ad1ce1881e3670b8d74ae0dc475223
2019-02-15 23:37:00 +08:00
Samael Wang
02cf5ea228
Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu
...
MozReview-Commit-ID: 8lxKFeUlyzq
--HG--
extra : rebase_source : 5f364f5cf84c12717bee021d752aa0f9ba4619dd
extra : intermediate-source : 9df27a7142ffb065fb56c3fc873298988deacb98
extra : source : 9fcf48189000ab8ee16f236be57c9659c7243b42
2019-02-15 23:36:59 +08:00
Mike Hommey
6837efcaef
Bug 1424709 - Force disable the OSX system "nano allocator". r=spohl, a=RyanVM
...
We're not actually using it, and it messes up with the zone allocator in
mozjemalloc after fork(). See the lengthy analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=1424709#c34 and following.
--HG--
extra : rebase_source : b191048290a907cc7668ad7ab6369ef8661f31dc
extra : intermediate-source : 45c5d467a46077dcc3ccd59feafd0c2784432fef
extra : source : bf1efa161edb20a83fe8db2f96c51f4e66880153
2019-02-15 23:36:57 +08:00
André Bargull
1367ec69cb
Bug 1430761 - Update tzdata in ICU data files to 2018c. r=Waldo, a=lizzard
...
--HG--
extra : rebase_source : cb9ac8a678b6f565091f6d7733b6cd86afde0da7
2019-02-15 23:36:56 +08:00
Bob Owen
81337d2cfd
Bug 1426087 - Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt, a=RyanVM
...
--HG--
extra : source : 86d41b5efe074f6988085082df9ef537eee0813a
extra : intermediate-source : ea406489f93a0a8fa05ff568acdff07ce6b118c4
2019-02-15 23:36:54 +08:00
Olli Pettay
13e195c594
Bug 1434580 - Ensure proper mouseover handling. r=masayuki, a=RyanVM
...
--HG--
extra : source : bfd4bdfd40b43d0491c66af5b599659427e4e795
extra : intermediate-source : 8660689b18cd25f0110276bfc5bb8e8dd9c325f9
2019-02-15 23:36:52 +08:00
Dan Minor
62821e5092
Bug 1433005 - Simplify codec pruning in NegotiateCodecs. r=bwc, a=lizzard
...
--HG--
extra : source : 90ae99509f1e9cb5bdf19350a5fbb1a02d34ff0a
2019-02-15 23:36:51 +08:00
Nils Ohlmeier [:drno]
98beed2404
Bug 1426988 - Properly exit encoder init in error cases. r=rillian, a=RyanVM
2019-02-15 23:36:49 +08:00
wolfbeast
5ebd3745e0
Remove .cargo directory
...
Tag #58
2019-02-15 23:36:48 +08:00
wolfbeast
d789488825
Hard-disable the use of sponsored tiles.
2019-02-15 23:36:45 +08:00
wolfbeast
85d1f82c59
Bump max icon size for search engine icons to 32 KB to cater to more common use of HiDPI icons.
2019-02-15 23:36:44 +08:00
wolfbeast
963560a1d2
Remove Rust from the tree.
...
Part 4 for #58
2019-02-15 23:36:42 +08:00