Changeset 286550 in webkit


Ignore:
Timestamp:
Dec 6, 2021 10:46:03 AM (8 months ago)
Author:
Tadeu Zagallo
Message:

Restore navigator.hardwareConcurrency
https://bugs.webkit.org/show_bug.cgi?id=233381
<rdar://85023911>

Reviewed by Saam Barati.

LayoutTests/imported/w3c:

  • web-platform-tests/html/dom/idlharness.https-expected.txt:
  • web-platform-tests/html/dom/idlharness.worker-expected.txt:
  • web-platform-tests/workers/WorkerNavigator-hardware-concurrency.any.worker-expected.txt:

Source/WebCore:

Navigator.hardwareConcurrency was removed in r219379, but it is now used
by emscripten to implement std::thread::hardware_concurrency()

Test: fast/dom/navigator-hardwareConcurrency.html

  • page/Navigator.idl:
  • page/NavigatorBase.cpp:

(WebCore::NavigatorBase::hardwareConcurrency):

  • page/NavigatorBase.h:
  • page/WorkerNavigator.idl:

LayoutTests:

  • fast/dom/Window/resources/window-property-collector.js:

(emitExpectedResult):

  • fast/dom/navigator-detached-no-crash-expected.txt:
  • fast/dom/navigator-hardwareConcurrency-expected.txt: Added.
  • fast/dom/navigator-hardwareConcurrency.html: Added.
  • fast/workers/resources/worker-navigator.js:
  • fast/workers/worker-navigator-expected.txt:
  • platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
  • platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
  • platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
  • platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
  • platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
  • platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
  • platform/mac/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/win/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/wpe/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
Location:
trunk
Files:
2 added
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r286546 r286550  
     12021-12-06  Tadeu Zagallo  <tzagallo@apple.com>
     2
     3        Restore navigator.hardwareConcurrency
     4        https://bugs.webkit.org/show_bug.cgi?id=233381
     5        <rdar://85023911>
     6
     7        Reviewed by Saam Barati.
     8
     9        * fast/dom/Window/resources/window-property-collector.js:
     10        (emitExpectedResult):
     11        * fast/dom/navigator-detached-no-crash-expected.txt:
     12        * fast/dom/navigator-hardwareConcurrency-expected.txt: Added.
     13        * fast/dom/navigator-hardwareConcurrency.html: Added.
     14        * fast/workers/resources/worker-navigator.js:
     15        * fast/workers/worker-navigator-expected.txt:
     16        * platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
     17        * platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt:
     18        * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     19        * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     20        * platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     21        * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:
     22        * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     23        * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
     24        * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     25        * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt:
     26        * platform/win/fast/dom/navigator-detached-no-crash-expected.txt:
     27        * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt:
     28        * platform/wpe/fast/dom/navigator-detached-no-crash-expected.txt:
     29        * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
     30
    1312021-12-06  Said Abou-Hallawa  <said@apple.com>
    232
  • trunk/LayoutTests/fast/dom/Window/resources/window-property-collector.js

    r219403 r286550  
    6666    case "navigator.appCodeName":
    6767    case "navigator.appName":
     68    case "navigator.hardwareConcurrency":
    6869    case "navigator.language":
    6970    case "navigator.onLine":
  • trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt

    r280467 r286550  
    1111navigator.credentials is OK
    1212navigator.getStorageUpdates() is OK
     13navigator.hardwareConcurrency is OK
    1314navigator.javaEnabled() is OK
    1415navigator.language is OK
     
    3940navigator.credentials is OK
    4041navigator.getStorageUpdates() is OK
     42navigator.hardwareConcurrency is OK
    4143navigator.javaEnabled() is OK
    4244navigator.language is OK
  • trunk/LayoutTests/fast/workers/resources/worker-navigator.js

    r219403 r286550  
    1212worker.postMessage("eval typeof navigator");
    1313worker.postMessage("eval navigator");
     14
     15// NavigatorConcurrentHardware
     16worker.postMessage("eval navigator.hardwareConcurrency >= 1 && navigator.hardwareConcurrency <= 8");
    1417
    1518// NavigatorID
  • trunk/LayoutTests/fast/workers/worker-navigator-expected.txt

    r219403 r286550  
    33typeof navigator: object
    44navigator: [object WorkerNavigator]
     5navigator.hardwareConcurrency >= 1 && navigator.hardwareConcurrency <= 8: true
    56navigator.appCodeName === 'Mozilla': true
    67navigator.appName === 'Netscape': true
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r286490 r286550  
     12021-12-06  Tadeu Zagallo  <tzagallo@apple.com>
     2
     3        Restore navigator.hardwareConcurrency
     4        https://bugs.webkit.org/show_bug.cgi?id=233381
     5        <rdar://85023911>
     6
     7        Reviewed by Saam Barati.
     8
     9        * web-platform-tests/html/dom/idlharness.https-expected.txt:
     10        * web-platform-tests/html/dom/idlharness.worker-expected.txt:
     11        * web-platform-tests/workers/WorkerNavigator-hardware-concurrency.any.worker-expected.txt:
     12
    1132021-12-03  Sergio Villar Senin  <svillar@igalia.com>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285478 r286550  
    46184618PASS Navigator interface: attribute mimeTypes
    46194619PASS Navigator interface: operation javaEnabled()
    4620 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4620PASS Navigator interface: attribute hardwareConcurrency
    46214621PASS Navigator must be primary interface of window.navigator
    46224622PASS Stringification of window.navigator
     
    46434643PASS Navigator interface: window.navigator must inherit property "mimeTypes" with the proper type
    46444644PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    4645 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4645PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    46464646PASS PluginArray interface: existence and properties of interface object
    46474647PASS PluginArray interface object length
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt

    r285346 r286550  
    762762PASS WorkerNavigator interface: attribute languages
    763763PASS WorkerNavigator interface: attribute onLine
    764 FAIL WorkerNavigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     764PASS WorkerNavigator interface: attribute hardwareConcurrency
    765765PASS WorkerNavigator must be primary interface of self.navigator
    766766PASS Stringification of self.navigator
     
    779779PASS WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type
    780780PASS WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type
    781 FAIL WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     781PASS WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type
    782782PASS WorkerLocation interface: existence and properties of interface object
    783783PASS WorkerLocation interface object length
  • trunk/LayoutTests/imported/w3c/web-platform-tests/workers/WorkerNavigator-hardware-concurrency.any.worker-expected.txt

    r253453 r286550  
    11
    2 FAIL Test worker navigator hardware concurrency. assert_true: expected true got false
     2PASS Test worker navigator hardware concurrency.
    33
  • trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt

    r285708 r286550  
    762762PASS WorkerNavigator interface: attribute languages
    763763PASS WorkerNavigator interface: attribute onLine
    764 FAIL WorkerNavigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     764PASS WorkerNavigator interface: attribute hardwareConcurrency
    765765PASS WorkerNavigator must be primary interface of self.navigator
    766766PASS Stringification of self.navigator
     
    779779PASS WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type
    780780PASS WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type
    781 FAIL WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     781PASS WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type
    782782PASS WorkerLocation interface: existence and properties of interface object
    783783PASS WorkerLocation interface object length
  • trunk/LayoutTests/platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt

    r285253 r286550  
    88navigator.cookieEnabled is OK
    99navigator.getStorageUpdates() is OK
     10navigator.hardwareConcurrency is OK
    1011navigator.javaEnabled() is OK
    1112navigator.language is OK
     
    3738navigator.cookieEnabled is OK
    3839navigator.getStorageUpdates() is OK
     40navigator.hardwareConcurrency is OK
    3941navigator.javaEnabled() is OK
    4042navigator.language is OK
  • trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285708 r286550  
    48404840PASS Navigator interface: operation javaEnabled()
    48414841FAIL Navigator interface: attribute pdfViewerEnabled assert_true: The prototype object must have a property "pdfViewerEnabled" expected true got false
    4842 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4842PASS Navigator interface: attribute hardwareConcurrency
    48434843PASS Navigator must be primary interface of window.navigator
    48444844PASS Stringification of window.navigator
     
    48664866PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    48674867FAIL Navigator interface: window.navigator must inherit property "pdfViewerEnabled" with the proper type assert_inherits: property "pdfViewerEnabled" not found in prototype chain
    4868 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4868PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48694869PASS PluginArray interface: existence and properties of interface object
    48704870PASS PluginArray interface object length
  • trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285478 r286550  
    47964796PASS Navigator interface: attribute mimeTypes
    47974797PASS Navigator interface: operation javaEnabled()
    4798 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4798PASS Navigator interface: attribute hardwareConcurrency
    47994799PASS Navigator must be primary interface of window.navigator
    48004800PASS Stringification of window.navigator
     
    48214821PASS Navigator interface: window.navigator must inherit property "mimeTypes" with the proper type
    48224822PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    4823 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4823PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48244824PASS ImageBitmap interface: existence and properties of interface object
    48254825PASS ImageBitmap interface object length
  • trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285478 r286550  
    48064806PASS Navigator interface: attribute mimeTypes
    48074807PASS Navigator interface: operation javaEnabled()
    4808 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4808PASS Navigator interface: attribute hardwareConcurrency
    48094809PASS Navigator must be primary interface of window.navigator
    48104810PASS Stringification of window.navigator
     
    48314831PASS Navigator interface: window.navigator must inherit property "mimeTypes" with the proper type
    48324832PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    4833 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4833PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48344834PASS ImageBitmap interface: existence and properties of interface object
    48354835PASS ImageBitmap interface object length
  • trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt

    r285012 r286550  
    66navigator.cookieEnabled is OK
    77navigator.getStorageUpdates() is OK
     8navigator.hardwareConcurrency is OK
    89navigator.javaEnabled() is OK
    910navigator.language is OK
     
    3233navigator.cookieEnabled is OK
    3334navigator.getStorageUpdates() is OK
     35navigator.hardwareConcurrency is OK
    3436navigator.javaEnabled() is OK
    3537navigator.language is OK
  • trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285478 r286550  
    48404840PASS Navigator interface: operation javaEnabled()
    48414841FAIL Navigator interface: attribute pdfViewerEnabled assert_true: The prototype object must have a property "pdfViewerEnabled" expected true got false
    4842 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4842PASS Navigator interface: attribute hardwareConcurrency
    48434843PASS Navigator must be primary interface of window.navigator
    48444844PASS Stringification of window.navigator
     
    48664866PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    48674867FAIL Navigator interface: window.navigator must inherit property "pdfViewerEnabled" with the proper type assert_inherits: property "pdfViewerEnabled" not found in prototype chain
    4868 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4868PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48694869PASS PluginArray interface: existence and properties of interface object
    48704870PASS PluginArray interface object length
  • trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt

    r285012 r286550  
    1010navigator.credentials is OK
    1111navigator.getStorageUpdates() is OK
     12navigator.hardwareConcurrency is OK
    1213navigator.isLoggedIn() is OK
    1314navigator.javaEnabled() is OK
     
    4647navigator.credentials is OK
    4748navigator.getStorageUpdates() is OK
     49navigator.hardwareConcurrency is OK
    4850navigator.isLoggedIn() is OK
    4951navigator.javaEnabled() is OK
  • trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285478 r286550  
    48064806PASS Navigator interface: attribute mimeTypes
    48074807PASS Navigator interface: operation javaEnabled()
    4808 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4808PASS Navigator interface: attribute hardwareConcurrency
    48094809PASS Navigator must be primary interface of window.navigator
    48104810PASS Stringification of window.navigator
     
    48314831PASS Navigator interface: window.navigator must inherit property "mimeTypes" with the proper type
    48324832PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    4833 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4833PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48344834PASS ImageBitmap interface: existence and properties of interface object
    48354835PASS ImageBitmap interface object length
  • trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt

    r277468 r286550  
    1010navigator.credentials is OK
    1111navigator.getStorageUpdates() is OK
     12navigator.hardwareConcurrency is OK
    1213navigator.javaEnabled() is OK
    1314navigator.language is OK
     
    3637navigator.credentials is OK
    3738navigator.getStorageUpdates() is OK
     39navigator.hardwareConcurrency is OK
    3840navigator.javaEnabled() is OK
    3941navigator.language is OK
  • trunk/LayoutTests/platform/win/fast/dom/navigator-detached-no-crash-expected.txt

    r267988 r286550  
    1010navigator.credentials is OK
    1111navigator.getStorageUpdates() is OK
     12navigator.hardwareConcurrency is OK
    1213navigator.javaEnabled() is OK
    1314navigator.language is OK
     
    3233navigator.credentials is OK
    3334navigator.getStorageUpdates() is OK
     35navigator.hardwareConcurrency is OK
    3436navigator.javaEnabled() is OK
    3537navigator.language is OK
  • trunk/LayoutTests/platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt

    r267988 r286550  
    88navigator.cookieEnabled is OK
    99navigator.getStorageUpdates() is OK
     10navigator.hardwareConcurrency is OK
    1011navigator.javaEnabled() is OK
    1112navigator.language is OK
     
    2829navigator.cookieEnabled is OK
    2930navigator.getStorageUpdates() is OK
     31navigator.hardwareConcurrency is OK
    3032navigator.javaEnabled() is OK
    3133navigator.language is OK
  • trunk/LayoutTests/platform/wpe/fast/dom/navigator-detached-no-crash-expected.txt

    r285253 r286550  
    88navigator.cookieEnabled is OK
    99navigator.getStorageUpdates() is OK
     10navigator.hardwareConcurrency is OK
    1011navigator.javaEnabled() is OK
    1112navigator.language is OK
     
    3839navigator.cookieEnabled is OK
    3940navigator.getStorageUpdates() is OK
     41navigator.hardwareConcurrency is OK
    4042navigator.javaEnabled() is OK
    4143navigator.language is OK
  • trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r285708 r286550  
    48404840PASS Navigator interface: operation javaEnabled()
    48414841FAIL Navigator interface: attribute pdfViewerEnabled assert_true: The prototype object must have a property "pdfViewerEnabled" expected true got false
    4842 FAIL Navigator interface: attribute hardwareConcurrency assert_true: The prototype object must have a property "hardwareConcurrency" expected true got false
     4842PASS Navigator interface: attribute hardwareConcurrency
    48434843PASS Navigator must be primary interface of window.navigator
    48444844PASS Stringification of window.navigator
     
    48664866PASS Navigator interface: window.navigator must inherit property "javaEnabled()" with the proper type
    48674867FAIL Navigator interface: window.navigator must inherit property "pdfViewerEnabled" with the proper type assert_inherits: property "pdfViewerEnabled" not found in prototype chain
    4868 FAIL Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type assert_inherits: property "hardwareConcurrency" not found in prototype chain
     4868PASS Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type
    48694869PASS PluginArray interface: existence and properties of interface object
    48704870PASS PluginArray interface object length
  • trunk/Source/WebCore/ChangeLog

    r286546 r286550  
     12021-12-06  Tadeu Zagallo  <tzagallo@apple.com>
     2
     3        Restore navigator.hardwareConcurrency
     4        https://bugs.webkit.org/show_bug.cgi?id=233381
     5        <rdar://85023911>
     6
     7        Reviewed by Saam Barati.
     8
     9        Navigator.hardwareConcurrency was removed in r219379, but it is now used
     10        by emscripten to implement std::thread::hardware_concurrency()
     11
     12        Test: fast/dom/navigator-hardwareConcurrency.html
     13
     14        * page/Navigator.idl:
     15        * page/NavigatorBase.cpp:
     16        (WebCore::NavigatorBase::hardwareConcurrency):
     17        * page/NavigatorBase.h:
     18        * page/WorkerNavigator.idl:
     19
    1202021-12-06  Said Abou-Hallawa  <said@apple.com>
    221        [GPU Process] (REGRESSION r285597): Set the filterRegion of the CSSFilter after it is created
  • trunk/Source/WebCore/page/Navigator.idl

    r285376 r286550  
    2626    [Conditional=NAVIGATOR_STANDALONE] readonly attribute boolean standalone;
    2727
     28    readonly attribute unsigned long long hardwareConcurrency;
     29
    2830    // Non-standard.
    2931    // FIXME: Remove this. WebKit is the only engine that still has this.
  • trunk/Source/WebCore/page/NavigatorBase.cpp

    r286284 r286550  
    176176#endif
    177177
     178int NavigatorBase::hardwareConcurrency()
     179{
     180    static int numberOfCores;
     181
     182    static std::once_flag once;
     183    std::call_once(once, [] {
     184        // Enforce a maximum for the number of cores reported to mitigate
     185        // fingerprinting for the minority of machines with large numbers of cores.
     186        // If machines with more than 8 cores become commonplace, we should bump this number.
     187        // see https://bugs.webkit.org/show_bug.cgi?id=132588 for the
     188        // rationale behind this decision.
     189        if (WTF::numberOfProcessorCores() < 8)
     190            numberOfCores = 4;
     191        else
     192            numberOfCores = 8;
     193    });
     194
     195    return numberOfCores;
     196}
     197
    178198} // namespace WebCore
  • trunk/Source/WebCore/page/NavigatorBase.h

    r286459 r286550  
    6565    WebLockManager& locks();
    6666
     67    static int hardwareConcurrency();
     68
    6769protected:
    6870    explicit NavigatorBase(ScriptExecutionContext*);
  • trunk/Source/WebCore/page/WorkerNavigator.idl

    r285376 r286550  
    3232    JSCustomMarkFunction,
    3333] interface WorkerNavigator {
     34    readonly attribute unsigned long long hardwareConcurrency;
    3435};
    3536
Note: See TracChangeset for help on using the changeset viewer.