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

629969 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 2c0124d662 Bug 1517434 part 1. Add a fast inline nsIPrincipal::IsSystemPrincipal. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D15672

--HG--
extra : moz-landing-system : lando
2019-01-03 20:08:55 +00:00
Jim Blandy eb4ba6cb0e Bug 1517568: Add SMDOC marker to LiveSavedFrameCache comment. DONTBUILD r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D15671

--HG--
extra : moz-landing-system : lando
2019-01-03 21:00:20 +00:00
Ting-Yu Lin e4d6600543 Bug 1445794 Part 2 - Disallow flushing layout in reflow and scroll related callbacks. r=emilio
By disallowing flushing layout in AccessibleCaret's callbacks, we don't
need to worry about dead PresShell affect other callbacks in the system.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:52:51 +00:00
Ting-Yu Lin a4c41e72ef Bug 1445794 Part 1 - Preemptively fix that carets are not updated if non-default hints are used. r=emilio
Without this change, for example,
UpdateCarets(UpdateCaretsHint::DispatchNoEvent) won't update carets. We don't
have a wrong use case yet, but it's good to fix that beforehand.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 05:25:19 +00:00
Boris Zbarsky 8a6321bc3c Bug 1517467. Handle us not having a subframe window in the contentDocument getter. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D15677

--HG--
extra : moz-landing-system : lando
2019-01-03 20:37:01 +00:00
Boris Zbarsky 3c5a7b2986 Bug 1517415. We might be trying to JS-wrap a BrowsingContext with a torn-down-enough docshell that we have no window. r=nika
The old code did this check in GetContentWindow, basically.  We _could_ just put
the null-check there, but this seems safer.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 20:31:05 +00:00
WR Updater Bot a364c7ac72 Bug 1517459 - Update webrender to commit 2312763643054c1e3aa6146d816b3e02a1b68a3c (WR PR #3462). r=kats
https://github.com/servo/webrender/pull/3462

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

--HG--
extra : moz-landing-system : lando
2019-01-03 20:17:16 +00:00
Tom Schuster 1ef618a06f Bug 571074 - Refactor nsContentUtils::TransferableToIPCTransferable to make error handling more obvious. r=smaug
While trying to handle a failed GetTransferData call I made some mistake, mostly because this function has incredibily
confusing control flow. I would actually assume some of its current behavior is not intentional.

For this we assume that data == nullptr <-> NS_FAILED(rv), this is probably not 100% correct, but doesn't seem to
matter in practice. (This is a change in behavior that is intentional, because we want to check return value)

If we trace the data == nullptr case through the old code, we realize that for aInSyncMessage we will just continue.
(This is because nullptr doesn't queryInterface to anything)

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

--HG--
extra : moz-landing-system : lando
2019-01-03 16:58:40 +00:00
Matt Woodrow 54f9f12d39 Bug 1517355 - Add CONTENT_FRAME_TIME variant that records from the vsync time. data-review=rrayborn, r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D15603

--HG--
extra : moz-landing-system : lando
2019-01-03 19:43:04 +00:00
Jim Blandy 641b0f8465 Bug 1145201: Remove unnecessary SpiderMonkey internal job queue reset. r=jorendorff
The call to `cx->jobQueue->reset()` doesn't do anything that isn't also
accomplished by the call to `fop->delete_(cx->jobQueue.ref())` two lines later.
Since `cx->jobQueue` is a `ThreadData<PersistentRooted<JobQueue>*>`, the
`PersistentRooted` actually owns the `JobQueue` (despite the field's name
`ptr`), rather than holding a pointer to it, so deleting the `PersistentRooted`
invokes the `JobQueue` destructor.

In more detail:

`JSContext::jobQueue` is a `ThreadData<PersistentRooted<JobQueue>*>`, so the
call `cx->jobQueue->reset()` performs the following steps:

- Call `ProtectedData::operator->`, obtaining a (const reference to a non-const)
  pointer `PersistentRooted<JobQueue>*`.

- Call `PersistentRooted::reset`, which move-assigns a fresh `JobQueue` to the
  `ptr` member. Note that `PersistentRooted<JobQueue>::ptr` is a `JobQueue`,
  *not* a pointer.

But the subsequent call to `fop->delete_(cx->jobQueue.ref())` will perform the
following steps:

- Call `ProtectedData::ref`, obtaining a (reference to a)
  `PersistentRooted<JobQueue>*` pointer.

- Call `PersistentRooted<JobQueue>`'s destructor, which destructs `ptr`. Since
  `ptr` is a `JobQueue`, this calls the `JobQueue`'s destructor, safely freeing
  its resources.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 15:19:09 +00:00
Chris Manchester 0ef0b54bfb Bug 1507344 - Add a configure option for JARLOG_FILE in profile use builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13917

--HG--
extra : moz-landing-system : lando
2018-12-21 19:05:44 +00:00
Chris Manchester 0851ff9f4a Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13863

--HG--
extra : moz-landing-system : lando
2018-12-21 19:02:11 +00:00
Rob Wood d64a93fbd2 Bug 1511356 - Run speedometer on fennec via Raptor; r=jmaher,jlund
Differential Revision: https://phabricator.services.mozilla.com/D13946

--HG--
extra : moz-landing-system : lando
2019-01-02 20:43:21 +00:00
Chris Manchester 25e14c4f13 Bug 1507338 - Add a configure option for MOZ_PROFILE_GENERATE. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D12999

--HG--
extra : moz-landing-system : lando
2019-01-03 16:16:38 +00:00
Kyle Machulis 030ac758f5 Bug 1095602 - Remove STATE_SECURE flags from nsIWebProgressListener; r=Ehsan
Only STATE_SECURE_HIGH is used, and that's only in instances where
STATE_IS_SECURE is also used, so we can remove the security level
flags and just assume STATE_IS_SECURE is also STATE_SECURE_HIGH.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 17:35:48 +00:00
Mike Shal c8ed2cda78 Bug 1514288 - save profile run output to log files rather than stdout; r=chmanchester
The output from running the browser during PGO builds can have innocuous
error messages in them, but show up in treeherder as potential messages
to include when filing bugs. We can just save the output from these runs
as files and upload them as artifacts instead, so they don't show up in
the build log but are available for inspection if necessary.

MozReview-Commit-ID: 3VdVCKVkZNI

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

--HG--
extra : moz-landing-system : lando
2019-01-03 18:18:02 +00:00
Alexandre Poirot e5a27afe74 Bug 1512154 - Convert protocol.js to es classes. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D14840

--HG--
extra : moz-landing-system : lando
2019-01-02 13:38:54 +00:00
Boris Zbarsky df26fc8601 Bug 1516567. Fix JSPropertySpec assertions to deal with not having a getter. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D15423

--HG--
extra : moz-landing-system : lando
2019-01-03 16:52:59 +00:00
Daniel Varga 1234d893b3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-03 18:26:38 +02:00
Daniel Varga 6475e7a21d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-03 18:22:07 +02:00
Logan Smyth 7faaacaf3c Bug 1516197 - Delay newSource packet processing to avoid blocking onSources. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D15529

--HG--
extra : moz-landing-system : lando
2019-01-03 16:15:35 +00:00
Nika Layzell eded746df2 Bug 1513975 - Add ChromeUtils.releaseAssert for Chrome JS, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15607

--HG--
extra : moz-landing-system : lando
2019-01-03 15:43:06 +00:00
Alexandre Poirot 10ba88604c Bug 1515116 - Let Front's constructor set the actorID instead of doing it manually. r=jdescottes
Depends on D14915

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:20:35 +00:00
Alexandre Poirot 2f8299a363 Bug 1515116 - Remove all useless constructor methods on Fronts. r=jdescottes
Depends on D14914

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

--HG--
extra : moz-landing-system : lando
2019-01-03 10:09:42 +00:00
Alexandre Poirot 460c16cd22 Bug 1515116 - Remove all useless destroy methods on Fronts. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D14914

--HG--
extra : moz-landing-system : lando
2019-01-03 10:09:40 +00:00
Henrik Skupin 90798fe371 Bug 1511312 - [fxui] Re-enable update permissions for update tests. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D15641

--HG--
extra : moz-landing-system : lando
2019-01-03 14:06:22 +00:00
Andreas Tolfsen c75b1129c5 bug 1496489: webdriver: re-enable test_maximize_when_resized_to_max_size; r=whimboo
Marionette recently had changes made to its window maximisation algorithm
that lets us re-enable this test.  It tests that session.window.maximize()
does not hang when the window is already maximised.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 14:10:48 +00:00
Andreas Tolfsen 9ed472d436 bug 1510929: marionette: remove scriptTimeout parameter; r=whimboo
Depends on D15583

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

--HG--
extra : moz-landing-system : lando
2019-01-03 11:20:16 +00:00
Andreas Tolfsen 3a05ef17b4 bug 1510929: marionette: stop using scriptTimeout parameter; r=whimboo
By stopping to use the scriptTimeout parameter with the
WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript commands
in the Marionette Python client, we can remove it from the server.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 14:08:13 +00:00
Jan Henning 519ddfc7a4 Bug 1517103 - Keep the refresh driver ticking when there are pending visual viewport events. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D15559

--HG--
extra : moz-landing-system : lando
2019-01-03 13:16:20 +00:00
ffxbld 4bef5d51fd No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D15643

--HG--
extra : moz-landing-system : lando
2019-01-03 13:39:23 +00: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
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
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