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

629962 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini a7033b2822 Bug 1515658 - ChannelMediaResource should use the BlobURLs' length when known, r=jya 2019-01-03 19:22:49 +01:00
Gijs Kruitbosch 754e48f69a Bug 1516877 - update Readability code from upstream (git rev 15d411a8652ca35f553a2465a5bdc994be90a813), rs=already-reviewed
--HG--
extra : rebase_source : a4997f50114697bd787cd4d1d0512d33a13d1ead
2019-01-03 14:28:01 +00:00
Emilio Cobos Álvarez 1728454f1d Bug 1517241 - Fix some more android bustage on a CLOSED TREE.
Got to love unified builds.
2019-01-03 18:43:12 +01:00
Emilio Cobos Álvarez d3b4072acd Bug 1517241 - Fix some gcc / msvc bustage.
In a CLOSED TREE, since apparently I pushed the wrong revision to do all the
builds on try.
2019-01-03 18:37:33 +01:00
Emilio Cobos Álvarez b98f7193d9 Bug 1517241 - Fix some Android / non-unified bustage.
CLOSED TREE
2019-01-03 18:22:59 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Daniel Varga ff20f2519a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 28249a6c172f584d05eb3a775578ebd0839aa057
2019-01-03 18:28:27 +02:00
Daniel Varga 6475e7a21d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-03 18:22:07 +02:00
Jon Coppeard 2909aa196d Bug 1342012 - Make import() work when the active script is in another document r=smaug 2019-01-03 10:06:01 +00:00
Jon Coppeard ca2a67e9ff Bug 1342012 - Associate event handler with active script when they are compiled r=smaug 2019-01-03 10:06:01 +00:00
Jon Coppeard 4f6ab86fcf Bug 1342012 - Store a CCW to the introuction script's script source object r=jandem 2019-01-03 10:06:00 +00:00
Jon Coppeard bdfdf72d44 Bug 1342012 - Fix error message that covers all import() failures that don't throw a JS exception r=jandem 2019-01-03 10:06:00 +00:00
Jon Coppeard de102bc69b Bug 1342012 - Also associate classic scripts from the bytecode cache r=smaug 2019-01-03 10:06:00 +00:00
J.C. Jones 9917c29558 Bug 1512719 - land NSS c8f7602ce9e6 UPGRADE_NSS_RELEASE, r=me
--HG--
rename : security/nss/gtests/common/chachapoly-vectors.h => security/nss/gtests/common/testvectors/chachapoly-vectors.h
rename : security/nss/gtests/common/gcm-vectors.h => security/nss/gtests/common/testvectors/gcm-vectors.h
rename : security/nss/gtests/common/wycheproof/header_bases/chachapoly-vectors.h => security/nss/gtests/common/testvectors_base/chachapoly-vectors_base.h
rename : security/nss/gtests/common/wycheproof/header_bases/gcm-vectors.h => security/nss/gtests/common/testvectors_base/gcm-vectors_base.h
rename : security/nss/gtests/common/wycheproof/testvectors/aes_gcm_test.json => security/nss/gtests/common/wycheproof/source_vectors/aes_gcm_test.json
rename : security/nss/gtests/common/wycheproof/testvectors/chacha20_poly1305_test.json => security/nss/gtests/common/wycheproof/source_vectors/chacha20_poly1305_test.json
extra : rebase_source : 6b249cda30af8f4c72947eb1f564cf55536ce691
2019-01-03 03:52:36 +00:00
Olli Pettay f4756f7e8e bug 1515463, MessageBroadcaster.getChildAt should be out-of-bounds safe, r=peterv 2019-01-03 16:48:32 +02:00
Dustin J. Mitchell 30c2bb4fdb Bug 1517201 - put actionPerm in schema-compliant action.extra r=aki
Differential Revision: https://phabricator.services.mozilla.com/D15616

--HG--
extra : moz-landing-system : lando
2019-01-03 02:57:23 +00:00
WR Updater Bot 3938a0698b Bug 1517460 - Update webrender to commit 477d395e08a9f6b891fa748defd2fa2c35d0e5be (WR PR #3458). r=kats
https://github.com/servo/webrender/pull/3458

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

--HG--
extra : moz-landing-system : lando
2019-01-03 12:35:42 +00:00
WR Updater Bot 535e024020 Bug 1517398 - Update webrender to commit 075fd68dfcfa2a2fdc66fefe5520caa408adcfcb (WR PR #3438). r=kats
https://github.com/servo/webrender/pull/3438

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

--HG--
extra : moz-landing-system : lando
2019-01-03 12:30:07 +00:00
Tom Schuster 008b6d8204 Bug 1510223 - Warn about scripts with wrong MIME type. r=ckerschb,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D14859

--HG--
extra : moz-landing-system : lando
2019-01-03 08:58:48 +00:00
Wes Kocher d34aec17d2 Bug 1201963 - Give a better warning when no tests can be found in the specified path r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D15312

--HG--
extra : moz-landing-system : lando
2019-01-03 11:10:26 +00:00
Julian Descottes 1a2e9ad8f9 Bug 1516408 - Remove remaining references to form;r=ochameau
Depends on D15306

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:21:48 +00:00
Julian Descottes 83d5ab5006 Bug 1516408 - Throw explicit error when calling Target.forRemoteTab without activeTab;r=ochameau
Depends on D15305

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:19:21 +00:00
Julian Descottes 03a2362452 Bug 1516408 - Remove usage of form in connect page;r=ochameau
Depends on D15304

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:21:32 +00:00
Julian Descottes e2806136af Bug 1516408 - Remove deprecated backward compatibility code in webide;r=ochameau
Depends on D15303

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:18:00 +00:00
Paolo Amadini 0062e173ba Bug 1517213 - Part 3 - Display the correct value when resetting a localized preference. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15567

--HG--
extra : rebase_source : 4cd398779ab5baa3e404db2574ea37b13b39ae6a
extra : source : 798c09311606328e8c7374468b16859113ab883c
2019-01-02 11:54:17 +00:00
Paolo Amadini ab65ea678c Bug 1517213 - Part 2 - Unify which preferences are used for tests. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15570

--HG--
extra : rebase_source : 18241513d31c883b83d5e5e3ddbaa9b93a629b9e
extra : source : 8dcd5d5e815ddea060c89a7cffd2d075aadf8ab2
2019-01-03 13:27:22 +00:00
Paolo Amadini 4a00b6c301 Bug 1517213 - Part 1 - Share more selectors in tests. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15569

--HG--
extra : rebase_source : 0d67f46c617fc7a9131b34aa7059d7e3e0115a9d
extra : source : f0489fc1ef50db55b5af0e3d0a741ed1ab23b3e3
2019-01-02 09:57:59 +00:00
Gijs Kruitbosch eb9544d2e0 Bug 1514778 - re-enable browser_initial_tab_remoteType.js on mac opt verify, rs=testonly DONTBUILD
--HG--
extra : rebase_source : 60d691ee59e3b83e45b812592e4ee6d08961c356
2019-01-03 13:18:52 +00:00
Cristina Coroiu 62212fa97c Bug 1418778 - disable create_alwaysMatch.py on windows ccov for frequent failures. r=jmaher 2019-01-03 04:07:00 +02:00
Margareta Eliza Balazs 35be7fb45b Backed out 3 changesets (bug 1517213) for ES lint failure in /browser/components/aboutconfig/test/browser/browser_edit.js CLOSED TREE
Backed out changeset 798c09311606 (bug 1517213)
Backed out changeset 8dcd5d5e815d (bug 1517213)
Backed out changeset f0489fc1ef50 (bug 1517213)
2019-01-03 13:47:33 +02:00
André Bargull 2ac32d7cad Bug 1517235: Add fast path for number inputs to parseFloat. r=jorendorff 2019-01-02 06:16:34 -08:00
Paolo Amadini 24710db1a3 Bug 1517213 - Part 3 - Display the correct value when resetting a localized preference. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15567

--HG--
extra : rebase_source : 2aa1cedd806526070f6d82d4be0a509752397e9f
2019-01-02 11:54:17 +00:00
Paolo Amadini c40ecd9e72 Bug 1517213 - Part 2 - Unify which preferences are used for tests. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15570

--HG--
extra : rebase_source : e9488b9881ed9c88c7c9c28539cee0d3436bb60e
2019-01-02 11:53:39 +00:00
Paolo Amadini 14cde5bc12 Bug 1517213 - Part 1 - Share more selectors in tests. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15569

--HG--
extra : rebase_source : 8abc94ef54a96e1407957191038e515944468b43
2019-01-02 09:57:59 +00:00
Bob Clary d8beba9043 Bug 1516915 - Use new 'arm' property of the build configuration object in jit-test skip-if conditions, r=lth
--HG--
extra : rebase_source : c015897c21d69c8e50026b4f7848ea85fb616404
2019-01-03 09:59:06 +01:00
Lars T Hansen cf02f0c73f Bug 1516720 - Make an overbroad assertion narrower. r=jseward
We use a cmpxchg loop on x86 / x64 systems to implement bitwise
read-modify-write atomic operations.  This means that we can use
word-width operations even when we're operating on sub-wordsize data,
so there's no reason to force the RMW operand into a byte-wide
register - only the registers used for the memory access need be
special on x86, since memory accesses must still be word-wide.

Thus the assertion that asserts that the value must be in a byte
register applies only to ADD and SUB (since they use XADD and require
a byte register).

--HG--
extra : rebase_source : 087c2c9d369e1e488915d817d89b8961041d7620
2019-01-02 11:01:27 +01:00
Lars T Hansen a00401d6f8 Bug 1516738 - specialize x86 code generation for byte register. r=jseward
--HG--
extra : rebase_source : 84fceca89d30a1f6435e77a6db6b090a2dd5e7fc
2019-01-02 09:45:55 +01:00
Lars T Hansen 740f9cb729 Bug 1516915 - Add 'arm' (ie ARM-32 codegen) to the build configuration object. r=jandem
Since we already have 'arm-simulator' meaning the emulator for ARM-32,
let's have 'arm' mean that the jits are generating code for ARM-32.
Thus arm && !arm-simulator means we're running on real hardware.

--HG--
extra : rebase_source : 29c531fc036b6cdbf96d1c3befe9d331f154931c
2019-01-02 11:24:52 +01:00
Jan de Mooij 3e7306f81a Bug 1514210 part 2 - Use the privileged junk scope's compartment for windows created with the system principal. r=bzbarsky
Depends on D15290

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

--HG--
extra : moz-landing-system : lando
2018-12-28 11:25:48 +00:00
Jan de Mooij 9f6f1773d0 Bug 1514210 part 1 - Create the devtools sandbox in a new compartment for now. r=bzbarsky
There's a small number of devtools test failures that will be fixed by Alexandre
in bug 1515290. When that lands we can revert this change.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:02:33 +00:00
Jan de Mooij 78e49f6404 Bug 1512029 part 4 - Use the privileged junk scope's compartment for sandboxes created with the system principal. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D14255

--HG--
extra : moz-landing-system : lando
2019-01-03 10:02:31 +00:00
Daniel Varga 1479f9f61d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-03 11:44:52 +02:00
Daniel Varga ecf61f8f39 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-03 11:41:38 +02:00
Jan de Mooij cdbd8647b5 Bug 1516237 - Fix FixWaiverAfterTransplant to nuke CCWs for oldWaiver in the new compartment. r=bholley
This case can come up with same-compartment realms. Keeping these CCWs
would confuse RemapWrapper because it'd be called with the CCW and target
in the same compartment.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 09:04:02 +00:00
Marco Bonardo 70e0f8f7ee Bug 1504880 - Intermittent failure in browser_autocomplete_enter_race.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D15237

--HG--
extra : moz-landing-system : lando
2019-01-03 08:35:52 +00:00
Jan de Mooij c310b8a7a7 Bug 1467124 - Fix WindowProxy optimizations in the JIT for same-compartment realms. r=bzbarsky
Makes the following changes:

* The WindowProxy optimizations in the ICs and Ion now guard the WindowProxy's
  global is the script's global. Other WindowProxies are harder to optimize
  because of potential security checks based on document.domain.

* IsWindowProxyForScriptGlobal was added as helper function to consolidate the
  logic for this.

* Removes the WindowProxy optimization for CCWs. This becomes more complicated
  in the new world for various reasons and it seems better to focus on
  getting same-compartment realms working to address that use case.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 08:52:43 +00:00
Simon Fraser 0bda802a93 Bug 1466714 Declarative artifacts location fix r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D15564

--HG--
extra : moz-landing-system : lando
2019-01-03 08:46:08 +00:00
Jan de Mooij f9e1248a94 Bug 1516967 - Call the large allocation callback before reporting OOM in JSRuntime::createJitRuntime. r=lhansen
Differential Revision: https://phabricator.services.mozilla.com/D15560

--HG--
extra : moz-landing-system : lando
2019-01-03 08:48:33 +00:00
Botond Ballo f179255747 Bug 1513232 - Avoid clamping the layout viewport size to be larger than the display size. r=kats
The clamping is intended to be a safeguard against extreme values in the
meta viewport tag. If the layout viewport is sized to the display size,
avoid the clamping, since the display size could legitimately be small
(e.g. in Android 8's picture-in-picture mode).

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

--HG--
extra : moz-landing-system : lando
2019-01-03 05:53:52 +00:00
Bogdan Tara 490ea365ac Merge inbound to mozilla-central. a=merge 2019-01-03 06:23:27 +02:00