Граф коммитов

646084 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 648311b759 Bug 1542854 - Make [System Principal] into a static atom. r=froydnj
Whenever chrome JS code leaks, we leak the dynamic atom "[System
Principal]". This causes an assertion, which hangs the browser in
stack walking code for multiple minutes on OSX. As a bandaid, make
this atom static so it won't leak.

My first instinct is that it would make sense to use this new atom
directly in SystemPrincipal, but atoms are represented internally as a
kind of nsAString, but principal code uses nsACStrings, so you end up
with an extra conversion from 16-bit to 8-bit.

This atom is also going to be present in any process running chrome
JS, so this will save a little bit of memory.

Differential Revision: https://phabricator.services.mozilla.com/D26590

--HG--
extra : moz-landing-system : lando
2019-04-09 13:23:28 +00:00
Nihanth Subramanya cae12ea4a3 Bug 1531838 - Ensure we don't set up twice on any window. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26701

--HG--
extra : moz-landing-system : lando
2019-04-09 14:15:14 +00:00
Nihanth Subramanya a050e59581 Bug 1531838 - Reliably wait for click-to-play popup notification in private windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26700

--HG--
extra : moz-landing-system : lando
2019-04-09 14:14:43 +00:00
Nihanth Subramanya 0e9d941e0d Bug 1531838 - Inline PanelUI code and avoid leaving behind properties on windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26699

--HG--
extra : moz-landing-system : lando
2019-04-09 14:15:40 +00:00
Nihanth Subramanya 94b374ee9b Bug 1531838 - Enable Firefox Monitor by default. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23837

--HG--
extra : moz-landing-system : lando
2019-04-09 14:13:52 +00:00
Cosmin Sabou b956e6c5d1 Backed out changeset 1839a68aea95 (bug 1492668) for assertion failures on GMPParent.cpp. CLOSED TREE 2019-04-09 17:11:28 +03:00
Cosmin Sabou 9d60d28e2a Backed out changeset 9a6c6c9c8119 (bug 1542292) for causing build bustages. CLOSED TREE 2019-04-09 17:10:31 +03:00
Bryce Van Dyk 0f9dab6a5b Bug 1542539 - Add crash test for mp4 with a 0 by 0 dimension track. r=jya
Depends on D26612

Differential Revision: https://phabricator.services.mozilla.com/D26613

--HG--
extra : moz-landing-system : lando
2019-04-09 09:56:26 +00:00
Bryce Van Dyk e8c6250244 Bug 1542539 - MediaData::ValidateBufferAndPicture warns on 0 by 0 dimension data instead of asserting. r=jya
Warn instead of asserting since it's possible for decoders to give us 0 by 0
frames here.

Differential Revision: https://phabricator.services.mozilla.com/D26612

--HG--
extra : moz-landing-system : lando
2019-04-09 09:56:13 +00:00
Vijay Budhram cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Chris Martin 4e5edc2663 Bug 1052579 - Refactor and cleanup for JS StringBuffer class r=sfink
Refactored a couple of minor issues with JS StringBuffer, partly to prepare
it to handle the new JSString buffer arena.

1.  There were public functions that were returning mutable references to
    private members, making them not-really "private" at all. They are now
    hidden and new API calls were added to provide needed functionality.
2.  ExtractWellSized() now uses the buffer's policy to resize/free it instead
    of directly calling JS alloc API
3.  Changed FinishStringFlat to no longer take a reference to a StringBuffer
    and a reference to a StringBuffer member

Differential Revision: https://phabricator.services.mozilla.com/D25706

--HG--
extra : moz-landing-system : lando
2019-04-09 12:56:55 +00:00
Ted Campbell cc9d6b8505 Bug 1541580 - Cleanup ProxyObject creation r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D26157

--HG--
extra : moz-landing-system : lando
2019-04-08 14:45:34 +00:00
Petr Sumbera 41916af393 Bug 1405345 - ldflags as defined in gypi shouldn't be ignored at least on Solaris for now r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26287

--HG--
extra : moz-landing-system : lando
2019-04-09 13:22:16 +00:00
Ted Campbell 82ca5a4de0 Bug 1535137 - Store inline-doubles as Values in bytecode r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D26622

--HG--
extra : moz-landing-system : lando
2019-04-09 09:59:37 +00:00
Ted Campbell 4a28db15e8 Bug 1535137 - Store JSOP_DOUBLE literals inline r=jandem
Replace the unaligned uint32_t index with the encoded double value. The
double values are already being copied again before use, so an unaligned
uint64_t load directly to double seems a more direct strategy.  This
also avoids needed to manage the allocation of the consts table.

Differential Revision: https://phabricator.services.mozilla.com/D23396

--HG--
extra : moz-landing-system : lando
2019-04-09 13:07:45 +00:00
Ted Campbell bffde94401 Bug 1535137 - Use copyAndSwap in BytecodeUtil instead of manual endian mangement r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D26621

--HG--
extra : moz-landing-system : lando
2019-04-09 09:45:01 +00:00
Luke Wagner f7f7e61bc4 Bug 1542292 - Bump 64-bit executable quota to 2gb (r=jandem)
Differential Revision: https://phabricator.services.mozilla.com/D26329

--HG--
extra : moz-landing-system : lando
2019-04-09 10:03:22 +00:00
Paul Zuehlcke 3badc9750a Bug 1492668 - Store temporary site permissions by base domain to mitigate permission notification spam r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26704

--HG--
extra : moz-landing-system : lando
2019-04-09 12:56:47 +00:00
Olivier Tilloy 3de38436b6 Bug 1436457 - Add a group policy file to disable app updates, as those are handled by snapd. r=jlorenzo,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D26281

--HG--
extra : moz-landing-system : lando
2019-04-09 12:40:32 +00:00
Justin Wood d690d2df03 Bug 1541917 - Mac Talos tests are running on every push to integration branches. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D26265

--HG--
extra : moz-landing-system : lando
2019-04-05 18:56:54 +00:00
sotaro f078e63789 Bug 1515448 - Set eglSwapInterval to 0 on wayland r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D20126

--HG--
extra : moz-landing-system : lando
2019-04-09 11:01:04 +00:00
Jonas Allmann 647e267f00 Bug 1539183, Remove tree.xml, content-task.js dupplicate from eval() whitelist, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D24908

--HG--
extra : moz-landing-system : lando
2019-04-09 11:03:11 +00:00
Syeda Asra Arshia Qadri 4b00a87326 Bug 1540637: Don't save persistent certificate exceptions in private browsing windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26539

--HG--
extra : moz-landing-system : lando
2019-04-09 10:30:01 +00:00
Andreas Farre dc4332dabb Bug 1539012 - Don't assert when setting opener on a closed window. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D26495

--HG--
extra : moz-landing-system : lando
2019-04-09 11:56:04 +00:00
Cosmin Sabou 9599610f96 Bug 1424790 - Disable 694880-1.html on Android 4.3 and linux !debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D26659

--HG--
extra : moz-landing-system : lando
2019-04-09 10:40:42 +00:00
Emilio Cobos Álvarez 3421ca2722 No bug - Remove a redundant use statement. 2019-04-09 13:39:38 +02:00
Dão Gottwald 0b822d6214 Bug 1542299 - Remove Array.unshift usage from tabbrowser.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26685

--HG--
extra : moz-landing-system : lando
2019-04-09 10:30:39 +00:00
Dão Gottwald 8e0b6d7a6e Bug 1542298 - Remove Array.filter usage from tabbrowser.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26688

--HG--
extra : moz-landing-system : lando
2019-04-09 10:48:27 +00:00
Cosmin Sabou 65e5dc96a7 Backed out 2 changesets (bug 1477673, bug 1454865) for browser chrome failures on browser_PanelMultiView_keyboard. CLOSED TREE
Backed out changeset eca8a6e641c0 (bug 1454865)
Backed out changeset 69db665d8263 (bug 1477673)
2019-04-09 14:29:08 +03:00
Cosmin Sabou a0d1e27a85 Backed out 3 changesets (bug 1539344) for devtools failures on browser_toolbox_target.js. CLOSED TREE
Backed out changeset 878f78400ed7 (bug 1539344)
Backed out changeset 8b3d1e3ae296 (bug 1539344)
Backed out changeset 29b64aed3474 (bug 1539344)
2019-04-09 14:03:07 +03:00
Emilio Cobos Álvarez 8178d24334 Bug 1542179 - Handle the non-generic path earlier in the derive code. r=heycam
No need to build the match body if there are no generics. This should hopefully
save some work too.

Depends on D26289

Differential Revision: https://phabricator.services.mozilla.com/D26290

--HG--
extra : moz-landing-system : lando
2019-04-09 01:48:18 +00:00
Emilio Cobos Álvarez 0082254050 Bug 1542179 - Share more code between ToAnimatedValue and ToComputedValue derive. r=heycam
I'm going to add a ToResolvedValue, and I don't want to add more copy-pasta.

This shouldn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D26289

--HG--
extra : moz-landing-system : lando
2019-04-09 09:37:26 +00:00
Sebastian Hengst ba8c9512ab Bug 1543034 - only call checkMagic in BaselineIC if diagnostic assert is enabled to prevent warning about unused variable. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26686

--HG--
extra : moz-landing-system : lando
2019-04-09 10:05:26 +00:00
Sebastian Hengst 90c4b33166 Bug 1541049 - enable reporting api pref for content-security-policy/reporting-api/. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D25785

--HG--
extra : moz-landing-system : lando
2019-04-09 10:05:28 +00:00
Henri Sivonen 95281be87c Bug 1532901 - Fix event.screenX and event.screenY inside out-of-process iframes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25582

--HG--
extra : moz-landing-system : lando
2019-04-09 10:26:31 +00:00
pet_flipper e6f56104fb Bug 1445923 - Removed references of systemAppUrl along with meaningless code. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D26503

--HG--
extra : moz-landing-system : lando
2019-04-09 09:41:19 +00:00
Alexandre Poirot 24425de294 Bug 1540694 - Removed scopedCuImport usages. r=jdescottes
ChromeUtils.import no longer pollute the global scope,
so we can switch to it and remove this ancient helper.

Depends on D26078

Differential Revision: https://phabricator.services.mozilla.com/D26079

--HG--
extra : moz-landing-system : lando
2019-04-09 08:44:03 +00:00
Alexandre Poirot 953f28d1a8 Bug 1540694 - Fix DEBUG_DEVTOOLS_ALLOCATIONS now that DevTools share the unique system compartment. r=jdescottes
In bug 1517210, DevTools started sharing the same compartment than JSMs.
So we can no longer use a Debugger instance bound to jsdebugger.jsm as it
would run in the same compartment than DevTools code we want to inspect
from the allocation tracker.
Instead, we instantiate the Debugger from a custom Sandbox loaded
in a unique and distinct compartment.

Depends on D26077

Differential Revision: https://phabricator.services.mozilla.com/D26078

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:19 +00:00
Alexandre Poirot 9a96c419f3 Bug 1540694 - Remove unecessary import-globals-from. r=jdescottes
Now that there is a shared head.js, the import-globals-from is done from there.

Differential Revision: https://phabricator.services.mozilla.com/D26077

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:17 +00:00
Syeda Asra Arshia Qadri 5108bf54d6 Bug 1208858: Show the page URL in the Site Identity Button's drag-image/tooltip. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26527

--HG--
extra : moz-landing-system : lando
2019-04-09 08:20:50 +00:00
André Bargull 6ab6d8d902 Bug 1522070 - Part 6: Add strict parsing of Unicode and transform extension sequences. r=jwalden
Unicode BCP 47 locale identifiers have stricter requirements for the Unicode ("-u-") and
tranformed content ("-t-") extension sequences.
- Keys in Unicode extensions must be of the form "alphanum alpha".
- Transformed content extensions need to be parsed following the `transformed_extensions`
  syntax from UTS 35.

Differential Revision: https://phabricator.services.mozilla.com/D23542

--HG--
extra : moz-landing-system : lando
2019-04-09 09:17:04 +00:00
André Bargull 4b8a850caa Bug 1522070 - Part 5: Update comments to refer to Unicode BCP 47 locale identifiers. r=jwalden
- Strict parsing for "u" and "t" extensions is not yet implemented.
- Canonicalisation per UTS 35 is also not yet implemented, so it still refers to BCP 47 tags.

Differential Revision: https://phabricator.services.mozilla.com/D23540

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:44 +00:00
André Bargull a76dc71fc5 Bug 1522070 - Part 4: Remove support for four letter language subtags. r=jwalden
Unicode BCP 47 locale identifiers don't support four letter language subtags.

Differential Revision: https://phabricator.services.mozilla.com/D23539

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:34 +00:00
André Bargull 12038aee03 Bug 1522070 - Part 3: Remove support for privateuse-only language tags. r=jwalden
Language tags only consisting of a private-use subtags are not allowed in Unicode
BCP 47 locale identifiers.

Differential Revision: https://phabricator.services.mozilla.com/D23538

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:25 +00:00
André Bargull 23bd24de4a Bug 1522070 - Part 2: Remove support for irregular grandfathered tags and regular grandfathered tags with extlang-like subtags. r=jwalden
Irregular grandfathered language tags and regular grandfathered tags with
extlang-like subtags can't be parsed as Unicode BCP 47 locale identifiers, so
they now need to be rejected by the language tag parser.

Differential Revision: https://phabricator.services.mozilla.com/D23537

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:21 +00:00
André Bargull 556ae927e7 Bug 1522070 - Part 1: Remove support for extlang subtags. r=jwalden
https://github.com/tc39/ecma402/pull/289 changed ECMA-402 to use Unicode BCP47
locale identifiers instead of BCP47 language tags for language tags. That means
extlang subtags are no longer supported in language tags.

Differential Revision: https://phabricator.services.mozilla.com/D23536

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:13 +00:00
Paul Bone 423efc24b8 Bug 1542279 - Fix a problem with rounding down to zero r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26463

--HG--
extra : moz-landing-system : lando
2019-04-09 10:00:31 +00:00
Paul Bone 27a061fdce Bug 1542279 - Guard against overflow when calculating the new max chunks r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26462

--HG--
extra : moz-landing-system : lando
2019-04-09 10:00:11 +00:00
Mariah 4c4dd32808 Bug 1530285 - Remove waitForNewTabEvent from browser/base/content/test/siteIdentity/head.js r=johannh
Removed waitForNewTabEvent from browser/base/content/test/siteIdentity/head.js as it doesn't seem to be used anymore.

Differential Revision: https://phabricator.services.mozilla.com/D21868

--HG--
extra : moz-landing-system : lando
2019-04-09 10:01:43 +00:00
Noemi Erli 4d1c376ac0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-09 13:00:14 +03:00