Commit Graph

539918 Commits

Author SHA1 Message Date
Andrew Sutherland
394672c494 Bug 1329245 - Part 3: Don't attempt to connect to closed port on OS X, it's flakey. r=bkelly
--HG--
extra : rebase_source : e7c27185c671f8d2eae81ddfc66318c7fe1a1a31
2017-06-04 23:18:16 -04:00
Andrew Sutherland
7cbbdb024c Bug 1329245 - Part 2: finish removal of pref/permission pieces begun in bug 1286530. r=bkelly
Bug 1286530 made TCPSocket ChromeOnly, eliminating both the
dom.mozTCPSocket.enabled preference check as well as the "tcp-socket"
permission check.  The API is now always exposed in chrome contexts.
This patch removes the leftover (and confusing) dead code.

Renamed and why:
- test_tcpsocket_enabled_no_perm.html renamed to
  test_tcpsocket_not_exposed_to_content.html because it's now just a
  question of content never seeing the API.

Removed tests and why:
- test_tcpsocket_enabled_with_perm.html used to be a standalone
  verification of our permission check.  We have no permission check
  now and both test_tcpsocket_jsm.html and
  test_tcpsocket_client_and_server_basics.html serve as tests that we
  affirmatively expose the API and there are no "late" failure (such
  as a secondary check in the parent).

- test_tcpsocket_default_permissions.html duplicated what (now)
  test_tcpsocket_not_exposed_to_content.html accomplishes.  It tried to
  use the API and expect an exception.  This is just superstition in a
  WebIDL.  (TCPSocket was not originally WebIDL-y.)

--HG--
rename : dom/network/tests/test_tcpsocket_enabled_no_perm.html => dom/network/tests/test_tcpsocket_not_exposed_to_content.html
extra : rebase_source : d2231ed3b0fb00541cc266569c2a7908a4074f9c
2017-06-04 22:41:25 -04:00
Andrew Sutherland
8923d906ec Bug 1329245 - Part 1: remove moot add_task.js since bug 1078657 gave us SpawnTask.js. r=bkelly
The use of add_task.js was ever only intended to be temporary until
bug 1078657 landed.

--HG--
extra : rebase_source : d9570859b35691002cf7f4642603f6730ddab7ad
2017-06-04 19:52:29 -04:00
James Willcox
56de576eb7 Bug 1368187 - Set up nsIBrowserDOMWindow correctly in GeckoView r=jchen
MozReview-Commit-ID: L0FkAGriChD
2017-06-05 15:45:27 -05:00
Wes Kocher
a8ca1dfef7 Backed out changeset 9745b4fb9ac4 (bug 1352128) for breaking webdriver wpt a=backout
MozReview-Commit-ID: 1wLiG2Sq3g
2017-06-05 13:12:13 -07:00
Stephen A Pohl
8692190b2e Bug 1367487: Change bundle name (CFBundleName) of content process on OSX/macOS to differentiate it from the Firefox bundle name. r=mstange,ted 2017-06-05 16:08:24 -04:00
Ben Kelly
cf2f97c065 Bug 1370025 P5 Remove the old TimeoutManager insertion point logic. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
c2b540895d Bug 1370025 P4 Use FiringId validity in TimeoutManager::Timeouts::Insert() and ::ResetTimersForThrottleReduction(). r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
1cacde3284 Bug 1370025 P3 Give the Timeouts structure a reference back to its owning TimeoutManager. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
c5ee173aaa Bug 1370025 P2 Add TimeoutManager::IsValidFiringId() helper routine. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
dd9bba778b Bug 1370025 P1 Better optimize the single mFiringIdStack case in IsInvalidFiringId(). r=ehsan 2017-06-05 12:42:33 -07:00
Gabriel Luong
6cab183898 Bug 1369586 - Fix eslint error with 'currentZoom' variable never being used in css-grid.js. r=me 2017-06-05 15:41:27 -04:00
Tooru Fujisawa
cee4637db8 Bug 1368732 - Use StringReplaceString instead of String_replace in Intl. r=till 2017-06-01 01:54:18 +09:00
Bob Owen
12073adc94 Bug 1370216: Remove SANDBOX_BROKER_INITIALIZED telemetry. r=jimm 2017-06-05 20:18:31 +01:00
Micah Tigley
c671140c63 Bug 1369586 - Add a border around the grid area name overlay. r=gl
MozReview-Commit-ID: 3aUiVU3gKpq
2017-06-02 22:05:55 -06:00
Kris Maglione
d2ac9519c1 Bug 1370263: Null check document URI before matching content scripts. r=mixedpuppy
MozReview-Commit-ID: IB8HMmukD1h

--HG--
extra : rebase_source : 7267ae37b0b0d5813ce5510c1aeb225e16649bba
2017-06-05 10:26:06 -07:00
Aaron Klotz
ec02e78c40 Bug 1367885: Backed out changeset 3f6e08c5233f for bc4 bustage on a CLOSED TREE; r=backout
MozReview-Commit-ID: 4CDliBImLR7
2017-06-05 12:51:52 -06:00
Aaron Klotz
0fdef67a82 Bug 1367885: Follow-up - fix missing explicit keyword on constructor on a CLOSED TREE; r=bustage
MozReview-Commit-ID: KvlrtJlUir8

--HG--
extra : rebase_source : 88b65dfdc34e2df79dec294f3828f1dc6b33ceeb
extra : histedit_source : 42f77c82bd86f54154df52d4fa58c6107771868b
2017-06-05 12:29:04 -06:00
Jim Chen
50d7a19548 Bug 1367081 - 4. Load SelectHelper and InputWidgetHelper in PromptService.js; r=droeh
Right now SelectHelper and InputWidgetHelper are loaded in browser.js,
which means they only work for GeckoApp. This patch loads them in
PromptService.js instead, which means they will work in all windows. The
patch also changes some code in SelectHelper and InputWidgetHelper that
used to assume they are running under the browser.xul chrome window.

MozReview-Commit-ID: HveDzIzK1b4
2017-06-05 13:55:59 -04:00
Jim Chen
b51227fbc9 Bug 1367081 - 3. Include window when using Prompt.jsm; r=droeh
Include the window when using Prompt.jsm in JS so that the prompts can
be directed to the correct Activity.

MozReview-Commit-ID: 7AtYaCJXjDi
2017-06-05 13:55:58 -04:00
James Graham
8f5559fddd Bug 1352128 - Update web-platform-tests expected data. r=jmaher, a=testonly
MozReview-Commit-ID: HqEyuojy9TG
2017-06-03 20:34:34 +01:00
Aaron Klotz
1f513d3180 Bug 1367885: Add a fast path to mscom Interceptor construction; r=jimm
MozReview-Commit-ID: AmS5oBNV7Po

When creating a new interceptor, we already have the correct target interface.
The interceptor ignores this and does a redundant inter-thread QI to resolve
an interface that we already have!

This patch adds a fast path to interceptor initialization that skips all of that
stuff and directly initializes itself using the given target interceptor.

--HG--
extra : rebase_source : bb017b8098b3d94c453d6be982a205ade36c772d
2017-05-17 16:38:45 -06:00
Marco Castelluccio
d66a91a2b0 Bug 1095267 - Assert the promise's timeToSettle is a number only if its state isn't 'pending'. r=fitzgen
--HG--
extra : rebase_source : 226bc42d409c63c0ff8a0e8f7c560a6fca699ef6
2017-06-03 20:14:13 +01:00
Simon Fraser sfraser@mozilla.com
f3414f6c10 Bug 1370057 - add retry to safeguard network blips. r=mtabara a=release DONTBUILD
MozReview-Commit-ID: Esc8oEzlqJH

--HG--
extra : amend_source : 9db35da07a82f69c986397ace2e73c050c309b62
2017-06-05 17:55:49 +01:00
Marco Castelluccio
3177d7c530 Bug 1369523 - Avoid reading output file in get_output_from_command when it is not needed. r=aki 2017-06-03 17:19:09 +01:00
Ryan VanderMeulen
9531c6693f Merge m-c to inbound. a=merge 2017-06-05 12:00:40 -04:00
Ryan VanderMeulen
0d15b18d52 Merge autoland to m-c. a=merge 2017-06-05 11:59:54 -04:00
Ryan VanderMeulen
25c909b0c3 Merge inbound to m-c. a=merge 2017-06-05 11:59:09 -04:00
ffxbld
61528d699c No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-06-05 08:39:51 -07:00
ffxbld
b6a127253e No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-06-05 08:39:48 -07:00
Ryan VanderMeulen
437c6330ef Merge m-c to inbound. a=merge 2017-06-05 09:37:38 -04:00
Ryan VanderMeulen
84a43c15d5 Merge m-c to autoland. a=merge 2017-06-05 09:37:21 -04:00
Paul Adenot
08dd28ea34 Bug 1369967 - Remove one use of a stack-allocated buffer and fix another buffer's size. r=jesup
Two things here:
- The default stack size of the thread pool is not very big, it's better to
stick the buffer we need on the object.
- There was a unit mismatch between bytes and samples. This changes the name to
make the unit more obvious, and fixes its usage by dividing by the sample size.

MozReview-Commit-ID: 19bbS6iGvTw

--HG--
extra : rebase_source : bb5c2c074b8c1c3d69e002c8d82f4f72cc57582d
2017-06-05 11:42:43 +02:00
Ryan VanderMeulen
7be11fa01d Bug 1359137 - Fix rest-spread-spacing ESLint failure in BrowserUITelemetry.jsm. 2017-06-05 09:32:45 -04:00
Ryan VanderMeulen
8f0ee7b3dc Backed out changeset 22b83f0ffd51 (bug 1369291) at Pike's request because it needs more work. 2017-06-05 09:29:46 -04:00
Paul Rouget
cb25a010e7 servo: Merge #17164 - Remove no-op got_load_complete_message compositor property (from paulrouget:kill_got_load_complete_message); r=jdm
Removing no-op code.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because no-op code

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: e2ae3b683eefbdb58477d3b696304f0aff7ec6ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68dc02a16c7d9e0cf89f210ccb502dfaef1c709a
2017-06-05 05:24:38 -07:00
Hector Zhao
b8d53c802c Bug 1368464 - Don't attempt to copy multipart image as file promise. r=tnikkel
MozReview-Commit-ID: 1pwwZwBNb23

--HG--
extra : rebase_source : e99a49144b7f2c90941efd48eac8d9ff756fb8b6
2017-06-05 16:06:15 +08:00
Micah Tigley
4d89c214fd Bug 1349335 - Use the grid color for the grid cell and area fills. r=gl
MozReview-Commit-ID: 4etwnse2jZu
2017-06-02 22:49:26 -06:00
Gabriel Luong
d15f698ca2 Bug 1369585 - Remove L10n unknown escape sequence for layout.rowColumnPositions. r=me 2017-06-05 10:29:48 -04:00
Olli Pettay
e4559f5c3b Bug 1368493, TimerThread::FindNextFireTimeForCurrentThread should look at timers in order, r=bkelly
--HG--
extra : rebase_source : a86b344380cbcd34d8930688eb90192846636dd8
2017-06-05 16:49:54 +03:00
Ehsan Akhgari
a8feee442a Bug 1370103 - Remove some outdated MMS related prefs; r=mystor 2017-06-05 10:06:00 -04:00
gasolin
75d168933a Bug 1369291 - add l10n support for onboarding overlay;r=mossop,rexboy
MozReview-Commit-ID: AzLol5jeAm3

--HG--
extra : rebase_source : 0e548cf1a81786fb44fbc9745fb639fcc8ae6204
2017-06-02 17:44:56 +08:00
Ryan VanderMeulen
d6d4bcb282 Merge m-c to autoland. a=merge 2017-06-05 09:14:21 -04:00
Ryan VanderMeulen
0a3b9074de Merge inbound to m-c. a=merge 2017-06-05 09:12:18 -04:00
Sebastian Hengst
ed8480d850 merge mozilla-central to autoland. r=merge a=merge 2017-06-05 12:28:50 +02:00
Jan de Mooij
76f4ddb420 Bug 1369963 - Fix bug1355573.js jit-test to properly check for OOM. r=me 2017-06-05 11:35:53 +02:00
Jan de Mooij
734d2d104e Bug 1364346 part 2 - Rename unshiftElements to moveShiftedElements, tweak heuristics. r=anba 2017-06-05 11:27:25 +02:00
Sebastian Hengst
e9ee226b01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-05 11:08:00 +02:00
Sebastian Hengst
2abbd7e74c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: G0dLvIdtcAi
2017-06-05 11:05:49 +02:00
JerryShih
b64d13e2ad Bug 1370117 - Update the external image status for reusing case. r=sotaro
When gecko go through the reusing case, the aUseExternalImage isn't set to the correct value. It is always false here.
Then, gecko will use the non-external-image code path later. Add a new data member "mUseExternalImage" to save the previous status.

MozReview-Commit-ID: KvzgIzYXNAB
2017-06-05 15:30:10 +08:00