Samson
aad2dccc9c
Strict import formatting (grouping and granularity) ( #30325 )
...
* strict imports formatting
* Reformat all imports
2023-09-11 19:16:54 +00:00
Kunal Mohan
f7db4b7f80
Modify script
to prevent further violations of snake_case
2020-01-18 14:22:15 +05:30
oneturkmen
42569280e2
Script: removed a few opts::get()
2019-06-26 22:23:07 -06:00
Alan Jeffrey
4cfd62ac79
Added missing NavigatorId attributes
2019-06-11 11:46:28 -05:00
Jan Andre Ikenmeyer
a1a14459c1
Update MPL license to https (part 3)
2018-11-19 14:47:12 +01:00
Simon Sapin
45f7199eee
cargo fix --edition
2018-11-06 15:26:02 +01:00
Jonathan Jayet
1a447c6984
First step toward iOS Support
2017-08-23 17:16:30 +02:00
Alan Jeffrey
9be4fd56ce
Removed util.
2016-12-14 18:04:37 -06:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Rahul Sharma
facf59177c
implements NavigatorLanguage
2016-03-17 16:13:37 +05:30
Alan Jeffrey
84bde75b42
Replaced DOMString constructor by conversion functions.
...
Replaced DOMString(...) by DOMString::from(...).
Replaced ....0 by String::from(...).
Removed any uses of .to_owner() in DOMString::from("...").
2015-11-12 17:52:59 -06:00
Ms2ger
6b75078503
Make DOMString a newtype around String, rather than a typedef.
...
This should make it somewhat easier to experiment with alternative
representations in the future. To reduce churn, this commit leaves the String
field public, though.
Also, this will allow us to use the default String type to represent the IDL
USVString type, which explicitly forbids unpaired surrogates, ans as such is
a better match to the Rust String type.
2015-11-04 12:09:11 +01:00
Paul Rouget
132724be2b
implement navigator.platform
2015-09-29 08:14:30 +02:00
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Glenn Watson
6d9fccbae7
Add a simple method to emulate a platform UA (e.g. pretend a desktop build is an android UA).
2015-08-18 14:42:28 +10:00
Deokjin Kim
c0e691b08d
Implement Navigator.appVersion( #5409 )
2015-04-01 00:36:40 +09:00
Ms2ger
505159a464
Import the util crate as util rather than servo_util.
...
This used to conflict with the util crate from the standard library, which
has long since been removed.
The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Ms2ger
01ed338746
Move to to_owned rather than into_string.
...
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
Ms2ger
8afc104d4b
Remove the NavigatorInfo struct.
...
It serves no purpose.
2015-01-09 12:10:08 +01:00
Manish Goregaokar
e9d1740e19
script: to_string() -> into_string()
2014-12-27 14:48:36 +01:00
Glenn Watson
eb5532c781
Expose user agent option to DOM navigator interface.
2014-10-13 19:53:41 +10:00
Gilles Leblanc
652d217961
Share code between Navigator and WorkerNavigator
...
Also shares code between Location and WorkerLocation. This has been done
by introducing NavigatorInfo and UrlHelper.
Fixes #3159
2014-09-20 08:51:35 -04:00