Commit Graph

69933 Commits

Author SHA1 Message Date
Boris Zbarsky
77d6a0dd53 Bug 1418558 part 4. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: HxFFC85qgOD
2017-12-05 11:18:16 -05:00
Boris Zbarsky
eefe007914 Bug 1418558 part 2. Add MOZ_CAN_RUN_SCRIPT annotations to HTMLImageElement methods that call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: GxcrOxjTYDm
2017-12-05 11:18:16 -05:00
Boris Zbarsky
723521145b Bug 1418558 part 1. Add MOZ_CAN_RUN_SCRIPT annotations to most Element methods that call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: LWI1p75EyxB
2017-12-05 11:18:16 -05:00
Julian Hector
4dfbc18a1c Bug 1401107 - Use ContiguousEnumSerializer for ParamTraits in npapi; r=jimm 2017-12-04 10:12:50 -05:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli
2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Andreea Pavel
76445de93a Backed out 6 changesets (bug 1397422, bug 1228841) for devtools mochitest failure devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js r=backout a=backout on a CLOSED TREE
Backed out changeset 28f34951d1b3 (bug 1228841)
Backed out changeset 37581537c812 (bug 1228841)
Backed out changeset 41b4f7b17863 (bug 1228841)
Backed out changeset 9651b5f82d29 (bug 1228841)
Backed out changeset 901ed6dd87f2 (bug 1397422)
Backed out changeset b36c6610678d (bug 1397422)
2017-12-05 06:26:49 +02:00
Ben Kelly
2982dea3de Bug 1422983 Cycle collect the ClientSource object when owned by an nsGlobalWindowInner or nsDocShell object. r=mccr8 2017-12-04 22:13:33 -05:00
Masatoshi Kimura
0eee3482dc Bug 1071816 - Add a pref to fallback to UTF-8 for files from file: URLs. r=hsivonen
MozReview-Commit-ID: KFjIqYmgzTl

--HG--
extra : rebase_source : 9c8af1c9b488ed945832ab1cb83e11a74e91cd08
2017-11-30 20:55:07 +09:00
Adam Gashlin
95018ae790 Bug 1374338 - Search all ranges to avoid filtering r=mats
MozReview-Commit-ID: uu35565lfP

--HG--
extra : rebase_source : e7f885b58f172998533c73fd8dff3d27d58c6dd6
2017-12-01 14:53:20 -08:00
Hiroyuki Ikezoe
7257be7a76 Bug 1422995 - Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen. r=birtles
With the conformant Promise handling (bug 1193394) and performing micro task
checkpoint in Animation tick (bug 1416966), if we call waitForFrame() inside
the callback for Animation.ready.then it will still be done in the same refresh
driver's tick.

MozReview-Commit-ID: GQJiDHHUlyD

--HG--
extra : rebase_source : 55813e6c1fc24193e0b4b1c87934debe80d357b5
2017-12-05 09:13:42 +09:00
Jan-Ivar Bruaroey
4bed737a12 Bug 1422875 - Fix fake constraint to not apply to screensharing (on all platforms but android). r=pehrsons
MozReview-Commit-ID: K35vaNAolEy

--HG--
extra : rebase_source : 53fae5a862320ae6386e52d4163b06bea5c644d1
2017-12-04 11:56:28 -05:00
Jan-Ivar Bruaroey
22aabfd482 Bug 1422875 - Fix fake constraint to not apply to screensharing for media.navigator.permission.device codepath (aka Android) r=pehrsons
MozReview-Commit-ID: L9IIalMuFoC

--HG--
extra : rebase_source : 04842126225b6d96e37eb07c09e23439be552450
2017-12-04 11:25:50 -05:00
Tooru Fujisawa
58c29f374c Bug 1228841 - Part 0: Remove remaining conditional catch consumers in dom/. r=billm 2017-12-05 09:42:37 +09:00
Bogdan Tara
ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
bechen@mozilla.com
90589ae7f3 Bug 1420357 - The default value of positionAlign is "auto". r=rillian
MozReview-Commit-ID: KkRzI3B5mfZ

--HG--
extra : rebase_source : 56b6cd5befbb7c76384290f2f0d8915231ee27f6
2017-11-30 11:17:28 +08:00
bechen@mozilla.com
008a43e297 Bug 1420357 - fix postion testcase. r=rillian
1. The default value of position is "auto".
2. follow the spec to parse the position value.

MozReview-Commit-ID: HO7sQ0go5A6

--HG--
extra : rebase_source : ab6066f260abac25d71a1c35511c5389444e000a
2017-11-29 16:16:40 +08:00
Dragana Damjanovic
d022b3db46 Bug 1414209 - Truncate as value after each link header. r=smaug 2017-12-04 17:48:56 +01:00
Ben Kelly
ae0ac28105 Bug 1420594 P2 Eagerly shutdown ClientManagerService. r=baku 2017-12-04 09:51:32 -05:00
Ben Kelly
73afebbc88 Bug 1420594 P1 Make ClientManagerService track active ClientManagerParent actors. r=baku 2017-12-04 09:51:32 -05:00
Andrea Marchesini
08e23d1d73 Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly 2017-12-04 09:51:32 -05:00
Dan Minor
f9c46ca973 Bug 1421958 - OfferToReceiveVideo and OfferToReceiveAudio should be of type Boolean not Long; r=smaug,jib
--HG--
extra : rebase_source : 68289fb95af5c346df85680686748af39ba11327
2017-12-01 12:10:40 -05:00
Dorel Luca
ba2b0cf4d1 Backed out 3 changesets (bug 1422314, bug 1420594) for failing xpcshell/test_ext_contentScripts_register.js on Android debug r=backout a=backout
Backed out changeset f5a3054a4c38 (bug 1420594)
Backed out changeset 7908b821ad3f (bug 1420594)
Backed out changeset b89daf5c23b8 (bug 1422314)
2017-12-04 15:35:07 +02:00
Jessica Jong
fbd3a63cba Bug 1409975 - Part 3: Fix event get-the-parent algorithm for a node. r=smaug 2017-12-04 16:06:40 +08:00
Jessica Jong
306e4bafc3 Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Jessica Jong
adc29479a2 Bug 1409975 - Part 1: Implementation for assignedNodes. r=smaug
Set and unset assignedNodes properly when slot is added/removed and when
slotables are added/removed/modfied. Note that assigedNodes with
flatten: true is calculated on demand.
2017-12-04 16:06:34 +08:00
Nicholas Nethercote
3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
Honza Bambas
8402a72987 Bug 1385298 - Fix test for bug 504224 to actually do something. r=bkelly 2017-12-04 15:24:00 -05:00
Brad Werth
8d764e78da Bug 1416350 - Part 3: Add test to verify line numbers of grids with leading implicit tracks. r=mats
MozReview-Commit-ID: 8S8HMKhtWUP

--HG--
extra : rebase_source : 8fd4ed904a6d809af80f332a8e91155cf5a82394
extra : histedit_source : c9b06c066b4094ab4403c2ae8ed01b91ef3779a5
2017-11-10 14:10:33 -08:00
Brad Werth
a0fd338be1 Bug 1416350 - Part 2: Correct logic for Grid API line numbering with leading implicit tracks. r=mats
MozReview-Commit-ID: 4tiwdqhb5hb

--HG--
extra : rebase_source : 58db5f92938cce5c7a658c2e89c8cde286452ea1
extra : histedit_source : 863399fbebc805b5d9a4718c5d77aefeca43dbdb
2017-11-10 09:46:22 -08:00
Honza Bambas
4eab23cce4 Bug 1411632 - Introduce onload and DOMContentLoaded telemetry for active tab and network optimization. r=valentin, r=francois 2017-12-02 18:13:43 -05:00
Eitan Isaacson
a55e238edf Bug 1409731 - Expose input[type=date/time] correctly in a11y. r=surkov, r=jjong 2017-12-02 18:12:14 -05:00
Andrea Marchesini
62e39b195c Bug 1421989 - Adding an error check in TCPSocket::BufferedAmount(), r=qdot 2017-12-02 21:06:34 +01:00
Karl Tomlinson
bd04f5c597 bug 1339889 fix typo to address review comment from bug 1339438#c4 r=pehrsons
MozReview-Commit-ID: 4W3mYyZgoBt

--HG--
extra : transplant_source : %F2%02%E5%0D%E5%7D%9EQ%D4%FC%D4_%A9%BF%9B%D8E%B9%8D%84
2017-12-02 21:44:59 +13:00
Alex Chronopoulos
8904b64329 Bug 1406772 - Get channel count from MSG. p=padenot
MozReview-Commit-ID: 8aFdJkfcbCA
2017-12-01 23:21:42 +02:00
Ben Kelly
76d6394334 Bug 1420594 P2 Eagerly shutdown ClientManagerService. r=baku a=aryx on CLOSED TREE 2017-12-01 14:48:11 -05:00
Ben Kelly
5bd2e38996 Bug 1420594 P1 Make ClientManagerService track active ClientManagerParent actors. r=baku 2017-12-01 14:48:11 -05:00
Andrea Marchesini
8ef5b5e4e5 Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly 2017-12-01 14:48:11 -05:00
Andreas Pehrson
8d4be05939 Bug 1419363 - Switch to WeakPtr. r=jib
--HG--
extra : rebase_source : 7148328b61e25c3eac983e41f1ece633bf2206bf
2017-12-01 10:52:18 -05:00
Henri Sivonen
009840a99b Bug 1409951 - Use a stack to end serializer contexts instead of recomputing them. r=smaug
MozReview-Commit-ID: FOd8AUmtYyA
2017-12-01 10:45:25 -05:00
John Dai
7b51513583 Bug 1419316 - Fix setting HTMLOutputElement.defaultValue makes it being reset to empty string when it has childs and in default mode. r=smaug 2017-12-01 03:37:00 +02:00
Tooru Fujisawa
37740524e5 Bug 1421582 - Fix dom/base/test/browser_bug902350.js to wait for events in proper order. r=Gijs 2017-12-01 10:05:48 +09:00
Jon Coppeard
1aa0606254 Bug 1421259 - Fix error events fired when loading JS module dependencies fail r=baku 2017-12-01 13:12:48 +00:00
Gijs Kruitbosch
7b8023dcab Bug 1420507, r=freddyb,francois
--HG--
extra : rebase_source : f7984ad91b4f8260538fa3cb2cf3e560dfbc2dcc
2017-11-29 17:03:54 +00:00
Gurzau Raul
1c0a590e09 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-01 13:00:44 +02:00
Gurzau Raul
0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Tim Taubert
bd80af118b Backed out changeset 3d02d52b92ee (bug 1333140) 2017-12-01 11:27:05 +01:00
Emilio Cobos Álvarez
5604b99826 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-12-01 08:46:39 +01:00
Tim Taubert
2725932278 Bug 1333140 - Remove WEBCRYPTO_METHOD_SECURE histogram r=keeler 2017-11-30 14:06:28 +01:00
Tom Tung
a70276a99c Bug 1222008 - P9: Expected failure for loading a same origin XML Document but being responded with a cors response. r=bkelly
Modify test to be expected failure to load cross origin XML Document via a
same origin request.

--HG--
extra : rebase_source : 1fd3e699447436b47205537009b5ba23bbab3278
2017-11-29 17:06:33 +08:00