Wes Kocher
5ce5528fb1
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Edgar Chen
03f19d5e46
Bug 1357002 - Part 1: Cache "dom.webcomponents.customelements.enabled" preference; r=wchen
...
MozReview-Commit-ID: HMsvOmYJvjX
2017-04-07 18:48:16 +08:00
Carsten "Tomcat" Book
87edaf78ee
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
cku
05f3fde7c3
Bug 1357432 - Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. r=heycam
...
IsLocalRefURL is originally designed to be used by URLValue only. Since we need
this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a
util function.
MozReview-Commit-ID: FDjWVbTfB0V
--HG--
extra : rebase_source : a3e1133f08ffad59a05c6e829f4ff416b897b917
2017-04-18 23:35:56 +08:00
Bill McCloskey
e63bc5e6d9
Bug 1350436 - Use nsIEventTarget instead of Dispatcher in netwerk code (r=mayhemer)
...
MozReview-Commit-ID: BM4r8icwMY5
2017-04-10 16:49:39 -07:00
Ehsan Akhgari
ee89afa2fc
Bug 1354643 - Part 3: Stop calling Preferences::GetBool() from nsINode::HasBoxQuadsSupport(); r=mystor
2017-04-08 18:40:31 -04:00
Ehsan Akhgari
cba54d3429
Bug 1354643 - Part 1: Stop calling Preferences::GetBool() from nsDocument::IsElementAnimateEnabled(); r=mystor
2017-04-08 18:40:27 -04:00
Michael Layzell
e9cc7025db
Bug 1356277 - Part 1: Respect ALLOW_FIRST_PARTY_ONLY and LIMIT_THIRD_PARTY permissions in StorageAllowedFor*, r=ehsan
...
MozReview-Commit-ID: 7TQSFk7EGmk
2017-04-19 17:07:07 -04:00
Michael Layzell
344f335411
backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
...
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.
MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Michael Layzell
5ce7492734
Bug 1356277 - Part 1: Respect ALLOW_FIRST_PARTY_ONLY and LIMIT_THIRD_PARTY permissions in StorageAllowedFor*, r=ehsan
...
MozReview-Commit-ID: 7TQSFk7EGmk
2017-04-17 15:14:54 -04:00
Tim Huang
3b43737132
Bug 1330882 - Part 4: Making the window.open() can only open rounded windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug
...
This patch makes the size of inner windows will be automatically rounded for
either window.open() with window features or setting window size through
innerWidth/Height and outerWidth/Height when fingerprinting resistance is
enabled. If the given value is greater the maximum available rounded size, then
it will be set to the maximum value. Otherwise, the size will be set to the
nearest upper 200x100.
This patch also adds one helper function in nsContentUtils for calculating the
rounded window dimensions.
MozReview-Commit-ID: J2r3951vuNN
--HG--
extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3
2017-03-29 15:43:56 +08:00
Tim Huang
c9c5bbc22e
Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459 ). r=arthuredelstein,smaug
...
MozReview-Commit-ID: 1qBNQhfdIYP
--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Kershaw Chang
7f62e4602e
Bug 1343750 - Part1: Add an API to get Dispatcher from nsILoadInfo, r=mayhemer
...
--HG--
extra : rebase_source : 5fba371b7bfe8b4704b346f57953aa447662aef8
2017-03-23 23:31:00 +01:00
Samael Wang
d19130f17a
Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
...
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.
MozReview-Commit-ID: Hd1NkVkrJA1
--HG--
extra : rebase_source : 745c0d66c3afd8e487c616891c0f10bd820da1fe
2017-03-23 15:59:01 +08:00
Andrea Marchesini
68207654f2
Bug 1343933 - Renaming Principal classes - part 1 - ExpandedPrincipal, r=qdot
...
--HG--
rename : caps/nsExpandedPrincipal.cpp => caps/ExpandedPrincipal.cpp
rename : caps/nsExpandedPrincipal.h => caps/ExpandedPrincipal.h
2017-03-22 11:38:17 +01:00
Michael Layzell
28a69a2cac
Bug 1337056 - Part 7: Refactor nsObjectLoadingContent::GetTypeOfContent logic out into nsContentUtils, r=qdot
...
MozReview-Commit-ID: IJQNhQZzx3y
2017-03-21 11:08:03 -04:00
Cameron McCormack
fb18ceba5d
Bug 1330843 - Allow JS to create NAC pseudo-elements. r=bholley
...
MozReview-Commit-ID: 2aBPoCOsT6R
--HG--
extra : rebase_source : bc32cd9e4bd5c73af094718c795691da84abe5ba
2017-03-17 15:30:34 +08:00
Boris Zbarsky
f80dd7a663
Bug 1345237. Propagate uint32_t deeper into the editor state and text control frame code. r=mystor
...
MozReview-Commit-ID: KeUo8My6eBJ
2017-03-09 14:44:45 -05:00
Valentin Gosu
1c5fbd8c6e
Bug 1342438 - Remove url .hash encoding/decoding prefs r=bagder
...
These prefs have been added close to two years ago:
dom.url.encode_decode_hash and dom.url.getters_decode_hash
The main reason for their existence was in case we encounter any web-compat issues. At this point the extra code is mostly useless, and flipping the pref may lead to crashes.
MozReview-Commit-ID: LhAHkYmv0TR
--HG--
extra : rebase_source : 8f2d50d5633496cf165b3925d952bb6475bce3e0
2017-03-08 22:19:34 +01:00
Ehsan Akhgari
2f146c3954
Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref; r=baku
2017-02-23 13:25:21 -05:00
Jessica Jong
94e413bc23
Bug 1335356 - Part 2: Rename nsContentUtils::NameChanged to QNameChanged and use null prefix. r=smaug
2017-02-20 22:44:00 -05:00
Wes Kocher
c8fa3242ab
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Tomislav Jovanovic
cfdba143c5
Bug 1312260 - Part 1: Allow access to execCommand("paste") with permission r=bz
...
MozReview-Commit-ID: B1sfhsQWWQa
--HG--
extra : rebase_source : 533fc39c52733cc9d3f0eb7ff0558dab36f6263d
2017-02-09 15:09:22 +01:00
Wes Kocher
7f456db28c
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2iqmlA6R1S4
2017-02-06 17:52:26 -08:00
Andrea Marchesini
869af55a16
Bug 1335678 - Revert patch for bug 1302566, r=ehsan
2017-02-06 16:37:15 +01:00
Tom Tung
e185f7bc4c
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Tomislav Jovanovic
22c41867ed
Bug 1335890 - Factor out nsContentUtils::SubjectPrincipal version that takes JSContext r=bz
...
MozReview-Commit-ID: CGRipgKUm7g
--HG--
extra : rebase_source : 33c2dbd7eaad80a3e523113aa8217ba1e086572a
2017-02-05 23:19:26 +01:00
Andrea Marchesini
1fd70e0029
Bug 1336020
- transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00
Carsten "Tomcat" Book
72823b1e95
merge mozilla-inbound to mozilla-central a=merge
2017-02-02 14:25:20 +01:00
Tomislav Jovanovic
460e6f68ee
Bug 1310318 - Part 1: Allow access to canvas drawWindow() with web extensions permission r=bz
...
MozReview-Commit-ID: 4ee3pRfduIj
--HG--
extra : rebase_source : 428cf25f732c27ffd34e1a47105a96919c3cb36e
extra : source : 1063bdd7940796e9c4e8634b82d55f417e289e28
2017-02-01 21:47:59 +01:00
Boris Zbarsky
4dafb92c93
Bug 1335368 part 4. Stop using IsCallerChrome in nsContentUtils::IsRequestFullScreenAllowed. r=bholley
2017-02-01 15:43:36 -05:00
Boris Zbarsky
80365681f6
Bug 1335368 part 3. Stop using IsCallerChrome in nsContentUtils::IsCutCopyAllowed(). r=smaug
2017-02-01 15:43:36 -05:00
Andrea Marchesini
6278ae48c8
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01:00
Boris Zbarsky
4d33eb6307
Bug 1338725 part 1. Change the matcher functions used for nsContentList to take an Element argument, not nsIContent. r=baku
2017-02-13 16:06:45 -05:00
Sebastian Hengst
e3d93fdf34
Backed out changeset 2e942ed64921 (bug 1302566) for mass test failures after asserting isPrivate == mRespectPrivacy at imgLoader.cpp:2072. r=backout on a CLOSED TREE
2017-01-23 13:25:19 +01:00
Andrea Marchesini
27afefa942
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-23 12:36:01 +01:00
Ehsan Akhgari
b3e5ce4a2d
Bug 1319908 - Load the menu icons for the bookmarks menu with the correct content type and principal on OSX; r=baku
...
This patch makes nsMenuItemIconX also participate in the setup
introduced in bug 1277803.
2017-01-20 10:55:23 -05:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Ho-Pang
7bc745d410
Bug 1299209 - Part 2: Support setting pointerId in nsDOMWindowwUtils and nsContentUtils. f=sshih, r=smaug
...
--HG--
extra : rebase_source : 46affaf510908e28ad47df2e088574d33aa52be3
2016-12-20 23:06:00 -05:00
Boris Zbarsky
6c52415c65
Bug 1324035 part 4. Change nsContentUtils::ResistFingerprinting to just take a dom::CallerType instead of having all its consumers check it. r=qdot
2016-12-17 00:25:52 -05:00
Cameron McCormack
382ed70f19
Bug 1321284 - Part 4: Factor out AllChildrenIterator's getting of document level NAC to a utility method. r=bholley
...
MozReview-Commit-ID: 862Yi82D2Ij
--HG--
extra : rebase_source : d612e27061ec3ccec3c30792127a53bb7010d30c
2016-12-03 09:37:00 +08:00
Henri Sivonen
a36fff43c5
Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan
...
MozReview-Commit-ID: 5UvYqJVvX0r
--HG--
extra : rebase_source : 5a6f3dfd97fb06810fde9a4b8b650a7a922a7c20
2016-06-09 14:29:30 +03:00
Boris Zbarsky
23cc88e459
Bug 1319255 part 2. Stop doing casts to HTMLContentElement* simply based on tag. r=wchen
2016-11-22 22:41:51 -05:00
Boris Zbarsky
da2b77fe10
Bug 1318471. Get rid of IsCallerChrome calls in scriptsettings code. r=bholley
2016-11-18 16:13:07 -05:00
Boris Zbarsky
584dd93891
Bug 1316616 part 2. Add an nsContentUtils API for getting the CallerType of a JSContext. r=bholley
2016-11-18 16:13:06 -05:00
Sylvestre Ledru
30ee480275
Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/base/ r=smaug
...
MozReview-Commit-ID: A70LY4ekX8E
--HG--
extra : rebase_source : e370a9637d5c57507feb2dee164145a5992b5645
2016-11-14 23:15:46 +01:00
Michael Layzell
209fba3a7f
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Andrea Marchesini
fa19ea68e4
Bug 1312412 - Introducing BlobImplString, r=smaug
2016-10-25 07:53:54 +02:00
Eric Rahm
a2f7bff287
Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
...
This removes various references to nsISupportsArray throughtout the tree that
aren't used.
MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Eric Rahm
1eb4ae7e0d
Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug
2016-10-18 11:56:20 -07:00